/frameworks/support/media-compat/api24/android/support/v4/media/ |
D | MediaBrowserCompatApi24.java | 30 public static void subscribe(Object browserObj, String parentId, Bundle options, in subscribe() argument 32 ((MediaBrowser) browserObj).subscribe(parentId, options, in subscribe() 36 public static void unsubscribe(Object browserObj, String parentId, in unsubscribe() argument 38 ((MediaBrowser) browserObj).unsubscribe(parentId, in unsubscribe() 43 void onChildrenLoaded(@NonNull String parentId, List<?> children, @NonNull Bundle options); in onChildrenLoaded() argument 44 void onError(@NonNull String parentId, @NonNull Bundle options); in onError() argument 54 public void onChildrenLoaded(@NonNull String parentId, in onChildrenLoaded() argument 56 mSubscriptionCallback.onChildrenLoaded(parentId, children, options); in onChildrenLoaded() 60 public void onError(@NonNull String parentId, @NonNull Bundle options) { in onError() argument 61 mSubscriptionCallback.onError(parentId, options); in onError()
|
D | MediaBrowserServiceCompatApi24.java | 47 public static void notifyChildrenChanged(Object serviceObj, String parentId, Bundle options) { in notifyChildrenChanged() argument 48 ((MediaBrowserService) serviceObj).notifyChildrenChanged(parentId, options); in notifyChildrenChanged() 56 void onLoadChildren(String parentId, ResultWrapper result, Bundle options); in onLoadChildren() argument 100 public void onLoadChildren(String parentId, Result<List<MediaBrowser.MediaItem>> result, in onLoadChildren() argument 103 parentId, new ResultWrapper(result), options); in onLoadChildren()
|
/frameworks/support/media-compat/java/android/support/v4/media/ |
D | MediaBrowserCompat.java | 204 public void subscribe(@NonNull String parentId, @NonNull SubscriptionCallback callback) { in subscribe() argument 206 if (TextUtils.isEmpty(parentId)) { in subscribe() 212 mImpl.subscribe(parentId, null, callback); in subscribe() 237 public void subscribe(@NonNull String parentId, @NonNull Bundle options, in subscribe() argument 240 if (TextUtils.isEmpty(parentId)) { in subscribe() 249 mImpl.subscribe(parentId, options, callback); in subscribe() 262 public void unsubscribe(@NonNull String parentId) { in unsubscribe() argument 264 if (TextUtils.isEmpty(parentId)) { in unsubscribe() 267 mImpl.unsubscribe(parentId, null); in unsubscribe() 281 public void unsubscribe(@NonNull String parentId, @NonNull SubscriptionCallback callback) { in unsubscribe() argument [all …]
|
D | MediaBrowserServiceCompat.java | 138 void notifyChildrenChanged(final String parentId, final Bundle options); in notifyChildrenChanged() argument 179 public void notifyChildrenChanged(@NonNull final String parentId, final Bundle options) { in notifyChildrenChanged() argument 186 connection.subscriptions.get(parentId); in notifyChildrenChanged() 191 performLoadChildren(parentId, connection, callback.second); in notifyChildrenChanged() 233 public void notifyChildrenChanged(final String parentId, final Bundle options) { in notifyChildrenChanged() argument 235 MediaBrowserServiceCompatApi21.notifyChildrenChanged(mServiceObj, parentId); in notifyChildrenChanged() 243 connection.subscriptions.get(parentId); in notifyChildrenChanged() 248 performLoadChildren(parentId, connection, callback.second); in notifyChildrenChanged() 297 public void onLoadChildren(String parentId, in onLoadChildren() argument 300 = new Result<List<MediaBrowserCompat.MediaItem>>(parentId) { in onLoadChildren() [all …]
|
/frameworks/base/media/java/android/media/browse/ |
D | MediaBrowser.java | 339 public void subscribe(@NonNull String parentId, @NonNull SubscriptionCallback callback) { in subscribe() argument 340 subscribeInternal(parentId, null, callback); in subscribe() 365 public void subscribe(@NonNull String parentId, @NonNull Bundle options, in subscribe() argument 370 subscribeInternal(parentId, new Bundle(options), callback); in subscribe() 383 public void unsubscribe(@NonNull String parentId) { in unsubscribe() argument 384 unsubscribeInternal(parentId, null); in unsubscribe() 398 public void unsubscribe(@NonNull String parentId, @NonNull SubscriptionCallback callback) { in unsubscribe() argument 402 unsubscribeInternal(parentId, callback); in unsubscribe() 459 private void subscribeInternal(String parentId, Bundle options, SubscriptionCallback callback) { in subscribeInternal() argument 461 if (TextUtils.isEmpty(parentId)) { in subscribeInternal() [all …]
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | Mapper.java | 136 int deviceId, String parentId, in putChildDocuments() argument 148 parentId, in putChildDocuments() 154 parentId, in putChildDocuments() 158 strings(parentId), in putChildDocuments() 239 String parentId, in putDocuments() argument 249 getParentOrHaltMapping(parentId); in putDocuments() 250 Preconditions.checkState(mInMappingIds.contains(parentId)); in putDocuments() 318 boolean stopAddingDocuments(@Nullable String parentId) throws FileNotFoundException { in stopAddingDocuments() argument 321 if (parentId != null) { in stopAddingDocuments() 323 args = strings(parentId); in stopAddingDocuments() [all …]
|
D | MtpDocumentsProvider.java | 341 final Identifier parentId; in createDocument() local 345 parentId = mDatabase.createIdentifier(parentDocumentId); in createDocument() 346 openDevice(parentId.mDeviceId); in createDocument() 347 record = getDeviceToolkit(parentId.mDeviceId).mDeviceRecord; in createDocument() 355 switch (parentId.mDocumentType) { in createDocument() 358 mDatabase.getStorageDocumentIds(parentId.mDocumentId); in createDocument() 369 storageId = parentId.mStorageId; in createDocument() 373 storageId = parentId.mStorageId; in createDocument() 374 parentObjectHandle = parentId.mObjectHandle; in createDocument() 413 parentId.mDeviceId, infoUniqueName, pipe[1]); in createDocument() [all …]
|
D | MtpDatabase.java | 592 void updateObject(String documentId, int deviceId, String parentId, int[] operationsSupported, in updateObject() argument 595 getObjectDocumentValues(values, deviceId, parentId, operationsSupported, info, size); in updateObject() 822 ContentValues values, int deviceId, String parentId, in getObjectDocumentValues() argument 829 values.put(COLUMN_PARENT_DOCUMENT_ID, parentId); in getObjectDocumentValues()
|
/frameworks/support/media-compat/api21/android/support/v4/media/ |
D | MediaBrowserCompatApi21.java | 76 Object browserObj, String parentId, Object subscriptionCallbackObj) { in subscribe() argument 77 ((MediaBrowser)browserObj).subscribe(parentId, in subscribe() 81 public static void unsubscribe(Object browserObj, String parentId) { in unsubscribe() argument 82 ((MediaBrowser)browserObj).unsubscribe(parentId); in unsubscribe() 116 void onChildrenLoaded(@NonNull String parentId, List<?> children); in onChildrenLoaded() argument 117 void onError(@NonNull String parentId); in onError() argument 129 public void onChildrenLoaded(@NonNull String parentId, in onChildrenLoaded() argument 131 mSubscriptionCallback.onChildrenLoaded(parentId, children); in onChildrenLoaded() 135 public void onError(@NonNull String parentId) { in onError() argument 136 mSubscriptionCallback.onError(parentId); in onError()
|
D | MediaBrowserServiceCompatApi21.java | 49 public static void notifyChildrenChanged(Object serviceObj, String parentId) { in notifyChildrenChanged() argument 50 ((MediaBrowserService) serviceObj).notifyChildrenChanged(parentId); in notifyChildrenChanged() 55 void onLoadChildren(String parentId, ResultWrapper<List<Parcel>> result); in onLoadChildren() argument 124 public void onLoadChildren(String parentId, Result<List<MediaBrowser.MediaItem>> result) { in onLoadChildren() argument 125 mServiceProxy.onLoadChildren(parentId, new ResultWrapper<List<Parcel>>(result)); in onLoadChildren()
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/ |
D | DocumentsProviderHelper.java | 100 public Uri createDocument(String parentId, String mimeType, String name) { in createDocument() argument 101 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createDocument() 128 public Uri createFolder(String parentId, String name) { in createFolder() argument 129 Uri parentUri = buildDocumentUri(mAuthority, parentId); in createFolder() 159 public void assertChildCount(String parentId, int expected) throws Exception { in assertChildCount() argument 160 List<DocumentInfo> children = listChildren(parentId); in assertChildCount() 178 public void assertHasFile(String parentId, String name) throws Exception { in assertHasFile() argument 179 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertHasFile() 197 public void assertHasDirectory(String parentId, String name) throws Exception { in assertHasDirectory() argument 198 Uri parentUri = buildDocumentUri(mAuthority, parentId); in assertHasDirectory() [all …]
|
D | StubProvider.java | 185 public String createDocument(String parentId, String mimeType, String displayName) in createDocument() argument 187 StubDocument parent = mStorage.get(parentId); in createDocument() 193 notifyParentChanged(document.parentId); in createDocument() 213 notifyParentChanged(document.parentId); in deleteDocument() 297 mStorage.get(oldDoc.parentId)); in renameDocument() 300 notifyParentChanged(oldDoc.parentId); in renameDocument() 305 notifyParentChanged(newDoc.parentId); in renameDocument() 450 notifyParentChanged(document.parentId); in startWrite() 536 public String createDocument(String parentId, String mimeType, String displayName, int flags, in createDocument() argument 539 StubDocument parent = mStorage.get(parentId); in createDocument() [all …]
|
/frameworks/base/media/java/android/service/media/ |
D | MediaBrowserService.java | 389 public abstract void onLoadChildren(@NonNull String parentId, in onLoadChildren() argument 415 public void onLoadChildren(@NonNull String parentId, in onLoadChildren() argument 421 onLoadChildren(parentId, result); in onLoadChildren() 518 public void notifyChildrenChanged(@NonNull String parentId) { in notifyChildrenChanged() argument 519 notifyChildrenChangedInternal(parentId, null); in notifyChildrenChanged() 533 public void notifyChildrenChanged(@NonNull String parentId, @NonNull Bundle options) { in notifyChildrenChanged() argument 537 notifyChildrenChangedInternal(parentId, options); in notifyChildrenChanged() 540 private void notifyChildrenChangedInternal(final String parentId, final Bundle options) { in notifyChildrenChangedInternal() argument 541 if (parentId == null) { in notifyChildrenChangedInternal() 550 connection.subscriptions.get(parentId); in notifyChildrenChangedInternal() [all …]
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | TestUtil.java | 77 static void addTestStorage(MtpDatabase database, String parentId) throws FileNotFoundException { in addTestStorage() argument 78 database.getMapper().startAddingDocuments(parentId); in addTestStorage() 79 database.getMapper().putStorageDocuments(parentId, OPERATIONS_SUPPORTED, new MtpRoot[] { in addTestStorage() 82 database.getMapper().stopAddingDocuments(parentId); in addTestStorage()
|
/frameworks/base/tests/MusicBrowserDemo/src/com/example/android/musicbrowserdemo/ |
D | BrowserListFragment.java | 132 public void onChildrenLoaded(String parentId, 134 Log.d(TAG, "onChildrenLoaded parentId=" + parentId 145 public void onError(String parentId) { 146 Log.d(TAG, "onError parentId=" + parentId);
|
/frameworks/base/core/java/com/android/internal/app/ |
D | LocaleStore.java | 267 String parentId = parent.toLanguageTag(); in fillCache() local 268 if (!sLocaleCache.containsKey(parentId)) { in fillCache() 269 sLocaleCache.put(parentId, new LocaleInfo(parent)); in fillCache() 340 String parentId = parent == null ? null : parent.getId(); in getLevelLocales() local 347 if (parentId.equals(li.getParent().toLanguageTag())) { in getLevelLocales()
|
/frameworks/base/media/java/android/media/tv/ |
D | TvInputInfo.java | 170 HdmiDeviceInfo hdmiDeviceInfo, String parentId, String label, Uri iconUri) in createTvInputInfo() argument 174 .setParentId(parentId) in createTvInputInfo() 198 HdmiDeviceInfo hdmiDeviceInfo, String parentId, int labelRes, Icon icon) in createTvInputInfo() argument 202 .setParentId(parentId) in createTvInputInfo() 263 HdmiDeviceInfo hdmiDeviceInfo, boolean isConnectedToHdmiSwitch, String parentId, in TvInputInfo() argument 280 mParentId = parentId; in TvInputInfo() 816 public Builder setParentId(String parentId) { in setParentId() argument 817 this.mParentId = parentId; in setParentId()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | BrowseFragment.java | 74 public void onChildrenLoaded(String parentId, List<MediaBrowserCompat.MediaItem> children, 114 public void onChildrenLoaded(String parentId, List<MediaBrowserCompat.MediaItem> children) { 115 Log.d(TAG, "onChildrenLoaded: parentId=" + parentId);
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityWindowInfo.java | 231 public void setParentId(int parentId) { in setParentId() argument 232 mParentId = parentId; in setParentId()
|
/frameworks/base/core/java/android/security/ |
D | IKeystoreService.aidl | 76 int onUserAdded(int userId, int parentId); in onUserAdded() argument
|
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/ |
D | BrowserService.java | 125 public void onLoadChildren(final String parentId, in onLoadChildren() argument
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Call.java | 1396 String parentId = parcelableCall.getParentCallId(); in internalUpdate() local 1397 boolean parentChanged = !Objects.equals(mParentId, parentId); in internalUpdate() 1399 mParentId = parentId; in internalUpdate()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 3349 final int parentId = mSecurityPolicy.getProfileParent(userId); in onCrossProfileWidgetProvidersChanged() local 3353 if (parentId != userId) { in onCrossProfileWidgetProvidersChanged() 3378 userId, parentId); in onCrossProfileWidgetProvidersChanged() local 3483 final int parentId = UserHandle.getCallingUserId(); in isEnabledGroupProfile() local 3484 return isParentOrProfile(parentId, profileId) && isProfileEnabled(profileId); in isEnabledGroupProfile() 3488 final int parentId = getGroupParent(userId); in getEnabledGroupProfileIds() local 3492 return mUserManager.getEnabledProfileIds(parentId); in getEnabledGroupProfileIds() 3586 private boolean isParentOrProfile(int parentId, int profileId) { in isParentOrProfile() argument 3587 if (parentId == profileId) { in isParentOrProfile() 3590 return getProfileParent(profileId) == parentId; in isParentOrProfile() [all …]
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStore.java | 585 public void onUserAdded(int userId, int parentId) { in onUserAdded() argument 587 mBinder.onUserAdded(userId, parentId); in onUserAdded()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 2208 private UserInfo createUserInternal(String name, int flags, int parentId) { in createUserInternal() argument 2213 return createUserInternalUnchecked(name, flags, parentId); in createUserInternal() 2216 private UserInfo createUserInternalUnchecked(String name, int flags, int parentId) { in createUserInternalUnchecked() argument 2231 if (parentId != UserHandle.USER_NULL) { in createUserInternalUnchecked() 2233 parent = getUserDataLU(parentId); in createUserInternalUnchecked() 2237 if (isManagedProfile && !canAddMoreManagedProfiles(parentId, false)) { in createUserInternalUnchecked() 2238 Log.e(LOG_TAG, "Cannot add more managed profiles for user " + parentId); in createUserInternalUnchecked() 2252 && (parentId != UserHandle.USER_SYSTEM)) { in createUserInternalUnchecked() 2264 + "created for the specified parent user id " + parentId); in createUserInternalUnchecked()
|