Home
last modified time | relevance | path

Searched refs:getUri (Results 1 – 25 of 85) sorted by relevance

1234

/frameworks/av/media/libstagefright/include/media/stagefright/
DDataSource.h55 virtual String8 getUri() { in getUri() function
59 virtual bool getUri(char *uriString, size_t bufferSize) final { in getUri() function
60 int ret = snprintf(uriString, bufferSize, "%s", getUri().c_str()); in getUri()
84 mWrapper->getUri = [](void *handle, char *uriString, size_t bufferSize) -> bool { in wrap()
85 return ((DataSource*)handle)->getUri(uriString, bufferSize); in wrap()
/frameworks/av/include/media/
DDataSource.h55 virtual String8 getUri() { in getUri() function
59 virtual bool getUri(char *uriString, size_t bufferSize) final { in getUri() function
60 int ret = snprintf(uriString, bufferSize, "%s", getUri().c_str()); in getUri()
84 mWrapper->getUri = [](void *handle, char *uriString, size_t bufferSize) -> bool { in wrap()
85 return ((DataSource*)handle)->getUri(uriString, bufferSize); in wrap()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java113 Slice slice = mProvider.onBindSlice(mProvider.getUri()); in returnsValidSlice()
126 mProvider.onBindSlice(mProvider.getUri()); in onBindSlice_readsMedia_withoutBypass()
139 mProvider.onBindSlice(mProvider.getUri()); in onBindSlice_readsMedia_withBypass_notDozing()
157 verify(mContentResolver).notifyChange(eq(mProvider.getUri()), eq(null)); in updatesClock()
178 verify(mContentResolver).notifyChange(eq(mProvider.getUri()), eq(null)); in updatingNextAlarmInvalidatesSlice()
184 verify(mContentResolver).notifyChange(eq(mProvider.getUri()), eq(null)); in onZenChanged_updatesSlice()
189 ListBuilder listBuilder = spy(new ListBuilder(getContext(), mProvider.getUri(), in addZenMode_addedToSlice()
205 verify(mContentResolver).notifyChange(eq(mProvider.getUri()), eq(null)); in onMetadataChanged_updatesSlice()
210 verify(mContentResolver).notifyChange(eq(mProvider.getUri()), eq(null)); in onMetadataChanged_updatesSlice()
220 verify(mContentResolver).notifyChange(eq(mProvider.getUri()), eq(null)); in onDozingChanged_updatesSliceIfMedia()
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractTest.java90 assertNotNull(font.getUri()); in testGetFontFromProvider_resultOK()
106 assertNotNull(font.getUri()); in testGetFontFromProvider_providerDoesntReturnAllFields()
119 assertNotNull(font.getUri()); in testGetFontFromProvider_resultFontNotFound()
139 assertNotNull(font.getUri()); in testGetFontFromProvider_resultFontUnavailable()
159 assertNotNull(font.getUri()); in testGetFontFromProvider_resultMalformedQuery()
183 assertNotNull(font.getUri()); in testGetFontFromProvider_resultFontNotFoundSecondRow()
191 assertNotNull(font.getUri()); in testGetFontFromProvider_resultFontNotFoundSecondRow()
216 assertNotNull(font.getUri()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
224 assertNotNull(font.getUri()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
232 assertNotNull(font.getUri()); in testGetFontFromProvider_resultFontNotFoundOtherRow()
/frameworks/base/libs/usb/src/com/android/future/usb/
DUsbAccessory.java36 mUri = accessory.getUri(); in UsbAccessory()
83 public String getUri() { in getUri() method in UsbAccessory
111 compare(mUri, accessory.getUri()) && in equals()
DUsbManager.java134 accessory.getUri(), accessory.getSerial())); in openAccessory()
155 accessory.getUri(), accessory.getSerial())); in hasPermission()
180 accessory.getUri(), accessory.getSerial()), in requestPermission()
/frameworks/base/packages/Shell/src/com/android/shell/
DRemoteBugreportReceiver.java22 import static com.android.shell.BugreportProgressService.getUri;
57 final Uri bugreportUri = getUri(context, bugreportFile); in onReceive()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipManager.java646 private String getUri(ISipSession session) { in getUri() method in SipManager.ListenerRelay
660 mListener.onRegistering(getUri(session)); in onRegistering()
667 mListener.onRegistrationDone(getUri(session), expiryTime); in onRegistrationDone()
673 mListener.onRegistrationFailed(getUri(session), errorCode, message); in onRegistrationFailed()
678 mListener.onRegistrationFailed(getUri(session), in onRegistrationTimeout()
DSipProfile.java107 mUri = profile.getUri(); in Builder()
352 public SipURI getUri() { in getUri() method in SipProfile
368 return getUri().toString(); in getUriString()
396 return getUri().getUser(); in getUserName()
/frameworks/base/services/core/java/com/android/server/incident/
DPendingReports.java99 Uri getUri() { in getUri() method in PendingReports.PendingReportRec
174 result.add(mPending.get(i).getUri().toString()); in getPendingReports()
246 entry.getUri().toString())); in dump()
304 Log.e(TAG, "Remote died while trying to register death listener: " + rec.getUri()); in authorizeReportImpl()
402 Log.i(TAG, " ...Removed PendingReportRec index=" + i + ": " + rec.getUri()); in removePendingReportRecLocked()
/frameworks/av/media/libdatasource/
DMediaHTTP.cpp157 String8 MediaHTTP::getUri() { in getUri() function in android::MediaHTTP
163 if (OK == mHTTPConnection->getUri(&uri)) { in getUri()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DContentObserverController.java272 Slog.v(TAG, "New observer " + obs + " for " + uri.getUri() in JobInstance()
277 uri.getUri(), in JobInstance()
286 Slog.v(TAG, "Reusing existing observer " + obs + " for " + uri.getUri() in JobInstance()
342 Slog.i(TAG, "Unregistering observer " + obs + " for " + obs.mUri.getUri()); in detachLocked()
395 pw.print(trigger.getUri()); in dumpControllerStateLocked()
494 Uri u = trigger.getUri(); in dumpControllerStateLocked()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DRedirectListenerTest.java133 when(mIHTTPSession.getUri()).thenReturn("/test"); in receiveUnknownGetRequest()
155 when(mIHTTPSession.getUri()).thenReturn(mServerUrl.getPath()); in receiveKnownGetRequest()
/frameworks/base/media/java/android/media/
DIMediaHTTPConnection.aidl32 String getUri(); in getUri() method
/frameworks/base/core/java/android/hardware/usb/
DUsbAccessory.java158 public @Nullable String getUri() { in getUri() method in UsbAccessory
194 compare(mUri, accessory.getUri()) && in equals()
/frameworks/av/media/libmedia/include/media/
DMediaHTTPConnection.h38 virtual status_t getUri(String8 *uri) = 0;
DIMediaHTTPConnection.h40 virtual status_t getUri(String8 *uri) = 0;
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java633 if (item.getUri() != null) { in checkItemOwnerLocked()
634 checkUriOwnerLocked(item.getUri(), uid); in checkItemOwnerLocked()
669 if (item.getUri() != null) { in grantItemLocked()
670 grantUriLocked(item.getUri(), sourceUid, targetPkg, targetUserId); in grantItemLocked()
722 if (item.getUri() != null) { in revokeItemLocked()
723 revokeUriLocked(item.getUri(), sourceUid); in revokeItemLocked()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/
DBrowserUriTest.java56 assertEquals(TEST_URL, mBrowserUri.getUri()); in verifyGetUri()
/frameworks/av/media/libstagefright/include/
DThrottledSource.h35 virtual String8 getUri() { in getUri() function
/frameworks/av/media/libdatasource/include/datasource/
DMediaHTTP.h54 virtual String8 getUri();
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/soap/command/
DBrowserUri.java51 public String getUri() { in getUri() method in BrowserUri
/frameworks/base/core/java/android/content/
DClipData.java318 public Uri getUri() { in getUri() method in ClipData.Item
352 Uri uri = getUri(); in coerceToText()
922 if (item.getUri() != null) { in addItem()
923 mClipDescription.addMimeTypes(getMimeTypes(resolver, item.getUri())); in addItem()
1110 if (item.getUri() != null) { in collectUris()
1111 out.add(item.getUri()); in collectUris()
DUriPermission.java58 public Uri getUri() { in getUri() method in UriPermission
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java492 final Uri uri = uriPermission.getUri(); in getDocumentUri()
519 return DocumentsContract.buildDocumentUriUsingTree(treeUriPermission.getUri(), docId); in getDocumentUri()
523 return docUriPermission.getUri(); in getDocumentUri()
528 return DocumentsContract.buildDocumentUriUsingTree(treeUriPermission.getUri(), docId); in getDocumentUri()
532 return docUriPermission.getUri(); in getDocumentUri()

1234