Searched refs:mainUser (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppWithAdminGrantedPermissionsListerTest.java | 152 final UserHandle mainUser = new UserHandle(MAIN_USER_ID); in verifyListInstalledApps() local 153 when(mPackageManager.getInstallReason(APP_1, mainUser)) in verifyListInstalledApps() 155 when(mPackageManager.getInstallReason(APP_2, mainUser)) in verifyListInstalledApps() 157 when(mPackageManager.getInstallReason(APP_3, mainUser)) in verifyListInstalledApps() 159 when(mPackageManager.getInstallReason(APP_4, mainUser)) in verifyListInstalledApps() 161 when(mPackageManager.getInstallReason(APP_5, mainUser)) in verifyListInstalledApps()
|
D | AppWithAdminGrantedPermissionsCounterTest.java | 226 final UserHandle mainUser = new UserHandle(MAIN_USER_ID); in configurePackageManager() local 227 when(mPackageManager.getInstallReason(APP_1, mainUser)) in configurePackageManager() 229 when(mPackageManager.getInstallReason(APP_2, mainUser)) in configurePackageManager() 231 when(mPackageManager.getInstallReason(APP_3, mainUser)) in configurePackageManager() 233 when(mPackageManager.getInstallReason(APP_4, mainUser)) in configurePackageManager() 235 when(mPackageManager.getInstallReason(APP_5, mainUser)) in configurePackageManager()
|
D | InstalledAppListerTest.java | 127 final UserHandle mainUser = new UserHandle(MAIN_USER_ID); in testCountInstalledAppsAcrossAllUsers() local 128 when(mPackageManager.getInstallReason(APP_1, mainUser)) in testCountInstalledAppsAcrossAllUsers() 130 when(mPackageManager.getInstallReason(APP_2, mainUser)) in testCountInstalledAppsAcrossAllUsers() 132 when(mPackageManager.getInstallReason(APP_3, mainUser)) in testCountInstalledAppsAcrossAllUsers() 134 when(mPackageManager.getInstallReason(APP_4, mainUser)) in testCountInstalledAppsAcrossAllUsers()
|
D | InstalledAppCounterTest.java | 216 final UserHandle mainUser = new UserHandle(MAIN_USER_ID); in configurePackageManager() local 217 when(mPackageManager.getInstallReason(APP_1, mainUser)) in configurePackageManager() 219 when(mPackageManager.getInstallReason(APP_2, mainUser)) in configurePackageManager() 221 when(mPackageManager.getInstallReason(APP_3, mainUser)) in configurePackageManager() 223 when(mPackageManager.getInstallReason(APP_4, mainUser)) in configurePackageManager()
|
D | ApplicationFeatureProviderImplTest.java | 203 final UserInfo mainUser = new UserInfo(MAIN_USER_ID, "main", UserInfo.FLAG_ADMIN); in testFindPersistentPreferredActivities() local 209 when(mUserManager.getUserInfo(MAIN_USER_ID)).thenReturn(mainUser); in testFindPersistentPreferredActivities() 232 expectedMainUserActivities.add(new UserAppInfo(mainUser, in testFindPersistentPreferredActivities()
|