Home
last modified time | relevance | path

Searched refs:deviceOwnerUid (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DSuspendPackageHelperTest.kt57 TEST_USER_ID, deviceOwnerUid, false /* quarantined */) in <lambda>()
74 TEST_USER_ID, deviceOwnerUid, false /* quarantined */) in <lambda>()
81 TEST_USER_ID, deviceOwnerUid, false /* quarantined */) in <lambda>()
103 TEST_USER_ID, deviceOwnerUid, false /* quarantined */) in <lambda>()
114 TEST_USER_ID, deviceOwnerUid, false /* quarantined */) in <lambda>()
127 TEST_USER_ID, deviceOwnerUid, false /* quarantined */)!! in <lambda>()
141 TEST_USER_ID, deviceOwnerUid, false /* quarantined */) in <lambda>()
148 TEST_USER_ID, deviceOwnerUid, false /* quarantined */) in <lambda>()
169 suspendables + unsuspendables, TEST_USER_ID, deviceOwnerUid) in <lambda>()
195 null /* dialogInfo */, doUserPackage, TEST_USER_ID, deviceOwnerUid, in <lambda>()
[all …]
DDistractingPackageHelperTest.kt55 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, TEST_USER_ID, deviceOwnerUid) in setDistractingPackageRestrictionsAsUser()
73 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, TEST_USER_ID, deviceOwnerUid) in setDistractingPackageRestrictionsAsUser_setSameDistractionRestrictionTwice()
80 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, TEST_USER_ID, deviceOwnerUid) in setDistractingPackageRestrictionsAsUser_setSameDistractionRestrictionTwice()
92 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, TEST_USER_ID, deviceOwnerUid) in setDistractingPackageRestrictionsAsUser_emptyPackageName()
97 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, TEST_USER_ID, deviceOwnerUid) in setDistractingPackageRestrictionsAsUser_emptyPackageName()
125 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, TEST_USER_ID, deviceOwnerUid) in setDistractingPackageRestrictionsAsUser_nonexistentPackage()
138 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, TEST_USER_ID, deviceOwnerUid) in setDistractingPackageRestrictionsAsUser_setKnownPackages()
150 PackageManager.RESTRICTION_HIDE_NOTIFICATIONS, TEST_USER_ID, deviceOwnerUid) in removeDistractingPackageRestrictions()
DPackageHelperTestBase.kt80 var deviceOwnerUid = 0 variable
98 deviceOwnerUid = UserHandle.getUid(TEST_USER_ID, ownerSetting.appId) in setup()
/frameworks/base/services/core/java/com/android/server/os/
DBugreportManagerServiceImpl.java759 int deviceOwnerUid = dpm.getDeviceOwnerUserId(); in isUserAffiliated() local
760 if (deviceOwnerUid == UserHandle.USER_NULL) { in isUserAffiliated()
765 Slog.d(TAG, "callingUid: " + userId + " deviceOwnerUid: " + deviceOwnerUid); in isUserAffiliated()
768 if (userId != deviceOwnerUid && !dpm.isAffiliatedUser(userId)) { in isUserAffiliated()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java5962 final int deviceOwnerUid = DpmMockContext.CALLER_SYSTEM_USER_UID; in testIsCurrentInputMethodSetByOwnerForDeviceOwner() local
5969 mContext.binder.callingUid = deviceOwnerUid; in testIsCurrentInputMethodSetByOwnerForDeviceOwner()
5979 mContext.binder.callingUid = deviceOwnerUid; in testIsCurrentInputMethodSetByOwnerForDeviceOwner()
6007 mContext.binder.callingUid = deviceOwnerUid; in testIsCurrentInputMethodSetByOwnerForDeviceOwner()
6027 mContext.binder.callingUid = deviceOwnerUid; in testIsCurrentInputMethodSetByOwnerForDeviceOwner()