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/
DNotificationGroupAlertTransferHelperTest.java96 NotificationEntry childEntry = mGroupTestHelper.createChildNotification(); in testSuppressedSummaryHeadsUpTransfersToChild() local
100 mGroupManager.onEntryAdded(childEntry); in testSuppressedSummaryHeadsUpTransfersToChild()
104 assertTrue(mHeadsUpManager.isAlerting(childEntry.key)); in testSuppressedSummaryHeadsUpTransfersToChild()
111 NotificationEntry childEntry = in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain() local
118 mGroupManager.onEntryAdded(childEntry); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain()
128 assertFalse(mHeadsUpManager.isAlerting(childEntry.key)); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain()
135 NotificationEntry childEntry = in testSuppressedSummaryHeadsUpDoesntTransferBackOnDozingChanged() local
142 mGroupManager.onEntryAdded(childEntry); in testSuppressedSummaryHeadsUpDoesntTransferBackOnDozingChanged()
160 NotificationEntry childEntry = mGroupTestHelper.createChildNotification(); in testSuppressedSummaryHeadsUpTransferDoesNotAlertChildIfUninflated() local
161 when(childEntry.getRow().isInflationFlagSet(mHeadsUpManager.getContentFlag())) in testSuppressedSummaryHeadsUpTransferDoesNotAlertChildIfUninflated()
[all …]
DNotificationGroupManagerTest.java70 NotificationEntry childEntry = mGroupTestHelper.createChildNotification(); in testIsOnlyChildInGroup() local
74 mGroupManager.onEntryAdded(childEntry); in testIsOnlyChildInGroup()
76 assertTrue(mGroupManager.isOnlyChildInGroup(childEntry.notification)); in testIsOnlyChildInGroup()
81 NotificationEntry childEntry = mGroupTestHelper.createChildNotification(); in testIsChildInGroupWithSummary() local
85 mGroupManager.onEntryAdded(childEntry); in testIsChildInGroupWithSummary()
88 assertTrue(mGroupManager.isChildInGroupWithSummary(childEntry.notification)); in testIsChildInGroupWithSummary()
93 NotificationEntry childEntry = mGroupTestHelper.createChildNotification(); in testIsSummaryOfGroupWithChildren() local
97 mGroupManager.onEntryAdded(childEntry); in testIsSummaryOfGroupWithChildren()
101 assertEquals(summaryEntry, mGroupManager.getGroupSummary(childEntry.notification)); in testIsSummaryOfGroupWithChildren()
106 NotificationEntry childEntry = mGroupTestHelper.createChildNotification(); in testRemoveChildFromGroupWithSummary() local
[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.java363 NotificationEntry childEntry = childEntries.get(i); in handleGroupSummaryRemoved() local
367 getRemoteInputManager().shouldKeepForRemoteInputHistory(childEntry) in handleGroupSummaryRemoved()
368 || getRemoteInputManager().shouldKeepForSmartReplyHistory(childEntry); in handleGroupSummaryRemoved()
374 childEntry.setKeepInParent(true); in handleGroupSummaryRemoved()
377 childEntry.removeRow(); in handleGroupSummaryRemoved()