Home
last modified time | relevance | path

Searched refs:setPkg (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescerTest.java99 .setPkg(TEST_PACKAGE_A)); in testUngroupedNotificationsAreNotCoalesced()
115 .setPkg(TEST_PACKAGE_A) in testGroupedNotificationsAreCoalesced()
133 .setPkg(TEST_PACKAGE_A) in testCoalescedNotificationsStillPassThroughRankingUpdate()
144 .setPkg(TEST_PACKAGE_A) in testCoalescedNotificationsArePosted()
151 .setPkg(TEST_PACKAGE_A) in testCoalescedNotificationsArePosted()
159 .setPkg(TEST_PACKAGE_A) in testCoalescedNotificationsArePosted()
183 .setPkg(TEST_PACKAGE_A) in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater()
188 .setPkg(TEST_PACKAGE_A) in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater()
192 .setPkg(TEST_PACKAGE_A) in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater()
203 .setPkg(TEST_PACKAGE_A) in testCoalescedEventsThatAreLaterUngroupedAreEmittedImmediatelyAndNotLater()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotifInflationErrorManagerTest.kt44 private val foo: NotificationEntry = NotificationEntryBuilder().setPkg("foo").build()
45 private val bar: NotificationEntry = NotificationEntryBuilder().setPkg("bar").build()
46 private val baz: NotificationEntry = NotificationEntryBuilder().setPkg("baz").build()
DNotificationTestHelper.java484 .setPkg(PKG) in createBubble()
611 .setPkg(pkg) in generateRow()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DSmartspaceDedupingCoordinatorTest.kt122 .setPkg(PACKAGE_1) in setUp()
127 .setPkg(PACKAGE_2) in setUp()
131 .setPkg("com.test.package.3") in setUp()
136 .setPkg(PACKAGE_2) in setUp()
270 .setPkg(PACKAGE_2) in testReplacementIsCanceled()
DDataStoreCoordinatorTest.kt108 NotificationEntryBuilder().setPkg(pkg).setId(id).setSection(section).build() in notificationEntry()
DHeadsUpCoordinatorTest.kt330 .setPkg("test-package2") in <lambda>()
342 .setPkg("test-package") in <lambda>()
355 .setPkg("test-package") in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DNotificationHelperTest.java115 .setPkg(PACKAGE_NAME)
122 .setPkg(PACKAGE_NAME)
130 .setPkg(PACKAGE_NAME)
137 .setPkg(PACKAGE_NAME)
DPeopleSpaceUtilsTest.java164 .setPkg(PACKAGE_NAME)
170 .setPkg(PACKAGE_NAME)
176 .setPkg(PACKAGE_NAME)
282 .setPkg(PACKAGE_NAME) in testAugmentTileFromNotificationGroupWithSender()
315 .setPkg(PACKAGE_NAME) in testAugmentTileFromNotificationGroupWithImageUri()
348 .setPkg(PACKAGE_NAME) in testAugmentTileFromNotificationGroupWithAudioUri()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntryTest.java89 .setPkg(TEST_PACKAGE_NAME) in setup()
296 .setPkg(TEST_PACKAGE_NAME) in testIsNotificationVisibilityPrivate_visibilityPublic_false()
362 .setPkg("pkg") in notificationDataEntry_testIsLastMessageFromReply()
394 .setPkg("pkg") in notificationDataEntry_testIsLastMessageFromReply_invalidPerson_noCrash()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntryBuilder.java175 public NotificationEntryBuilder setPkg(String pkg) { in setPkg() method in NotificationEntryBuilder
176 mSbnBuilder.setPkg(pkg); in setPkg()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerSettingsTests.java186 ps1.setPkg(((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME_1).hideAsParsed()) in testApplicationInfoForUseSdkOptionalEnabled()
223 ps2.setPkg(((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME_2).hideAsParsed()) in testApplicationInfoForUseSdkOptionalEnabled()
255 ps1.setPkg(((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME_1).hideAsParsed()) in testApplicationInfoForUseSdkOptionalDisabled()
866 ps1.setPkg(((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME_1).hideAsParsed()) in testWriteReadUsesStaticLibraries()
872 ps2.setPkg(((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME_2).hideAsParsed()) in testWriteReadUsesStaticLibraries()
931 ps1.setPkg(((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME_1).hideAsParsed()) in testWriteReadUsesSdkLibraries()
937 ps2.setPkg(((ParsedPackage) PackageImpl.forTesting(PACKAGE_NAME_2).hideAsParsed()) in testWriteReadUsesSdkLibraries()
1015 packageSetting.setPkg(PackageImpl.forTesting(PACKAGE_NAME_1).hideAsParsed() in testWriteReadPendingRestore()
1034 packageSetting.setPkg(PackageImpl.forTesting(PACKAGE_NAME_1).hideAsParsed() in testWriteReadArchiveState()
1071 packageSetting.setPkg(PackageImpl.forTesting(PACKAGE_NAME_1).hideAsParsed() in testWriteReadAppMetadataSource()
[all …]
/frameworks/base/core/java/android/service/notification/
DConversationChannelWrapper.java117 public void setPkg(String pkg) { in setPkg() method in ConversationChannelWrapper
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationGroupTestHelper.java98 .setPkg(TEST_PACKAGE_NAME) in createEntry()
DStatusBarNotificationPresenterTest.java360 .setPkg("a") in createNotificationEntry()
373 .setPkg("a") in createFsiNotificationEntry()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/
DSbnBuilder.java95 public SbnBuilder setPkg(String pkg) { in setPkg() method in SbnBuilder
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageSettingBuilder.java171 .setPkg(mPkg) in build()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessorTest.kt261 setPkg(PACKAGE_NAME) in setup()
270 setPkg(SYSTEM_PACKAGE_NAME) in setup()
524 setPkg(SYSTEM_PACKAGE_NAME) in testLoadMediaDataInBg_invalidTokenNoCrash()
546 setPkg(SYSTEM_PACKAGE_NAME) in testLoadMediaDataInBg_invalidMediaRemoteIntentNoCrash()
651 setPkg(PACKAGE_NAME) in testOnNotificationAdded_emptyMetadata_usesNotificationTitle()
1215 setPkg(PACKAGE_NAME) in testBadArtwork_doesNotUse()
1600 setPkg(PACKAGE_NAME) in testTooManyCompactActions_isTruncated()
1638 setPkg(PACKAGE_NAME) in testTooManyNotificationActions_isTruncated()
1676 setPkg(PACKAGE_NAME) in testPlaybackActions_noState_usesNotification()
2032 setPkg(PACKAGE_NAME) in testNoClearNotOngoing_canDismiss()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/collection/render/
DGroupExpansionManagerTest.kt83 NotificationEntryBuilder().setPkg(pkg).setId(id).build().apply { row = mock() } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationRemoteInputManagerTest.java94 .setPkg(TEST_PACKAGE_NAME) in setUp()
DRemoteInputNotificationRebuilderTest.java64 .setPkg(TEST_PACKAGE_NAME) in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
DNotificationLoggerTest.java145 .setPkg(TEST_PACKAGE_NAME) in setUp()
284 .setPkg(TEST_PACKAGE_NAME) in testLogPanelShownHandlesNullInstanceIds()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DVisualStabilityCoordinatorTest.java147 .setPkg("testPkg1") in setUp()
294 .setPkg("testPkg2") in testOverrideReorderingSuppression_onlySectionChangesAllowed()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/
DIconManagerTest.kt261 .setPkg(TEST_PACKAGE_NAME) in notificationEntry()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java449 .setPkg(TEST_PACKAGE_A) in testDoNotUpdateAppWidgetIfNoShortcutInfo()
552 .setPkg(TEST_PACKAGE_B) in testDoNotUpdateNotificationPostedIfDifferentPackageName()
589 .setPkg(TEST_PACKAGE_B) in testDoNotUpdateNotificationRemovedIfDifferentPackageName()
838 .setPkg(TEST_PACKAGE_A) in testUpdateMissedCallNotificationWithContentPostedIfMatchingUriTileFromSender()
883 .setPkg(TEST_PACKAGE_A) in testDoNotUpdateMissedCallNotificationWithContentPostedIfNoPersonsAttached()
1725 .setPkg(TEST_PACKAGE_A) in createNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImplTest.java231 .setPkg("a") in testShouldNotHeadsUp_suppressedForGroups()
1066 .setPkg("a") in createBubble()
1087 .setPkg("a") in createNotification()

12