Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/settings/
DSettingsSession.java85 protected final Uri mUri; field in SettingsSession
93 mUri = uri; in SettingsSession()
124 put(mUri, mSetter, value); in set()
126 Log.i(TAG, " set: uri=" + mUri + " value=" + value); in set()
132 return get(mUri, mGetter); in get()
141 put(mUri, mSetter, mInitialValue); in close()
143 Log.i(TAG, "close: uri=" + mUri + " value=" + mInitialValue); in close()
146 delete(mUri); in close()
148 Log.i(TAG, "close: uri=" + mUri + " deleted"); in close()
152 sSessionCounters.close(mUri); in close()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminChoosePrivateKeyAliasEvent.java69 UriQueryHelper<DeviceAdminChoosePrivateKeyAliasEventQuery> mUri = field in DeviceAdminChoosePrivateKeyAliasEvent.DeviceAdminChoosePrivateKeyAliasEventQuery
102 return mUri; in whereUri()
122 if (!mUri.matches(event.mUri)) { in filter()
137 .field("uri", mUri) in describeQuery()
160 mEvent.mUri = new SerializableParcelWrapper<>(uri); in DeviceAdminChoosePrivateKeyAliasEventLogger()
202 mEvent.mUri = new SerializableParcelWrapper<>(uri); in setUri()
216 protected SerializableParcelWrapper<Uri> mUri; field in DeviceAdminChoosePrivateKeyAliasEvent
248 if (mUri == null) { in uri()
251 return mUri.get(); in uri()
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/delegatedadminreceivers/
DDelegatedAdminChoosePrivateKeyAliasEvent.java70 UriQueryHelper<DelegatedAdminChoosePrivateKeyAliasEventQuery> mUri = field in DelegatedAdminChoosePrivateKeyAliasEvent.DelegatedAdminChoosePrivateKeyAliasEventQuery
103 return mUri; in whereUri()
123 if (!mUri.matches(event.mUri)) { in filter()
138 .field("uri", mUri) in describeQuery()
161 mEvent.mUri = new SerializableParcelWrapper<>(uri); in DelegatedAdminChoosePrivateKeyAliasEventLogger()
203 mEvent.mUri = new SerializableParcelWrapper<>(uri); in setUri()
217 protected SerializableParcelWrapper<Uri> mUri; field in DelegatedAdminChoosePrivateKeyAliasEvent
249 if (mUri == null) { in uri()
252 return mUri.get(); in uri()
/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/mediaprovider/src/android/provider/cts/media/
DMediaStoreUtils.java171 private final Uri mUri; field in MediaStoreUtils.PendingSession
176 mUri = Objects.requireNonNull(uri); in PendingSession()
187 return mContext.getContentResolver().openFileDescriptor(mUri, "rw"); in open()
198 return mContext.getContentResolver().openOutputStream(mUri); in openOutputStream()
212 mContext.getContentResolver().update(mUri, values, null, null); in publish()
213 return mUri; in publish()
221 mContext.getContentResolver().delete(mUri, null, null); in abandon()
DMediaStoreNotificationTest.java145 private final Uri mUri; field in MediaStoreNotificationTest.BlockingObserver
159 mUri = uri; in BlockingObserver()
187 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.java138 private Uri mUri; field in ContentObservableTest.MyContentObserver
148 mUri = uri; in onChange()
161 mUri = null; in resetStatus()
169 return mUri; in getUri()
DContentObserverTest.java249 private Uri mUri; field in ContentObserverTest.MyContentObserverWithUri
261 mUri = uri; in onChange()
280 mUri = null; in resetStatus()
292 return mUri; in getUri()
/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerTest.java383 Uri mUri; field in ClipboardManagerTest.ExpectedClipItem
388 mUri = uri; in ExpectedClipItem()
450 if (expectedItem.mUri != null) { in assertClipItem()
451 assertEquals(expectedItem.mUri.toString(), item.getUri().toString()); in assertClipItem()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaControllerTest.java375 assertThat(mCallback.mUri).isEqualTo(uri); in testTransportControlsAndMediaSessionCallback()
433 assertThat(mCallback.mUri).isEqualTo(uri); in testTransportControlsAndMediaSessionCallback()
460 callback.onPlayFromUri(mCallback.mUri, mCallback.mExtras); in testTransportControlsAndMediaSessionCallback()
629 private Uri mUri; field in MediaControllerTest.MediaSessionCallback
666 mUri = null; in reset()
807 mUri = uri; in onPlayFromUri()
887 mUri = uri; in onPrepareFromUri()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java52 String mUri; field in MediaTranscodingTestUtil.VideoFileInfo
61 String str = mUri; in toString()
81 info.mUri = videoUri.getLastPathSegment(); in extractVideoFileInfo()
82 Log.i(TAG, "Trying to transcode to " + info.mUri); in extractVideoFileInfo()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DMultiDisplayTestBase.java576 delete(mUri); in removeExisting()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DPinnedStackTests.java1278 context.getContentResolver().registerContentObserver(mUri, false, in close()