/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppWithAdminGrantedPermissionsCounterTest.java | 85 private IPackageManager mPackageManagerService; field in AppWithAdminGrantedPermissionsCounterTest 143 mDevicePolicyManager, mPackageManager, mPackageManagerService, mApp1)).isTrue(); in testIncludeInCount() 146 mDevicePolicyManager, mPackageManager, mPackageManagerService, mApp2)).isFalse(); in testIncludeInCount() 149 mDevicePolicyManager, mPackageManager, mPackageManagerService, mApp3)).isTrue(); in testIncludeInCount() 152 mDevicePolicyManager, mPackageManager, mPackageManagerService, mApp4)).isFalse(); in testIncludeInCount() 155 mDevicePolicyManager, mPackageManager, mPackageManagerService, mApp5)).isFalse(); in testIncludeInCount() 169 when(mPackageManagerService.checkUidPermission(anyObject(), eq(APP_1_UID))) in configureInstallTimePermissions() 171 when(mPackageManagerService.checkUidPermission(anyObject(), eq(APP_2_UID))) in configureInstallTimePermissions() 173 when(mPackageManagerService.checkUidPermission(PERMISSION_1, APP_3_UID)) in configureInstallTimePermissions() 175 when(mPackageManagerService.checkUidPermission(PERMISSION_2, APP_3_UID)) in configureInstallTimePermissions() [all …]
|
D | AppWithAdminGrantedPermissionsListerTest.java | 81 private IPackageManager mPackageManagerService; field in AppWithAdminGrantedPermissionsListerTest 135 when(mPackageManagerService.checkUidPermission(anyObject(), eq(APP_1_UID))) in verifyListInstalledApps() 137 when(mPackageManagerService.checkUidPermission(anyObject(), eq(APP_2_UID))) in verifyListInstalledApps() 139 when(mPackageManagerService.checkUidPermission(PERMISSION_1, APP_3_UID)) in verifyListInstalledApps() 141 when(mPackageManagerService.checkUidPermission(PERMISSION_2, APP_3_UID)) in verifyListInstalledApps() 143 when(mPackageManagerService.checkUidPermission(PERMISSION_1, APP_4_UID)) in verifyListInstalledApps() 145 when(mPackageManagerService.checkUidPermission(PERMISSION_2, APP_4_UID)) in verifyListInstalledApps() 147 when(mPackageManagerService.checkUidPermission(anyObject(), eq(APP_5_UID))) in verifyListInstalledApps() 175 when(mPackageManagerService.checkUidPermission(anyObject(), eq(APP_6_UID))) in verifyListInstalledApps() 213 super(permissions, mPackageManager, mPackageManagerService, in AppWithAdminGrantedPermissionsListerTestable()
|
D | ApplicationFeatureProviderImplTest.java | 85 private IPackageManager mPackageManagerService; field in ApplicationFeatureProviderImplTest 105 mPackageManagerService, mDevicePolicyManager); in setUp() 158 when(mPackageManagerService.checkUidPermission(PERMISSION, APP_1_UID)) in verifyCalculateNumberOfAppsWithAdminGrantedPermissions() 160 when(mPackageManagerService.checkUidPermission(PERMISSION, APP_2_UID)) in verifyCalculateNumberOfAppsWithAdminGrantedPermissions() 195 when(mPackageManagerService.checkUidPermission(PERMISSION, APP_1_UID)) in testListAppsWithAdminGrantedPermissions() 197 when(mPackageManagerService.checkUidPermission(PERMISSION, APP_2_UID)) in testListAppsWithAdminGrantedPermissions() 231 when(mPackageManagerService.findPersistentPreferredActivity(viewIntent, MAIN_USER_ID)) in testFindPersistentPreferredActivities() 233 when(mPackageManagerService.findPersistentPreferredActivity(viewIntent, MANAGED_PROFILE_ID)) in testFindPersistentPreferredActivities() 235 when(mPackageManagerService.findPersistentPreferredActivity(editIntent, MAIN_USER_ID)) in testFindPersistentPreferredActivities() 237 when(mPackageManagerService.findPersistentPreferredActivity(editIntent, MANAGED_PROFILE_ID)) in testFindPersistentPreferredActivities() [all …]
|
D | AppStateAppOpsBridgeTest.java | 44 @Mock private IPackageManager mPackageManagerService; field in AppStateAppOpsBridgeTest 56 when(mPackageManagerService.getPackageInfo(anyString(), anyInt(), anyInt())) in getPermissionInfo_nullPackageInfo_shouldNotCrash() 67 mPackageManagerService); in TestAppStateAppOpsBridge()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppWithAdminGrantedPermissionsLister.java | 31 private final IPackageManager mPackageManagerService; field in AppWithAdminGrantedPermissionsLister 39 mPackageManagerService = packageManagerService; in AppWithAdminGrantedPermissionsLister() 46 mDevicePolicyManager, mPm, mPackageManagerService, info); in includeInCount()
|
D | AppWithAdminGrantedPermissionsCounter.java | 33 private final IPackageManager mPackageManagerService; field in AppWithAdminGrantedPermissionsCounter 41 mPackageManagerService = packageManagerService; in AppWithAdminGrantedPermissionsCounter() 47 return includeInCount(mPermissions, mDevicePolicyManager, mPm, mPackageManagerService, in includeInCount()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppWithAdminGrantedPermissionsLister.java | 31 private final IPackageManager mPackageManagerService; field in AppWithAdminGrantedPermissionsLister 39 mPackageManagerService = packageManagerService; in AppWithAdminGrantedPermissionsLister() 46 mDevicePolicyManager, mPm, mPackageManagerService, info); in includeInCount()
|
D | AppWithAdminGrantedPermissionsCounter.java | 33 private final IPackageManager mPackageManagerService; field in AppWithAdminGrantedPermissionsCounter 41 mPackageManagerService = packageManagerService; in AppWithAdminGrantedPermissionsCounter() 47 return includeInCount(mPermissions, mDevicePolicyManager, mPm, mPackageManagerService, in includeInCount()
|