Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/settings/
DSettingsSession.java83 protected final Uri mUri; field in SettingsSession
91 mUri = uri; in SettingsSession()
113 put(mUri, mSetter, value); in set()
115 Log.i(TAG, " set: uri=" + mUri + " value=" + value); in set()
121 return get(mUri, mGetter); in get()
130 put(mUri, mSetter, mInitialValue); in close()
132 Log.i(TAG, "close: uri=" + mUri + " value=" + mInitialValue); in close()
135 delete(mUri); in close()
137 Log.i(TAG, "close: uri=" + mUri + " deleted"); in close()
141 sSessionCounters.close(mUri); in close()
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DMediaStoreUtils.java154 private final Uri mUri; field in MediaStoreUtils.PendingSession
159 mUri = Objects.requireNonNull(uri); in PendingSession()
170 return mContext.getContentResolver().openFileDescriptor(mUri, "rw"); in open()
181 return mContext.getContentResolver().openOutputStream(mUri); in openOutputStream()
195 mContext.getContentResolver().update(mUri, values, null, null); in publish()
196 return mUri; in publish()
204 mContext.getContentResolver().delete(mUri, null, null); in abandon()
/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStoreUtils.java163 private final Uri mUri; field in MediaStoreUtils.PendingSession
168 mUri = Objects.requireNonNull(uri); in PendingSession()
179 return mContext.getContentResolver().openFileDescriptor(mUri, "rw"); in open()
190 return mContext.getContentResolver().openOutputStream(mUri); in openOutputStream()
204 mContext.getContentResolver().update(mUri, values, null, null); in publish()
205 return mUri; in publish()
213 mContext.getContentResolver().delete(mUri, null, null); in abandon()
DMediaStoreNotificationTest.java147 private final Uri mUri; field in MediaStoreNotificationTest.BlockingObserver
161 mUri = uri; in BlockingObserver()
189 throw new IllegalStateException("Failed to get notification for " + mUri); in close()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_TestDataBuilder.java59 private Uri mUri; field in ContactsContract_TestDataBuilder.Builder
71 assertNotNull("Row has not be inserted or loaded yet", mUri); in getId()
73 Cursor cursor = mProvider.query(mUri, IdQuery.COLUMNS, null, null, null, null); in getId()
83 assertTrue("Could not obtain _ID for URI: " + mUri, mId != -1); in getId()
89 mUri = uri; in setUri()
94 if (mUri == null) { in getUri()
96 mUri = ContentUris.withAppendedId(getContentUri(), mId); in getUri()
98 return mUri; in getUri()
128 mUri = mProvider.insert(getContentUri(), mValues); in insertDependent()
129 assertNotNull("Could not insert a row in " + getContentUri(), mUri); in insertDependent()
[all …]
/cts/tests/tests/database/src/android/database/cts/
DContentObservableTest.java122 private Uri mUri; field in ContentObservableTest.MyContentObserver
132 mUri = uri; in onChange()
145 mUri = null; in resetStatus()
153 return mUri; in getUri()
DContentObserverTest.java229 private Uri mUri; field in ContentObserverTest.MyContentObserverWithUri
241 mUri = uri; in onChange()
260 mUri = null; in resetStatus()
272 return mUri; in getUri()
/cts/tests/tests/media/src/android/media/cts/
DMediaControllerTest.java348 assertEquals(uri, mCallback.mUri); in testTransportControlsAndMediaSessionCallback()
406 assertEquals(uri, mCallback.mUri); in testTransportControlsAndMediaSessionCallback()
433 callback.onPlayFromUri(mCallback.mUri, mCallback.mExtras); in testTransportControlsAndMediaSessionCallback()
646 private Uri mUri; field in MediaControllerTest.MediaSessionCallback
683 mUri = null; in reset()
824 mUri = uri; in onPlayFromUri()
899 mUri = uri; in onPrepareFromUri()
/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerTest.java329 Uri mUri; field in ClipboardManagerTest.ExpectedClipItem
334 mUri = uri; in ExpectedClipItem()
396 if (expectedItem.mUri != null) { in assertClipItem()
397 assertEquals(expectedItem.mUri.toString(), item.getUri().toString()); in assertClipItem()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java51 String mUri; field in MediaTranscodingTestUtil.VideoFileInfo
60 String str = mUri; in toString()
80 info.mUri = videoUri.getLastPathSegment(); in extractVideoFileInfo()
81 Log.i(TAG, "Trying to transcode to " + info.mUri); in extractVideoFileInfo()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplayTestBase.java763 delete(mUri); in removeExisting()
DPinnedStackTests.java978 context.getContentResolver().registerContentObserver(mUri, false, in close()