Home
last modified time | relevance | path

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

12

/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.java189 final Uri mUri; field in ClipData.Item
198 mUri = null; in Item()
211 mUri = null; in Item()
221 mUri = null; in Item()
231 mUri = uri; in Item()
242 mUri = uri; in Item()
259 mUri = uri; in Item()
287 return mUri; in getUri()
458 if (mUri != null) { in coerceToHtmlOrStyledText()
463 String[] types = context.getContentResolver().getStreamTypes(mUri, "text/*"); in coerceToHtmlOrStyledText()
[all …]
DContentProviderOperation.java41 private final Uri mUri; field in ContentProviderOperation
58 mUri = builder.mUri; in ContentProviderOperation()
70 mUri = Uri.CREATOR.createFromParcel(source); in ContentProviderOperation()
92 Uri.writeToParcel(dest, mUri); in writeToParcel()
173 return mUri; in getUri()
214 Uri newUri = provider.insert(mUri, values); in apply()
223 numRows = provider.delete(mUri, mSelection, selectionArgs); in apply()
225 numRows = provider.update(mUri, values, mSelection, selectionArgs); in apply()
237 final Cursor cursor = provider.query(mUri, projection, mSelection, selectionArgs, null); in apply()
340 return "mType: " + mType + ", mUri: " + mUri + in toString()
[all …]
DCursorLoader.java46 Uri mUri; field in CursorLoader
65 Cursor cursor = getContext().getContentResolver().query(mUri, mProjection, mSelection, in loadInBackground()
138 mUri = uri; in CursorLoader()
192 return mUri; in getUri()
196 mUri = uri; in setUri()
234 writer.print(prefix); writer.print("mUri="); writer.println(mUri); in dump()
/frameworks/base/core/java/android/hardware/usb/
DUsbAccessory.java55 private final String mUri; field in UsbAccessory
81 mUri = uri; in UsbAccessory()
94 mUri = strings[URI_STRING]; in UsbAccessory()
142 return mUri; in getUri()
169 compare(mUri, accessory.getUri()) && in equals()
181 (mUri == null ? 0 : mUri.hashCode()) ^ in hashCode()
191 ", mUri=" + mUri + in toString()
221 parcel.writeString(mUri); in writeToParcel()
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
DMediaPlayerDataSource.java38 private final Uri mUri; field in MediaPlayerDataSource
43 mUri = intentUri; in MediaPlayerDataSource()
49 mUri = null; in MediaPlayerDataSource()
55 mediaPlayer.setDataSource(mContext, mUri); in setAsSourceFor()
63 VariableSpeedNative.playFromContext(mContext, mUri); in playNative()
/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/media/java/android/media/
DRingtone.java60 private Uri mUri; field in Ringtone
84 setUri(mUri); in setStreamType()
104 return mTitle = getTitle(context, mUri, true); in getTitle()
170 mUri = uri; in setUri()
171 if (mUri == null) { in setUri()
180 mLocalPlayer.setDataSource(mContext, mUri); in setUri()
207 return mUri; in getUri()
221 final Uri canonicalUri = mUri.getCanonicalUri(); in play()
282 int ringtoneType = RingtoneManager.getDefaultType(mUri); in playFallbackRingtone()
313 Log.w(TAG, "not playing fallback for " + mUri); in playFallbackRingtone()
DMiniThumbFile.java51 private Uri mUri; field in MiniThumbFile
86 return directoryName + "/.thumbdata" + version + "-" + mUri.hashCode(); in randomAccessFilePath()
132 mUri = uri; in MiniThumbFile()
/frameworks/support/v4/java/android/support/v4/content/
DCursorLoader.java38 Uri mUri; field in CursorLoader
49 Cursor cursor = getContext().getContentResolver().query(mUri, mProjection, mSelection, in loadInBackground()
101 mUri = uri; in CursorLoader()
155 return mUri; in getUri()
159 mUri = uri; in setUri()
197 writer.print(prefix); writer.print("mUri="); writer.println(mUri); in dump()
/frameworks/base/core/java/android/widget/
DImageView.java66 private Uri mUri; field in ImageView
359 if (mUri != null || mResource != resId) { in setImageResource()
362 mUri = null; in setImageResource()
390 (mUri != uri && in setImageURI()
391 (uri == null || mUri == null || !uri.equals(mUri)))) { in setImageURI()
394 mUri = uri; in setImageURI()
416 mUri = null; in setImageDrawable()
642 mUri = null; in resolveUri()
644 } else if (mUri != null) { in resolveUri()
645 String scheme = mUri.getScheme(); in resolveUri()
[all …]
/frameworks/base/core/java/android/database/
DContentObserver.java171 private final Uri mUri; field in ContentObserver.NotificationRunnable
175 mUri = uri; in NotificationRunnable()
180 ContentObserver.this.onChange(mSelfChange, mUri); in run()
/frameworks/base/core/java/android/speech/tts/
DAudioPlaybackQueueItem.java29 private final Uri mUri; field in AudioPlaybackQueueItem
42 mUri = uri; in AudioPlaybackQueueItem()
54 mPlayer = MediaPlayer.create(mContext, mUri); in run()
/frameworks/av/libvideoeditor/lvpp/
DDummyVideoSource.cpp53 mUri = imageUri; in DummyVideoSource()
56 ALOGV("%s", mUri); in DummyVideoSource()
74 (const char *)mUri, in start()
/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/packages/DocumentsUI/src/com/android/documentsui/
DDirectoryLoader.java74 private final Uri mUri; field in DirectoryLoader
86 mUri = uri; in DirectoryLoader()
100 final String authority = mUri.getAuthority(); in loadInBackground()
165 mUri, null, null, null, getQuerySortOrder(result.sortOrder), mSignal); in loadInBackground()
168 cursor = new RootCursorWrapper(mUri.getAuthority(), mRoot.rootId, cursor, -1); in loadInBackground()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java233 protected final Uri mUri; field in ImageUtils.BaseInputStreamFactory
237 mUri = uri; in BaseInputStreamFactory()
242 return mResolver.openInputStream(mUri); in createInputStream()
256 mData = parseDataUri(mUri); in createInputStream()
307 is = new URL(mUri.toString()).openStream(); in downloadBytes()
/frameworks/base/core/java/android/net/http/
DRequestHandle.java43 private WebAddress mUri; field in RequestHandle
75 mUri = uri; in RequestHandle()
179 mUri = new WebAddress(mUrl); in setupRedirect()
186 String cookie = CookieManager.getInstance().getCookie(mUri); in setupRedirect()
454 mUrl, mUri, mMethod, mHeaders, mRequest.mEventHandler, in createAndQueueNewRequest()
462 mUrl, mUri, mMethod, mHeaders, mRequest.mEventHandler, in createAndQueueNewRequest()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
DBitmapRegionTileSource.java259 private Uri mUri; field in BitmapRegionTileSource.UriBitmapSource
263 mUri = uri; in UriBitmapSource()
266 InputStream is = mContext.getContentResolver().openInputStream(mUri); in regenerateInputStream()
283 Log.e("BitmapRegionTileSource", "Failed to load URI " + mUri, e); in loadBitmapRegionDecoder()
286 Log.e("BitmapRegionTileSource", "Failure while reading URI " + mUri, e); in loadBitmapRegionDecoder()
298 Log.e("BitmapRegionTileSource", "Failed to load URI " + mUri, e); in loadPreviewBitmap()
311 Log.e("BitmapRegionTileSource", "Failed to load URI " + mUri, e); in readExif()
314 Log.e("BitmapRegionTileSource", "Failed to load URI " + mUri, e); in readExif()
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
DPduPart.java115 private Uri mUri = null; field in PduPart
166 mUri = uri; in setDataUri()
175 return mUri; in getDataUri()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java360 final Uri mUri; field in Content.Command
364 mUri = uri; in Command()
369 String providerName = mUri.getAuthority(); in execute()
406 provider.insert(null, mUri, mContentValues); in onExecute()
420 provider.delete(null, mUri, mWhere, null); in onExecute()
474 Cursor cursor = provider.query(null, mUri, mProjection, mWhere, null, mSortOrder, null); in onExecute()
536 provider.update(null, mUri, mContentValues, mWhere, null); in onExecute()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaInserterTest.java55 private Uri mUri; field in MediaInserterTest.MediaUriMatcher
58 mUri = uri; in MediaUriMatcher()
68 if (actualUri == mUri) return true; in matches()
74 buffer.append("expected a TableUri '").append(mUri).append("'"); in appendTo()
/frameworks/base/media/java/android/mtp/
DMtpPropertyGroup.java55 private final Uri mUri; field in MtpPropertyGroup
75 mUri = Files.getMtpObjectsUri(volume); in MtpPropertyGroup()
194 c = mProvider.query(mPackageName, mUri, in queryString()
257 c = mProvider.query(mPackageName, mUri, in queryLong()
328 c = mProvider.query(mPackageName, mUri, mColumns, where, whereArgs, null, null); in getPropertyList()

12