/cts/tests/tests/location/src/android/location/cts/ |
D | LocationManagerTest.java | 151 List<String> providers = mManager.getAllProviders(); in testGetProviders() local 152 assertTrue(providers.size() >= 2); in testGetProviders() 153 assertTrue(hasTestProvider(providers)); in testGetProviders() 155 assertEquals(hasGpsFeature(), hasGpsProvider(providers)); in testGetProviders() 157 int oldSizeAllProviders = providers.size(); in testGetProviders() 159 providers = mManager.getProviders(false); in testGetProviders() 160 assertEquals(oldSizeAllProviders, providers.size()); in testGetProviders() 161 assertTrue(hasTestProvider(providers)); in testGetProviders() 163 providers = mManager.getProviders(true); in testGetProviders() 164 assertTrue(providers.size() >= 1); in testGetProviders() [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/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTestCase.java | 73 public boolean[] verifyInstalledProviders(List<AppWidgetProviderInfo> providers) { in verifyInstalledProviders() argument 80 final int providerCount = providers.size(); in verifyInstalledProviders() 82 AppWidgetProviderInfo provider = providers.get(i); in verifyInstalledProviders() 170 List<AppWidgetProviderInfo> providers = getAppWidgetManager().getInstalledProviders(); in getProviderInfo() local 172 final int providerCount = providers.size(); in getProviderInfo() 174 AppWidgetProviderInfo provider = providers.get(i); in getProviderInfo()
|
D | UpdateProviderInfoTest.java | 173 … List<AppWidgetProviderInfo> providers = AppWidgetManager.getInstance(getInstrumentation() in getProviderInfo() local 177 if (providers != null && !providers.isEmpty()) { in getProviderInfo() 178 return providers.get(0); in getProviderInfo()
|
D | AppWidgetTest.java | 115 List<AppWidgetProviderInfo> providers = getAppWidgetManager().getInstalledProviders(); in testGetAppInstalledProvidersForCurrentUserLegacy() local 118 assertExpectedInstalledProviders(providers); in testGetAppInstalledProvidersForCurrentUserLegacy() 125 List<AppWidgetProviderInfo> providers = getAppWidgetManager() in testGetAppInstalledProvidersForCurrentUserNewCurrentProfile() local 129 assertExpectedInstalledProviders(providers); in testGetAppInstalledProvidersForCurrentUserNewCurrentProfile() 145 List<AppWidgetProviderInfo> providers = getAppWidgetManager() in testGetAppInstalledProvidersForCurrentUserNewAllProfiles() local 147 allProviders.addAll(providers); in testGetAppInstalledProvidersForCurrentUserNewAllProfiles() 1334 private void assertExpectedInstalledProviders(List<AppWidgetProviderInfo> providers) { in assertExpectedInstalledProviders() argument 1335 boolean[] verifiedWidgets = verifyInstalledProviders(providers); in assertExpectedInstalledProviders()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | X509CertChainBuildingTest.java | 200 Provider[] providers = Security.getProviders("TrustManagerFactory.PKIX"); in assertExactPath() local 201 assertNotNull(providers); in assertExactPath() 202 assertTrue("No providers found", providers.length != 0); in assertExactPath() 203 for (Provider p : providers) { in assertExactPath()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | SettingsIncidentTest.java | 19 import android.providers.settings.SettingProto; 20 import android.providers.settings.SettingsOperationProto; 21 import android.providers.settings.SettingsServiceDumpProto; 22 import android.providers.settings.UserSettingsProto;
|
/cts/hostsidetests/incident/apps/boundwidgetapp/src/android/appwidget/cts/ |
D | AppWidgetTest.java | 146 List<AppWidgetProviderInfo> providers = getAppWidgetManager().getInstalledProviders(); in getProviderInfo() local 148 final int providerCount = providers.size(); in getProviderInfo() 150 AppWidgetProviderInfo provider = providers.get(i); in getProviderInfo()
|
/cts/tests/tests/location2/src/android/location2/cts/ |
D | LocationManagerTest.java | 238 List<String> providers = mManager.getProviders(false); 240 assertFalse(hasProvider(providers, LocationManager.PASSIVE_PROVIDER)); 241 assertFalse(hasProvider(providers, LocationManager.GPS_PROVIDER)); 244 private boolean hasProvider(List<String> providers, String providerName) { 245 for (String provider : providers) {
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ProviderInfoTest.java | 46 List<ProviderInfo> providers = pm.queryContentProviders(PACKAGE_NAME, appInfo.uid, 0); in testProviderInfo() local 47 Iterator<ProviderInfo> providerIterator = providers.iterator(); in testProviderInfo()
|
D | PackageInfoTest.java | 82 checkInfoArray(expected.providers, actual.providers); in checkPkgInfoSame()
|
D | PackageManagerTest.java | 166 List<ProviderInfo> providers = mPackageManager.queryContentProviders(PACKAGE_NAME, in testQuery() local 168 checkProviderInfoName(PROVIDER_NAME, providers); in testQuery() 209 private void checkProviderInfoName(String expectedName, List<ProviderInfo> providers) { in checkProviderInfoName() argument 211 Iterator<ProviderInfo> infoIterator = providers.iterator(); in checkProviderInfoName() 695 ProviderInfo provider = findPackageItemOrFail(pkgInfo.providers, PROVIDER_NAME); in assertTestPackageInfo()
|
/cts/hostsidetests/appsecurity/res/pkgsigverify/ |
D | README.txt | 24 sign APKs using different keystores, providers, etc. In particular, some of
|
/cts/tools/release-parser/tests/resources/ |
D | platform.xml.pb.txt | 10 name: "com.android.providers.downloads"
|
D | Shell.apk.pb.txt | 128 providers: "android.support.v4.content.FileProvider" 129 providers: ".BugreportStorageProvider"
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityEndToEndTest.java | 1042 final List<AppWidgetProviderInfo> providers = getAppWidgetManager().getInstalledProviders(); in getAppWidgetProviderInfo() local 1043 final int providerCount = providers.size(); in getAppWidgetProviderInfo() 1045 final AppWidgetProviderInfo provider = providers.get(i); in getAppWidgetProviderInfo()
|
/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 | 165 Provider[] providers = Security.getProviders(); in keyStores() local 166 for (Provider provider : providers) { in keyStores() 442 Provider[] providers = Security.getProviders(); in test_KeyStore_create() local 443 for (Provider provider : providers) { in test_KeyStore_create()
|