/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/ |
D | NoteTaskInitializerTest.kt | 40 import com.android.wm.shell.bubbles.Bubbles 61 @Mock lateinit var bubbles: Bubbles variable in com.android.systemui.notetask.NoteTaskInitializerTest 79 bubbles: Bubbles?, in createUnderTest() 84 optionalBubbles = Optional.ofNullable(bubbles), in createUnderTest() 104 createUnderTest(isEnabled = true, bubbles = bubbles).initialize() in createUnderTest() 116 createUnderTest(isEnabled = true, bubbles = bubbles).initialize() in initialize_withUserLocked() 127 val underTest = createUnderTest(isEnabled = false, bubbles = bubbles) in initialize_flagDisabled() 133 bubbles, in initialize_flagDisabled() 143 val underTest = createUnderTest(isEnabled = true, bubbles = null) in initialize_bubblesNotPresent() 149 bubbles, in initialize_bubblesNotPresent() [all …]
|
D | NoteTaskBubblesServiceTest.kt | 27 import com.android.wm.shell.bubbles.Bubbles 42 @Mock private lateinit var bubbles: Bubbles variable in com.android.systemui.notetask.NoteTaskBubblesServiceTest 44 private fun createServiceBinder(bubbles: Bubbles? = this.bubbles) = in createServiceBinder() 45 NoteTaskBubblesService(Optional.ofNullable(bubbles)).onBind(Intent()) in createServiceBinder() 60 assertThat(createServiceBinder(bubbles = null).areBubblesAvailable()).isFalse() in areBubblesAvailable_bubblesNull_shouldReturnFalse() 71 verify(bubbles).showOrHideAppBubble(intent, user, icon) in showOrHideAppBubble()
|
D | FakeNoteTaskBubbleController.kt | 23 import com.android.wm.shell.bubbles.Bubbles in <lambda>() 42 { bubbles -> bubbles.showOrHideAppBubble(intent, userHandle, icon) }, in <lambda>() method
|
D | NoteTaskControllerTest.kt | 68 import com.android.wm.shell.bubbles.Bubble in <lambda>() 69 import com.android.wm.shell.bubbles.Bubbles in <lambda>() 101 @Mock private lateinit var bubbles: Bubbles in <lambda>() variable in com.android.systemui.notetask.NoteTaskControllerTest 147 bubbles: Bubbles? = this.bubbles, in <lambda>() 163 FakeNoteTaskBubbleController(context, testDispatcher, Optional.ofNullable(bubbles)), in <lambda>() 181 verifyZeroInteractions(bubbles, keyguardManager, userManager) in <lambda>() 196 verifyZeroInteractions(bubbles, keyguardManager, userManager) in <lambda>() 210 verifyZeroInteractions(bubbles, keyguardManager, userManager, eventLogger) in <lambda>() 224 verifyZeroInteractions(bubbles, keyguardManager, userManager, eventLogger) in <lambda>() 235 verifyZeroInteractions(bubbles, keyguardManager, userManager, eventLogger) in <lambda>() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/ |
D | BubbleVolatileRepository.kt | 16 package com.android.wm.shell.bubbles.storage in <lambda>() 23 import com.android.wm.shell.bubbles.ShortcutKey in <lambda>() 47 val bubbles: SparseArray<List<BubbleEntity>> in <lambda>() constant in com.android.wm.shell.bubbles.storage.BubbleVolatileRepository 78 fun addBubbles(userId: Int, bubbles: List<BubbleEntity>) { in <lambda>() 79 if (bubbles.isEmpty()) return in <lambda>() 83 val bubblesInRange = bubbles.takeLast(capacity) in <lambda>() 99 fun removeBubbles(@UserIdInt userId: Int, bubbles: List<BubbleEntity>) = in <lambda>() 100 uncache(bubbles.filter { b: BubbleEntity -> in <lambda>() 161 private fun cache(bubbles: List<BubbleEntity>) { in <lambda>() 162 bubbles.groupBy { ShortcutKey(it.userId, it.packageName) }.forEach { (key, bubbles) -> in <lambda>() method [all …]
|
D | BubbleXmlHelper.kt | 16 package com.android.wm.shell.bubbles.storage in <lambda>() 52 fun writeXml(stream: OutputStream, bubbles: SparseArray<List<BubbleEntity>>) { in <lambda>() 58 for (i in 0 until bubbles.size()) { in <lambda>() 59 val k = bubbles.keyAt(i) in <lambda>() 60 val v = bubbles.valueAt(i) in <lambda>() 99 val bubbles = SparseArray<List<BubbleEntity>>() in readXml() constant 104 val version = parser.getAttributeWithName(ATTR_VERSION)?.toInt() ?: return bubbles in readXml() 114 bubbles.put(uid.toInt(), userBubbles.toList()) in readXml() 130 bubbles.put(UserHandle.USER_SYSTEM, userBubbles.toList()) in readXml() 133 return bubbles in readXml()
|
D | BubblePersistentRepository.kt | 16 package com.android.wm.shell.bubbles.storage 31 fun persistsToDisk(bubbles: SparseArray<List<BubbleEntity>>): Boolean { in persistsToDisk() 39 writeXml(stream, bubbles) in persistsToDisk()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubbleDataRepository.kt | 16 package com.android.wm.shell.bubbles in <lambda>() 29 import com.android.wm.shell.bubbles.Bubbles.BubbleMetadataFlagListener in <lambda>() 30 import com.android.wm.shell.bubbles.storage.BubbleEntity in <lambda>() 31 import com.android.wm.shell.bubbles.storage.BubblePersistentRepository in <lambda>() 32 import com.android.wm.shell.bubbles.storage.BubbleVolatileRepository in <lambda>() 69 fun addBubbles(@UserIdInt userId: Int, bubbles: List<Bubble>) { in <lambda>() 71 val entities = transform(bubbles).also { in <lambda>() 79 fun removeBubbles(@UserIdInt userId: Int, bubbles: List<Bubble>) { in <lambda>() 81 val entities = transform(bubbles).also { in <lambda>() 140 private fun transform(bubbles: List<Bubble>): List<BubbleEntity> { in <lambda>() [all …]
|
D | BubbleDebugConfig.java | 17 package com.android.wm.shell.bubbles; 68 static String formatBubblesString(List<Bubble> bubbles, BubbleViewProvider selected) { in formatBubblesString() argument 70 for (int i = 0; i < bubbles.size(); i++) { in formatBubblesString() 71 Bubble bubble = bubbles.get(i); in formatBubblesString() 86 if (i != bubbles.size() - 1) { in formatBubblesString()
|
D | BubbleEducationController.kt | 16 package com.android.wm.shell.bubbles 21 import com.android.wm.shell.bubbles.BubbleDebugConfig.DEBUG_USER_EDUCATION 22 import com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_BUBBLES 23 import com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_WITH_CLASS_NAME
|
D | BubblesNavBarGestureTracker.java | 17 package com.android.wm.shell.bubbles; 19 import static com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_BUBBLES; 20 import static com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_WITH_CLASS_NAME; 33 import com.android.wm.shell.bubbles.BubblesNavBarMotionEventHandler.MotionEventListener;
|
D | IBubbles.aidl | 17 package com.android.wm.shell.bubbles; 21 import com.android.wm.shell.bubbles.IBubblesListener; 22 import com.android.wm.shell.common.bubbles.BubbleBarLocation;
|
D | BubblePopupViewExt.kt | 16 package com.android.wm.shell.bubbles 20 import com.android.wm.shell.common.bubbles.BubblePopupDrawable 21 import com.android.wm.shell.common.bubbles.BubblePopupView
|
D | IBubblesListener.aidl | 17 package com.android.wm.shell.bubbles; 20 import com.android.wm.shell.common.bubbles.BubbleBarLocation;
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/storage/ |
D | BubblePersistentRepositoryTest.kt | 17 package com.android.wm.shell.bubbles.storage 55 private val bubbles = SparseArray<List<BubbleEntity>>() constant in com.android.wm.shell.bubbles.storage.BubblePersistentRepositoryTest 62 bubbles.put(0, user0Bubbles) in setup() 63 bubbles.put(1, user1Bubbles) in setup() 79 repository.persistsToDisk(bubbles) in testReadWriteOperation() 80 assertTrue(bubbles.contentEquals(repository.readFromDisk())) in testReadWriteOperation()
|
D | BubbleXmlHelperTest.kt | 17 package com.android.wm.shell.bubbles.storage 54 private val bubbles = SparseArray<List<BubbleEntity>>() constant in com.android.wm.shell.bubbles.storage.BubbleXmlHelperTest 58 bubbles.put(0, user0Bubbles) in setup() 59 bubbles.put(1, user1Bubbles) in setup() 77 writeXml(it, bubbles) in testWriteXml() 102 assertTrue("failed parsing bubbles from xml\n$src", bubbles.contentEquals(actual)) in testReadXml()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/ |
D | BubbleBarLayerView.java | 17 package com.android.wm.shell.bubbles.bar; 21 import static com.android.wm.shell.bubbles.Bubbles.DISMISS_USER_GESTURE; 38 import com.android.wm.shell.bubbles.Bubble; 39 import com.android.wm.shell.bubbles.BubbleController; 40 import com.android.wm.shell.bubbles.BubbleData; 41 import com.android.wm.shell.bubbles.BubbleOverflow; 42 import com.android.wm.shell.bubbles.BubblePositioner; 43 import com.android.wm.shell.bubbles.BubbleViewProvider; 44 import com.android.wm.shell.bubbles.DeviceConfig; 45 import com.android.wm.shell.bubbles.DismissViewUtils; [all …]
|
D | BubbleEducationViewController.kt | 16 package com.android.wm.shell.bubbles.bar 31 import com.android.wm.shell.bubbles.BubbleDebugConfig.DEBUG_USER_EDUCATION 32 import com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_BUBBLES 33 import com.android.wm.shell.bubbles.BubbleDebugConfig.TAG_WITH_CLASS_NAME 34 import com.android.wm.shell.bubbles.BubbleEducationController 35 import com.android.wm.shell.bubbles.BubbleViewProvider 36 import com.android.wm.shell.bubbles.setup 37 import com.android.wm.shell.common.bubbles.BubblePopupDrawable 38 import com.android.wm.shell.common.bubbles.BubblePopupView
|
D | BubbleExpandedViewPinController.kt | 17 package com.android.wm.shell.bubbles.bar in <lambda>() 27 import com.android.wm.shell.bubbles.BubblePositioner in <lambda>() 28 import com.android.wm.shell.common.bubbles.BaseBubblePinController in <lambda>() 29 import com.android.wm.shell.common.bubbles.BubbleBarLocation in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/bubbles/ |
D | BubbleBarLocationTest.kt | 16 package com.android.wm.shell.common.bubbles 21 import com.android.wm.shell.common.bubbles.BubbleBarLocation.DEFAULT 22 import com.android.wm.shell.common.bubbles.BubbleBarLocation.LEFT 23 import com.android.wm.shell.common.bubbles.BubbleBarLocation.RIGHT
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/wm/shell/bubbles/ |
D | BubblesKosmos.kt | 17 package com.android.wm.shell.bubbles 23 var Kosmos.bubblesOptional by Kosmos.Fixture { Optional.of(bubbles) } in <lambda>() 24 var Kosmos.bubbles by Kosmos.Fixture { mock<Bubbles> {} } in <lambda>() variable
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/ |
D | TestableBubbleController.java | 29 import com.android.wm.shell.bubbles.BubbleController; 30 import com.android.wm.shell.bubbles.BubbleData; 31 import com.android.wm.shell.bubbles.BubbleDataRepository; 32 import com.android.wm.shell.bubbles.BubbleLogger; 33 import com.android.wm.shell.bubbles.BubblePositioner; 34 import com.android.wm.shell.bubbles.properties.BubbleProperties;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/domain/interactor/ |
D | NotificationIconsInteractorTest.kt | 46 import com.android.wm.shell.bubbles.Bubbles 59 private val bubbles: Bubbles = mock() constant in com.android.systemui.statusbar.notification.icon.domain.interactor.NotificationIconsInteractorTest 76 .create(test = this, mocks = TestMocksModule(bubbles = Optional.of(bubbles))) in create() 98 whenever(bubbles.isBubbleExpanded(eq("notif1"))).thenReturn(true) in filteredEntrySet_noExpandedBubbles() 158 private val bubbles: Bubbles = mock() constant in com.android.systemui.statusbar.notification.icon.domain.interactor.AlwaysOnDisplayNotificationIconsInteractorTest 183 .create(test = this, mocks = TestMocksModule(bubbles = Optional.of(bubbles))) in create() 198 whenever(bubbles.isBubbleExpanded(eq("notif1"))).thenReturn(true) in filteredEntrySet_noExpandedBubbles() 270 private val bubbles: Bubbles = mock() constant in com.android.systemui.statusbar.notification.icon.domain.interactor.StatusBarNotificationIconsInteractorTest 289 .create(test = this, mocks = TestMocksModule(bubbles = Optional.of(bubbles))) in create() 304 whenever(bubbles.isBubbleExpanded(eq("notif1"))).thenReturn(true) in filteredEntrySet_noExpandedBubbles()
|
/frameworks/base/libs/WindowManager/Shell/aconfig/ |
D | multitasking.aconfig | 45 description: "Enables new animations for expand and collapse for bubbles" 73 description: "Hides the bubble overflow if there aren't any overflowed bubbles" 80 description: "Allow opening bubbles overflow UI without bubbles being visible" 108 description: "Allow reusing bubbled tasks for new activities only when launching from bubbles"
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
D | VisualInterruptionDecisionProviderTestUtil.kt | 35 import com.android.wm.shell.bubbles.Bubbles 60 bubbles: Optional<Bubbles>, in createProviderByFlag() 82 bubbles in createProviderByFlag() 103 bubbles in createProviderByFlag()
|