Home
last modified time | relevance | path

Searched refs:getProvider (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DGlobals.java33 return getProvider(context).getImageLoader(); in getImageLoader()
37 return getProvider(context).getRecycledViewPool(); in getRecycledViewPool()
41 return getProvider(context).getMediaDb(); in getMediaDb()
50 private static @NonNull Provider getProvider(@NonNull Context context) { in getProvider() method in Globals
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pan/
DBluetoothTetheringNetworkFactoryTest.java68 assertThat(bluetoothTetheringNetworkFactory.getProvider()).isNull(); in networkStartReverseTetherEmptyIface()
83 assertThat(bluetoothTetheringNetworkFactory.getProvider()).isNotNull(); in networkStartReverseTether()
98 assertThat(bluetoothTetheringNetworkFactory.getProvider()).isNotNull(); in networkStartReverseTetherStop()
125 assertThat(bluetoothTetheringNetworkFactory.getProvider()).isNull(); in networkStopEmptyIface()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsPackageMonitor.java130 final ContactsProvider2 provider = getProvider(mContext, ContactsContract.AUTHORITY); in onPackageChanged()
151 final VoicemailContentProvider provider = getProvider(context, VoicemailContract.AUTHORITY); in cleanupVoicemail()
157 private static <T extends ContentProvider> T getProvider(Context context, String authority) { in getProvider() method in ContactsPackageMonitor
/packages/modules/Connectivity/staticlibs/device/android/net/
DNetworkFactory.java199 public NetworkProvider getProvider() { in getProvider() method in NetworkFactory
200 return mImpl.getProvider(); in getProvider()
DNetworkFactoryShim.java62 NetworkProvider getProvider(); in getProvider() method
DNetworkFactoryLegacyImpl.java381 @Override public NetworkProvider getProvider() { in getProvider() method in NetworkFactoryLegacyImpl
/packages/apps/Launcher3/tests/src/com/android/launcher3/celllayout/testgenerator/
DValidGridMigrationTestCaseGenerator.kt42 val getProvider = { i: Int -> in <lambda>() constant
75 appWidgetProvider = getProvider(id.get()), in <lambda>()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallerInfoIntegrationTest.java52 CallerInfo callerInfo = CallerInfo.getCallerInfo(getProvider().getContext(), "18004664411"); in testCallerInfo()
DContactDirectoryManagerTest.java137 mProvider = (ContactsProvider2) getProvider(); in setUp()
140 mPackageManager = (ContactsMockPackageManager) getProvider() in setUp()
513 ((ContactsProvider2)getProvider()).onAccountsUpdated(accounts); in testAccountRemoval()
527 ((ContactsProvider2)getProvider()).onAccountsUpdated(accounts); in testAccountRemoval()
DBaseVoicemailProviderTest.java48 mPackageManager = (ContactsMockPackageManager) getProvider() in setUp()
DCloneContactsProvider2Test.java167 ContactsProvider2 primaryContactsProvider = (ContactsProvider2) getProvider(); in testAreContactWritesEnabled()
404 final ContactsProvider2 primaryCP2 = (ContactsProvider2) getProvider(); in testQueryPrimaryProfileProvider_callingFromParentUser()
DContactsProvider2TransactionTest.java48 mProvider = (SynchronousContactsProvider2) getProvider(); in setUp()
DContactsProvider2Test.java161 mContactsProvider2 = (ContactsProvider2) getProvider(); in setUp()
172 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in tearDown()
1443 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testDataInsertAndUpdateHashId()
1504 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testDataInsertAndUpdateHashId_Photo()
2215 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testPhoneLookupUseStrictPhoneNumberCompare()
3041 final ContactsProvider2 provider = (ContactsProvider2) getProvider(); in testAddQueryParametersFromUri()
3063 final ContactsProvider2 provider = (ContactsProvider2) getProvider(); in testTestInvalidDirectory()
3072 final ContactsProvider2 provider = (ContactsProvider2) getProvider(); in testQueryCorpContactsProvider()
6618 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testHaveAccountsChanged()
6672 ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testAccountsUpdated()
[all …]
DBaseContactsProvider2Test.java189 public ContentProvider getProvider() { in getProvider() method in BaseContactsProvider2Test
584 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in markInvisible()
592 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in createAccount()
1055 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in assertStoredValuesDb()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothHidDeviceAppSdpSettings.java78 public String getProvider() { in getProvider() method in BluetoothHidDeviceAppSdpSettings
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pan/
DBluetoothTetheringNetworkFactory.java195 getProvider()) { in startNetwork()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1074 mMetaData = getProvider().mMetaData; in setUp()
1077 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in setUp()
1087 getProvider().getDatabaseHelper().close(); in tearDown()
1138 protected CalendarProvider2ForTesting getProvider() { in getProvider() method in CalendarProvider2Test
2928 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testGetAndSetTimezoneDatabaseVersion()
2992 getProvider().doProcessEventRawTimes(TIME_ZONE_AMERICA_ANCHORAGE, in testChangeTimezoneDB()
2996 assertEquals(MOCK_TIME_ZONE_DATABASE_VERSION, getProvider().getTimezoneDatabaseVersion()); in testChangeTimezoneDB()
3006 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testGetProviderProperties()
3042 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testGetProviderPropertiesByKey()
3072 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testUpdateProviderProperties()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/crypto/
DTlsSession.java93 private static final Provider TRUST_MANAGER_PROVIDER = Security.getProvider("HarmonyJSSE");
/packages/providers/ContactsKeysProvider/tests/src/com/android/providers/contactkeys/
DE2eeContactKeysDatabaseHelperTest.java58 mDbHelper = ((E2eeContactKeysProvider) getProvider()).mDbHelper; in setUp()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarLocationServiceTest.java225 assertEquals("gps", location.getProvider()); in testLoadsLocationWithHeadlessSystemUser()
/packages/services/Car/service/src/com/android/car/
DCarLocationService.java459 jsonWriter.name(PROVIDER).value(location.getProvider()); in storeLocation()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java650 parameters.setGpsProcessingMethod(loc.getProvider().toUpperCase()); in setGpsParameters()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hid/
DHidDeviceService.java539 sdp.getProvider(), in registerApp()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessage.java70 static final Provider TRUST_MANAGER_PROVIDER = Security.getProvider("HarmonyJSSE");
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java412 if (locManager.getProvider(LocationManager.NETWORK_PROVIDER) != null) { in testGpsStatus()

12