Home
last modified time | relevance | path

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

12345678

/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.java31 public static void assertDeleteIsUnsupported(ContentResolver resolver, Uri uri) { in assertDeleteIsUnsupported()
41 public static void assertInsertIsUnsupported(ContentResolver resolver, Uri uri) { in assertInsertIsUnsupported()
57 public static ContactIdPair assertAndCreateContact(ContentResolver resolver) { in assertAndCreateContact()
71 public static ContactIdPair assertAndCreateContactWithName(ContentResolver resolver, in assertAndCreateContactWithName()
88 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.java117 public static boolean isInputMethodEnabled(ContentResolver resolver, in isInputMethodEnabled()
132 public static void enableInputMethod(ContentResolver resolver, in enableInputMethod()
188 private static String getEnabledInputMethodsConcatenatedIds(ContentResolver resolver) { in getEnabledInputMethodsConcatenatedIds()
192 private static String getDefaultInputMethodId(ContentResolver resolver) { in getDefaultInputMethodId()
196 private static boolean isDefaultInputMethod(ContentResolver resolver, in isDefaultInputMethod()
201 private static void setEnabledInputMethodsConcatenatedIds(ContentResolver resolver, in setEnabledInputMethodsConcatenatedIds()
207 private static void setDefaultInputMethodId(ContentResolver resolver, in setDefaultInputMethodId()
/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/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/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DAutomaticStorageManagementJobServiceTest.java210 ContentResolver resolver = mContext.getContentResolver(); in testNonDefaultDaysToRetain() local
266 ContentResolver resolver = mContext.getContentResolver(); in disableSmartStorageIfPastThreshold() local
285 ContentResolver resolver = mContext.getContentResolver(); in dontDisableSmartStorageIfPastThresholdAndDisabledInThePast() local
306 ContentResolver resolver = mContext.getContentResolver(); in logDisabledByPolicyIfPastThreshold() local
326 ContentResolver resolver = mContext.getContentResolver(); in dontDisableSmartStorageIfNotPastThreshold() local
363 ContentResolver resolver = mContext.getContentResolver(); in activateASM() local
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DSmsMmsContacts.java70 public String getPhoneNumber(ContentResolver resolver, long id) { in getPhoneNumber()
79 public static String getPhoneNumberUncached(ContentResolver resolver, long id) { in getPhoneNumberUncached()
114 private void fillPhoneCache(ContentResolver resolver) { in fillPhoneCache()
145 public MapContact getContactNameFromPhone(String phone, ContentResolver resolver) { in getContactNameFromPhone()
155 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/DocumentsUI/tests/unit/com/android/documentsui/archives/
DArchivesProviderTest.java80 final ContentResolver resolver = mContext.getContentResolver(); in testQueryRoots() local
100 final ContentResolver resolver = mContext.getContentResolver(); in testOpen_Success() local
152 final ContentResolver resolver = mContext.getContentResolver(); in testOpen_Failure() local
205 final ContentResolver resolver = mContext.getContentResolver(); in testOpen_ClosesOnRelease() local
248 final ContentResolver resolver = mContext.getContentResolver(); in testNoNotificationAfterAllReleased() local
282 final ContentResolver resolver = mContext.getContentResolver(); in getDocumentMetadata_byDocumentId_shouldMatchSize() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBroadcastReceiverTest.java101 final ContentResolver resolver = mock(ContentResolver.class); in onReceive_toggleChanged() local
127 final ContentResolver resolver = spy(mContext.getContentResolver()); in toggleUpdate_synchronously_notifyChange_should_be_called() local
161 final ContentResolver resolver = spy(mContext.getContentResolver()); in toggleUpdate_asynchronously_notifyChange_should_not_be_called() local
192 final ContentResolver resolver = mock(ContentResolver.class); in onReceive_sliderChanged() local
265 final ContentResolver resolver = spy(mContext.getContentResolver()); in toggleUpdate_unavailableUriNotified() local
303 final ContentResolver resolver = spy(mContext.getContentResolver()); in sliderUpdate_unavailableUriNotified() local
DSliceRelayReceiverTest.java56 final ContentResolver resolver = spy(mContext.getContentResolver()); in onReceive_extraUri_notifiesChangeOnUri() local
/packages/apps/Launcher3/src/com/android/launcher3/util/
DVibratorWrapper.java59 final ContentResolver resolver = context.getContentResolver(); in VibratorWrapper() local
74 private boolean isHapticFeedbackEnabled(ContentResolver resolver) { in isHapticFeedbackEnabled()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DPlaylistResolver.java62 public static @NonNull List<ContentProviderOperation> resolvePlaylist( in resolvePlaylist()
92 private static @NonNull List<ContentProviderOperation> resolvePlaylistM3u( in resolvePlaylistM3u()
115 private static @NonNull List<ContentProviderOperation> resolvePlaylistPls( in resolvePlaylistPls()
139 private static @NonNull List<ContentProviderOperation> resolvePlaylistWpl( in resolvePlaylistWpl()
173 private static @Nullable ContentProviderOperation resolvePlaylistItem( in resolvePlaylistItem()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterysaver/
DBatterySaverScheduleRadioButtonsController.java54 final ContentResolver resolver = mContext.getContentResolver(); in getDefaultKey() local
76 final ContentResolver resolver = mContext.getContentResolver(); in setDefaultKey() local
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverScheduleRadioButtonsController.java54 final ContentResolver resolver = mContext.getContentResolver(); in getDefaultKey() local
76 final ContentResolver resolver = mContext.getContentResolver(); in setDefaultKey() local
/packages/modules/ExtServices/src/android/ext/services/notification/
DAssistantSettings.java68 private AssistantSettings(Handler handler, ContentResolver resolver, int userId, in AssistantSettings()
78 Handler handler, ContentResolver resolver, int userId, Runnable onUpdateRunnable) { in createAndRegister()
91 Handler handler, ContentResolver resolver, int userId, Runnable onUpdateRunnable) { in createForTesting()
173 AssistantSettings createAndRegister(Handler handler, ContentResolver resolver, int userId, in createAndRegister()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DPhotoPriorityResolverTest.java34 PhotoPriorityResolver resolver = new PhotoPriorityResolver(getContext()); in testLoadPicturePriorityFromXml() local
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DTextTime.kt112 val resolver = context.contentResolver in registerObserver() constant
117 val resolver = context.contentResolver in unregisterObserver() constant
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DAutomaticStorageManagementSwitchPreferenceControllerTest.java102 final ContentResolver resolver = mContext.getContentResolver(); in onResume_shouldReflectEnabledStatus() local
140 final ContentResolver resolver = mContext.getContentResolver(); in togglingShouldUpdateSettingsSecure() local
/packages/apps/Contacts/src/com/android/contacts/dialog/
DClearFrequentsDialog.java47 final ContentResolver resolver = getActivity().getContentResolver(); in onCreateDialog() local

12345678