Home
last modified time | relevance | path

Searched defs:resolver (Results 1 – 25 of 220) sorted by relevance

123456789

/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
DRawContactUtil.java36 public static void update(ContentResolver resolver, long rawContactId, in update()
42 public static String[] queryByRawContactId(ContentResolver resolver, in queryByRawContactId()
50 public static void delete(ContentResolver resolver, long rawContactId, in delete()
59 public static long queryContactIdByRawContactId(ContentResolver resolver, long rawContactid) { in queryContactIdByRawContactId()
71 public static boolean rawContactExistsById(ContentResolver resolver, long rawContactid) { in rawContactExistsById()
76 public static long createRawContact(ContentResolver resolver, Account account, in createRawContact()
86 public static long createRawContactWithAccountDataSet(ContentResolver resolver, in createRawContactWithAccountDataSet()
96 public static long createRawContactWithName(ContentResolver resolver) { in createRawContactWithName()
100 public static long createRawContactWithName(ContentResolver resolver, Account account) { in createRawContactWithName()
104 public static long createRawContactWithName(ContentResolver resolver, String firstName, in createRawContactWithName()
[all …]
DDataUtil.java34 public static void delete(ContentResolver resolver, long dataId) { in delete()
39 public static void update(ContentResolver resolver, long dataId, ContentValues values) { in update()
44 public static Uri insertStructuredName(ContentResolver resolver, long rawContactId, in insertStructuredName()
53 public static Uri insertStructuredName(ContentResolver resolver, long rawContactId, in insertStructuredName()
60 ContentResolver resolver, long rawContactId, String givenName, String familyName, in insertStructuredName()
67 ContentResolver resolver, long rawContactId, String givenName, String familyName, in insertStructuredName()
99 public static Uri insertPhoneticName(ContentResolver resolver, long rawContactId, in insertPhoneticName()
DDatabaseAsserts.java32 public static void assertDeleteIsUnsupported(ContentResolver resolver, Uri uri) { in assertDeleteIsUnsupported()
42 public static void assertInsertIsUnsupported(ContentResolver resolver, Uri uri) { in assertInsertIsUnsupported()
58 public static ContactIdPair assertAndCreateContact(ContentResolver resolver) { in assertAndCreateContact()
67 public static ContactIdPair assertAndCreateContact(ContentResolver resolver, Account account) { in assertAndCreateContact()
81 public static ContactIdPair assertAndCreateContactWithName(ContentResolver resolver, in assertAndCreateContactWithName()
98 public static void assertHasDeleteLogGreaterThan(ContentResolver resolver, long contactId, in assertHasDeleteLogGreaterThan()
DContactUtil.java33 public static void update(ContentResolver resolver, long contactId, in update()
39 public static void delete(ContentResolver resolver, long contactId) { in delete()
44 public static boolean recordExistsForContactId(ContentResolver resolver, long contactId) { in recordExistsForContactId()
56 public static long queryContactLastUpdatedTimestamp(ContentResolver resolver, long contactId) { in queryContactLastUpdatedTimestamp()
DDeletedContactUtil.java35 public static long queryDeletedTimestampForContactId(ContentResolver resolver, long contactId) { in queryDeletedTimestampForContactId()
47 public static long getCount(ContentResolver resolver) { in getCount()
64 public static List<String[]> query(ContentResolver resolver, String[] projection) { in query()
74 public static List<String[]> querySinceTimestamp(ContentResolver resolver, String[] projection, in querySinceTimestamp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowSecureSettings.java32 protected static int getInt(ContentResolver resolver, String name) { in getInt()
41 protected static int getInt(ContentResolver resolver, String name, int def) { in getInt()
51 protected static int getIntForUser(ContentResolver resolver, String name, int def, in getIntForUser()
63 protected static boolean putInt(ContentResolver resolver, String name, int value) { in putInt()
73 protected static boolean putIntForUser(ContentResolver resolver, String name, int value, in putIntForUser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowSecureSettings.java38 public static boolean putStringForUser(ContentResolver resolver, String name, String value, in putStringForUser()
52 public static String getStringForUser(ContentResolver resolver, String name, int userHandle) { in getStringForUser()
60 public static boolean putIntForUser(ContentResolver resolver, String name, int value, in putIntForUser()
70 public static int getIntForUser(ContentResolver resolver, String name, int def, in getIntForUser()
80 public static boolean putLongForUser(ContentResolver resolver, String name, long value, in putLongForUser()
90 public static long getLongForUser(ContentResolver resolver, String name, long def, in getLongForUser()
101 ContentResolver resolver, String name, float value, int userHandle) { in putFloatForUser()
111 ContentResolver resolver, String name, float def, int userHandle) { in getFloatForUser()
/packages/apps/Car/Settings/src/com/android/car/settings/inputmethod/
DInputMethodUtil.java125 public static boolean isInputMethodEnabled(ContentResolver resolver, in isInputMethodEnabled()
140 public static void enableInputMethod(ContentResolver resolver, in enableInputMethod()
196 private static String getEnabledInputMethodsConcatenatedIds(ContentResolver resolver) { in getEnabledInputMethodsConcatenatedIds()
200 private static String getDefaultInputMethodId(ContentResolver resolver) { in getDefaultInputMethodId()
204 private static boolean isDefaultInputMethod(ContentResolver resolver, in isDefaultInputMethod()
209 private static void setEnabledInputMethodsConcatenatedIds(ContentResolver resolver, in setEnabledInputMethodsConcatenatedIds()
215 private static void setDefaultInputMethodId(ContentResolver resolver, in setDefaultInputMethodId()
/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DUtils.java40 public static void clearTvProvider(ContentResolver resolver) { in clearTvProvider()
191 public static long insertChannel(ContentResolver resolver) { in insertChannel()
200 ContentResolver resolver, long channelId, Program... programs) { in insertPrograms()
210 public static Set<Program> queryPrograms(ContentResolver resolver) { in queryPrograms()
231 ContentResolver resolver, long channelId, PreviewProgram... programs) { in insertPreviewPrograms()
243 public static Set<PreviewProgram> queryPreviewPrograms(ContentResolver resolver) { in queryPreviewPrograms()
265 ContentResolver resolver, long channelId, RecordedProgram... programs) { in insertRecordedPrograms()
276 public static Set<RecordedProgram> queryRecordedPrograms(ContentResolver resolver) { in queryRecordedPrograms()
298 public static void insertWatchedPrograms(ContentResolver resolver, String packageName, in insertWatchedPrograms()
313 public static Set<WatchedProgram> queryWatchedPrograms(ContentResolver resolver) { in queryWatchedPrograms()
[all …]
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsProviderUtilTest.java59 ContentResolver resolver = mContext.getContentResolver(); in testGetUpdatedContactIds_getAll() local
80 ContentResolver resolver = mContext.getContentResolver(); in testGetUpdatedContactIds_getNone() local
97 ContentResolver resolver = mContext.getContentResolver(); in testGetUpdatedContactIds() local
124 ContentResolver resolver = mContext.getContentResolver(); in testGetDeletedContactIds_getAll() local
146 ContentResolver resolver = mContext.getContentResolver(); in testGetDeletedContactIds_getNone() local
167 ContentResolver resolver = mContext.getContentResolver(); in testGetDeletedContactIds() local
DContactsIndexerUserInstanceTest.java163 ContentResolver resolver = mContext.getContentResolver(); in testHandleMultipleNotifications_onlyOneDeltaUpdateCanBeScheduledAndRun() local
177 ContentResolver resolver = mContext.getContentResolver(); in testHandleMultipleNotifications_onlyOneDeltaUpdateCanBeScheduledAndRun() local
208 ContentResolver resolver = mContext.getContentResolver(); in testHandleNotificationDuringUpdate_oneAdditionalUpdateWillBeRun() local
286 ContentResolver resolver = mContext.getContentResolver(); in testStart_initialRun_schedulesFullUpdateJob() local
344 ContentResolver resolver = mContext.getContentResolver(); in testStart_subsequentRunWithNoScheduledJob_schedulesFullUpdateJob() local
405 ContentResolver resolver = mContext.getContentResolver(); in testStart_subsequentRunWithScheduledJob_doesNotScheduleFullUpdateJob() local
421 ContentResolver resolver = mContext.getContentResolver(); in testFullUpdate() local
441 ContentResolver resolver = mContext.getContentResolver(); in testDeltaUpdate_insertedContacts() local
479 ContentResolver resolver = mContext.getContentResolver(); in testDeltaUpdateWithLimit_fewerContactsIndexed() local
499 ContentResolver resolver = mContext.getContentResolver(); in testDeltaUpdate_deletedContacts() local
[all …]
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DAutomaticStorageManagementJobServiceTest.java213 ContentResolver resolver = mContext.getContentResolver(); in testNonDefaultDaysToRetain() local
269 ContentResolver resolver = mContext.getContentResolver(); in disableSmartStorageIfPastThreshold() local
288 ContentResolver resolver = mContext.getContentResolver(); in dontDisableSmartStorageIfPastThresholdAndDisabledInThePast() local
309 ContentResolver resolver = mContext.getContentResolver(); in logDisabledByPolicyIfPastThreshold() local
329 ContentResolver resolver = mContext.getContentResolver(); in dontDisableSmartStorageIfNotPastThreshold() local
366 ContentResolver resolver = mContext.getContentResolver(); in activateASM() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DAlwaysOnDisplaySliceTest.java113 final ContentResolver resolver = mContext.getContentResolver(); in onNotifyChange_toggleOff_disableAoD() local
127 final ContentResolver resolver = mContext.getContentResolver(); in onNotifyChange_toggleOn_awareNotSupported_enableAoD() local
141 final ContentResolver resolver = mContext.getContentResolver(); in onNotifyChange_toggleOn_awareDisabled_enableAoD() local
155 final ContentResolver resolver = mContext.getContentResolver(); in onNotifyChange_toggleOn_awareSupported_enableAoD() local
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DSmsMmsContacts.java76 public String getPhoneNumber(ContentResolver resolver, long id) { in getPhoneNumber()
85 public static String getPhoneNumberUncached(ContentResolver resolver, long id) { in getPhoneNumberUncached()
122 void fillPhoneCache(ContentResolver resolver) { in fillPhoneCache()
154 public MapContact getContactNameFromPhone(String phone, ContentResolver resolver) { in getContactNameFromPhone()
164 public MapContact getContactNameFromPhone(String phone, ContentResolver resolver, in getContactNameFromPhone()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DBucketHelper.java75 JobContext jc, ContentResolver resolver, int type) { in loadBucketEntries()
84 ContentResolver resolver, Uri tableUri, HashMap<Integer, BucketEntry> buckets) { in updateBucketEntriesFromTable()
110 JobContext jc, ContentResolver resolver, int type) { in loadBucketEntriesFromImagesAndVideoTable()
132 JobContext jc, ContentResolver resolver, int type) { in loadBucketEntriesFromFilesTable()
167 ContentResolver resolver, Uri tableUri, int bucketId) { in getBucketNameInTable()
189 public static String getBucketName(ContentResolver resolver, int bucketId) { in getBucketName()
/packages/apps/Messaging/src/com/android/messaging/mmslib/
DSqliteWrapper.java37 public static Cursor query(Context context, ContentResolver resolver, Uri uri, in query()
50 public static int update(Context context, ContentResolver resolver, Uri uri, in update()
63 public static int delete(Context context, ContentResolver resolver, Uri uri, in delete()
76 public static Uri insert(Context context, ContentResolver resolver, in insert()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DArchivesProviderTest.java81 final ContentResolver resolver = mContext.getContentResolver(); in testQueryRoots() local
101 final ContentResolver resolver = mContext.getContentResolver(); in testOpen_Success() local
153 final ContentResolver resolver = mContext.getContentResolver(); in testOpen_Failure() local
206 final ContentResolver resolver = mContext.getContentResolver(); in testOpen_ClosesOnRelease() local
249 final ContentResolver resolver = mContext.getContentResolver(); in testNoNotificationAfterAllReleased() local
283 final ContentResolver resolver = mContext.getContentResolver(); in getDocumentMetadata_byDocumentId_shouldMatchSize() local
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DInputMethodAndSubtypeUtil.java83 private static int getInputMethodSubtypeSelected(ContentResolver resolver) { in getInputMethodSubtypeSelected()
92 private static boolean isInputMethodSubtypeSelected(ContentResolver resolver) { in isInputMethodSubtypeSelected()
96 private static void putSelectedInputMethodSubtype(ContentResolver resolver, int hashCode) { in putSelectedInputMethodSubtype()
102 ContentResolver resolver) { in getEnabledInputMethodsAndSubtypeList()
134 private static HashSet<String> getDisabledSystemIMEs(ContentResolver resolver) { in getDisabledSystemIMEs()
DInputMethodAndSubtypeUtilCompat.java86 private static int getInputMethodSubtypeSelected(ContentResolver resolver) { in getInputMethodSubtypeSelected()
95 private static boolean isInputMethodSubtypeSelected(ContentResolver resolver) { in isInputMethodSubtypeSelected()
99 private static void putSelectedInputMethodSubtype(ContentResolver resolver, int hashCode) { in putSelectedInputMethodSubtype()
105 ContentResolver resolver) { in getEnabledInputMethodsAndSubtypeList()
137 private static HashSet<String> getDisabledSystemIMEs(ContentResolver resolver) { in getDisabledSystemIMEs()
153 ContentResolver resolver, List<InputMethodInfo> inputMethodInfos, in saveInputMethodSubtypeList()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBroadcastReceiverTest.java90 final ContentResolver resolver = mock(ContentResolver.class); in onReceive_toggleChanged() local
119 final ContentResolver resolver = spy(mContext.getContentResolver()); in toggleUpdate_synchronously_notifyChange_should_be_called() local
151 final ContentResolver resolver = spy(mContext.getContentResolver()); in toggleUpdate_asynchronously_notifyChange_should_not_be_called() local
173 final ContentResolver resolver = mock(ContentResolver.class); in onReceive_sliderChanged() local
252 final ContentResolver resolver = spy(mContext.getContentResolver()); in toggleUpdate_unavailableUriNotified() local
287 final ContentResolver resolver = spy(mContext.getContentResolver()); in sliderUpdate_unavailableUriNotified() local
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DIdleServiceTest.java101 final ContentResolver resolver = context.getContentResolver(); in testPruneThumbnails() local
157 final ContentResolver resolver = context.getContentResolver(); in testExtendTrashedItemsHaveSameName() local
179 final ContentResolver resolver = context.getContentResolver(); in testExtendTrashedItemExpiresOverOneWeek() local
191 final ContentResolver resolver = context.getContentResolver(); in testDeleteExpiredTrashedItem() local
213 final ContentResolver resolver = isolatedContext.getContentResolver(); in testDetectSpecialFormat() local
260 private void assertExpiredItemIsExtended(ContentResolver resolver, Uri uri) throws Exception { in assertExpiredItemIsExtended()
275 private Uri createExpiredTrashedItem(ContentResolver resolver, long dateExpires) in createExpiredTrashedItem()
281 private Uri createExpiredTrashedItem(ContentResolver resolver, long dateExpires, in createExpiredTrashedItem()
DMediaDocumentsProviderTest.java81 final ContentResolver resolver = isolatedContext.getContentResolver(); in testSimple() local
137 final ContentResolver resolver = isolatedContext.getContentResolver(); in testOpenFile() local
166 final ContentResolver resolver = isolatedContext.getContentResolver(); in testTraverse() local
184 public void doTraversal(ContentResolver resolver, Uri child) throws Exception { in doTraversal()
255 private static void assertProbe(ContentResolver resolver, String... paths) { in assertProbe()
291 private void assertOpenFile(ContentResolver resolver, String item) in assertOpenFile()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRedactionInterstitialTest.java143 final ContentResolver resolver = RuntimeEnvironment.application.getContentResolver(); in defaultShowSensitiveContent_configDeny() local
154 final ContentResolver resolver = RuntimeEnvironment.application.getContentResolver(); in defaultShowSensitiveContent_configAllow() local
177 final ContentResolver resolver = RuntimeEnvironment.application.getContentResolver(); in setupSettings() local
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DDataMigration.java138 ContentResolver resolver = ctx.getContentResolver(); in bluetoothDatabaseMigration() local
160 ContentResolver resolver = ctx.getContentResolver(); in oppDatabaseMigration() local
205 ContentResolver resolver = ctx.getContentResolver(); in sharedPreferencesMigration() local
255 ContentResolver resolver = ctx.getContentResolver(); in isMigrationApkInstalled() local
/packages/apps/Settings/src/com/android/settings/accessibility/
DFontSizeData.java43 final ContentResolver resolver = getContext().getContentResolver(); in FontSizeData() local
55 final ContentResolver resolver = getContext().getContentResolver(); in commit() local

123456789