Home
last modified time | relevance | path

Searched refs:URI (Results 1 – 25 of 59) sorted by relevance

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceDataTest.java37 private final Uri URI = Uri.parse("content://com.android.settings.slices/test"); field in SliceDataTest
53 .setUri(URI) in testBuilder_buildsMatchingObject()
68 assertThat(data.getUri()).isEqualTo(URI); in testBuilder_buildsMatchingObject()
83 .setUri(URI) in testBuilder_noKey_throwsIllegalStateException()
96 .setUri(URI) in testBuilder_noTitle_throwsIllegalStateException()
109 .setUri(URI) in testBuilder_noFragment_throwsIllegalStateException()
122 .setUri(URI) in testBuilder_noPrefController_throwsIllegalStateException()
135 .setUri(URI) in testBuilder_noSubtitle_buildsMatchingObject()
146 assertThat(data.getUri()).isEqualTo(URI); in testBuilder_noSubtitle_buildsMatchingObject()
158 .setUri(URI) in testBuilder_noScreenTitle_buildsMatchingObject()
[all …]
DSpecialCaseSliceManagerTest.java49 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/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockUiProvider.java72 resultMap.put(inboxfolderDetailsMap.get(FolderColumns.URI).toString(), in initializeAccount()
76 (String)inboxfolderDetailsMap.get(FolderColumns.URI)); in initializeAccount()
77 resultMap.put(((Uri) accountDetailsMap.get(AccountColumns.URI)).toString(), in initializeAccount()
82 resultMap.put(secondFolderDetailsMap.get(FolderColumns.URI).toString(), in initializeAccount()
101 resultMap.put(message0.get(MessageColumns.URI).toString(), ImmutableList.of(message0)); in initializeAccount()
108 resultMap.put(message1.get(MessageColumns.URI).toString(), ImmutableList.of(message1)); in initializeAccount()
111 resultMap.put(message1a.get(MessageColumns.URI).toString(), ImmutableList.of(message1a)); in initializeAccount()
119 resultMap.put(folderDetailsMap1.get(FolderColumns.URI).toString(), in initializeAccount()
127 resultMap.put(secondFolderDetailsMap.get(FolderColumns.URI).toString(), in initializeAccount()
131 resultMap.put(folderDetailsMap3.get(FolderColumns.URI).toString(), in initializeAccount()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DBluetoothUpdateWorkerTest.java42 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()
DNotificationChannelWorkerTest.java46 private static final Uri URI = Uri.parse("content://com.android.settings.slices/test"); field in NotificationChannelWorkerTest
58 mNotificationChannelWorker = new NotificationChannelWorker(mContext, URI); in setUp()
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
DDeletedContactUtil.java33 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()
DContactUtil.java31 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()
DDataUtil.java32 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()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DUIProvider.java185 .put(AccountColumns.URI, String.class)
406 public static final String URI = "accountUri"; field in UIProvider.AccountColumns
691 QuickResponseColumns.URI
702 public static final String URI = "uri"; field in UIProvider.QuickResponseColumns
768 FolderColumns.URI,
963 public static final String URI = "folderUri"; field in UIProvider.FolderColumns
1079 ConversationColumns.URI,
1181 public static final String URI = "conversationUri"; field in UIProvider.ConversationColumns
1593 MessageColumns.URI,
1737 public static final String URI = "messageUri"; field in UIProvider.MessageColumns
[all …]
DAttachment.java207 uri = Uri.parse(cursor.getString(cursor.getColumnIndex(AttachmentColumns.URI))); in Attachment()
229 uri = parseOptionalUri(srcJson, AttachmentColumns.URI); in Attachment()
309 uri = parseOptionalUri(values.getAsString(AttachmentColumns.URI)); in Attachment()
335 values.put(AttachmentColumns.URI, uri.toString()); in toContentValues()
378 result.put(AttachmentColumns.URI, stringify(uri)); in toJSON()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dpointer.md186 # 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/Messaging/src/com/android/messaging/datamodel/
DConversationImagePartsView.java42 + " as " + Columns.URI + ", "
78 static final String URI = PhotoViewColumns.URI; field in ConversationImagePartsView.Columns
91 PhotoViewColumns.URI,
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/
DMediaDeviceUpdateWorkerTest.java45 private static final Uri URI = Uri.parse("content://com.android.settings.slices/test"); field in MediaDeviceUpdateWorkerTest
61 mMediaDeviceUpdateWorker = new MediaDeviceUpdateWorker(mContext, URI); in setUp()
78 verify(mResolver).notifyChange(URI, null); in onDeviceListUpdate_shouldNotifyChange()
85 verify(mResolver).notifyChange(URI, null); in onSelectedDeviceStateChanged_shouldNotifyChange()
DMediaOutputIndicatorWorkerTest.java42 private static final Uri URI = Uri.parse("content://com.android.settings.slices/test"); field in MediaOutputIndicatorWorkerTest
57 mMediaDeviceUpdateWorker = new MediaOutputIndicatorWorker(mContext, URI); in setUp()
/packages/apps/Contacts/tests/src/com/android/contacts/database/
DNoNullCursorAsyncQueryHandlerTest.java38 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/
DHotwordSwitchController.java41 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/
DCalendarUtils.java243 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/
DDialerDatabaseHelper.java424 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/
Dphoto_info.proto20 // 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/
DAssistContextPreferenceController.java126 private final Uri URI = field in AssistContextPreferenceController.SettingObserver
131 return Arrays.asList(URI); in getSettingUris()
DAssistScreenshotPreferenceController.java123 private final Uri URI = field in AssistScreenshotPreferenceController.SettingObserver
130 return Arrays.asList(URI, CONTEXT_URI); in getSettingUris()
DAssistFlashScreenPreferenceController.java144 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/
DAssistContextPreferenceController.java126 private final Uri URI = field in AssistContextPreferenceController.SettingObserver
131 return Arrays.asList(URI); in getSettingUris()
DAssistScreenshotPreferenceController.java123 private final Uri URI = field in AssistScreenshotPreferenceController.SettingObserver
130 return Arrays.asList(URI, CONTEXT_URI); in getSettingUris()
DAssistFlashScreenPreferenceController.java144 private final Uri URI = field in AssistFlashScreenPreferenceController.SettingObserver
151 return Arrays.asList(URI, CONTEXT_URI); in getSettingUris()

123