Home
last modified time | relevance | path

Searched refs:childEntry (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationGroupManagerTest.java72 NotificationEntry childEntry = mGroupTestHelper.createChildNotification(); in testIsOnlyChildInGroup() local
76 mGroupManager.onEntryAdded(childEntry); in testIsOnlyChildInGroup()
78 assertTrue(mGroupManager.isOnlyChildInGroup(childEntry.notification)); in testIsOnlyChildInGroup()
83 NotificationEntry childEntry = mGroupTestHelper.createChildNotification(); in testIsChildInGroupWithSummary() local
87 mGroupManager.onEntryAdded(childEntry); in testIsChildInGroupWithSummary()
90 assertTrue(mGroupManager.isChildInGroupWithSummary(childEntry.notification)); in testIsChildInGroupWithSummary()
95 NotificationEntry childEntry = mGroupTestHelper.createChildNotification(); in testIsSummaryOfGroupWithChildren() local
99 mGroupManager.onEntryAdded(childEntry); in testIsSummaryOfGroupWithChildren()
103 assertEquals(summaryEntry, mGroupManager.getGroupSummary(childEntry.notification)); in testIsSummaryOfGroupWithChildren()
108 NotificationEntry childEntry = mGroupTestHelper.createChildNotification(); in testRemoveChildFromGroupWithSummary() local
[all …]
DNotificationGroupAlertTransferHelperTest.java99 NotificationEntry childEntry = mGroupTestHelper.createChildNotification(); in testSuppressedSummaryHeadsUpTransfersToChild() local
103 mGroupManager.onEntryAdded(childEntry); in testSuppressedSummaryHeadsUpTransfersToChild()
107 assertTrue(mHeadsUpManager.isAlerting(childEntry.key)); in testSuppressedSummaryHeadsUpTransfersToChild()
114 NotificationEntry childEntry = in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain() local
121 mGroupManager.onEntryAdded(childEntry); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain()
131 assertFalse(mHeadsUpManager.isAlerting(childEntry.key)); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain()
138 NotificationEntry childEntry = in testSuppressedSummaryHeadsUpDoesntTransferBackOnDozingChanged() local
145 mGroupManager.onEntryAdded(childEntry); in testSuppressedSummaryHeadsUpDoesntTransferBackOnDozingChanged()
163 NotificationEntry childEntry = mGroupTestHelper.createChildNotification(); in testSuppressedSummaryHeadsUpTransferDoesNotAlertChildIfUninflated() local
164 when(childEntry.getRow().isInflationFlagSet(mHeadsUpManager.getContentFlag())) in testSuppressedSummaryHeadsUpTransferDoesNotAlertChildIfUninflated()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/
DRestrictionsManagerTest.java55 for (RestrictionEntry childEntry : entry.getRestrictions()) { in testGetManifestRestrictions()
56 if ("bundle_array_bundle_key".equals(childEntry.getKey())) { in testGetManifestRestrictions()
57 assertNotNull(childEntry.getRestrictions()); in testGetManifestRestrictions()
59 1, childEntry.getRestrictions().length); in testGetManifestRestrictions()
60 verifiedKeys.remove(childEntry.getKey()); in testGetManifestRestrictions()
/frameworks/base/core/java/android/content/
DRestrictionsManager.java659 RestrictionEntry childEntry = loadRestrictionElement(appContext, xml); in loadRestriction() local
660 if (childEntry == null) { in loadRestriction()
663 restrictionEntries.add(childEntry); in loadRestriction()
665 && childEntry.getType() != RestrictionEntry.TYPE_BUNDLE) { in loadRestriction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationEntryManager.java358 NotificationEntry childEntry = childEntries.get(i); in handleGroupSummaryRemoved() local
362 getRemoteInputManager().shouldKeepForRemoteInputHistory(childEntry) in handleGroupSummaryRemoved()
363 || getRemoteInputManager().shouldKeepForSmartReplyHistory(childEntry); in handleGroupSummaryRemoved()
369 childEntry.setKeepInParent(true); in handleGroupSummaryRemoved()
372 childEntry.removeRow(); in handleGroupSummaryRemoved()