Searched refs:testPackage (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Settings/tests/unit/src/com/android/settings/dashboard/ |
D | CategoryManagerTest.java | 137 final String testPackage = "com.android.test"; in sortCategories_singlePackage_shouldReorderBasedOnPriority() local 139 final Tile tile1 = createActivityTile(category.key, testPackage, "class1", 100); in sortCategories_singlePackage_shouldReorderBasedOnPriority() 140 final Tile tile2 = createActivityTile(category.key, testPackage, "class2", 50); in sortCategories_singlePackage_shouldReorderBasedOnPriority() 141 final Tile tile3 = createActivityTile(category.key, testPackage, "class3", 200); in sortCategories_singlePackage_shouldReorderBasedOnPriority() 183 final String testPackage = mContext.getPackageName(); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage() local 185 final Tile tile1 = createActivityTile(category.key, testPackage, "class1", 100); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage() 186 final Tile tile2 = createActivityTile(category.key, testPackage, "class2", 100); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage() 187 final Tile tile3 = createActivityTile(category.key, testPackage, "class3", 50); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage() 205 final String testPackage = mContext.getPackageName(); in sortCategories_internalAndExternalPackageTiles_shouldRetainPriorityOrdering() local 208 final Tile tile1 = createActivityTile(category.key, testPackage, "class1", 2); in sortCategories_internalAndExternalPackageTiles_shouldRetainPriorityOrdering() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/ |
D | DefaultAssistantPickerEntryPreferenceControllerTest.java | 182 String testPackage = "com.test.permissions"; in performClick_permissionControllerExists_startsPermissionController() local 183 getShadowApplicationManager().setPermissionControllerPackageName(testPackage); in performClick_permissionControllerExists_startsPermissionController() 192 String testPackage = "com.test.permissions"; in performClick_permissionControllerExists_intentHasPackageName() local 193 getShadowApplicationManager().setPermissionControllerPackageName(testPackage); in performClick_permissionControllerExists_intentHasPackageName() 197 assertThat(actual.getPackage()).isEqualTo(testPackage); in performClick_permissionControllerExists_intentHasPackageName() 202 String testPackage = "com.test.permissions"; in performClick_permissionControllerExists_intentHasRole() local 203 getShadowApplicationManager().setPermissionControllerPackageName(testPackage); in performClick_permissionControllerExists_intentHasRole()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | AppStateUsageStatsBridgeTest.java | 397 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()
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | LauncherInstrumentation.java | 217 final String testPackage = getContext().getPackageName(); in LauncherInstrumentation() local 223 mLauncherPackage = testPackage.equals(targetPackage) in LauncherInstrumentation() 234 testPackage, "android.permission.WRITE_SECURE_SETTINGS"); in LauncherInstrumentation() 437 final String testPackage = getContext().getPackageName(); in formatSystemHealthMessage() local 440 testPackage, "android.permission.READ_LOGS"); in formatSystemHealthMessage() 442 testPackage, "android.permission.PACKAGE_USAGE_STATS"); in formatSystemHealthMessage()
|