/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTest.java | 35 import android.appwidget.cts.provider.AppWidgetProviderCallbacks; 36 import android.appwidget.cts.provider.FirstAppWidgetProvider; 37 import android.appwidget.cts.provider.SecondAppWidgetProvider; 167 AppWidgetProviderInfo provider = getFirstAppWidgetProviderInfo(); in testBindAppWidget() local 171 provider.getProfile(), provider.provider, null); in testBindAppWidget() 181 appWidgetId, provider.getProfile(), provider.provider, null); in testBindAppWidget() 223 AppWidgetProviderInfo provider = getFirstAppWidgetProviderInfo(); in testAppWidgetProviderCallbacks() local 227 provider.getProfile(), provider.provider, null); in testAppWidgetProviderCallbacks() 248 provider.getProfile(), provider.provider, null); in testAppWidgetProviderCallbacks() 345 firstProvider.getProfile(), firstProvider.provider, null); in testTwoAppWidgetProviderCallbacks() [all …]
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoLocationPermissionTest.java | 61 private boolean isKnownLocationProvider(String provider) { in isKnownLocationProvider() argument 62 return mAllProviders.contains(provider); in isKnownLocationProvider() 133 private void checkRequestLocationUpdates(String provider) { in checkRequestLocationUpdates() argument 134 if (!isKnownLocationProvider(provider)) { in checkRequestLocationUpdates() 142 mLocationManager.requestLocationUpdates(provider, 0, 0, mockListener); in checkRequestLocationUpdates() 150 mLocationManager.requestLocationUpdates(provider, 0, 0, mockListener, looper); in checkRequestLocationUpdates() 204 private void checkGetLastKnownLocation(String provider) { in checkGetLastKnownLocation() argument 205 if (!isKnownLocationProvider(provider)) { in checkGetLastKnownLocation() 211 mLocationManager.getLastKnownLocation(provider); in checkGetLastKnownLocation() 247 private void checkGetProvider(String provider) { in checkGetProvider() argument [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsContract_ProviderStatus.java | 17 package android.provider.cts; 23 import android.provider.ContactsContract; 24 import android.provider.ContactsContract.CommonDataKinds.StructuredName; 25 import android.provider.ContactsContract.ProviderStatus; 26 import android.provider.ContactsContract.RawContacts; 27 import android.provider.cts.ContactsContract_TestDataBuilder.TestRawContact; 28 import android.provider.cts.contacts.DatabaseAsserts; 46 ContentProviderClient provider = in setUp() local 48 mBuilder = new ContactsContract_TestDataBuilder(provider); in setUp()
|
D | ContactsContract_StructuredPhoneticName.java | 17 package android.provider.cts; 23 import android.provider.ContactsContract; 24 import android.provider.ContactsContract.AggregationExceptions; 25 import android.provider.ContactsContract.CommonDataKinds.StructuredName; 26 import android.provider.ContactsContract.Contacts; 27 import android.provider.ContactsContract.Data; 28 import android.provider.ContactsContract.DisplayNameSources; 29 import android.provider.ContactsContract.RawContacts; 30 import android.provider.cts.ContactsContract_TestDataBuilder.TestContact; 31 import android.provider.cts.ContactsContract_TestDataBuilder.TestData; [all …]
|
D | ContactsContract_GroupMembershipTest.java | 17 package android.provider.cts; 22 import android.provider.ContactsContract; 23 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 24 import android.provider.ContactsContract.Groups; 25 import android.provider.ContactsContract.RawContacts; 26 import android.provider.cts.ContactsContract_TestDataBuilder.TestData; 27 import android.provider.cts.ContactsContract_TestDataBuilder.TestGroup; 28 import android.provider.cts.ContactsContract_TestDataBuilder.TestRawContact; 39 ContentProviderClient provider = in setUp() local 41 mBuilder = new ContactsContract_TestDataBuilder(provider); in setUp()
|
D | ContactsContract_PhotoTest.java | 17 package android.provider.cts; 23 import android.provider.ContactsContract; 24 import android.provider.ContactsContract.CommonDataKinds.Photo; 25 import android.provider.ContactsContract.Contacts; 26 import android.provider.cts.ContactsContract_TestDataBuilder.TestContact; 27 import android.provider.cts.ContactsContract_TestDataBuilder.TestData; 28 import android.provider.cts.ContactsContract_TestDataBuilder.TestRawContact; 49 ContentProviderClient provider = in setUp() local 51 mBuilder = new ContactsContract_TestDataBuilder(provider); in setUp()
|
D | ContactsContract_IsSuperPrimaryName.java | 17 package android.provider.cts; 24 import android.provider.ContactsContract; 25 import android.provider.ContactsContract.AggregationExceptions; 26 import android.provider.ContactsContract.CommonDataKinds.StructuredName; 27 import android.provider.ContactsContract.Contacts; 28 import android.provider.ContactsContract.RawContacts; 29 import android.provider.cts.ContactsContract_TestDataBuilder.TestContact; 30 import android.provider.cts.ContactsContract_TestDataBuilder.TestData; 31 import android.provider.cts.ContactsContract_TestDataBuilder.TestRawContact; 49 ContentProviderClient provider = in setUp() local [all …]
|
D | ContactsContract_RawContactsTest.java | 17 package android.provider.cts; 24 import android.provider.ContactsContract; 25 import android.provider.ContactsContract.CommonDataKinds.StructuredName; 26 import android.provider.ContactsContract.Contacts; 27 import android.provider.ContactsContract.RawContacts; 28 import android.provider.cts.ContactsContract_TestDataBuilder.TestContact; 29 import android.provider.cts.ContactsContract_TestDataBuilder.TestRawContact; 30 import android.provider.cts.contacts.CommonDatabaseUtils; 31 import android.provider.cts.contacts.ContactUtil; 32 import android.provider.cts.contacts.DatabaseAsserts; [all …]
|
D | ContactsContract_SearchSnippetsTest.java | 17 package android.provider.cts; 24 import android.provider.ContactsContract; 25 import android.provider.ContactsContract.CommonDataKinds.Email; 26 import android.provider.ContactsContract.CommonDataKinds.Note; 27 import android.provider.ContactsContract.CommonDataKinds.Phone; 28 import android.provider.ContactsContract.CommonDataKinds.StructuredName; 29 import android.provider.ContactsContract.CommonDataKinds.StructuredPostal; 30 import android.provider.ContactsContract.Contacts; 31 import android.provider.ContactsContract.RawContacts; 32 import android.provider.ContactsContract.SearchSnippets; [all …]
|
D | ContactsContract_PhoneLookup.java | 17 package android.provider.cts; 23 import android.provider.ContactsContract; 24 import android.provider.ContactsContract.CommonDataKinds.Email; 25 import android.provider.ContactsContract.CommonDataKinds.Phone; 26 import android.provider.ContactsContract.CommonDataKinds.SipAddress; 27 import android.provider.ContactsContract.CommonDataKinds.StructuredName; 28 import android.provider.ContactsContract.Contacts; 29 import android.provider.ContactsContract.PhoneLookup; 30 import android.provider.ContactsContract.RawContacts; 31 import android.provider.cts.ContactsContract_TestDataBuilder.TestContact; [all …]
|
D | ContactsContract_AggregationSuggestionsTest.java | 17 package android.provider.cts; 24 import android.provider.ContactsContract; 25 import android.provider.ContactsContract.CommonDataKinds.StructuredName; 26 import android.provider.ContactsContract.Contacts; 27 import android.provider.ContactsContract.Contacts.AggregationSuggestions; 28 import android.provider.ContactsContract.RawContacts; 29 import android.provider.cts.ContactsContract_TestDataBuilder.TestRawContact; 30 import android.provider.cts.contacts.DatabaseAsserts; 47 ContentProviderClient provider = in setUp() local 49 mBuilder = new ContactsContract_TestDataBuilder(provider); in setUp()
|
D | ContactsContract_ContactsTest.java | 17 package android.provider.cts; 29 import android.provider.ContactsContract; 30 import android.provider.ContactsContract.CommonDataKinds.StructuredName; 31 import android.provider.ContactsContract.Contacts; 32 import android.provider.cts.ContactsContract_TestDataBuilder.TestContact; 33 import android.provider.cts.ContactsContract_TestDataBuilder.TestRawContact; 34 import android.provider.cts.contacts.ContactUtil; 35 import android.provider.cts.contacts.DatabaseAsserts; 36 import android.provider.cts.contacts.RawContactUtil; 37 import android.provider.cts.contacts.account.StaticAccountAuthenticator; [all …]
|
D | ContactsContract_CommonDataKinds_OrganizationTest.java | 17 package android.provider.cts; 22 import android.provider.ContactsContract.CommonDataKinds.Im; 23 import android.provider.ContactsContract.CommonDataKinds.Organization; 24 import android.provider.ContactsContract.Data;
|
D | ContactsContract_DeletedContacts.java | 17 package android.provider.cts; 19 import static android.provider.cts.contacts.DatabaseAsserts.ContactIdPair; 25 import android.provider.ContactsContract; 26 import android.provider.cts.contacts.CommonDatabaseUtils; 27 import android.provider.cts.contacts.DatabaseAsserts; 28 import android.provider.cts.contacts.DeletedContactUtil; 29 import android.provider.cts.contacts.RawContactUtil;
|
D | ContactsContract_FrequentsStrequentsTest.java | 17 package android.provider.cts; 25 import android.provider.ContactsContract; 26 import android.provider.ContactsContract.CommonDataKinds.Contactables; 27 import android.provider.ContactsContract.CommonDataKinds.Email; 28 import android.provider.ContactsContract.CommonDataKinds.Organization; 29 import android.provider.ContactsContract.CommonDataKinds.Phone; 30 import android.provider.ContactsContract.CommonDataKinds.StructuredName; 31 import android.provider.ContactsContract.Contacts; 32 import android.provider.ContactsContract.Data; 33 import android.provider.ContactsContract.DataUsageFeedback; [all …]
|
D | ContactsContract_ContactCountsTest.java | 17 package android.provider.cts; 27 import android.provider.ContactsContract; 28 import android.provider.ContactsContract.CommonDataKinds.StructuredName; 29 import android.provider.ContactsContract.Contacts; 30 import android.provider.ContactsContract.RawContacts; 31 import android.provider.cts.ContactsContract_TestDataBuilder.TestContact; 32 import android.provider.cts.ContactsContract_TestDataBuilder.TestRawContact; 48 ContentProviderClient provider = in setUp() local 50 mBuilder = new ContactsContract_TestDataBuilder(provider); in setUp()
|
D | ContactsContract_DataUsageTest.java | 17 package android.provider.cts; 19 import static android.provider.ContactsContract.DataUsageFeedback; 24 import android.provider.ContactsContract; 25 import android.provider.cts.contacts.DataUtil; 26 import android.provider.cts.contacts.DatabaseAsserts; 27 import android.provider.cts.contacts.RawContactUtil;
|
D | MediaStore_VideoTest.java | 17 package android.provider.cts; 19 import android.provider.cts.R; 27 import android.provider.MediaStore.Video; 28 import android.provider.MediaStore.Video.VideoColumns;
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | RSACipherTest.java | 40 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus() local 41 assertNotNull(provider); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus() 59 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); in testNoPaddingEncryptionAndDecryptionSucceedsWithInputShorterThanModulus() 73 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus() local 74 assertNotNull(provider); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus() 89 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); in testNoPaddingEncryptionSucceedsWithPlaintextOneSmallerThanModulus() 101 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testNoPaddingEncryptionFailsWithPlaintextEqualToModulus() local 102 assertNotNull(provider); in testNoPaddingEncryptionFailsWithPlaintextEqualToModulus() 115 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); in testNoPaddingEncryptionFailsWithPlaintextEqualToModulus() 129 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testNoPaddingEncryptionFailsWithPlaintextOneLargerThanModulus() local [all …]
|
D | SignatureTest.java | 339 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAlgorithmList() local 340 Set<Service> services = provider.getServices(); in testAlgorithmList() 366 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenSigning() local 367 assertNotNull(provider); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenSigning() 373 assertSame(provider, signature.getProvider()); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProviderWhenSigning() 382 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenVerifying() local 383 assertNotNull(provider); in testAndroidKeyStorePublicKeysAcceptedByHighestPriorityProviderWhenVerifying() 397 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testValidSignatureGeneratedForEmptyMessage() local 398 assertNotNull(provider); in testValidSignatureGeneratedForEmptyMessage() 409 Signature signature = Signature.getInstance(sigAlgorithm, provider); in testValidSignatureGeneratedForEmptyMessage() [all …]
|
D | MacTest.java | 193 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAlgorithmList() local 194 Set<Service> services = provider.getServices(); in testAlgorithmList() 210 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider() local 211 assertNotNull(provider); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider() 219 assertSame(provider, mac.getProvider()); in testAndroidKeyStoreKeysHandledByAndroidKeyStoreProvider() 227 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testMacGeneratedForEmptyMessage() local 228 assertNotNull(provider); in testMacGeneratedForEmptyMessage() 234 Mac mac = Mac.getInstance(algorithm, provider); in testMacGeneratedForEmptyMessage() 248 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); in testMacGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore() local 249 assertNotNull(provider); in testMacGeneratedByAndroidKeyStoreVerifiesByAndroidKeyStore() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
D | LocationVerifier.java | 110 public void onStatusChanged(String provider, int status, Bundle extras) { } in onStatusChanged() argument 112 public void onProviderEnabled(String provider) { } in onProviderEnabled() argument 114 public void onProviderDisabled(String provider) { } in onProviderDisabled() argument 117 private void assertMeanAndStdev(String provider, List<Long> deltas, double minMeanRatio) { in assertMeanAndStdev() argument 123 fail(provider + " provider mean too small: " + mean in assertMeanAndStdev() 130 fail (provider + " provider stdev too big: " in assertMeanAndStdev() 135 mCb.log(provider + " provider mean: " + mean); in assertMeanAndStdev() 136 mCb.log(provider + " provider stdev: " + stdev); in assertMeanAndStdev() 191 public void onStatusChanged(String provider, int status, Bundle extras) { } in onStatusChanged() argument 193 public void onProviderEnabled(String provider) { } in onProviderEnabled() argument [all …]
|
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/ |
D | ZenModeTest.java | 19 import static android.provider.Settings.ACTION_VOICE_CONTROL_DO_NOT_DISTURB_MODE; 20 import static android.provider.Settings.EXTRA_DO_NOT_DISTURB_MODE_ENABLED; 21 import static android.provider.Settings.EXTRA_DO_NOT_DISTURB_MODE_MINUTES; 25 import android.provider.Settings; 26 import android.provider.Settings.Global;
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/provider/ |
D | AppWidgetProviderCallbacks.java | 17 package android.appwidget.cts.provider; 32 public final void setProvider(AppWidgetProvider provider) { in setProvider() argument 33 mProvider = provider; in setProvider()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | GeolocationTest.java | 166 for (String provider : mProviders) { in setUp() 168 if (provider.equals(LocationManager.PASSIVE_PROVIDER)) { in setUp() 169 mProviders.remove(provider); in setUp() 188 for (String provider : mProviders) { in tearDown() 191 mLocationManager.clearTestProviderEnabled(provider); in tearDown() 192 mLocationManager.removeTestProvider(provider); in tearDown() 211 LocationProvider provider = mLocationManager.getProvider(providerName); in addTestProviders() local 212 mLocationManager.addTestProvider(provider.getName(), in addTestProviders() 213 provider.requiresNetwork(), //requiresNetwork, in addTestProviders() 214 provider.requiresSatellite(), // requiresSatellite, in addTestProviders() [all …]
|