Home
last modified time | relevance | path

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

12

/frameworks/support/core-utils/java/android/support/v4/provider/
DTreeDocumentFile.java32 private Uri mUri; field in TreeDocumentFile
37 mUri = uri; in TreeDocumentFile()
42 final Uri result = TreeDocumentFile.createFile(mContext, mUri, mimeType, displayName); in createFile()
59 mContext, mUri, DocumentsContract.Document.MIME_TYPE_DIR, displayName); in createDirectory()
65 return mUri; in getUri()
70 return DocumentsContractApi19.getName(mContext, mUri); in getName()
75 return DocumentsContractApi19.getType(mContext, mUri); in getType()
80 return DocumentsContractApi19.isDirectory(mContext, mUri); in isDirectory()
85 return DocumentsContractApi19.isFile(mContext, mUri); in isFile()
90 return DocumentsContractApi19.isVirtual(mContext, mUri); in isVirtual()
[all …]
DSingleDocumentFile.java27 private Uri mUri; field in SingleDocumentFile
32 mUri = uri; in SingleDocumentFile()
47 return mUri; in getUri()
52 return DocumentsContractApi19.getName(mContext, mUri); in getName()
57 return DocumentsContractApi19.getType(mContext, mUri); in getType()
62 return DocumentsContractApi19.isDirectory(mContext, mUri); in isDirectory()
67 return DocumentsContractApi19.isFile(mContext, mUri); in isFile()
72 return DocumentsContractApi19.isVirtual(mContext, mUri); in isVirtual()
77 return DocumentsContractApi19.lastModified(mContext, mUri); in lastModified()
82 return DocumentsContractApi19.length(mContext, mUri); in length()
[all …]
/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/support/content/src/android/support/content/
DQuery.java43 private final Uri mUri; field in Query
66 this.mUri = uri; in Query()
94 return mUri; in getUri()
118 mUri, in run()
127 mUri, in run()
137 mUri, in run()
172 && mUri.equals(other.mUri) in equals()
186 + " uri:" + 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.java198 Uri mUri; field in ClipData.Item
205 mUri = other.mUri; in Item()
215 mUri = null; in Item()
228 mUri = null; in Item()
238 mUri = null; in Item()
248 mUri = uri; in Item()
259 mUri = uri; in Item()
276 mUri = uri; in Item()
304 return mUri; in getUri()
484 if (mUri != null) { in coerceToHtmlOrStyledText()
[all …]
DContentProviderOperation.java47 private final Uri mUri; field in ContentProviderOperation
64 mUri = builder.mUri; in ContentProviderOperation()
76 mUri = Uri.CREATOR.createFromParcel(source); in ContentProviderOperation()
99 mUri = withUri; in ContentProviderOperation()
111 Uri.writeToParcel(dest, mUri); in writeToParcel()
195 return mUri; in getUri()
290 Uri newUri = provider.insert(mUri, values); in apply()
299 numRows = provider.delete(mUri, mSelection, selectionArgs); in apply()
301 numRows = provider.update(mUri, values, mSelection, selectionArgs); in apply()
313 final Cursor cursor = provider.query(mUri, projection, mSelection, selectionArgs, null); in apply()
[all …]
DCursorLoader.java45 Uri mUri; field in CursorLoader
64 Cursor cursor = getContext().getContentResolver().query(mUri, mProjection, mSelection, in loadInBackground()
137 mUri = uri; in CursorLoader()
191 return mUri; in getUri()
195 mUri = uri; in setUri()
233 writer.print(prefix); writer.print("mUri="); writer.println(mUri); in dump()
/frameworks/base/core/java/android/app/assist/
DAssistContent.java21 private Uri mUri; field in AssistContent
40 mUri = null; in setDefaultIntent()
45 mUri = uri; in setDefaultIntent()
123 mUri = uri; in setWebUri()
131 return mUri; in getWebUri()
159 mUri = Uri.CREATOR.createFromParcel(in); in AssistContent()
182 if (mUri != null) { in writeToParcelInternal()
184 mUri.writeToParcel(dest, flags); in writeToParcelInternal()
/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/hardware/usb/
DUsbAccessory.java56 private final @Nullable String mUri; field in UsbAccessory
83 mUri = uri; in UsbAccessory()
140 return mUri; in getUri()
167 compare(mUri, accessory.getUri()) && in equals()
178 (mUri == null ? 0 : mUri.hashCode()) ^ (mSerial == null ? 0 : mSerial.hashCode()); in hashCode()
187 ", mUri=" + mUri + in toString()
217 parcel.writeString(mUri); in writeToParcel()
/frameworks/base/telephony/java/com/android/ims/internal/uce/presence/
DPresRlmiInfo.java29 private String mUri = ""; field in PresRlmiInfo
56 return mUri; in getUri()
64 this.mUri = uri; in setUri()
192 dest.writeString(mUri); in writeToParcel()
222 mUri = source.readString(); in readFromParcel()
/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/support/core-utils/java/android/support/v4/content/
DCursorLoader.java40 Uri mUri; field in CursorLoader
60 mUri, mProjection, mSelection, mSelectionArgs, mSortOrder, in loadInBackground()
133 mUri = uri; in CursorLoader()
187 return mUri; in getUri()
191 mUri = uri; in setUri()
229 writer.print(prefix); writer.print("mUri="); writer.println(mUri); in dump()
/frameworks/base/media/java/android/media/
DRingtone.java77 private Uri mUri; field in Ringtone
136 setUri(mUri); in setAudioAttributes()
202 return mTitle = getTitle(context, mUri, true /*followSettingsUri*/, mAllowRemote); in getTitle()
287 mUri = uri; in setUri()
288 if (mUri == null) { in setUri()
297 mLocalPlayer.setDataSource(mContext, mUri); in setUri()
322 return mUri; in getUri()
337 final Uri canonicalUri = mUri.getCanonicalUri(); in play()
420 int ringtoneType = RingtoneManager.getDefaultType(mUri); in playFallbackRingtone()
454 Log.w(TAG, "not playing fallback for " + mUri); in playFallbackRingtone()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DPlaylistItem.java31 private final Uri mUri; field in PlaylistItem
47 mUri = uri; in PlaylistItem()
90 return mUri; in getUri()
135 + state[mPlaybackState] + "] " + mTitle + ": " + mUri.toString(); in toString()
/frameworks/base/services/core/java/com/android/server/
DInputContentUriTokenHandler.java34 private final Uri mUri; field in InputContentUriTokenHandler
51 mUri = contentUri; in InputContentUriTokenHandler()
82 permissionOwner, mSourceUid, mTargetPackage, mUri, in doTakeLocked()
100 mPermissionOwnerToken, mUri, in release()
/frameworks/base/core/java/android/database/
DContentObserver.java205 private final Uri mUri; field in ContentObserver.NotificationRunnable
210 mUri = uri; in NotificationRunnable()
216 ContentObserver.this.onChange(mSelfChange, mUri, mUserId); in run()
/frameworks/base/core/java/android/widget/
DImageView.java98 private Uri mUri; field in ImageView
449 mUri = uri;
475 mUri = null;
523 if (mResource != 0 || (mUri != uri && (uri == null || mUri == null || !uri.equals(mUri)))) {
526 mUri = uri;
542 if (mResource != 0 || (mUri != uri && (uri == null || mUri == null || !uri.equals(mUri)))) {
562 mUri = null;
921 } else if (mUri != null) {
922 d = getDrawableFromUri(mUri);
925 Log.w(LOG_TAG, "resolveUri failed on bad bitmap uri: " + mUri);
[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()
/frameworks/base/core/java/android/text/
DFontConfig.java66 private Uri mUri; field in FontConfig.Font
122 return mUri; in getUri()
126 mUri = uri; in setUri()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DMediaDecoder.java86 private final Uri mUri; field in MediaDecoder
127 mUri = uri; in MediaDecoder()
229 mMediaExtractor.setDataSource(mContext, mUri, null); in onStart()
237 Log.i(LOG_TAG, "Uri " + mUri + ", track " + i + ": " + format); in onStart()
281 metadataRetriever.setDataSource(mContext, mUri); in retrieveDefaultRotation()
/frameworks/base/core/java/android/app/job/
DJobInfo.java712 private final Uri mUri; field in JobInfo.TriggerContentUri
735 mUri = uri; in TriggerContentUri()
743 return mUri; in getUri()
759 return Objects.equals(t.mUri, mUri) && t.mFlags == mFlags; in equals()
764 return (mUri == null ? 0 : mUri.hashCode()) ^ mFlags; in hashCode()
768 mUri = Uri.CREATOR.createFromParcel(in); in TriggerContentUri()
779 mUri.writeToParcel(out, flags); in writeToParcel()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java426 final Uri mUri; field in Content.Command
430 mUri = uri; in Command()
435 String providerName = mUri.getAuthority(); in execute()
488 provider.insert(resolveCallingPackage(), mUri, mContentValues); in onExecute() local
502 provider.delete(resolveCallingPackage(), mUri, mWhere, null); in onExecute() local
550 String type = provider.getType(mUri); in onExecute()
562 final ParcelFileDescriptor fd = provider.openFile(null, mUri, "r", null, null); in onExecute()
593 Cursor cursor = provider.query(resolveCallingPackage(), mUri, mProjection, in onExecute()
656 provider.update(resolveCallingPackage(), mUri, mContentValues, mWhere, null); in onExecute() local

12