Searched refs:testPackage (Results 1 – 4 of 4) sorted by relevance
132 final String testPackage = "com.android.test"; in sortCategories_singlePackage_shouldReorderBasedOnPriority() local137 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() local212 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() local251 activityInfo1.packageName = testPackage; in sortCategories_internalAndExternalPackageTiles_shouldRetainPriorityOrdering()[all …]
193 String testPackage = "com.test.permissions"; in performClick_permissionControllerExists_startsPermissionController() local194 getShadowApplicationManager().setPermissionControllerPackageName(testPackage); in performClick_permissionControllerExists_startsPermissionController()203 String testPackage = "com.test.permissions"; in performClick_permissionControllerExists_intentHasPackageName() local204 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() local214 getShadowApplicationManager().setPermissionControllerPackageName(testPackage); in performClick_permissionControllerExists_intentHasRole()
167 final String testPackage = getContext().getPackageName(); in LauncherInstrumentation() local173 final String authorityPackage = testPackage.equals(targetPackage) ? in LauncherInstrumentation()184 mDevice.executeShellCommand("pm grant " + testPackage + in LauncherInstrumentation()317 final String testPackage = getContext().getPackageName(); in getSystemHealthMessage() local319 mDevice.executeShellCommand("pm grant " + testPackage + in getSystemHealthMessage()321 mDevice.executeShellCommand("pm grant " + testPackage + in getSystemHealthMessage()
397 PackageInfo testPackage = new PackageInfo(); in addPackageToPackageManager() local398 testPackage.packageName = packageName; in addPackageToPackageManager()399 testPackage.firstInstallTime = installTime; in addPackageToPackageManager()402 spm.addPackage(testPackage); in addPackageToPackageManager()