Home
last modified time | relevance | path

Searched refs:parentId (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/media/java/android/media/browse/
DMediaBrowser.java360 public void subscribe(@NonNull String parentId, @NonNull SubscriptionCallback callback) { in subscribe() argument
361 subscribeInternal(parentId, null, callback); in subscribe()
386 public void subscribe(@NonNull String parentId, @NonNull Bundle options, in subscribe() argument
391 subscribeInternal(parentId, new Bundle(options), callback); in subscribe()
404 public void unsubscribe(@NonNull String parentId) { in unsubscribe() argument
405 unsubscribeInternal(parentId, null); in unsubscribe()
419 public void unsubscribe(@NonNull String parentId, @NonNull SubscriptionCallback callback) { in unsubscribe() argument
423 unsubscribeInternal(parentId, callback); in unsubscribe()
483 private void subscribeInternal(String parentId, Bundle options, SubscriptionCallback callback) { in subscribeInternal() argument
485 if (TextUtils.isEmpty(parentId)) { in subscribeInternal()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DContentCaptureSessionTest.java59 final AutofillId parentId = new AutofillId(42); in testNewAutofillId_valid() local
60 final AutofillId childId = mSession1.newAutofillId(parentId, 108L); in testNewAutofillId_valid()
70 final AutofillId parentId = new AutofillId(42); in testNewAutofillId_differentSessions() local
71 final AutofillId childId1 = mSession1.newAutofillId(parentId, 108L); in testNewAutofillId_differentSessions()
72 final AutofillId childId2 = mSession2.newAutofillId(parentId, 108L); in testNewAutofillId_differentSessions()
95 final AutofillId parentId = new AutofillId(42); in testNewVirtualViewStructure() local
96 final ViewStructure structure = mSession1.newVirtualViewStructure(parentId, 108L); in testNewVirtualViewStructure()
98 final AutofillId childId = mSession1.newAutofillId(parentId, 108L); in testNewVirtualViewStructure()
/frameworks/base/media/java/android/service/media/
DMediaBrowserService.java412 public abstract void onLoadChildren(@NonNull String parentId, in onLoadChildren() argument
438 public void onLoadChildren(@NonNull String parentId, in onLoadChildren() argument
444 onLoadChildren(parentId, result); in onLoadChildren()
556 public void notifyChildrenChanged(@NonNull String parentId) { in notifyChildrenChanged() argument
557 notifyChildrenChangedInternal(parentId, null); in notifyChildrenChanged()
571 public void notifyChildrenChanged(@NonNull String parentId, @NonNull Bundle options) { in notifyChildrenChanged() argument
575 notifyChildrenChangedInternal(parentId, options); in notifyChildrenChanged()
578 private void notifyChildrenChangedInternal(final String parentId, final Bundle options) { in notifyChildrenChangedInternal() argument
579 if (parentId == null) { in notifyChildrenChangedInternal()
588 connection.subscriptions.get(parentId); in notifyChildrenChangedInternal()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DResumeMediaBrowser.java87 public void onChildrenLoaded(String parentId,
107 public void onError(String parentId) {
108 Log.d(TAG, "Subscribe error for " + mComponentName + ": " + parentId);
114 public void onError(String parentId, Bundle options) {
115 Log.d(TAG, "Subscribe error for " + mComponentName + ": " + parentId
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/
DPeopleHubNotificationListener.kt141 val parentId = userManager.getProfileParent(userId)?.id ?: userId in extractPersonKey() constant
144 if (peopleHubManagerForUser[parentId]?.migrateActivePerson(key) == true) { in extractPersonKey()
148 peopleHubManagerForUser[parentId]?.removeActivePerson(key) in extractPersonKey()
159 val parentId = userManager.getProfileParent(userId)?.id ?: userId in extractPersonKey() constant
161 val manager = peopleHubManagerForUser[parentId] in extractPersonKey()
162 ?: PeopleHubManager().also { peopleHubManagerForUser.put(parentId, it) } in extractPersonKey()
/frameworks/opt/localepicker/src/com/android/localepicker/
DLocaleStore.java295 String parentId = parent.toLanguageTag(); in fillCache() local
296 if (!sLocaleCache.containsKey(parentId)) { in fillCache()
297 sLocaleCache.put(parentId, new LocaleInfo(parent)); in fillCache()
352 String parentId = parent == null ? null : parent.getId(); in getLevelLocales() local
359 if (parentId.equals(li.getParent().toLanguageTag())) { in getLevelLocales()
/frameworks/base/core/java/com/android/internal/app/
DLocaleStore.java296 String parentId = parent.toLanguageTag(); in fillCache() local
297 if (!sLocaleCache.containsKey(parentId)) { in fillCache()
298 sLocaleCache.put(parentId, new LocaleInfo(parent)); in fillCache()
354 String parentId = parent == null ? null : parent.getId(); in getLevelLocales() local
361 if (parentId.equals(li.getParent().toLanguageTag())) { in getLevelLocales()
/frameworks/base/media/java/android/media/tv/
DTvInputInfo.java174 HdmiDeviceInfo hdmiDeviceInfo, String parentId, String label, Uri iconUri) in createTvInputInfo() argument
178 .setParentId(parentId) in createTvInputInfo()
202 HdmiDeviceInfo hdmiDeviceInfo, String parentId, int labelRes, Icon icon) in createTvInputInfo() argument
206 .setParentId(parentId) in createTvInputInfo()
268 @HdmiAddressRelativePosition int hdmiConnectionRelativePosition, String parentId, in TvInputInfo() argument
285 mParentId = parentId; in TvInputInfo()
836 public Builder setParentId(String parentId) { in setParentId() argument
837 this.mParentId = parentId; in setParentId()
/frameworks/native/services/surfaceflinger/
DSurfaceInterceptor.h165 void addReparentLocked(Transaction* transaction, int32_t layerId, int32_t parentId);
166 void addReparentChildrenLocked(Transaction* transaction, int32_t layerId, int32_t parentId);
168 void addRelativeParentLocked(Transaction* transaction, int32_t layerId, int32_t parentId,
DSurfaceInterceptor.cpp356 int32_t parentId) { in addReparentLocked() argument
359 overrideChange->set_parent_id(parentId); in addReparentLocked()
363 int32_t parentId) { in addReparentChildrenLocked() argument
366 overrideChange->set_parent_id(parentId); in addReparentChildrenLocked()
377 int32_t parentId, int z) { in addRelativeParentLocked() argument
380 overrideChange->set_relative_parent_id(parentId); in addRelativeParentLocked()
/frameworks/base/core/java/android/view/autofill/
DAutofillId.java67 private AutofillId(int flags, int parentId, long virtualChildId, int sessionId) { in AutofillId() argument
69 mViewId = parentId; in AutofillId()
/frameworks/base/core/java/android/view/contentcapture/
DViewNode.java655 public ViewStructureImpl(@NonNull AutofillId parentId, long virtualId, int sessionId) { in ViewStructureImpl() argument
656 mNode.mParentAutofillId = Preconditions.checkNotNull(parentId); in ViewStructureImpl()
657 mNode.mAutofillId = new AutofillId(parentId, virtualId, sessionId); in ViewStructureImpl()
905 public void setAutofillId(AutofillId parentId, int virtualId) { in setAutofillId() argument
906 mNode.mParentAutofillId = Preconditions.checkNotNull(parentId); in setAutofillId()
907 mNode.mAutofillId = new AutofillId(parentId, virtualId); in setAutofillId()
DContentCaptureSession.java558 public final ViewStructure newVirtualViewStructure(@NonNull AutofillId parentId, in newVirtualViewStructure() argument
560 return new ViewNode.ViewStructureImpl(parentId, virtualId, mId); in newVirtualViewStructure()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java650 int parentId = findInMedia(newParentObj, path.getParent()); in endMoveObject() local
651 if (parentId != -1) { in endMoveObject()
652 values.put(Files.FileColumns.PARENT, parentId); in endMoveObject()
663 int parentId = -1; in endMoveObject() local
665 parentId = findInMedia(oldParentObj, oldPath.getParent()); in endMoveObject()
667 if (oldParentObj.isRoot() || parentId != -1) { in endMoveObject()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DAppCompatActionBar.java76 int parentId = context.getResourceId(parentResource, 0); in AppCompatActionBar() local
77 View parentView = getDecorContent().findViewById(parentId); in AppCompatActionBar()
/frameworks/base/core/java/android/view/
DViewStructure.java341 public abstract void setAutofillId(@NonNull AutofillId parentId, int virtualId); in setAutofillId() argument
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityCacheTest.java504 long parentId = parentNodeInfo.getSourceNodeId(); in reparentNode_clearsOldParent() local
511 AccessibilityNodeInfo parentFromCache = mAccessibilityCache.getNode(WINDOW_ID_1, parentId); in reparentNode_clearsOldParent()
869 long parentId = parentNodeInfo.getSourceNodeId(); in assertEventClearsParentAndChild() local
878 AccessibilityNodeInfo parentFromCache = mAccessibilityCache.getNode(WINDOW_ID_1, parentId); in assertEventClearsParentAndChild()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityWindowInfo.java285 public void setParentId(int parentId) { in setParentId() argument
286 mParentId = parentId; in setParentId()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3578 final int parentId = mSecurityPolicy.getProfileParent(userId); in onCrossProfileWidgetProvidersChanged() local
3582 if (parentId != userId) { in onCrossProfileWidgetProvidersChanged()
3607 userId, parentId); in onCrossProfileWidgetProvidersChanged() local
3762 final int parentId = UserHandle.getCallingUserId(); in isEnabledGroupProfile() local
3763 return isParentOrProfile(parentId, profileId) && isProfileEnabled(profileId); in isEnabledGroupProfile()
3767 final int parentId = getGroupParent(userId); in getEnabledGroupProfileIds() local
3771 return mUserManager.getEnabledProfileIds(parentId); in getEnabledGroupProfileIds()
3894 private boolean isParentOrProfile(int parentId, int profileId) { in isParentOrProfile() argument
3895 if (parentId == profileId) { in isParentOrProfile()
3898 return getProfileParent(profileId) == parentId; in isParentOrProfile()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java3280 @UserInfoFlag int flags, @UserIdInt int parentId, in createUserInternal() argument
3288 return createUserInternalUnchecked(name, userType, flags, parentId, in createUserInternal()
3293 @NonNull String userType, @UserInfoFlag int flags, @UserIdInt int parentId, in createUserInternalUnchecked() argument
3302 newUser = createUserInternalUncheckedNoTracing(name, userType, flags, parentId, in createUserInternalUnchecked()
3333 @NonNull String userType, @UserInfoFlag int flags, @UserIdInt int parentId, in createUserInternalUncheckedNoTracing() argument
3360 if (!preCreate && parentId < 0 && isUserTypeEligibleForPreCreation(userTypeDetails)) { in createUserInternalUncheckedNoTracing()
3386 if (parentId != UserHandle.USER_NULL) { in createUserInternalUncheckedNoTracing()
3388 parent = getUserDataLU(parentId); in createUserInternalUncheckedNoTracing()
3392 "Cannot find user data for parent user " + parentId, in createUserInternalUncheckedNoTracing()
3402 if (isProfile && !canAddMoreProfilesToUser(userType, parentId, false)) { in createUserInternalUncheckedNoTracing()
[all …]
DStagingManager.java960 int parentId = stagedSession.getParentSessionId(); in checkNonOverlappingWithStagedSessions() local
961 PackageInstallerSession parentSession = mStagedSessions.get(parentId); in checkNonOverlappingWithStagedSessions()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityWindowManager.java673 final int parentId = findWindowIdLocked(userId, window.parentToken); in populateReportedWindowLocked() local
674 if (parentId >= 0) { in populateReportedWindowLocked()
675 reportedWindow.setParentId(parentId); in populateReportedWindowLocked()
/frameworks/base/telecomm/java/android/telecom/
DCall.java2344 String parentId = parcelableCall.getParentCallId(); in internalUpdate() local
2345 boolean parentChanged = !Objects.equals(mParentId, parentId); in internalUpdate()
2347 mParentId = parentId; in internalUpdate()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java332 String parentId = info.getParentId(); in addHdmiInput() local
333 int parentIndex = indexOfEqualValue(mHardwareInputIdMap, parentId); in addHdmiInput()
/frameworks/base/keystore/java/android/security/
DKeyStore.java1034 public void onUserAdded(int userId, int parentId) { in onUserAdded() argument
1036 mBinder.onUserAdded(userId, parentId); in onUserAdded()

12