Home
last modified time | relevance | path

Searched refs:mPackageManagerService (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppWithAdminGrantedPermissionsCounterTest.java85 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 …]
DAppWithAdminGrantedPermissionsListerTest.java81 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()
DApplicationFeatureProviderImplTest.java85 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 …]
DAppStateAppOpsBridgeTest.java44 @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/
DAppWithAdminGrantedPermissionsLister.java31 private final IPackageManager mPackageManagerService; field in AppWithAdminGrantedPermissionsLister
39 mPackageManagerService = packageManagerService; in AppWithAdminGrantedPermissionsLister()
46 mDevicePolicyManager, mPm, mPackageManagerService, info); in includeInCount()
DAppWithAdminGrantedPermissionsCounter.java33 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/
DAppWithAdminGrantedPermissionsLister.java31 private final IPackageManager mPackageManagerService; field in AppWithAdminGrantedPermissionsLister
39 mPackageManagerService = packageManagerService; in AppWithAdminGrantedPermissionsLister()
46 mDevicePolicyManager, mPm, mPackageManagerService, info); in includeInCount()
DAppWithAdminGrantedPermissionsCounter.java33 private final IPackageManager mPackageManagerService; field in AppWithAdminGrantedPermissionsCounter
41 mPackageManagerService = packageManagerService; in AppWithAdminGrantedPermissionsCounter()
47 return includeInCount(mPermissions, mDevicePolicyManager, mPm, mPackageManagerService, in includeInCount()