Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/dashboard/
DCategoryManagerTest.java230 final String testPackage = "com.android.test"; in sortCategories_singlePackage_shouldReorderBasedOnPriority() local
232 final Tile tile1 = createActivityTile(category.key, testPackage, "class1", 100); in sortCategories_singlePackage_shouldReorderBasedOnPriority()
233 final Tile tile2 = createActivityTile(category.key, testPackage, "class2", 50); in sortCategories_singlePackage_shouldReorderBasedOnPriority()
234 final Tile tile3 = createActivityTile(category.key, testPackage, "class3", 200); in sortCategories_singlePackage_shouldReorderBasedOnPriority()
276 final String testPackage = mContext.getPackageName(); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage() local
278 final Tile tile1 = createActivityTile(category.key, testPackage, "class1", 100); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage()
279 final Tile tile2 = createActivityTile(category.key, testPackage, "class2", 100); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage()
280 final Tile tile3 = createActivityTile(category.key, testPackage, "class3", 50); in sortCategories_internalPackageTiles_shouldSkipTileForInternalPackage()
298 final String testPackage = mContext.getPackageName(); in sortCategories_internalAndExternalPackageTiles_shouldRetainPriorityOrdering() local
301 final Tile tile1 = createActivityTile(category.key, testPackage, "class1", 2); in sortCategories_internalAndExternalPackageTiles_shouldRetainPriorityOrdering()
[all …]
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DConnectivityManagerPermissionTest.java83 final String testPackage = "does.not.matter.com"; in testSetOemNetworkPreference() local
87 .addNetworkPreference(testPackage, testPref) in testSetOemNetworkPreference()
108 final String testPackage = "does.not.matter.com"; in testSetOemNetworkPreferenceHasAutomotiveFeature() local
112 .addNetworkPreference(testPackage, testPref) in testSetOemNetworkPreferenceHasAutomotiveFeature()
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DAppsIndexerRealDocumentsTest.java118 String testPackage = mContext.getPackageName(); in testRealIndexing() local
147 mShim.unregisterObserverCallback(testPackage, mCallback); in testRealIndexing()
155 .addFilterPackageNames(testPackage, mContext.getPackageName()) in testRealIndexing()
/packages/modules/AdServices/adservices/tests/host/room/src/com/android/adservices/room/test/
DRoomDatabaseVersionBumpGuardrailTest.java116 File testPackage = mHostUtils.getTestFile(lib); in getTestPackageFromFile() local
117 return new ZipFile(FileUtil.findFile(testPackage, mSchemaApkName)); in getTestPackageFromFile()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/defaultapps/
DDefaultAssistantPickerEntryPreferenceControllerTest.java167 String testPackage = "com.test.permissions"; in performClick_permissionControllerExists_startsPermissionController() local
168 when(mMockPackageManager.getPermissionControllerPackageName()).thenReturn(testPackage); in performClick_permissionControllerExists_startsPermissionController()
176 assertThat(intent.getPackage()).isEqualTo(testPackage); in performClick_permissionControllerExists_startsPermissionController()
/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()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLauncherInstrumentation.java258 final String testPackage = getContext().getPackageName(); in LauncherInstrumentation() local
264 mLauncherPackage = testPackage.equals(targetPackage) || isGradleInstrumentation() in LauncherInstrumentation()
275 testPackage, "android.permission.WRITE_SECURE_SETTINGS"); in LauncherInstrumentation()
333 final String testPackage = getContext().getPackageName(); in isGradleInstrumentation() local
337 return testPackage.endsWith(testSuffix) && testPackage.length() > testSuffix.length() in isGradleInstrumentation()
338 && testPackage.substring(0, testPackage.length() - testSuffix.length()) in isGradleInstrumentation()
688 final String testPackage = getContext().getPackageName(); in formatSystemHealthMessage() local
691 testPackage, "android.permission.READ_LOGS"); in formatSystemHealthMessage()
693 testPackage, "android.permission.PACKAGE_USAGE_STATS"); in formatSystemHealthMessage()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java5609 String testPackage = "TestPackage"; in testSetAndClearExternalPnoScanRequest() local
5616 mWifiConnectivityManager.setExternalPnoScanRequest(testUid, testPackage, binder, callback, in testSetAndClearExternalPnoScanRequest()
5618 verify(mExternalPnoScanRequestManager).setRequest(testUid, testPackage, binder, callback, in testSetAndClearExternalPnoScanRequest()