Home
last modified time | relevance | path

Searched refs:providers (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/location/src/android/location/cts/
DLocationManagerTest.java151 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/
DCrossProfileWidgetTest.java56 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/
DAppWidgetTestCase.java73 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()
DUpdateProviderInfoTest.java173 … List<AppWidgetProviderInfo> providers = AppWidgetManager.getInstance(getInstrumentation() in getProviderInfo() local
177 if (providers != null && !providers.isEmpty()) { in getProviderInfo()
178 return providers.get(0); in getProviderInfo()
DAppWidgetTest.java115 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/
DX509CertChainBuildingTest.java200 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/
DSettingsIncidentTest.java19 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/
DAppWidgetTest.java146 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/
DLocationManagerTest.java238 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/
DProviderInfoTest.java46 List<ProviderInfo> providers = pm.queryContentProviders(PACKAGE_NAME, appInfo.uid, 0); in testProviderInfo() local
47 Iterator<ProviderInfo> providerIterator = providers.iterator(); in testProviderInfo()
DPackageInfoTest.java82 checkInfoArray(expected.providers, actual.providers); in checkPkgInfoSame()
DPackageManagerTest.java166 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/
DREADME.txt24 sign APKs using different keystores, providers, etc. In particular, some of
/cts/tools/release-parser/tests/resources/
Dplatform.xml.pb.txt10 name: "com.android.providers.downloads"
DShell.apk.pb.txt128 providers: "android.support.v4.content.FileProvider"
129 providers: ".BugreportStorageProvider"
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndTest.java1042 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/
Drelease.proto185 repeated string providers = 12; field
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyStoreTest.java165 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()