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

1 2 3 4 5 6 7 8 9

  /frameworks/support/media-compat/api26/android/support/v4/media/
MediaBrowserCompatApi26.java 32 public static void subscribe(Object browserObj, String parentId, Bundle options,
34 ((MediaBrowser) browserObj).subscribe(parentId, options,
38 public static void unsubscribe(Object browserObj, String parentId,
40 ((MediaBrowser) browserObj).unsubscribe(parentId,
45 void onChildrenLoaded(@NonNull String parentId, List<?> children, @NonNull Bundle options);
46 void onError(@NonNull String parentId, @NonNull Bundle options);
56 public void onChildrenLoaded(@NonNull String parentId,
58 mSubscriptionCallback.onChildrenLoaded(parentId, children, options);
62 public void onError(@NonNull String parentId, @NonNull Bundle options) {
63 mSubscriptionCallback.onError(parentId, options)
    [all...]
MediaBrowserServiceCompatApi26.java 49 public static void notifyChildrenChanged(Object serviceObj, String parentId, Bundle options) {
50 ((MediaBrowserService) serviceObj).notifyChildrenChanged(parentId, options);
58 void onLoadChildren(String parentId, ResultWrapper result, Bundle options);
102 public void onLoadChildren(String parentId, Result<List<MediaBrowser.MediaItem>> result,
105 parentId, new ResultWrapper(result), options);
  /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);
  /frameworks/support/media-compat/api21/android/support/v4/media/
MediaBrowserCompatApi21.java 77 Object browserObj, String parentId, Object subscriptionCallbackObj) {
78 ((MediaBrowser)browserObj).subscribe(parentId,
82 public static void unsubscribe(Object browserObj, String parentId) {
83 ((MediaBrowser)browserObj).unsubscribe(parentId);
117 void onChildrenLoaded(@NonNull String parentId, List<?> children);
118 void onError(@NonNull String parentId);
130 public void onChildrenLoaded(@NonNull String parentId,
132 mSubscriptionCallback.onChildrenLoaded(parentId, children);
136 public void onError(@NonNull String parentId) {
137 mSubscriptionCallback.onError(parentId);
    [all...]
MediaBrowserServiceCompatApi21.java 51 public static void notifyChildrenChanged(Object serviceObj, String parentId) {
52 ((MediaBrowserService) serviceObj).notifyChildrenChanged(parentId);
57 void onLoadChildren(String parentId, ResultWrapper<List<Parcel>> result);
127 public void onLoadChildren(String parentId, Result<List<MediaBrowser.MediaItem>> result) {
128 mServiceProxy.onLoadChildren(parentId, new ResultWrapper<List<Parcel>>(result));
  /packages/apps/TV/tests/unit/src/com/android/tv/util/
TestUtils.java 36 public static TvInputInfo createTvInputInfo(ResolveInfo service, String id, String parentId,
38 return createTvInputInfo(service, id, parentId, type, isHardwareInput, false, 0);
46 public static TvInputInfo createTvInputInfo(ResolveInfo service, String id, String parentId,
51 return createTvInputInfoForO(service, id, parentId, type, isHardwareInput, canRecord,
55 return createTvInputInfoForNyc(service, id, parentId, type, isHardwareInput, canRecord,
58 return createTvInputInfoForMnc(service, id, parentId, type, isHardwareInput);
65 * boolean isConnectedToHdmiSwitch, String parentId, Bundle extras) {
68 String parentId, int type, boolean isHardwareInput, boolean canRecord, int tunerCount)
76 null, null, canRecord, tunerCount, null, false, parentId, null);
83 * HdmiDeviceInfo hdmiDeviceInfo, boolean isConnectedToHdmiSwitch, String parentId,
    [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...]
MtpDocumentsProvider.java 384 final Identifier parentId;
388 parentId = mDatabase.createIdentifier(parentDocumentId);
389 openDevice(parentId.mDeviceId);
390 record = getDeviceToolkit(parentId.mDeviceId).mDeviceRecord;
398 switch (parentId.mDocumentType) {
401 mDatabase.getStorageDocumentIds(parentId.mDocumentId);
412 storageId = parentId.mStorageId;
416 storageId = parentId.mStorageId;
417 parentObjectHandle = parentId.mObjectHandle;
456 parentId.mDeviceId, infoUniqueName, pipe[1])
    [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...]
  /packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
LocalMediaBrowserService.java 161 public void onLoadChildren(String parentId, Result<List<MediaBrowser.MediaItem>> result) {
163 Log.d(TAG, "onLoadChildren parentId=" + parentId);
166 switch (parentId) {
169 mLastCategory = parentId;
172 mDataModel.onQueryByFolder(parentId, result);
173 mLastCategory = parentId;
176 mDataModel.onQueryByAlbum(parentId, result);
177 mLastCategory = parentId;
180 mDataModel.onQueryByArtist(parentId, result)
    [all...]
DataModel.java 96 public void onQueryByFolder(String parentId, Result<List<MediaItem>> result) {
101 public void onQueryByAlbum(String parentId, Result<List<MediaItem>> result) {
113 public void onQueryByArtist(String parentId, Result<List<MediaItem>> result) {
125 public void onQueryByGenre(String parentId, Result<List<MediaItem>> result) {
205 public void onQueryByKey(String lastCategory, String parentId, Result<List<MediaItem>> result) {
217 long id = Long.parseLong(parentId);
223 Log.e(TAG, "Incorrect key type: " + parentId + ", sending empty result");
230 .setWhereArgs(new String[] { parentId, parentId, parentId, parentId })
    [all...]
  /frameworks/support/media-compat/java/android/support/v4/media/
MediaBrowserCompat.java 281 * @param parentId The id of the parent media item whose list of children
285 public void subscribe(@NonNull String parentId, @NonNull SubscriptionCallback callback) {
287 if (TextUtils.isEmpty(parentId)) {
288 throw new IllegalArgumentException("parentId is empty");
293 mImpl.subscribe(parentId, null, callback);
311 * @param parentId The id of the parent media item whose list of children
318 public void subscribe(@NonNull String parentId, @NonNull Bundle options,
321 if (TextUtils.isEmpty(parentId)) {
322 throw new IllegalArgumentException("parentId is empty");
330 mImpl.subscribe(parentId, options, callback)
    [all...]
MediaBrowserServiceCompat.java 168 void notifyChildrenChanged(final String parentId, final Bundle options);
209 public void notifyChildrenChanged(@NonNull final String parentId, final Bundle options) {
216 connection.subscriptions.get(parentId);
221 performLoadChildren(parentId, connection, callback.second);
280 public void notifyChildrenChanged(final String parentId, final Bundle options) {
282 MediaBrowserServiceCompatApi21.notifyChildrenChanged(mServiceObj, parentId);
290 connection.subscriptions.get(parentId);
295 performLoadChildren(parentId, connection, callback.second);
351 public void onLoadChildren(String parentId,
354 = new Result<List<MediaBrowserCompat.MediaItem>>(parentId) {
    [all...]
  /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);
165 public void assertChildCount(String parentId, int expected) throws Exception {
166 List<DocumentInfo> children = listChildren(parentId, -1);
184 public void assertHasFile(String parentId, String name) throws Exception {
185 Uri parentUri = buildDocumentUri(mAuthority, parentId);
203 public void assertHasDirectory(String parentId, String name) throws Exception {
204 Uri parentUri = buildDocumentUri(mAuthority, parentId);
    [all...]
StubProvider.java 190 public String createDocument(String parentId, String mimeType, String displayName)
192 StubDocument parent = mStorage.get(parentId);
198 notifyParentChanged(document.parentId);
218 notifyParentChanged(document.parentId);
318 mStorage.get(oldDoc.parentId));
321 notifyParentChanged(oldDoc.parentId);
326 notifyParentChanged(newDoc.parentId);
469 notifyParentChanged(document.parentId);
576 public String createDocument(String parentId, String mimeType, String displayName, int flags,
579 StubDocument parent = mStorage.get(parentId);
    [all...]
  /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/base/media/java/android/service/media/
MediaBrowserService.java 392 * with an empty list. When the given {@code parentId} is invalid, implementations must
397 * @param parentId The id of the parent media item whose children are to be
401 public abstract void onLoadChildren(@NonNull String parentId,
415 * with an empty list. When the given {@code parentId} is invalid, implementations must
420 * @param parentId The id of the parent media item whose children are to be
427 public void onLoadChildren(@NonNull String parentId,
433 onLoadChildren(parentId, result);
527 * @param parentId The id of the parent media item whose
530 public void notifyChildrenChanged(@NonNull String parentId) {
531 notifyChildrenChangedInternal(parentId, null)
    [all...]
  /frameworks/av/drm/libmediadrm/
PluginMetricsReporting.cpp 39 const int64_t* parentId) {
43 if (parentId != NULL) {
44 analyticsItem.setInt64(kParentAttribute, *parentId);
  /frameworks/support/media-compat/tests/src/android/support/v4/media/
StubMediaBrowserServiceCompatWithDelayedMediaSession.java 54 public void onLoadChildren(@NonNull String parentId,
  /frameworks/support/media-compat-test-service/tests/src/android/support/mediacompat/service/
StubMediaBrowserServiceCompatWithDelayedMediaSession.java 56 public void onLoadChildren(@NonNull String parentId,
  /frameworks/base/core/java/android/view/autofill/
AutofillId.java 48 public AutofillId(int parentId, int virtualChildId) {
50 mViewId = parentId;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DependencyGraph.java 66 String parentId = layout.getStringAttr(ANDROID_URI, ATTR_ID);
67 if (parentId != null) {
68 parentId = BaseLayoutRule.stripIdPrefix(parentId);
70 parentId = "RelativeLayout"; // For display purposes; we never reference
74 ViewData parentView = new ViewData(layout, parentId);
76 if (parentId != null) {
77 mIdToView.put(parentId, parentView);
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
MailboxUtilities.java 55 long parentId = parentCursor.getLong(Mailbox.CONTENT_ID_COLUMN);
82 childValues.put(Mailbox.PARENT_KEY, parentId);
99 resolver.update(ContentUris.withAppendedId(Mailbox.CONTENT_URI, parentId),
232 String name, long parentId) {
236 } else if (parentId == Mailbox.NO_MAILBOX) {
239 Mailbox parent = Mailbox.restoreMailboxWithId(context, parentId);
241 hierarchicalName = getHierarchicalName(context, parentId, map, parent.mDisplayName,
  /frameworks/base/core/java/com/android/internal/app/
LocaleStore.java 267 String parentId = parent.toLanguageTag();
268 if (!sLocaleCache.containsKey(parentId)) {
269 sLocaleCache.put(parentId, new LocaleInfo(parent));
337 String parentId = parent == null ? null : parent.getId();
344 if (parentId.equals(li.getParent().toLanguageTag())) {

Completed in 803 milliseconds

1 2 3 4 5 6 7 8 9