Home
last modified time | relevance | path

Searched refs:testPackage (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DCategoryManagerTest.java132 final String testPackage = "com.android.test"; in sortCategories_singlePackage_shouldReorderBasedOnPriority() local
137 activityInfo1.packageName = testPackage; in sortCategories_singlePackage_shouldReorderBasedOnPriority()
142 activityInfo2.packageName = testPackage; in sortCategories_singlePackage_shouldReorderBasedOnPriority()
147 activityInfo3.packageName = testPackage; in sortCategories_singlePackage_shouldReorderBasedOnPriority()
209 final String testPackage = mContext.getPackageName(); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage() local
212 activityInfo1.packageName = testPackage; in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage()
217 activityInfo2.packageName = testPackage; in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage()
222 activityInfo3.packageName = testPackage; in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage()
246 final String testPackage = mContext.getPackageName(); in sortCategories_internalAndExternalPackageTiles_shouldRetainPriorityOrdering() local
251 activityInfo1.packageName = testPackage; in sortCategories_internalAndExternalPackageTiles_shouldRetainPriorityOrdering()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/
DDefaultAssistantPickerEntryPreferenceControllerTest.java193 String testPackage = "com.test.permissions"; in performClick_permissionControllerExists_startsPermissionController() local
194 getShadowApplicationManager().setPermissionControllerPackageName(testPackage); in performClick_permissionControllerExists_startsPermissionController()
203 String testPackage = "com.test.permissions"; in performClick_permissionControllerExists_intentHasPackageName() local
204 getShadowApplicationManager().setPermissionControllerPackageName(testPackage); in performClick_permissionControllerExists_intentHasPackageName()
208 assertThat(actual.getPackage()).isEqualTo(testPackage); in performClick_permissionControllerExists_intentHasPackageName()
213 String testPackage = "com.test.permissions"; in performClick_permissionControllerExists_intentHasRole() local
214 getShadowApplicationManager().setPermissionControllerPackageName(testPackage); in performClick_permissionControllerExists_intentHasRole()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLauncherInstrumentation.java167 final String testPackage = getContext().getPackageName(); in LauncherInstrumentation() local
173 final String authorityPackage = testPackage.equals(targetPackage) ? in LauncherInstrumentation()
184 mDevice.executeShellCommand("pm grant " + testPackage + in LauncherInstrumentation()
317 final String testPackage = getContext().getPackageName(); in getSystemHealthMessage() local
319 mDevice.executeShellCommand("pm grant " + testPackage + in getSystemHealthMessage()
321 mDevice.executeShellCommand("pm grant " + testPackage + in getSystemHealthMessage()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppStateUsageStatsBridgeTest.java397 PackageInfo testPackage = new PackageInfo(); in addPackageToPackageManager() local
398 testPackage.packageName = packageName; in addPackageToPackageManager()
399 testPackage.firstInstallTime = installTime; in addPackageToPackageManager()
402 spm.addPackage(testPackage); in addPackageToPackageManager()