Home
last modified time | relevance | path

Searched refs:APP_3 (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DApplicationListPreferenceControllerTest.java72 private static final String APP_3 = "APP_3"; field in ApplicationListPreferenceControllerTest
95 when(mPackageManager.getText(eq(APP_3), anyInt(), any())).thenReturn(APP_3); in setUp()
105 final Set<String> expectedPackages = new HashSet<>(Arrays.asList(APP_1, APP_2, APP_3)); in checkNumberAndTitlesOfApps()
133 apps.add(new UserAppInfo(user, buildInfo(MANAGED_PROFILE_APP_UID, APP_3, 0, 0))); in buildApplicationList()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DInstalledAppListerTest.java65 private final String APP_3 = "app3"; field in InstalledAppListerTest
117 buildInfo(MAIN_USER_APP_UID, APP_3, ApplicationInfo.FLAG_SYSTEM, in testCountInstalledAppsAcrossAllUsers()
123 expectQueryIntentActivities(MAIN_USER_ID, APP_3, true /* launchable */); in testCountInstalledAppsAcrossAllUsers()
132 when(mPackageManager.getInstallReason(APP_3, mainUser)) in testCountInstalledAppsAcrossAllUsers()
167 assertThat(checkAppFound(mInstalledAppList, APP_3, MAIN_USER_ID)).isTrue(); in testCountInstalledAppsAcrossAllUsers()
DAppWithAdminGrantedPermissionsListerTest.java63 private final String APP_3 = "app3"; field in AppWithAdminGrantedPermissionsListerTest
125 buildInfo(APP_3_UID, APP_3, 0 /* flags */, Build.VERSION_CODES.LOLLIPOP), in verifyListInstalledApps()
136 when(mDevicePolicyManager.getPermissionGrantState(eq(null), eq(APP_3), any())) in verifyListInstalledApps()
165 when(mPackageManager.getInstallReason(APP_3, mainUser)) in verifyListInstalledApps()
203 assertThat(InstalledAppListerTest.checkAppFound(mAppList, APP_3, MAIN_USER_ID)).isTrue(); in verifyListInstalledApps()
DAppWithAdminGrantedPermissionsCounterTest.java64 private final String APP_3 = "app3"; field in AppWithAdminGrantedPermissionsCounterTest
109 mApp3 = buildInfo(APP_3_UID, APP_3, 0 /* flags */, Build.VERSION_CODES.LOLLIPOP); in setUp()
201 when(mDevicePolicyManager.getPermissionGrantState(eq(null), eq(APP_3), any())) in configureRunTimePermissions()
239 when(mPackageManager.getInstallReason(APP_3, mainUser)) in configurePackageManager()
DInstalledAppCounterTest.java72 private static final String APP_3 = "app3"; field in InstalledAppCounterTest
116 mApp3 = buildInfo(MAIN_USER_APP_UID, APP_3, ApplicationInfo.FLAG_SYSTEM, in setUp()
289 expectQueryIntentActivities(MAIN_USER_ID, APP_3, true /* launchable */); in configurePackageManager()
298 when(mPackageManager.getInstallReason(APP_3, mainUser)) in configurePackageManager()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/graphicsdriver/
DGraphicsDriverAppPreferenceControllerTest.java70 private static final String APP_3 = "app3"; field in GraphicsDriverAppPreferenceControllerTest
138 assertThat(mGroup.getPreference(1).getKey()).isEqualTo(APP_3); in displayPreference_shouldAddTwoPreferencesAndSortAscendingly()
319 final ApplicationInfo app3 = buildInfo(uid, APP_3, 0 /* flags */, 0 /* targetSdkVersion */); in mockPackageManager()
325 when(mPackageManager.getApplicationLabel(app3)).thenReturn(APP_3); in mockPackageManager()