/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceDataTest.java | 37 private final Uri URI = Uri.parse("content://com.android.settings.slices/test"); field in SliceDataTest 52 .setUri(URI) in testBuilder_buildsMatchingObject() 67 assertThat(data.getUri()).isEqualTo(URI); in testBuilder_buildsMatchingObject() 82 .setUri(URI) in testBuilder_noKey_throwsIllegalStateException() 95 .setUri(URI) in testBuilder_noTitle_throwsIllegalStateException() 108 .setUri(URI) in testBuilder_noFragment_throwsIllegalStateException() 121 .setUri(URI) in testBuilder_noPrefController_throwsIllegalStateException() 134 .setUri(URI) in testBuilder_noSubtitle_buildsMatchingObject() 145 assertThat(data.getUri()).isEqualTo(URI); in testBuilder_noSubtitle_buildsMatchingObject() 157 .setUri(URI) in testBuilder_noScreenTitle_buildsMatchingObject() [all …]
|
D | SpecialCaseSliceManagerTest.java | 49 CustomSliceRegistry.sUriToSlice.put(FakeSliceable.URI, FakeSliceable.class); in setUp() 55 mContext, CustomSliceRegistry.getSliceClassByUri(FakeSliceable.URI)); in getSliceableFromUri_returnsCorrectObject() 62 final Uri parameterUri = FakeSliceable.URI in getSliceableFromUriWithParameter_returnsCorrectObject() 76 final boolean isValidUri = CustomSliceRegistry.isValidUri(FakeSliceable.URI); in isValidUri_validUri_returnsTrue() 91 CustomSliceRegistry.isValidAction(FakeSliceable.URI.toString()); in isValidAction_validActions_returnsTrue() 107 static final Uri URI = new Uri.Builder() field in SpecialCaseSliceManagerTest.FakeSliceable 114 static final Slice SLICE = new Slice.Builder(URI).build(); 131 return URI; in getUri()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | BluetoothUpdateWorkerTest.java | 42 private static final Uri URI = Uri.parse("content://com.android.settings.slices/test"); field in BluetoothUpdateWorkerTest 51 mBluetoothUpdateWorker = new BluetoothUpdateWorker(mContext, URI); in setUp() 60 verify(mResolver).notifyChange(URI, null); in onAclConnectionStateChanged_shouldNotifyChange() 67 verify(mResolver).notifyChange(URI, null); in onActiveDeviceChanged_shouldNotifyChange() 74 verify(mResolver).notifyChange(URI, null); in onBluetoothStateChanged_shouldNotifyChange() 81 verify(mResolver).notifyChange(URI, null); in onConnectionStateChanged_shouldNotifyChange() 88 verify(mResolver).notifyChange(URI, null); in onProfileConnectionStateChanged_shouldNotifyChange()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/ |
D | MediaDeviceUpdateWorkerTest.java | 64 private static final Uri URI = Uri.parse("content://com.android.settings.slices/test"); field in MediaDeviceUpdateWorkerTest 94 mMediaDeviceUpdateWorker = new MediaDeviceUpdateWorker(mContext, URI); in setUp() 113 verify(mResolver).notifyChange(URI, null); in onDeviceListUpdate_shouldNotifyChange() 121 verify(mResolver).notifyChange(URI, null); in onSelectedDeviceStateChanged_shouldNotifyChange() 128 verify(mResolver).notifyChange(URI, null); in onDeviceAttributesChanged_shouldNotifyChange() 183 verify(mResolver).notifyChange(URI, null /* observer */); in onRequestFailed_shouldNotifyChange() 197 verify(mResolver).notifyChange(URI, null); in onReceive_inCallState_shouldNotifyChange() 211 verify(mResolver, never()).notifyChange(URI, null); in onReceive_notInCallState_doNothing()
|
D | MediaOutputIndicatorWorkerTest.java | 66 private static final Uri URI = Uri.parse("content://com.android.settings.slices/test"); field in MediaOutputIndicatorWorkerTest 96 mMediaOutputIndicatorWorker = new MediaOutputIndicatorWorker(mContext, URI); in setUp() 193 verify(mResolver, times(1)).notifyChange(URI, null); in onReceive_shouldNotifyChange() 200 verify(mResolver, times(2)).notifyChange(URI, null /* observer */); in onReceive_shouldNotifyChange()
|
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
D | DeletedContactUtil.java | 33 private static final Uri URI = DeletedContacts.CONTENT_URI; field in DeletedContactUtil 39 Uri uri = ContentUris.withAppendedId(URI, contactId); in queryDeletedTimestampForContactId() 51 Cursor cursor = resolver.query(URI, projection, null, null, null); in getCount() 65 Cursor cursor = resolver.query(URI, projection, null, null, null); in query() 78 Cursor cursor = resolver.query(URI, projection, selection, args, null); in querySinceTimestamp()
|
D | ContactUtil.java | 31 private static final Uri URI = ContactsContract.Contacts.CONTENT_URI; field in ContactUtil 35 Uri uri = ContentUris.withAppendedId(URI, contactId); in update() 40 Uri uri = ContentUris.withAppendedId(URI, contactId); in delete() 48 Uri uri = ContentUris.withAppendedId(URI, contactId); in recordExistsForContactId()
|
D | DataUtil.java | 32 private static final Uri URI = ContactsContract.Data.CONTENT_URI; field in DataUtil 35 Uri uri = ContentUris.withAppendedId(URI, dataId); in delete() 40 Uri uri = ContentUris.withAppendedId(URI, dataId); in update()
|
D | RawContactUtil.java | 34 private static final Uri URI = ContactsContract.RawContacts.CONTENT_URI; field in RawContactUtil 38 Uri uri = ContentUris.withAppendedId(URI, rawContactId); in update()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | ConversationImagePartsView.java | 42 + " as " + Columns.URI + ", " 78 static final String URI = PhotoViewColumns.URI; field in ConversationImagePartsView.Columns 91 PhotoViewColumns.URI,
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | pointer.md | 186 # URI Fragment Representation {#URIFragment} 188 … also defines the URI fragment representation of JSON pointer. URI fragment is specified in [RFC39… 190 The main differences are that a the URI fragment always has a `#` (pound sign) in the beginning, an… 192 String Representation | URI Fragment Representation | Pointer Tokens (UTF-8) 201 RapidJSON fully support URI fragment representation. It automatically detects the pound sign during… 214 It can also stringify to URI fragment reprsentation by `StringifyUriFragment()`.
|
/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
D | NoNullCursorAsyncQueryHandlerTest.java | 38 private static final Uri URI = Uri.parse("content://" + AUTHORITY); field in NoNullCursorAsyncQueryHandlerTest 78 handler.startQuery(1, null, URI, PROJECTION, null, null, null); in testCursorIsNotNull() 105 handler.startQuery(1, cookie, URI, PROJECTION, null, null, null); in testCursorContainsCorrectCookies() 132 handler.startQuery(1, cookie, URI, PROJECTION, null, null, null); in testCursorContainsCorrectColumns()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | HotwordSwitchController.java | 41 private static final Uri URI = Uri.parse("content://com.google.android.katniss.search." field in HotwordSwitchController 90 try (Cursor cursor = context.getContentResolver().query(URI, null, null, null, in doInBackground() 160 mContext.getContentResolver().registerContentObserver(URI, true, in init()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarUtils.java | 243 mHandler.startUpdate(mToken, null, CalendarCache.URI, values, "key=?", in setTimeZone() 250 mHandler.startUpdate(mToken, null, CalendarCache.URI, values2, in setTimeZone() 289 mHandler.startQuery(0, context, CalendarCache.URI, CALENDAR_CACHE_POJECTION, in getTimeZone()
|
/packages/apps/Dialer/java/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 424 DeleteContactQuery.URI, in getDeletedContactCursor() 726 UpdatedContactQuery.URI, in updateSmartDialDatabase() 755 PhoneQuery.URI, in updateSmartDialDatabase() 1070 Uri URI = field 1133 Uri URI = ContactsContract.Contacts.CONTENT_URI; field 1149 Uri URI = ContactsContract.DeletedContacts.CONTENT_URI; field
|
/packages/apps/Dialer/java/com/android/dialer/glidephotomanager/ |
D | photo_info.proto | 20 // The URI of the photo. 26 // The Contacts Provider lookup URI for the contact associated with the
|
/packages/apps/Settings/src/com/android/settings/applications/assist/ |
D | AssistContextPreferenceController.java | 126 private final Uri URI = field in AssistContextPreferenceController.SettingObserver 131 return Arrays.asList(URI); in getSettingUris()
|
D | AssistScreenshotPreferenceController.java | 123 private final Uri URI = field in AssistScreenshotPreferenceController.SettingObserver 130 return Arrays.asList(URI, CONTEXT_URI); in getSettingUris()
|
D | AssistFlashScreenPreferenceController.java | 144 private final Uri URI = field in AssistFlashScreenPreferenceController.SettingObserver 151 return Arrays.asList(URI, CONTEXT_URI); in getSettingUris()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/assist/ |
D | AssistContextPreferenceController.java | 126 private final Uri URI = field in AssistContextPreferenceController.SettingObserver 131 return Arrays.asList(URI); in getSettingUris()
|
D | AssistScreenshotPreferenceController.java | 123 private final Uri URI = field in AssistScreenshotPreferenceController.SettingObserver 130 return Arrays.asList(URI, CONTEXT_URI); in getSettingUris()
|
D | AssistFlashScreenPreferenceController.java | 144 private final Uri URI = field in AssistFlashScreenPreferenceController.SettingObserver 151 return Arrays.asList(URI, CONTEXT_URI); in getSettingUris()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | ApnSettings.java | 29 import java.net.URI; 137 new URI(mmscUrl); in getApnSettingsFromCursor()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/database/contract/ |
D | number_attributes.proto | 34 // A photo URI for the contact to display in the call log list view. 44 // The contacts provider lookup URI for the contact associated with the call.
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | UriImage.java | 38 import java.net.URI; 115 URL url = new URI(mUri.toString()).toURL(); in openOrDownloadInner()
|