| /packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ |
| D | PickerSyncControllerTest.java | 166 try (Cursor cr = queryMedia()) { in testSyncAllMediaNoCloud() 177 try (Cursor cr = queryMedia()) { in testSyncAllMediaNoCloud() 187 try (Cursor cr = queryMedia()) { in testSyncAllMediaNoCloud() 212 try (Cursor cr = queryAlbumMedia(ALBUM_ID_1, true)) { in testSyncAllAlbumMediaNoCloud() 224 try (Cursor cr = queryAlbumMedia(ALBUM_ID_1, true)) { in testSyncAllAlbumMediaNoCloud() 234 try (Cursor cr = queryAlbumMedia(ALBUM_ID_2, true)) { in testSyncAllAlbumMediaNoCloud() 245 try (Cursor cr = queryAlbumMedia(ALBUM_ID_2, true)) { in testSyncAllAlbumMediaNoCloud() 271 try (Cursor cr = queryMedia()) { in testSyncAllMediaCloudOnly() 284 try (Cursor cr = queryMedia()) { in testSyncAllMediaCloudOnly() 301 try (Cursor cr = queryMedia()) { in testSyncAllMediaLocal() [all …]
|
| D | PickerDataLayerTest.java | 152 try (Cursor cr = mDataLayer.fetchAllMedia(buildDefaultQueryArgs())) { in testFetchMediaNoFilter() 176 try (Cursor cr = mDataLayer.fetchAllMedia(defaultQueryArgs)) { in testFetchMediaFavorites() 183 try (Cursor cr = mDataLayer.fetchAllMedia(favoriteQueryArgs)) { in testFetchMediaFavorites() 207 try (Cursor cr = mDataLayer.fetchAllMedia(defaultQueryArgs)) { in testFetchMediaFavoritesMimeTypeFilter() 214 try (Cursor cr = mDataLayer.fetchAllMedia(favoriteMimeTypeQueryArgs)) { in testFetchMediaFavoritesMimeTypeFilter() 237 try (Cursor cr = mDataLayer.fetchAllMedia(defaultQueryArgs)) { in testFetchMediaFavoritesSizeFilter() 244 try (Cursor cr = mDataLayer.fetchAllMedia(favoriteSizeQueryArgs)) { in testFetchMediaFavoritesSizeFilter() 267 try (Cursor cr = mDataLayer.fetchAllMedia(defaultQueryArgs)) { in testFetchMediaFavoritesMimeTypeAndSizeFilter() 274 try (Cursor cr = mDataLayer.fetchAllMedia(favoriteSizeAndMimeTypeQueryArgs)) { in testFetchMediaFavoritesMimeTypeAndSizeFilter() 290 try (Cursor cr = mDataLayer.fetchAllMedia(queryArgs)) { in testFetchMediaMimeTypeFilter() [all …]
|
| /packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/ |
| D | PickerDbFacadeTest.java | 113 try (Cursor cr = queryMediaAll()) { in testAddLocalOnlyMedia() 122 try (Cursor cr = queryMediaAll()) { in testAddLocalOnlyMedia() 135 try (Cursor cr = queryMediaAll()) { in testAddCloudPlusLocal() 149 try (Cursor cr = queryMediaAll()) { in testAddCloudOnly() 158 try (Cursor cr = queryMediaAll()) { in testAddCloudOnly() 173 try (Cursor cr = queryMediaAll()) { in testAddLocalAndCloud_Dedupe() 188 try (Cursor cr = queryMediaAll()) { in testAddCloudAndLocal_Dedupe() 202 try (Cursor cr = queryAlbumMedia(ALBUM_ID, true)) { in testAddLocalAlbumMedia() 212 try (Cursor cr = queryAlbumMedia(ALBUM_ID, true)) { in testAddLocalAlbumMedia() 226 try (Cursor cr = queryAlbumMedia(ALBUM_ID, false)) { in testAddCloudAlbumMedia() [all …]
|
| /packages/apps/QuickAccessWallet/tests/robolectric/src/com/android/systemui/plugin/globalactions/wallet/ |
| D | WalletPluginServiceTest.java | 46 ContentResolver cr = mContext.getContentResolver(); in onCreate_serviceAvailable_enablesFeatureInSettings() local 59 ContentResolver cr = mContext.getContentResolver(); in onCreate_serviceUnavailable_disablesFeatureInSettings() local 68 ContentResolver cr = mContext.getContentResolver(); in onCreate_doesNotOverridePanelEnabledSettingIfOff() local 81 ContentResolver cr = mContext.getContentResolver(); in onPanelShown_wasUnavailable_nowAvailable_updatesFeatureAvailabilityInSettings() local 100 ContentResolver cr = mContext.getContentResolver(); in onPanelShown_wasAvailable_nowUnavailable_updatesFeatureAvailabilityInSettings() local
|
| D | QuickAccessWalletClientTest.java | 108 ContentResolver cr = mContext.getContentResolver(); in isWalletFeatureAvailable_happyCase() local 121 ContentResolver cr = mContext.getContentResolver(); in isWalletFeatureAvailable_wrongUser() local 147 ContentResolver cr = mContext.getContentResolver(); in isWalletFeatureAvailable_globalActionsPanelDisabled() local 162 ContentResolver cr = mContext.getContentResolver(); in isWalletFeatureAvailable_userInLockdown() local 173 ContentResolver cr = mContext.getContentResolver(); in isWalletFeatureAvailableWhenDeviceLocked() local
|
| /packages/services/Telecomm/src/com/android/server/telecom/ |
| D | Timeouts.java | 40 public long getCallScreeningTimeoutMillis(ContentResolver cr) { in getCallScreeningTimeoutMillis() 44 public long getCallRemoveUnbindInCallServicesDelay(ContentResolver cr) { in getCallRemoveUnbindInCallServicesDelay() 48 public long getRetryBluetoothConnectAudioBackoffMillis(ContentResolver cr) { in getRetryBluetoothConnectAudioBackoffMillis() 52 public long getBluetoothPendingTimeoutMillis(ContentResolver cr) { in getBluetoothPendingTimeoutMillis() 56 public long getEmergencyCallbackWindowMillis(ContentResolver cr) { in getEmergencyCallbackWindowMillis() 60 public long getUserDefinedCallRedirectionTimeoutMillis(ContentResolver cr) { in getUserDefinedCallRedirectionTimeoutMillis() 64 public long getCarrierCallRedirectionTimeoutMillis(ContentResolver cr) { in getCarrierCallRedirectionTimeoutMillis() 68 public long getPhoneAccountSuggestionServiceTimeout(ContentResolver cr) { in getPhoneAccountSuggestionServiceTimeout() 72 public long getCallRecordingToneRepeatIntervalMillis(ContentResolver cr) { in getCallRecordingToneRepeatIntervalMillis() 76 public long getCallDiagnosticServiceTimeoutMillis(ContentResolver cr) { in getCallDiagnosticServiceTimeoutMillis()
|
| /packages/modules/Bluetooth/system/stack/rfcomm/ |
| D | rfc_int.h | 87 uint8_t cr; member 115 uint8_t cr; member 187 #define RFCOMM_SABME_FCS(p_data, cr, dlci) rfc_sabme_fcs[cr][dlci] argument 188 #define RFCOMM_UA_FCS(p_data, cr, dlci) rfc_ua_fcs[cr][dlci] argument 189 #define RFCOMM_DM_FCS(p_data, cr, dlci) rfc_dm_fcs[cr][dlci] argument 190 #define RFCOMM_DISC_FCS(p_data, cr, dlci) rfc_disc_fcs[cr][dlci] argument 197 #define RFCOMM_SABME_FCS(p_data, cr, dlci) rfc_calc_fcs(3, p_data) argument 198 #define RFCOMM_UA_FCS(p_data, cr, dlci) rfc_calc_fcs(3, p_data) argument 199 #define RFCOMM_DM_FCS(p_data, cr, dlci) rfc_calc_fcs(3, p_data) argument 200 #define RFCOMM_DISC_FCS(p_data, cr, dlci) rfc_calc_fcs(3, p_data) argument
|
| D | rfc_ts_frames.cc | 49 uint8_t cr = RFCOMM_CR(p_mcb->is_initiator, true); in rfc_send_sabme() local 77 uint8_t cr = RFCOMM_CR(p_mcb->is_initiator, false); in rfc_send_ua() local 104 uint8_t cr = RFCOMM_CR(p_mcb->is_initiator, false); in rfc_send_dm() local 131 uint8_t cr = RFCOMM_CR(p_mcb->is_initiator, true); in rfc_send_disc() local 158 uint8_t cr = RFCOMM_CR(p_mcb->is_initiator, true); in rfc_send_buf_uih() local 489 uint8_t cr = RFCOMM_CR(p_mcb->is_initiator, true); in rfc_send_credit() local 640 uint8_t ea, cr, mx_len; in rfc_process_mx_message() local
|
| /packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
| D | SpecialFormatDetectorTest.java | 75 try (Cursor cr = mIsolatedResolver.query(filesUri, in testDetect_gif() 101 try (Cursor cr = mIsolatedResolver.query(filesUri, in testDetect_motionPhoto() 127 try (Cursor cr = mIsolatedResolver.query(filesUri, in testDetect_animatedWebp() 153 try (Cursor cr = mIsolatedResolver.query(filesUri, in testDetect_nonAnimatedWebp() 177 try (Cursor cr = mIsolatedResolver.query(filesUri, in testDetect_notSpecialFormat()
|
| /packages/apps/Settings/src/com/android/settings/development/ |
| D | SimulateColorSpacePreferenceController.java | 72 final ContentResolver cr = mContext.getContentResolver(); in updateSimulateColorSpace() local 98 final ContentResolver cr = mContext.getContentResolver(); in writeSimulateColorSpace() local 115 final ContentResolver cr = mContext.getContentResolver(); in usingDevelopmentColorSpace() local
|
| /packages/apps/Messaging/src/com/android/messaging/datamodel/ |
| D | MessagingContentProvider.java | 108 final ContentResolver cr = context.getContentResolver(); in notifyEverythingChanged() local 129 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyParticipantsChanged() local 134 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyAllMessagesChanged() local 139 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyAllParticipantsChanged() local 184 final ContentResolver cr = context.getContentResolver(); in notifyMessagesChanged() local 203 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyConversationMetadataChanged() local 209 final ContentResolver cr = Factory.get().getApplicationContext().getContentResolver(); in notifyPartsChanged() local 215 final ContentResolver cr = context.getContentResolver(); in notifyConversationListChanged() local
|
| /packages/apps/Settings/tests/robotests/src/com/android/settings/applications/assist/ |
| D | AssistFlashScreenPreferenceControllerTest.java | 86 final ContentResolver cr = mContext.getContentResolver(); in isAvailable_hasAssistantAndAllowDisclosure_shouldReturnTrue() local 97 final ContentResolver cr = mContext.getContentResolver(); in isAvailable_hasAssistantAndDisallowDisclosure_shouldReturnTrue() local
|
| /packages/apps/Gallery/src/com/android/camera/ |
| D | ImageManager.java | 200 public static Uri addImage(ContentResolver cr, String title, long dateTaken, in addImage() 280 public static IImageList makeImageList(ContentResolver cr, in makeImageList() 340 public static IImageList makeImageList(ContentResolver cr, Uri uri, in makeImageList() 422 public static IImageList makeImageList(ContentResolver cr, in makeImageList() 433 public static IImageList makeSingleImageList(ContentResolver cr, Uri uri) { in makeSingleImageList() 501 public static boolean isMediaScannerScanning(ContentResolver cr) { in isMediaScannerScanning()
|
| D | BitmapManager.java | 113 public synchronized void cancelThreadDecoding(Thread t, ContentResolver cr) { in cancelThreadDecoding() 138 public Bitmap getThumbnail(ContentResolver cr, long origId, int kind, in getThumbnail()
|
| /packages/apps/Settings/src/com/android/settings/notification/zen/ |
| D | ZenModePreferenceController.java | 91 public void register(ContentResolver cr) { in register() 96 public void unregister(ContentResolver cr) { in unregister()
|
| /packages/apps/Settings/src/com/android/settings/gestures/ |
| D | PreventRingingParentPreferenceController.java | 188 public void register(ContentResolver cr) { in register() 193 public void unregister(ContentResolver cr) { in unregister()
|
| D | PreventRingingGesturePreferenceController.java | 181 public void register(ContentResolver cr) { in register() 185 public void unregister(ContentResolver cr) { in unregister()
|
| /packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
| D | AlarmUpdateHandler.kt | 62 val cr: ContentResolver = mAppContext.getContentResolver() in <lambda>() constant 103 val cr: ContentResolver = mAppContext.getContentResolver() in <lambda>() constant 201 val cr: ContentResolver = mAppContext.getContentResolver() in <lambda>() constant
|
| /packages/modules/Bluetooth/system/stack/test/rfcomm/ |
| D | stack_rfcomm_test_utils.cc | 34 uint8_t GetAddressField(bool ea, bool cr, uint8_t dlci) { in GetAddressField() 96 uint8_t command_type, bool cr, const std::vector<uint8_t>& data) { in CreateMultiplexerControlFrame() 199 std::vector<uint8_t> CreateQuickDataPacket(uint8_t dlci, bool cr, in CreateQuickDataPacket() 213 std::vector<uint8_t> CreateQuickDataPacket(uint8_t dlci, bool cr, in CreateQuickDataPacket()
|
| /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/ |
| D | DisclaimersParserImplTest.java | 85 ContentResolver cr = targetContext.getContentResolver(); in setUpClass() local 102 ContentResolver cr = InstrumentationRegistry.getTargetContext().getContentResolver(); in setUp() local
|
| /packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/ |
| D | CardContentProviderTest.java | 252 final Cursor cr = mResolver.query(mUri, null, null, null); in getRowCount() local 262 final Cursor cr = mResolver.query(mUri, columns, selection, selectionArgs, null); in queryDismissedTimestamp() local
|
| /packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
| D | VrDisplayPreferencePickerTest.java | 74 final ContentResolver cr = RuntimeEnvironment.application.getContentResolver(); in getKey_shouldGetFromSettingsProvider() local
|
| /packages/apps/Settings/tests/robotests/src/com/android/settings/language/ |
| D | LanguageAndInputPreferenceControllerTest.java | 57 final ContentResolver cr = mContext.getContentResolver(); in getSummary_shouldSetToCurrentImeName() local
|
| /packages/apps/Settings/src/com/android/settings/notification/ |
| D | SettingPref.java | 143 protected static boolean putInt(int type, ContentResolver cr, String setting, int value) { in putInt() 155 protected static int getInt(int type, ContentResolver cr, String setting, int def) { in getInt()
|
| /packages/providers/MediaProvider/apex/framework/java/android/provider/ |
| D | MediaStore.java | 2469 static @Nullable Bitmap getThumbnail(@NonNull ContentResolver cr, @NonNull Uri uri, in getThumbnail() 2501 static void cancelThumbnail(@NonNull ContentResolver cr, @NonNull Uri uri) { in cancelThumbnail() 2625 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection) { in query() 2635 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection, in query() 2647 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection, in query() 2664 public static final Bitmap getBitmap(ContentResolver cr, Uri url) in getBitmap() 2685 public static final String insertImage(ContentResolver cr, String imagePath, in insertImage() 2711 public static final String insertImage(ContentResolver cr, Bitmap source, String title, in insertImage() 2808 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection) { in query() 2818 public static final Cursor queryMiniThumbnails(ContentResolver cr, Uri uri, int kind, in queryMiniThumbnails() [all …]
|