Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
DVolumeDialogImplTest.java68 AccessibilityManagerWrapper mAccessibilityMgr; field in VolumeDialogImplTest
75 mAccessibilityMgr = mDependency.injectMockDependency(AccessibilityManagerWrapper.class); in setup()
113 Mockito.reset(mAccessibilityMgr); in testComputeTimeout()
115 verify(mAccessibilityMgr).getRecommendedTimeoutMillis( in testComputeTimeout()
122 Mockito.reset(mAccessibilityMgr); in testComputeTimeout_tooltip()
124 verify(mAccessibilityMgr).getRecommendedTimeoutMillis( in testComputeTimeout_tooltip()
133 Mockito.reset(mAccessibilityMgr); in testComputeTimeout_withHovering()
141 verify(mAccessibilityMgr).getRecommendedTimeoutMillis( in testComputeTimeout_withHovering()
148 Mockito.reset(mAccessibilityMgr); in testComputeTimeout_withSafetyWarningOn()
154 verify(mAccessibilityMgr).getRecommendedTimeoutMillis( in testComputeTimeout_withSafetyWarningOn()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DHeadsUpManagerTest.java45 private AccessibilityManagerWrapper mAccessibilityMgr; field in HeadsUpManagerTest
63 mAccessibilityMgr = mDependency.injectMockDependency(AccessibilityManagerWrapper.class); in setUp()
72 doReturn(TEST_A11Y_AUTO_DISMISS_TIME).when(mAccessibilityMgr) in testShowNotification_autoDismissesWithAccessibilityTimeout()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DHeadsUpManagerPhoneTest.java75 AccessibilityManagerWrapper mAccessibilityMgr = in setUp() local
77 when(mAccessibilityMgr.getRecommendedTimeoutMillis(anyInt(), anyInt())) in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHeadsUpManager.java60 private final AccessibilityManagerWrapper mAccessibilityMgr; field in HeadsUpManager
64 mAccessibilityMgr = Dependency.get(AccessibilityManagerWrapper.class); in HeadsUpManager()
427 return mAccessibilityMgr.getRecommendedTimeoutMillis( in getRecommendedTimeoutMillis()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogImpl.java147 private final AccessibilityManagerWrapper mAccessibilityMgr; field in VolumeDialogImpl
173 mAccessibilityMgr = Dependency.get(AccessibilityManagerWrapper.class); in VolumeDialogImpl()
714 return mAccessibilityMgr.getRecommendedTimeoutMillis(DIALOG_HOVERING_TIMEOUT_MILLIS, in computeTimeoutH()
718 return mAccessibilityMgr.getRecommendedTimeoutMillis( in computeTimeoutH()
724 return mAccessibilityMgr.getRecommendedTimeoutMillis( in computeTimeoutH()
729 return mAccessibilityMgr.getRecommendedTimeoutMillis(DIALOG_TIMEOUT_MILLIS, in computeTimeoutH()