Home
last modified time | relevance | path

Searched refs:mUri (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/base/core/java/android/app/
DPerson.java35 @Nullable private String mUri; field in Person
45 mUri = in.readString(); in Person()
54 mUri = builder.mUri; in Person()
70 return mUri; in getUri()
116 if (mUri != null) { in resolveToLegacyUri()
117 return mUri; in resolveToLegacyUri()
132 && Objects.equals(mUri, other.mUri) in equals()
142 return Objects.hash(mName, mIcon, mUri, mKey, mIsBot, mIsImportant); in hashCode()
159 dest.writeString(mUri); in writeToParcel()
169 @Nullable private String mUri; field in Person.Builder
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/soap/command/
DBrowserUri.java31 private final String mUri; field in BrowserUri
34 mUri = command.getValue().toString(); in BrowserUri()
52 return mUri; in getUri()
60 return TextUtils.equals(mUri, that.mUri); in equals()
65 return Objects.hash(mUri); in hashCode()
70 return "BrowserUri{mUri: " + mUri + "}"; in toString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbAccessoryUriActivity.java46 private Uri mUri; field in UsbAccessoryUriActivity
55 mUri = (uriString == null ? null : Uri.parse(uriString)); in onCreate()
58 if (mUri == null) { in onCreate()
63 String scheme = mUri.getScheme(); in onCreate()
65 Log.e(TAG, "Uri not http or https: " + mUri); in onCreate()
75 ap.mMessage = getString(R.string.usb_accessory_uri_prompt, mUri); in onCreate()
87 Intent intent = new Intent(Intent.ACTION_VIEW, mUri); in onClick()
93 Log.e(TAG, "startActivity failed for " + mUri); in onClick()
/frameworks/base/libs/usb/src/com/android/future/usb/
DUsbAccessory.java28 private final String mUri; field in UsbAccessory
36 mUri = accessory.getUri(); in UsbAccessory()
84 return mUri; in getUri()
111 compare(mUri, accessory.getUri()) && in equals()
123 (mUri == null ? 0 : mUri.hashCode()) ^ in hashCode()
133 ", mUri=" + mUri + in toString()
/frameworks/base/core/java/android/content/
DUriPermission.java32 private final Uri mUri; field in UriPermission
43 mUri = uri; in UriPermission()
50 mUri = in.readParcelable(null); in UriPermission()
59 return mUri; in getUri()
90 return "UriPermission {uri=" + mUri + ", modeFlags=" + mModeFlags + ", persistedTime=" in toString()
101 dest.writeParcelable(mUri, flags); in writeToParcel()
DClipData.java209 Uri mUri; field in ClipData.Item
216 mUri = other.mUri; in Item()
226 mUri = null; in Item()
243 mUri = null; in Item()
253 mUri = null; in Item()
263 mUri = uri; in Item()
274 mUri = uri; in Item()
291 mUri = uri; in Item()
319 return mUri; in getUri()
499 if (mUri != null) { in coerceToHtmlOrStyledText()
[all …]
DContentProviderOperation.java52 private final Uri mUri; field in ContentProviderOperation
71 mUri = builder.mUri; in ContentProviderOperation()
84 mUri = Uri.CREATOR.createFromParcel(source); in ContentProviderOperation()
108 mUri = withUri; in ContentProviderOperation()
121 Uri.writeToParcel(dest, mUri); in writeToParcel()
206 return mUri; in getUri()
321 final Uri newUri = provider.insert(mUri, values); in applyInternal()
326 "Insert into " + mUri + " returned no result"); in applyInternal()
332 numRows = provider.delete(mUri, mSelection, selectionArgs); in applyInternal()
334 numRows = provider.update(mUri, values, mSelection, selectionArgs); in applyInternal()
[all …]
DCursorLoader.java51 Uri mUri; field in CursorLoader
71 Cursor cursor = getContext().getContentResolver().query(mUri, mProjection, mSelection, in loadInBackground()
144 mUri = uri; in CursorLoader()
198 return mUri; in getUri()
202 mUri = uri; in setUri()
240 writer.print(prefix); writer.print("mUri="); writer.println(mUri); in dump()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DFakeProviderWithAsserts.java41 private final Uri mUri; field in FakeProviderWithAsserts.ExpectedQuery
50 mUri = uri; in ExpectedQuery()
60 private Uri mUri; field in FakeProviderWithAsserts.ExpectedInsert
65 mUri = uri; in ExpectedInsert()
72 private Uri mUri; field in FakeProviderWithAsserts.ExpectedUpdate
80 mUri = uri; in ExpectedUpdate()
105 assertThat(uri).isEqualTo(expectedQuery.mUri); in query()
116 assertThat(uri).isEqualTo(expectedInsert.mUri); in insert()
125 assertThat(uri).isEqualTo(expectedUpdate.mUri); in update()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java82 private SipURI mUri; field in SipProfile.Builder
106 mUri = profile.getUri(); in Builder()
107 mUri.setUserPassword(profile.getPassword()); in Builder()
125 mUri = (SipURI) uri; in Builder()
129 mProfile.mDomain = mUri.getHost(); in Builder()
147 mUri = mAddressFactory.createSipURI(username, serverDomain); in Builder()
186 mUri.setUserPassword(password); in setPassword()
281 mProfile.mPassword = mUri.getUserPassword(); in build()
282 mUri.setUserPassword(null); in build()
290 mUri.setTransportParam(mProfile.mProtocol); in build()
[all …]
/frameworks/base/core/java/android/app/assist/
DAssistContent.java28 private Uri mUri; field in AssistContent
48 mUri = null; in setDefaultIntent()
53 mUri = uri; in setDefaultIntent()
131 mUri = uri; in setWebUri()
139 return mUri; in getWebUri()
168 mUri = Uri.CREATOR.createFromParcel(in); in AssistContent()
192 if (mUri != null) { in writeToParcelInternal()
194 mUri.writeToParcel(dest, flags); in writeToParcelInternal()
/frameworks/base/core/java/android/hardware/usb/
DUsbAccessory.java59 private final @Nullable String mUri; field in UsbAccessory
86 mUri = uri; in UsbAccessory()
159 return mUri; in getUri()
194 compare(mUri, accessory.getUri()) && in equals()
205 (mUri == null ? 0 : mUri.hashCode()); in hashCode()
214 ", mUri=" + mUri + in toString()
247 parcel.writeString(mUri); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/slice/
DPinnedSliceState.java48 private final Uri mUri; field in PinnedSliceState
62 mUri = uri; in PinnedSliceState()
103 return mUri; in getUri()
158 .acquireUnstableContentProviderClient(mUri); in getClient()
167 mService.removePinnedSlice(mUri); in checkSelfRemove()
188 b.putParcelable(SliceProvider.EXTRA_BIND_URI, mUri); in handleSendPinned()
192 Log.w(TAG, "Unable to contact " + mUri, e); in handleSendPinned()
201 b.putParcelable(SliceProvider.EXTRA_BIND_URI, mUri); in handleSendUnpinned()
205 Log.w(TAG, "Unable to contact " + mUri, e); in handleSendUnpinned()
/frameworks/base/telephony/java/com/android/ims/internal/uce/presence/
DPresRlmiInfo.java30 private String mUri = ""; field in PresRlmiInfo
57 return mUri; in getUri()
66 this.mUri = uri; in setUri()
202 dest.writeString(mUri); in writeToParcel()
232 mUri = source.readString(); in readFromParcel()
/frameworks/base/media/java/android/media/
DExternalRingtonesCursorWrapper.java30 private Uri mUri; field in ExternalRingtonesCursorWrapper
34 mUri = uri; in ExternalRingtonesCursorWrapper()
39 return mUri.toString(); in getString()
DRingtone.java81 private Uri mUri; field in Ringtone
141 setUri(mUri, mVolumeShaperConfig); in setAudioAttributes()
225 return mTitle = getTitle(context, mUri, true /*followSettingsUri*/, mAllowRemote); in getTitle()
322 mUri = uri; in setUri()
323 if (mUri == null) { in setUri()
332 mLocalPlayer.setDataSource(mContext, mUri); in setUri()
361 return mUri; in getUri()
376 final Uri canonicalUri = mUri.getCanonicalUri(); in play()
464 int ringtoneType = RingtoneManager.getDefaultType(mUri); in playFallbackRingtone()
501 Log.w(TAG, "not playing fallback for " + mUri); in playFallbackRingtone()
/frameworks/base/telecomm/java/android/telecom/
DVoicemail.java36 private final Uri mUri; field in Voicemail
51 mUri = uri; in Voicemail()
222 return mUri; in getUri()
267 if (mUri == null) { in writeToParcel()
271 mUri.writeToParcel(dest, flags); in writeToParcel()
312 mUri = Uri.CREATOR.createFromParcel(in); in Voicemail()
314 mUri = null; in Voicemail()
/frameworks/base/core/java/android/app/slice/
DSlice.java275 private Uri mUri; field in Slice
280 mUri = uri; in Slice()
291 mUri = Uri.CREATOR.createFromParcel(in); in Slice()
306 return mUri; in getUri()
330 mUri.writeToParcel(dest, 0); in writeToParcel()
359 private final Uri mUri; field in Slice.Builder
370 mUri = uri; in Builder()
379 mUri = uri; in Builder()
389 mUri = parent.mUri.buildUpon().appendPath("_gen") in Builder()
542 return new Slice(mItems, mHints.toArray(new String[mHints.size()]), mUri, mSpec); in build()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputContentUriTokenHandler.java36 private final Uri mUri; field in InputContentUriTokenHandler
53 mUri = contentUri; in InputContentUriTokenHandler()
80 permissionOwner, mSourceUid, mTargetPackage, mUri, in doTakeLocked()
98 .revokeUriPermissionFromOwner(mPermissionOwnerToken, mUri, in release()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DDppManagerTest.java106 String mUri = field in DppManagerTest
151 mDppManager.startDppAsConfiguratorInitiator(0, mBinder, mUri, 1, in testStartDppAsConfiguratorInitiatorWithBadNetworkId()
179 mDppManager.startDppAsConfiguratorInitiator(0, mBinder, mUri, 1, in testStartDppAsConfiguratorInitiatorFailAddPeer()
198 mDppManager.startDppAsEnrolleeInitiator(0, mBinder, mUri, mDppCallback); in testStartDppAsEnrolleeInitiatorFailAddPeer()
226 mDppManager.startDppAsConfiguratorInitiator(0, mBinder, mUri, 1, in testStartDppAsConfiguratorInitiatorFailStart()
244 mDppManager.startDppAsEnrolleeInitiator(0, mBinder, mUri, mDppCallback); in testStartDppAsEnrolleeInitiatorFailStart()
266 mDppManager.startDppAsConfiguratorInitiator(0, mBinder, mUri, 1, in testStartDppAsConfiguratorInitiatorStartCorrectlyWpa2Psk()
291 mDppManager.startDppAsConfiguratorInitiator(0, mBinder, mUri, 1, in testStartDppAsConfiguratorInitiatorStartCorrectlyWpa3Sae()
315 mDppManager.startDppAsConfiguratorInitiator(0, mBinder, mUri, 1, in testStartDppAsConfiguratorInitiatorFailOpenNetwork()
338 mDppManager.startDppAsConfiguratorInitiator(0, mBinder, mUri, 1, in testStartDppAsConfiguratorInitiatorFailEapNetwork()
[all …]
/frameworks/base/media/apex/java/android/media/
DUriDataSourceDesc.java39 private Uri mUri; field in UriDataSourceDesc
46 mUri = uri; in UriDataSourceDesc()
56 return mUri; in getUri()
DDataSourceDesc.java137 private Uri mUri; field in DataSourceDesc.Builder
171 mUri = ((UriDataSourceDesc) dsd).getUri(); in Builder()
201 mMediaId, mStartPositionMs, mEndPositionMs, mUri, mHeader, mCookies); in build()
265 mUri = uri; in setDataSource()
309 mUri = uri; in setDataSource()
/frameworks/base/core/java/android/database/
DContentObserver.java207 private final Uri mUri; field in ContentObserver.NotificationRunnable
212 mUri = uri; in NotificationRunnable()
218 ContentObserver.this.onChange(mSelfChange, mUri, mUserId); in run()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java448 final Uri mUri; field in Content.Command
452 mUri = uri; in Command()
457 String providerName = mUri.getAuthority(); in execute()
511 provider.insert(resolveCallingPackage(), mUri, mContentValues); in onExecute() local
525 provider.delete(resolveCallingPackage(), mUri, mWhere, null); in onExecute() local
560 Bundle result = provider.call(null, mUri.getAuthority(), mMethod, mArg, mExtras); in onExecute()
575 String type = provider.getType(mUri); in onExecute()
587 try (ParcelFileDescriptor fd = provider.openFile(null, mUri, "r", null, null)) { in onExecute() argument
600 try (ParcelFileDescriptor fd = provider.openFile(null, mUri, "w", null, null)) { in onExecute() argument
619 Cursor cursor = provider.query(resolveCallingPackage(), mUri, mProjection, in onExecute()
[all …]
/frameworks/base/core/java/android/speech/tts/
DAudioPlaybackQueueItem.java31 private final Uri mUri; field in AudioPlaybackQueueItem
44 mUri = uri; in AudioPlaybackQueueItem()
59 mContext, mUri, null, mAudioParams.mAudioAttributes, in run()

123