Home
last modified time | relevance | path

Searched refs:createUri (Results 1 – 11 of 11) sorted by relevance

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/widget/
DBatchPreviewLoaderTest.kt67 val uriOne = createUri(1) in <lambda>()
68 val uriTwo = createUri(2) in <lambda>()
89 val uriOne = createUri(1) in <lambda>()
90 val uriTwo = createUri(2) in <lambda>()
91 val uriThree = createUri(3) in <lambda>()
112 val uris = Array(10) { createUri(it) } in <lambda>()
140 val uris = Array(10) { createUri(it) } in <lambda>()
151 val expectedUris = Array(uris.size / 2) { createUri(it * 2 + 1) } in <lambda>()
166 private fun createUri(idx: Int): Uri = Uri.parse("content://org.pkg.app/image-$idx.png") in <lambda>() method
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/intent/
DTargetIntentModifierImplTest.kt33 val u1 = createUri(1) in <lambda>()
34 val u2 = createUri(2) in <lambda>()
53 val u1 = createUri(1) in <lambda>()
54 val u2 = createUri(2) in <lambda>()
78 private fun createUri(id: Int) = Uri.parse("content://org.pkg/$id") method
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/update/
DSelectionChangeCallbackImplTest.kt80 val u1 = createUri(1) in <lambda>()
81 val u2 = createUri(2) in <lambda>()
146 Icon.createWithContentUri(createUri(10)), in <lambda>()
158 Icon.createWithContentUri(createUri(11)), in <lambda>()
196 Icon.createWithContentUri(createUri(10)), in <lambda>()
278 Icon.createWithContentUri(createUri(1)), in <lambda>()
286 Icon.createWithContentUri(createUri(1)), in <lambda>()
430 putParcelable(EXTRA_CHOOSER_MODIFY_SHARE_ACTION, createUri(1)) in <lambda>()
433 putParcelable(EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER, createUri(2)) in <lambda>()
434 putParcelable(EXTRA_CHOOSER_RESULT_INTENT_SENDER, createUri(1)) in <lambda>()
[all …]
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/cursor/
DPayloadToggleCursorResolverTest.kt43 val uri = createUri(1) in <lambda>()
79 val uri = createUri(1) in <lambda>()
112 addRow(arrayOf(createUri(i).toString())) in <lambda>()
138 private fun createUri(id: Int) = Uri.parse("content://org.pkg/app/img-$id.png") method
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/sound/
DRingtonePickerPreferenceControllerTest.java209 createUri(ringtoneTitles.get(0)).toString(), mContext.getUserId()); in onStart_hasSilent_defaultRingtoneSelected()
235 createUri(ringtoneTitles.get(0)).toString(), mContext.getUserId()); in onPreferenceClick_clickCurrentlySelectedItem_nothingChanges()
262 createUri(ringtoneTitles.get(0)).toString(), mContext.getUserId()); in onPreferenceClick_clickDifferentItem_selectionChanges()
287 createUri(ringtoneTitles.get(0)).toString(), mContext.getUserId()); in onStop_stopRingtone()
304 when(mRingtoneManager.getRingtonePosition(eq(createUri(value)))).thenReturn(i); in setUpCursor()
323 private Uri createUri(String ringtoneTitle) { in createUri() method in RingtonePickerPreferenceControllerTest
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDocumentsAccess.java156 Uri createUri = DocumentsContract.createDocument( in createDocument() local
166 ? createUri : appendEncodedParentAuthority(parentDoc, createUri); in createDocument()
/packages/services/Mtp/src/com/android/mtp/
DDocumentLoader.java306 cursor.setNotificationUri(resolver, createUri()); in createCursor()
423 resolver.notifyChange(createUri(), null, false); in notify()
427 private Uri createUri() { in createUri() method in DocumentLoader.LoaderTask
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/sip/
DSipUtils.java93 public static URI createUri(String uri) { in createUri() method in SipUtils
124 URI remoteUri = createUri(targetUri); in buildInvite()
/packages/apps/Tag/src/com/android/apps/tag/record/
DUriRecord.java160 return NdefRecord.createUri(uri); in newUriRecord()
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/util/
DChatManager.java134 public static URI createUri(String uri) { in createUri() method in ChatManager
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/service/chat/
DSimpleChatSession.java164 mRemoteUri = SipUtils.createUri(telUriContact);