Home
last modified time | relevance | path

Searched refs:CALLER_SYSTEM_USER_UID (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java552 setUpPackageManagerForAdmin(admin2, DpmMockContext.CALLER_SYSTEM_USER_UID); in testSetDeviceOwner()
577 mContext.binder.callingUid = DpmMockContext.CALLER_SYSTEM_USER_UID; in setDeviceOwner()
580 setUpPackageManagerForAdmin(admin1, DpmMockContext.CALLER_SYSTEM_USER_UID); in setDeviceOwner()
603 mContext.binder.callingUid = DpmMockContext.CALLER_SYSTEM_USER_UID; in setDeviceOwner()
649 mContext.binder.callingUid = DpmMockContext.CALLER_SYSTEM_USER_UID; in checkGetDeviceOwnerInfoApi()
705 mContext.binder.callingUid = DpmMockContext.CALLER_SYSTEM_USER_UID; in checkGetDeviceOwnerInfoApi()
781 mContext.binder.callingUid = DpmMockContext.CALLER_SYSTEM_USER_UID; in testSetDeviceOwner_noSuchPackage()
809 mContext.binder.callingUid = DpmMockContext.CALLER_SYSTEM_USER_UID; in testClearDeviceOwner()
810 setUpPackageManagerForAdmin(admin1, DpmMockContext.CALLER_SYSTEM_USER_UID); in testClearDeviceOwner()
829 … doReturn(DpmMockContext.CALLER_SYSTEM_USER_UID).when(mContext.packageManager).getPackageUidAsUser( in testClearDeviceOwner()
[all …]
DDevicePolicyManagerServiceMigrationTest.java62 setUpPackageManagerForAdmin(admin1, DpmMockContext.CALLER_SYSTEM_USER_UID); in testMigration()
204 setUpPackageManagerForAdmin(admin2, DpmMockContext.CALLER_SYSTEM_USER_UID); in testMigration2_profileOwnerOnUser0()
DDpmMockContext.java79 public static final int CALLER_SYSTEM_USER_UID = 20321; field in DpmMockContext