HomeSort by relevance Sort by last modified time
    Searched refs:parentId (Results 1 - 25 of 268) sorted by null

1 2 3 4 5 6 7 8 91011

  /frameworks/support/media/api26/android/support/v4/media/
MediaBrowserCompatApi26.java 33 public static void subscribe(Object browserObj, String parentId, Bundle options,
35 ((MediaBrowser) browserObj).subscribe(parentId, options,
39 public static void unsubscribe(Object browserObj, String parentId,
41 ((MediaBrowser) browserObj).unsubscribe(parentId,
46 void onChildrenLoaded(@NonNull String parentId, List<?> children, @NonNull Bundle options);
47 void onError(@NonNull String parentId, @NonNull Bundle options);
57 public void onChildrenLoaded(@NonNull String parentId,
59 mSubscriptionCallback.onChildrenLoaded(parentId, children, options);
63 public void onError(@NonNull String parentId, @NonNull Bundle options) {
64 mSubscriptionCallback.onError(parentId, options)
    [all...]
  /frameworks/base/media/java/android/media/update/
MediaBrowser2Provider.java 27 void subscribe_impl(String parentId, Bundle extras);
28 void unsubscribe_impl(String parentId);
31 void getChildren_impl(String parentId, int page, int pageSize, Bundle extras);
MediaLibraryService2Provider.java 29 void notifyChildrenChanged_impl(ControllerInfo controller, String parentId,
31 void notifyChildrenChanged_impl(String parentId, int itemCount, Bundle extras);
  /packages/services/Car/car-lib/src/android/car/app/menu/
SubscriptionCallbacks.java 32 public abstract void onChildrenLoaded(String parentId, List<Bundle> items);
45 public abstract void onChildChanged(String parentId, Bundle item);
CarMenuCallbacks.java 36 * @param parentId The id of the parent menu item whose list of children
40 public abstract void subscribe(String parentId, SubscriptionCallbacks callback);
44 * @param parentId The id of the parent menu item whose list of children
47 public abstract void unsubscribe(String parentId, SubscriptionCallbacks callbacks);
  /packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/
MediaBrowser.java 126 * Wrapper for MediaBrowser.subscribe(String parentId, Bundle options,
129 public void subscribe(String parentId, Bundle options, SubscriptionCallback callback) {
130 mDelegate.subscribe(parentId, options, callback);
134 * Wrapper for MediaBrowser.subscribe(String parentId, SubscriptionCallback callback)
136 public void subscribe(String parentId, SubscriptionCallback callback) {
137 mDelegate.subscribe(parentId, callback);
141 * Wrapper for MediaBrowser.unsubscribe(String parentId)
143 public void unsubscribe(String parentId) {
144 mDelegate.unsubscribe(parentId);
149 * Wrapper for MediaBrowser.unsubscribe(String parentId, SubscriptionCallback callback
    [all...]
  /frameworks/support/media/api21/android/support/v4/media/
MediaBrowserCompatApi21.java 78 Object browserObj, String parentId, Object subscriptionCallbackObj) {
79 ((MediaBrowser)browserObj).subscribe(parentId,
83 public static void unsubscribe(Object browserObj, String parentId) {
84 ((MediaBrowser)browserObj).unsubscribe(parentId);
118 void onChildrenLoaded(@NonNull String parentId, List<?> children);
119 void onError(@NonNull String parentId);
131 public void onChildrenLoaded(@NonNull String parentId,
133 mSubscriptionCallback.onChildrenLoaded(parentId, children);
137 public void onError(@NonNull String parentId) {
138 mSubscriptionCallback.onError(parentId);
    [all...]
  /packages/apps/TV/tests/common/src/com/android/tv/testing/utils/
TestUtils.java 33 ResolveInfo service, String id, String parentId, int type, boolean isHardwareInput)
35 return createTvInputInfo(service, id, parentId, type, isHardwareInput, false, 0);
46 String parentId,
56 service, id, parentId, type, isHardwareInput, canRecord, tunerCount);
60 service, id, parentId, type, isHardwareInput, canRecord, tunerCount);
62 return createTvInputInfoForMnc(service, id, parentId, type, isHardwareInput);
69 * boolean isConnectedToHdmiSwitch, String parentId, Bundle extras) {
74 String parentId,
114 parentId,
122 * HdmiDeviceInfo hdmiDeviceInfo, boolean isConnectedToHdmiSwitch, String parentId, Bundl
    [all...]
  /frameworks/support/media/src/main/java/androidx/media/
MediaBrowser2.java 96 * @param parentId parent id that you've specified with {@link #subscribe(String, Bundle)}
101 public void onChildrenChanged(@NonNull MediaBrowser2 browser, @NonNull String parentId,
109 * @param parentId parent id
117 public void onGetChildrenDone(@NonNull MediaBrowser2 browser, @NonNull String parentId,
226 * @param parentId parent id
229 public void subscribe(@NonNull String parentId, @Nullable Bundle extras) {
230 if (parentId == null) {
231 throw new IllegalArgumentException("parentId shouldn't be null");
239 List<SubscribeCallback> list = mSubscribeCallbacks.get(parentId);
242 mSubscribeCallbacks.put(parentId, list)
    [all...]
MediaBrowserServiceCompat.java 188 void notifyChildrenChanged(final String parentId, final Bundle options);
191 List<RemoteUserInfo> getSubscribingBrowsers(String parentId);
231 public void notifyChildrenChanged(@NonNull final String parentId, final Bundle options) {
238 connection.subscriptions.get(parentId);
243 performLoadChildren(parentId, connection, callback.second,
272 public List<RemoteUserInfo> getSubscribingBrowsers(String parentId) {
277 connection.subscriptions.get(parentId);
326 public void notifyChildrenChanged(final String parentId, final Bundle options) {
327 notifyChildrenChangedForFramework(parentId, options);
328 notifyChildrenChangedForCompat(parentId, options)
    [all...]
MediaLibraryService2.java 130 * @param parentId parent id to get children
138 @NonNull ControllerInfo controller, @NonNull String parentId, int page,
152 * @param parentId parent id
157 @NonNull ControllerInfo controller, @NonNull String parentId,
166 * @param parentId parent id
170 @NonNull ControllerInfo controller, @NonNull String parentId) {
279 * @param parentId parent id with changes in its children
284 @NonNull String parentId, int itemCount, @Nullable Bundle extras) {
286 getServiceCompat().getSubscribingBrowsers(parentId);
287 getImpl().notifyChildrenChanged(controller, parentId, itemCount, extras
    [all...]
  /frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
Mapper.java 129 * @param parentId Parent document ID.
136 int deviceId, String parentId,
148 parentId,
154 parentId,
158 strings(parentId),
230 * @param parentId Parent document ID.
236 * @throws FileNotFoundException When parentId is not registered in the database.
239 String parentId,
249 getParentOrHaltMapping(parentId);
250 Preconditions.checkState(mInMappingIds.contains(parentId));
    [all...]
  /frameworks/base/media/java/android/media/browse/
MediaBrowser.java 356 * @param parentId The id of the parent media item whose list of children
360 public void subscribe(@NonNull String parentId, @NonNull SubscriptionCallback callback) {
361 subscribeInternal(parentId, null, callback);
379 * @param parentId The id of the parent media item whose list of children
386 public void subscribe(@NonNull String parentId, @NonNull Bundle options,
391 subscribeInternal(parentId, new Bundle(options), callback);
401 * @param parentId The id of the parent media item whose list of children
404 public void unsubscribe(@NonNull String parentId) {
405 unsubscribeInternal(parentId, null);
415 * @param parentId The id of the parent media item whose list of childre
    [all...]
  /frameworks/av/packages/MediaComponents/src/com/android/media/
MediaBrowser2Impl.java 70 public void subscribe_impl(String parentId, Bundle extras) {
71 if (parentId == null) {
72 throw new IllegalArgumentException("parentId shouldn't be null");
78 binder.subscribe(getControllerStub(), parentId, extras);
91 public void unsubscribe_impl(String parentId) {
92 if (parentId == null) {
93 throw new IllegalArgumentException("parentId shouldn't be null");
99 binder.unsubscribe(getControllerStub(), parentId);
133 public void getChildren_impl(String parentId, int page, int pageSize, Bundle extras) {
134 if (parentId == null)
    [all...]
MediaLibraryService2Impl.java 100 public void notifyChildrenChanged_impl(ControllerInfo controller, String parentId,
105 if (parentId == null) {
106 throw new IllegalArgumentException("parentId shouldn't be null");
108 getSessionStub().notifyChildrenChangedNotLocked(controller, parentId, itemCount,
113 public void notifyChildrenChanged_impl(String parentId, int itemCount, Bundle extras) {
114 if (parentId == null) {
115 throw new IllegalArgumentException("parentId shouldn't be null");
117 getSessionStub().notifyChildrenChangedNotLocked(parentId, itemCount, extras);
  /packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
LocalMediaBrowserService.java 157 public void onLoadChildren(String parentId, Result<List<MediaBrowser.MediaItem>> result) {
159 Log.d(TAG, "onLoadChildren parentId=" + parentId);
162 switch (parentId) {
165 mLastCategory = parentId;
168 mDataModel.onQueryByFolder(parentId, result);
169 mLastCategory = parentId;
172 mDataModel.onQueryByAlbum(parentId, result);
173 mLastCategory = parentId;
176 mDataModel.onQueryByArtist(parentId, result)
    [all...]
  /frameworks/base/media/java/android/media/
MediaBrowser2.java 66 * @param parentId parent id that you've specified with {@link #subscribe(String, Bundle)}
71 public void onChildrenChanged(@NonNull MediaBrowser2 browser, @NonNull String parentId,
79 * @param parentId parent id
87 public void onGetChildrenDone(@NonNull MediaBrowser2 browser, @NonNull String parentId,
167 * @param parentId parent id
170 public void subscribe(@NonNull String parentId, @Nullable Bundle extras) {
171 mProvider.subscribe_impl(parentId, extras);
181 * @param parentId parent id
183 public void unsubscribe(@NonNull String parentId) {
184 mProvider.unsubscribe_impl(parentId);
    [all...]
  /frameworks/support/media/src/main/java/android/support/v4/media/
MediaBrowserCompat.java 287 * @param parentId The id of the parent media item whose list of children
291 public void subscribe(@NonNull String parentId, @NonNull SubscriptionCallback callback) {
293 if (TextUtils.isEmpty(parentId)) {
294 throw new IllegalArgumentException("parentId is empty");
299 mImpl.subscribe(parentId, null, callback);
317 * @param parentId The id of the parent media item whose list of children
324 public void subscribe(@NonNull String parentId, @NonNull Bundle options,
327 if (TextUtils.isEmpty(parentId)) {
328 throw new IllegalArgumentException("parentId is empty");
336 mImpl.subscribe(parentId, options, callback)
    [all...]
  /frameworks/support/media/api26/androidx/media/
MediaBrowserServiceCompatApi26.java 50 public static void notifyChildrenChanged(Object serviceObj, String parentId, Bundle options) {
51 ((MediaBrowserService) serviceObj).notifyChildrenChanged(parentId, options);
59 void onLoadChildren(String parentId, ResultWrapper result, Bundle options);
103 public void onLoadChildren(String parentId, Result<List<MediaBrowser.MediaItem>> result,
106 parentId, new ResultWrapper(result), options);
  /packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DocumentsProviderHelper.java 101 public Uri createDocument(String parentId, String mimeType, String name) {
102 Uri parentUri = buildDocumentUri(mAuthority, parentId);
129 public Uri createFolder(String parentId, String name) {
130 Uri parentUri = buildDocumentUri(mAuthority, parentId);
174 public void assertChildCount(String parentId, int expected) throws Exception {
175 List<DocumentInfo> children = listChildren(parentId, -1);
193 public void assertHasFile(String parentId, String name) throws Exception {
194 Uri parentUri = buildDocumentUri(mAuthority, parentId);
212 public void assertHasDirectory(String parentId, String name) throws Exception {
213 Uri parentUri = buildDocumentUri(mAuthority, parentId);
    [all...]
  /test/vti/dashboard/src/main/java/com/android/vts/entity/
TestStatusEntity.java 48 public final long parentId;
54 * @param parentId The ID of the TestCaseRunEntity containing the test case.
57 public TestCaseReference(long parentId, int offset) {
58 this.parentId = parentId;
68 this(testCase.parentId, testCase.offset);
114 failingTestcaseIds.add(testCase.parentId);
  /frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
TestUtil.java 77 static void addTestStorage(MtpDatabase database, String parentId) throws FileNotFoundException {
78 database.getMapper().startAddingDocuments(parentId);
79 database.getMapper().putStorageDocuments(parentId, OPERATIONS_SUPPORTED, new MtpRoot[] {
82 database.getMapper().stopAddingDocuments(parentId);
  /frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/android/support/mediacompat/service/
StubMediaBrowserServiceCompat.java 87 public void onLoadChildren(final String parentId, final Result<List<MediaItem>> result) {
89 if (MEDIA_ID_ROOT.equals(parentId)) {
95 } else if (MEDIA_ID_CHILDREN_DELAYED.equals(parentId)) {
100 } else if (MEDIA_ID_INVALID.equals(parentId)) {
106 public void onLoadChildren(@NonNull String parentId, @NonNull Result<List<MediaItem>> result,
108 if (MEDIA_ID_INCLUDE_METADATA.equals(parentId)) {
112 super.onLoadChildren(parentId, result, options);
119 super.onLoadChildren(parentId, result, options);
  /frameworks/support/media/version-compat-tests/previous/service/src/androidTest/java/android/support/mediacompat/service/
StubMediaBrowserServiceCompat.java 86 public void onLoadChildren(final String parentId, final Result<List<MediaItem>> result) {
88 if (MEDIA_ID_ROOT.equals(parentId)) {
94 } else if (MEDIA_ID_CHILDREN_DELAYED.equals(parentId)) {
99 } else if (MEDIA_ID_INVALID.equals(parentId)) {
105 public void onLoadChildren(@NonNull String parentId, @NonNull Result<List<MediaItem>> result,
107 if (MEDIA_ID_INCLUDE_METADATA.equals(parentId)) {
111 super.onLoadChildren(parentId, result, options);
118 super.onLoadChildren(parentId, result, options);
  /frameworks/support/media/api21/androidx/media/
MediaBrowserServiceCompatApi21.java 52 public static void notifyChildrenChanged(Object serviceObj, String parentId) {
53 ((MediaBrowserService) serviceObj).notifyChildrenChanged(parentId);
58 void onLoadChildren(String parentId, ResultWrapper<List<Parcel>> result);
128 public void onLoadChildren(String parentId, Result<List<MediaBrowser.MediaItem>> result) {
129 mServiceProxy.onLoadChildren(parentId, new ResultWrapper<List<Parcel>>(result));

Completed in 776 milliseconds

1 2 3 4 5 6 7 8 91011