/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
D | RawContactUtil.java | 36 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 …]
|
D | DataUtil.java | 34 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()
|
D | DatabaseAsserts.java | 32 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()
|
D | DeletedContactUtil.java | 35 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()
|
D | ContactUtil.java | 33 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()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowSecureSettings.java | 41 public static boolean putStringForUser(ContentResolver resolver, String name, String value, in putStringForUser() 59 public static boolean putString(ContentResolver resolver, String name, String value) { in putString() 65 public static String getStringForUser(ContentResolver resolver, String name, int userHandle) { in getStringForUser() 77 public static boolean putInt(ContentResolver resolver, String name, int value) { in putInt() 82 public static boolean putIntForUser(ContentResolver resolver, String name, int value, in putIntForUser() 96 public static int getInt(ContentResolver resolver, String name, int def) { in getInt() 101 public static int getIntForUser(ContentResolver resolver, String name, int def, in getIntForUser() 111 public static boolean putLongForUser(ContentResolver resolver, String name, long value, in putLongForUser() 121 public static long getLongForUser(ContentResolver resolver, String name, long def, in getLongForUser() 132 ContentResolver resolver, String name, float value, int userHandle) { in putFloatForUser() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowSecureSettings.java | 32 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/Car/Settings/src/com/android/car/settings/inputmethod/ |
D | InputMethodUtil.java | 125 public static boolean isInputMethodEnabled(ContentResolver resolver, in isInputMethodEnabled() 144 public static void enableInputMethod(ContentResolver resolver, in enableInputMethod() 200 private static String getEnabledInputMethodsConcatenatedIds(ContentResolver resolver) { in getEnabledInputMethodsConcatenatedIds() 204 private static String getDefaultInputMethodId(ContentResolver resolver) { in getDefaultInputMethodId() 208 private static boolean isDefaultInputMethod(ContentResolver resolver, in isDefaultInputMethod() 213 private static void setEnabledInputMethodsConcatenatedIds(ContentResolver resolver, in setEnabledInputMethodsConcatenatedIds() 219 private static void setDefaultInputMethodId(ContentResolver resolver, in setDefaultInputMethodId()
|
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/ |
D | ContactsProviderUtilTest.java | 34 ContentResolver resolver = mContext.getContentResolver(); in testGetUpdatedContactIds_getAll() local 56 ContentResolver resolver = mContext.getContentResolver(); in testGetUpdatedContactIds_getNone() local 74 ContentResolver resolver = mContext.getContentResolver(); in testGetUpdatedContactIds() local 103 ContentResolver resolver = mContext.getContentResolver(); in testGetDeletedContactIds_getAll() local 126 ContentResolver resolver = mContext.getContentResolver(); in testGetDeletedContactIds_getNone() local 148 ContentResolver resolver = mContext.getContentResolver(); in testGetDeletedContactIds() local
|
D | ContactsIndexerUserInstanceTest.java | 146 ContentResolver resolver = mContext.getContentResolver(); in testHandleMultipleNotifications_onlyOneDeltaUpdateCanBeScheduledAndRun() local 160 ContentResolver resolver = mContext.getContentResolver(); in testHandleMultipleNotifications_onlyOneDeltaUpdateCanBeScheduledAndRun() local 191 ContentResolver resolver = mContext.getContentResolver(); in testHandleNotificationDuringUpdate_oneAdditionalUpdateWillBeRun() local 269 ContentResolver resolver = mContext.getContentResolver(); in testStart_initialRun_schedulesFullUpdateJob() local 331 ContentResolver resolver = mContext.getContentResolver(); in testStart_subsequentRunWithNoScheduledJob_schedulesFullUpdateJob() local 398 ContentResolver resolver = mContext.getContentResolver(); in testStart_subsequentRunWithScheduledJob_doesNotScheduleFullUpdateJob() local 418 ContentResolver resolver = mContext.getContentResolver(); in testFullUpdate() local 438 ContentResolver resolver = mContext.getContentResolver(); in testFullUpdate_setsPreviousLastContactUpdatedTimestamp() local 470 ContentResolver resolver = mContext.getContentResolver(); in testDeltaUpdate_insertedContacts() local 520 ContentResolver resolver = mContext.getContentResolver(); in testDeltaUpdateWithLimit_fewerContactsIndexed() local [all …]
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | Utils.java | 40 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/ |
D | AutomaticStorageManagementJobServiceTest.java | 213 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/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | SmsMmsContacts.java | 83 public String getPhoneNumber(ContentResolver resolver, long id) { in getPhoneNumber() 92 public static String getPhoneNumberUncached(ContentResolver resolver, long id) { in getPhoneNumberUncached() 135 void fillPhoneCache(ContentResolver resolver) { in fillPhoneCache() 174 public MapContact getContactNameFromPhone(String phone, ContentResolver resolver) { in getContactNameFromPhone() 186 String phone, ContentResolver resolver, String contactNameFilter) { in getContactNameFromPhone()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | BucketHelper.java | 75 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/ |
D | SqliteWrapper.java | 37 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/ |
D | ArchivesProviderTest.java | 81 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/Settings/src/com/android/settings/accessibility/ |
D | FontSizeData.java | 43 final ContentResolver resolver = getContext().getContentResolver(); in FontSizeData() local 55 final ContentResolver resolver = getContext().getContentResolver(); in commit() local 82 private float getFontScaleDefValue(ContentResolver resolver) { in getFontScaleDefValue()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/ |
D | InputMethodAndSubtypeUtil.java | 83 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()
|
D | InputMethodAndSubtypeUtilCompat.java | 86 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/ |
D | SliceBroadcastReceiverTest.java | 90 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/ |
D | MediaDocumentsProviderTest.java | 81 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()
|
D | IdleServiceTest.java | 120 final ContentResolver resolver = context.getContentResolver(); in testPruneThumbnails() local 185 final ContentResolver resolver = context.getContentResolver(); in testExtendTrashedItemsHaveSameName() local 207 final ContentResolver resolver = context.getContentResolver(); in testExtendTrashedItemExpiresOverOneWeek() local 219 final ContentResolver resolver = context.getContentResolver(); in testDeleteExpiredTrashedItem() local 241 final ContentResolver resolver = isolatedContext.getContentResolver(); in testDetectSpecialFormat() local 425 private void assertExpiredItemIsExtended(ContentResolver resolver, Uri uri, in assertExpiredItemIsExtended() 446 private Uri createExpiredTrashedItem(ContentResolver resolver, long dateExpires) in createExpiredTrashedItem() 452 private Uri createExpiredTrashedItem(ContentResolver resolver, long dateExpires, in createExpiredTrashedItem()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/stableuris/job/ |
D | StableUriIdleMaintenanceServiceTest.java | 92 final ContentResolver resolver = context.getContentResolver(); in testDataMigrationForInternalVolume() local 134 final ContentResolver resolver = context.getContentResolver(); in testDataMigrationForExternalVolume() local 191 final ContentResolver resolver = context.getContentResolver(); in testDataMigrationForPublicVolume() local 274 private void verifyLevelDbPresence(ContentResolver resolver, String backupName) { in verifyLevelDbPresence()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | RedactionInterstitialTest.java | 141 final ContentResolver resolver = RuntimeEnvironment.application.getContentResolver(); in defaultShowSensitiveContent_configDeny() local 152 final ContentResolver resolver = RuntimeEnvironment.application.getContentResolver(); in defaultShowSensitiveContent_configAllow() local 175 final ContentResolver resolver = RuntimeEnvironment.application.getContentResolver(); in setupSettings() local
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | DataMigration.java | 123 ContentResolver resolver = ctx.getContentResolver(); in bluetoothDatabaseMigration() local 149 ContentResolver resolver = ctx.getContentResolver(); in oppDatabaseMigration() local 202 ContentResolver resolver = ctx.getContentResolver(); in sharedPreferencesMigration() local 250 ContentResolver resolver = ctx.getContentResolver(); in isMigrationApkInstalled() local
|