/frameworks/base/media/java/android/media/browse/ |
D | MediaBrowser.java | 305 public void subscribe(@NonNull String parentId, @NonNull SubscriptionCallback callback) { in subscribe() argument 307 if (parentId == null) { in subscribe() 315 Subscription sub = mSubscriptions.get(parentId); in subscribe() 318 sub = new Subscription(parentId); in subscribe() 319 mSubscriptions.put(parentId, sub); in subscribe() 327 mServiceBinder.addSubscription(parentId, mServiceCallbacks); in subscribe() 331 Log.d(TAG, "addSubscription failed with RemoteException parentId=" + parentId); in subscribe() 346 public void unsubscribe(@NonNull String parentId) { in unsubscribe() argument 348 if (parentId == null) { in unsubscribe() 353 final Subscription sub = mSubscriptions.remove(parentId); in unsubscribe() [all …]
|
/frameworks/base/media/java/android/service/media/ |
D | MediaBrowserService.java | 318 public abstract void onLoadChildren(@NonNull String parentId, in onLoadChildren() argument 368 public void notifyChildrenChanged(@NonNull final String parentId) { in notifyChildrenChanged() argument 369 if (parentId == null) { in notifyChildrenChanged() 377 if (connection.subscriptions.contains(parentId)) { in notifyChildrenChanged() 378 performLoadChildren(parentId, connection); in notifyChildrenChanged() 421 private void performLoadChildren(final String parentId, final ConnectionRecord connection) { in performLoadChildren() argument 423 = new Result<List<MediaBrowser.MediaItem>>(parentId) { in performLoadChildren() 428 + parentId); in performLoadChildren() 433 + " been disconnected. pkg=" + connection.pkg + " id=" + parentId); in performLoadChildren() 440 connection.callbacks.onLoadChildren(parentId, pls); in performLoadChildren() [all …]
|
/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/media/java/android/media/tv/ |
D | TvInputInfo.java | 175 HdmiDeviceInfo hdmiDeviceInfo, String parentId, String label, Uri iconUri) in createTvInputInfo() argument 180 hdmiDeviceInfo), parentId, TYPE_HDMI, label, iconUri, isConnectedToHdmiSwitch); in createTvInputInfo() 209 String id, String parentId, int inputType, String label, Uri iconUri, in createTvInputInfo() argument 236 TvInputInfo input = new TvInputInfo(service, id, parentId, inputType); in createTvInputInfo() 276 private TvInputInfo(ResolveInfo service, String id, String parentId, int type) { in TvInputInfo() argument 279 mParentId = parentId; in TvInputInfo()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Call.java | 845 String parentId = parcelableCall.getParentCallId(); in internalUpdate() local 846 boolean parentChanged = !Objects.equals(mParentId, parentId); in internalUpdate() 848 mParentId = parentId; in internalUpdate()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityWindowInfo.java | 175 public void setParentId(int parentId) { in setParentId() argument 176 mParentId = parentId; in setParentId()
|
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/ |
D | BrowserService.java | 125 public void onLoadChildren(final String parentId, in onLoadChildren() argument
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 2920 final int parentId = mSecurityPolicy.getProfileParent(userId); in onCrossProfileWidgetProvidersChanged() local 2924 if (parentId != userId) { in onCrossProfileWidgetProvidersChanged() 3004 final int parentId = UserHandle.getCallingUserId(); in isEnabledGroupProfile() local 3005 return isParentOrProfile(parentId, profileId) && isProfileEnabled(profileId); in isEnabledGroupProfile() 3009 final int parentId = getGroupParent(userId); in getEnabledGroupProfileIds() local 3014 profiles = mUserManager.getProfiles(parentId); in getEnabledGroupProfileIds() 3128 private boolean isParentOrProfile(int parentId, int profileId) { in isParentOrProfile() argument 3129 if (parentId == profileId) { in isParentOrProfile() 3132 return getProfileParent(profileId) == parentId; in isParentOrProfile() 3141 final int parentId = getProfileParent(profileId); in isProviderInCallerOrInProfileAndWhitelListed() local [all …]
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputHardwareManager.java | 340 String parentId = info.getParentId(); in addHdmiTvInput() local 341 int parentIndex = indexOfEqualValue(mHardwareInputIdMap, parentId); in addHdmiTvInput()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 1149 private UserInfo createUserInternal(String name, int flags, int parentId) { in createUserInternal() argument 1162 if (parentId != UserHandle.USER_NULL) { in createUserInternal() 1163 parent = getUserInfoLocked(parentId); in createUserInternal()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 3087 final int parentId = findWindowIdLocked(window.parentToken); in populateReportedWindow() local 3088 if (parentId >= 0) { in populateReportedWindow() 3089 reportedWindow.setParentId(parentId); in populateReportedWindow()
|