Home
last modified time | relevance | path

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

/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/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsPackageMonitor.java129 final ContactsProvider2 provider = getProvider(mContext, ContactsContract.AUTHORITY); in onPackageChanged()
150 final VoicemailContentProvider provider = getProvider(context, VoicemailContract.AUTHORITY); in cleanupVoicemail()
156 private static <T extends ContentProvider> T getProvider(Context context, String authority) { in getProvider() method in ContactsPackageMonitor
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactDirectoryManagerTest.java118 mProvider = (ContactsProvider2) getProvider(); in setUp()
121 mPackageManager = (ContactsMockPackageManager) getProvider() in setUp()
486 ((ContactsProvider2)getProvider()).onAccountsUpdated(accounts); in testAccountRemoval()
500 ((ContactsProvider2)getProvider()).onAccountsUpdated(accounts); in testAccountRemoval()
DContactsProvider2Test.java141 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in setUp()
151 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in tearDown()
1224 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testDataInsertAndUpdateHashId()
1285 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testDataInsertAndUpdateHashId_Photo()
1996 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testPhoneLookupUseStrictPhoneNumberCompare()
2822 final ContactsProvider2 provider = (ContactsProvider2) getProvider(); in testAddQueryParametersFromUri()
2844 final ContactsProvider2 provider = (ContactsProvider2) getProvider(); in testTestInvalidDirectory()
2853 final ContactsProvider2 provider = (ContactsProvider2) getProvider(); in testQueryCorpContactsProvider()
2960 ContactsProvider2 provider = (ContactsProvider2) getProvider(); in testUpdateFromMetadataEntry()
3058 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testUpdateMetadataOnRawContactInsert()
[all …]
DCallerInfoIntegrationTest.java51 CallerInfo callerInfo = CallerInfo.getCallerInfo(getProvider().getContext(), "18004664411"); in testCallerInfo()
DBaseVoicemailProviderTest.java48 mPackageManager = (ContactsMockPackageManager) getProvider() in setUp()
DContactsProvider2TransactionTest.java48 mProvider = (SynchronousContactsProvider2) getProvider(); in setUp()
DBaseContactsProvider2Test.java171 public ContentProvider getProvider() { in getProvider() method in BaseContactsProvider2Test
566 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in markInvisible()
574 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in createAccount()
1037 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in assertStoredValuesDb()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1055 mMetaData = getProvider().mMetaData; in setUp()
1058 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in setUp()
1068 getProvider().getDatabaseHelper().close(); in tearDown()
1119 protected CalendarProvider2ForTesting getProvider() { in getProvider() method in CalendarProvider2Test
2909 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testGetAndSetTimezoneDatabaseVersion()
2973 getProvider().doProcessEventRawTimes(TIME_ZONE_AMERICA_ANCHORAGE, in testChangeTimezoneDB()
2977 assertEquals(MOCK_TIME_ZONE_DATABASE_VERSION, getProvider().getTimezoneDatabaseVersion()); in testChangeTimezoneDB()
2987 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testGetProviderProperties()
3023 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testGetProviderPropertiesByKey()
3053 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testUpdateProviderProperties()
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DBluetoothTetheringNetworkFactory.java176 config, getProvider()) { in startNetwork()
/packages/services/Car/service/src/com/android/car/
DCarLocationService.java307 jsonWriter.name("provider").value(location.getProvider()); in storeLocation()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarLocationServiceTest.java224 assertEquals("gps", location.getProvider()); in testLoadsLocationWithHeadlessSystemUser()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java650 parameters.setGpsProcessingMethod(loc.getProvider().toUpperCase()); in setGpsParameters()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessage.java66 static final Provider TRUST_MANAGER_PROVIDER = Security.getProvider("HarmonyJSSE");
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidDeviceService.java534 sdp.getProvider(), in registerApp()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java82 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in setUp()
95 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in tearDown()
DContactAggregator2Test.java83 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in setUp()
95 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in tearDown()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java796 loc.getProvider().toUpperCase())); in setGpsParameters()