Home
last modified time | relevance | path

Searched refs:testListener (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/multivalentTests/src/com/android/wm/shell/bubbles/bar/
DBubbleExpandedViewPinControllerTest.kt66 private lateinit var testListener: TestLocationChangeListener in <lambda>() variable in com.android.wm.shell.bubbles.bar.BubbleExpandedViewPinControllerTest
94 testListener = TestLocationChangeListener() in <lambda>()
95 controller.setListener(testListener) in <lambda>()
114 assertThat(testListener.locationChanges).isEmpty() in <lambda>()
115 assertThat(testListener.locationReleases).containsExactly(RIGHT) in <lambda>()
128 assertThat(testListener.locationChanges).isEmpty() in <lambda>()
129 assertThat(testListener.locationReleases).containsExactly(LEFT) in <lambda>()
145 assertThat(testListener.locationChanges).containsExactly(LEFT) in <lambda>()
146 assertThat(testListener.locationReleases).isEmpty() in <lambda>()
162 assertThat(testListener.locationChanges).containsExactly(RIGHT) in <lambda>()
[all …]
/frameworks/base/test-runner/src/android/test/
DAndroidTestRunner.java83 public void addTestListener(TestListener testListener) { in addTestListener() argument
84 if (testListener != null) { in addTestListener()
85 mTestListeners.add(testListener); in addTestListener()
187 for (TestListener testListener : mTestListeners) { in runTest()
188 mTestResult.addListener(testListener); in runTest()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockPatternUtilsTest.java172 IWeakEscrowTokenRemovedListener testListener = createTestAutoEscrowTokenRemovedListener(); in testRegisterWeakEscrowTokenRemovedListener() local
173 mLockPatternUtils.registerWeakEscrowTokenRemovedListener(testListener); in testRegisterWeakEscrowTokenRemovedListener()
174 verify(ils).registerWeakEscrowTokenRemovedListener(eq(testListener)); in testRegisterWeakEscrowTokenRemovedListener()
180 IWeakEscrowTokenRemovedListener testListener = createTestAutoEscrowTokenRemovedListener(); in testUnregisterWeakEscrowTokenRemovedListener() local
181 mLockPatternUtils.unregisterWeakEscrowTokenRemovedListener(testListener); in testUnregisterWeakEscrowTokenRemovedListener()
182 verify(ils).unregisterWeakEscrowTokenRemovedListener(eq(testListener)); in testUnregisterWeakEscrowTokenRemovedListener()
/frameworks/base/core/tests/coretests/src/android/os/
DBinderProxyTest.java91 public void testListener() throws Exception { in testListener() method in BinderProxyTest
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DSystemLocationPowerSaveModeHelperTest.java103 public void testListener() { in testListener() method in SystemLocationPowerSaveModeHelperTest
DSystemAppOpsHelperTest.java93 public void testListener() { in testListener() method in SystemAppOpsHelperTest
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
DSwitchItemTest.java102 public void testListener() { in testListener() method in SwitchItemTest
/frameworks/base/sax/tests/saxtests/src/android/sax/
DSafeSaxTest.java77 public void testListener() throws Exception { in testListener() method in SafeSaxTest
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java2394 ICameraServiceListener.Stub testListener = new ICameraServiceListener.Stub() { in getCameraIdListNoLazy() local
2437 cameraStatuses = mCameraService.addListener(testListener); in getCameraIdListNoLazy()
2438 mCameraService.removeListener(testListener); in getCameraIdListNoLazy()
/frameworks/native/services/inputflinger/tests/
DPointerChoreographer_test.cpp2489 TestInputListener testListener; in TEST_F_WITH_FLAGS() local
2491 TestPointerChoreographer testChoreographer{testListener, mockPolicy, registeredListener, in TEST_F_WITH_FLAGS()