Protect isInstallerDeviceOwnerOrAffiliatedProfileOwnerLocked (11/n)

Also add annotations to FooLocked methods.

Bug: 159663586
Test: atest StagedInstallTest AtomicInstallTest
Change-Id: If5089b8c688925729e7ea83c8fe17cb72e49689f
1 file changed