Searched refs:providers (Results 1 – 8 of 8) sorted by relevance
/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/location/src/android/location/cts/ |
D | LocationManagerTest.java | 147 List<String> providers = mManager.getAllProviders(); in testGetProviders() local 148 assertTrue(providers.size() >= 2); in testGetProviders() 149 assertTrue(hasTestProvider(providers)); in testGetProviders() 151 assertEquals(hasGpsFeature(), hasGpsProvider(providers)); in testGetProviders() 153 int oldSizeAllProviders = providers.size(); in testGetProviders() 155 providers = mManager.getProviders(false); in testGetProviders() 156 assertEquals(oldSizeAllProviders, providers.size()); in testGetProviders() 157 assertTrue(hasTestProvider(providers)); in testGetProviders() 159 providers = mManager.getProviders(true); in testGetProviders() 160 assertTrue(providers.size() >= 1); in testGetProviders() [all …]
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ProviderInfoTest.java | 41 List<ProviderInfo> providers = pm.queryContentProviders(PACKAGE_NAME, appInfo.uid, 0); in testProviderInfo() local 42 Iterator<ProviderInfo> providerIterator = providers.iterator(); in testProviderInfo()
|
D | PackageInfoTest.java | 80 checkInfoArray(expected.providers, actual.providers); in checkPkgInfoSame()
|
D | PackageManagerTest.java | 116 List<ProviderInfo> providers = mPackageManager.queryContentProviders(PACKAGE_NAME, in testQuery() local 118 checkProviderInfoName(PROVIDER_NAME, providers); in testQuery() 159 private void checkProviderInfoName(String expectedName, List<ProviderInfo> providers) { in checkProviderInfoName() argument 161 Iterator<ProviderInfo> infoIterator = providers.iterator(); in checkProviderInfoName()
|
/cts/tests/tests/location2/src/android/location2/cts/ |
D | LocationManagerTest.java | 214 List<String> providers = mManager.getProviders(false); in testGetProviders() local 216 assertFalse(hasProvider(providers, LocationManager.PASSIVE_PROVIDER)); in testGetProviders() 217 assertFalse(hasProvider(providers, LocationManager.GPS_PROVIDER)); in testGetProviders() 220 private boolean hasProvider(List<String> providers, String providerName) { in hasProvider() argument 221 for (String provider : providers) { in hasProvider()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTest.java | 110 List<AppWidgetProviderInfo> providers = getAppWidgetManager().getInstalledProviders(); in testGetAppInstalledProvidersForCurrentUserLegacy() local 113 assertExpectedInstalledProviders(providers); in testGetAppInstalledProvidersForCurrentUserLegacy() 122 List<AppWidgetProviderInfo> providers = getAppWidgetManager() in testGetAppInstalledProvidersForCurrentUserNewCurrentProfile() local 126 assertExpectedInstalledProviders(providers); in testGetAppInstalledProvidersForCurrentUserNewCurrentProfile() 144 List<AppWidgetProviderInfo> providers = getAppWidgetManager() in testGetAppInstalledProvidersForCurrentUserNewAllProfiles() local 146 allProviders.addAll(providers); in testGetAppInstalledProvidersForCurrentUserNewAllProfiles() 1315 private void assertExpectedInstalledProviders(List<AppWidgetProviderInfo> providers) { in assertExpectedInstalledProviders() argument 1327 final int providerCount = providers.size(); in assertExpectedInstalledProviders() 1329 AppWidgetProviderInfo provider = providers.get(i); in assertExpectedInstalledProviders() 1430 List<AppWidgetProviderInfo> providers = getAppWidgetManager().getInstalledProviders(); in getProviderInfo() local [all …]
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 75233 private static final java.util.List providers
|