/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ProviderInfoListTest.java | 43 assertNotNull(pi.providers); in testApplicationInfoSquashed() 44 assertTrue(pi.providers.length > 1); in testApplicationInfoSquashed() 46 final List<ProviderInfo> providers = new ArrayList<>(); in testApplicationInfoSquashed() local 47 Collections.addAll(providers, pi.providers); in testApplicationInfoSquashed() 50 final ProviderInfoList source = ProviderInfoList.fromList(providers); in testApplicationInfoSquashed()
|
D | ProviderInfoTest.java | 77 List<ProviderInfo> providers = pm.queryContentProviders(PACKAGE_NAME, appInfo.uid, in testProviderInfo() local 79 Iterator<ProviderInfo> providerIterator = providers.iterator(); in testProviderInfo()
|
D | PackageInfoTest.java | 107 packageInfo.activities, packageInfo.services, packageInfo.providers, in testApplicationInfoSame() 135 checkInfoArray(expected.providers, actual.providers); in checkPkgInfoSame()
|
D | PackageManagerTest.java | 434 List<ProviderInfo> providers = mPackageManager.queryContentProviders(PACKAGE_NAME, in testQuery() local 436 checkProviderInfoName(PROVIDER_NAME, providers); in testQuery() 519 private void checkProviderInfoName(String expectedName, List<ProviderInfo> providers) { in checkProviderInfoName() argument 521 Iterator<ProviderInfo> infoIterator = providers.iterator(); in checkProviderInfoName() 944 + " flag is specified", pkgInfo.providers); in testGetPackageArchiveInfo() 995 if (packageInfo.providers != null) { in runTestGetPackageArchiveInfoSameApplicationInfo() 996 for (ProviderInfo pi : packageInfo.providers) { in runTestGetPackageArchiveInfoSameApplicationInfo() 1192 ProviderInfo provider = findPackageItemOrFail(pkgInfo.providers, PROVIDER_NAME); in assertTestPackageInfo() 1197 findPackageItemOrFail(pkgInfo.providers, "android.content.cts.MockBuggyProvider"); in assertTestPackageInfo() 1513 Arrays.stream(info.providers).forEach(i -> assertThat(i.metaData).isNull()); in testGetInfo_noMetaData_InPackage() [all …]
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CrossProfileWidgetTest.java | 56 List<String> providers = mDevicePolicyManager.getCrossProfileWidgetProviders( in testCrossProfileWidgetProviderAdded() local 58 assertEquals(1, providers.size()); in testCrossProfileWidgetProviderAdded() 59 assertTrue(providers.contains(WIDGET_PROVIDER_PKG)); in testCrossProfileWidgetProviderAdded() 68 List<String> providers = mDevicePolicyManager.getCrossProfileWidgetProviders( in testCrossProfileWidgetProviderRemoved() local 70 assertTrue(providers.isEmpty()); in testCrossProfileWidgetProviderRemoved()
|
/cts/tests/tests/resourcesloader/src/android/content/res/loader/cts/ |
D | ResourcesLoaderValuesTest.kt | 330 loader.providers = listOf(testOne, testTwo) in <lambda>() 336 loader.providers = Collections.emptyList() in <lambda>() 365 loader.providers = listOf(testOne, testEmpty, testTwo) in <lambda>() 374 loader.providers = Collections.emptyList() in <lambda>() 382 val providers = loader.providers in <lambda>() constant 383 providers += testOne in <lambda>() 403 assertEquals(2, loader.providers.size) in <lambda>() 404 assertEquals(loader.providers[0], testOne) in <lambda>() 405 assertEquals(loader.providers[1], testTwo) in <lambda>() 437 assertEquals(1, loader.providers.size) in <lambda>() [all …]
|
D | ResourcesLoaderFallthroughTest.kt | 81 .apply { providers = listOf(p1, p2, p3) } in <lambda>() 112 loader.providers = listOf(p1, p22, p3) in <lambda>()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | X509CertChainBuildingTest.java | 199 Provider[] providers = Security.getProviders("TrustManagerFactory.PKIX"); in assertExactPath() local 200 assertNotNull(providers); in assertExactPath() 201 assertTrue("No providers found", providers.length != 0); in assertExactPath() 202 for (Provider p : providers) { in assertExactPath()
|
/cts/tests/location/location_fine/src/android/location/cts/fine/ |
D | LocationManagerFineTest.java | 1241 List<String> providers = mManager.getAllProviders(); in testGetAllProviders() local 1243 assertThat(providers.contains(LocationManager.GPS_PROVIDER)).isTrue(); in testGetAllProviders() 1245 assertThat(providers.contains(PASSIVE_PROVIDER)).isTrue(); in testGetAllProviders() 1246 assertThat(providers.contains(TEST_PROVIDER)).isTrue(); in testGetAllProviders() 1247 assertThat(providers.size()).isEqualTo(new HashSet<>(providers).size()); in testGetAllProviders() 1251 providers = mManager.getAllProviders(); in testGetAllProviders() 1252 assertThat(providers.contains(PASSIVE_PROVIDER)).isTrue(); in testGetAllProviders() 1253 assertThat(providers.contains(TEST_PROVIDER)).isFalse(); in testGetAllProviders() 1259 List<String> providers = mManager.getProviders(false); in testGetProviders() local 1260 assertThat(providers.contains(TEST_PROVIDER)).isTrue(); in testGetProviders() [all …]
|
/cts/hostsidetests/time/device/fake_tzps_app/ |
D | Android.bp | 22 // the fake providers' state and inject test events into the fake providers.
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTestCase.java | 75 public boolean[] verifyInstalledProviders(List<AppWidgetProviderInfo> providers) { in verifyInstalledProviders() argument 82 final int providerCount = providers.size(); in verifyInstalledProviders() 84 AppWidgetProviderInfo provider = providers.get(i); in verifyInstalledProviders() 208 List<AppWidgetProviderInfo> providers = getAppWidgetManager().getInstalledProviders(); in getProviderInfo() local 210 final int providerCount = providers.size(); in getProviderInfo() 212 AppWidgetProviderInfo provider = providers.get(i); in getProviderInfo()
|
D | UpdateProviderInfoTest.java | 193 List<AppWidgetProviderInfo> providers = AppWidgetManager.getInstance( in getProviderInfo() local 197 if (!providers.isEmpty()) { in getProviderInfo() 198 return providers.get(0); in getProviderInfo()
|
D | AppWidgetTest.java | 142 List<AppWidgetProviderInfo> providers = getAppWidgetManager().getInstalledProviders(); in testGetAppInstalledProvidersForCurrentUserLegacy() local 145 assertExpectedInstalledProviders(providers); in testGetAppInstalledProvidersForCurrentUserLegacy() 152 List<AppWidgetProviderInfo> providers = getAppWidgetManager() in testGetAppInstalledProvidersForCurrentUserNewCurrentProfile() local 156 assertExpectedInstalledProviders(providers); in testGetAppInstalledProvidersForCurrentUserNewCurrentProfile() 172 List<AppWidgetProviderInfo> providers = getAppWidgetManager() in testGetAppInstalledProvidersForCurrentUserNewAllProfiles() local 174 allProviders.addAll(providers); in testGetAppInstalledProvidersForCurrentUserNewAllProfiles() 1578 private void assertExpectedInstalledProviders(List<AppWidgetProviderInfo> providers) { in assertExpectedInstalledProviders() argument 1579 boolean[] verifiedWidgets = verifyInstalledProviders(providers); in assertExpectedInstalledProviders()
|
/cts/tests/location/location_coarse/src/android/location/cts/coarse/ |
D | LocationManagerCoarseTest.java | 237 List<String> providers = mManager.getProviders(false); in testGetProviders() local 238 assertTrue(providers.contains(TEST_PROVIDER)); in testGetProviders() 240 assertTrue(providers.contains(GPS_PROVIDER)); in testGetProviders() 242 assertFalse(providers.contains(GPS_PROVIDER)); in testGetProviders() 244 assertTrue(providers.contains(PASSIVE_PROVIDER)); in testGetProviders()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | LocationCheckerActivity.java | 100 String providers = String.join(", ", mProviders); in updateStatusLocked() local 101 mStatusText.setText(getString(R.string.provisioning_byod_location_trying, providers)); in updateStatusLocked()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | MagneticFieldMeasurementTestActivity.java | 115 List<String> providers = lm.getProviders(true /* enabledOnly */); in testNorm() local 116 int providerIndex = providers.size(); in testNorm() 119 String provider = providers.get(providerIndex); in testNorm()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CellBroadcastDataMigrationTest.java | 71 1, legacyPackage.providers.length); in testLegacyContentProvider()
|
/cts/hostsidetests/appsecurity/res/pkgsigverify/ |
D | README.md | 28 sign APKs using different keystores, providers, etc. The generation commands
|
/cts/tests/mediaprovider/src/android/provider/cts/media/ |
D | MediaStoreTest.java | 236 1, legacyPackage.providers.length); in testLegacy()
|
/cts/tests/tests/content/data/ |
D | readme.txt | 7 sign APKs using different keystores, providers, etc.
|
/cts/tools/release-parser/tests/resources/ |
D | platform.xml.pb.txt | 10 name: "com.android.providers.downloads"
|
/cts/tools/release-parser/proto/ |
D | release.proto | 185 repeated string providers = 12; field
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyStoreTest.java | 199 Provider[] providers = Security.getProviders(); in keyStores() local 200 for (Provider provider : providers) { in keyStores() 478 Provider[] providers = Security.getProviders(); in test_KeyStore_create() local 479 for (Provider provider : providers) { in test_KeyStore_create()
|
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/ |
D | TestActivity.java | 815 final List<AppWidgetProviderInfo> providers = appWidgetManager.getInstalledProviders(); in sendInstalledAppWidgetProviders() local 817 for (AppWidgetProviderInfo info : providers) { in sendInstalledAppWidgetProviders()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityEndToEndTest.java | 2441 final List<AppWidgetProviderInfo> providers = getAppWidgetManager().getInstalledProviders(); in getAppWidgetProviderInfo() local 2442 final int providerCount = providers.size(); in getAppWidgetProviderInfo() 2444 final AppWidgetProviderInfo provider = providers.get(i); in getAppWidgetProviderInfo()
|