Home
last modified time | relevance | path

Searched refs:eventHandler2 (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/CarLibTests/src/android/car/
DCarProjectionManagerTest.java158 CarProjectionManager.ProjectionKeyEventHandler eventHandler2 = in keyEventListener_registerMultipleEventListeners() local
171 eventHandler2); in keyEventListener_registerMultipleEventListeners()
175 verify(eventHandler2).onKeyEvent(CarProjectionManager.KEY_EVENT_CALL_SHORT_PRESS_KEY_UP); in keyEventListener_registerMultipleEventListeners()
180 verify(eventHandler2).onKeyEvent(CarProjectionManager.KEY_EVENT_CALL_LONG_PRESS_KEY_DOWN); in keyEventListener_registerMultipleEventListeners()
184 verify(eventHandler2, never()).onKeyEvent(CarProjectionManager.KEY_EVENT_CALL_KEY_DOWN); in keyEventListener_registerMultipleEventListeners()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarProjectionServiceTest.java423 ICarProjectionKeyEventHandler eventHandler2 = createMockKeyEventHandler(); in addedKeyEventHandler_registersWithCarInputService() local
440 eventHandler2, in addedKeyEventHandler_registersWithCarInputService()
457 verify(eventHandler2) in addedKeyEventHandler_registersWithCarInputService()
464 verify(eventHandler2) in addedKeyEventHandler_registersWithCarInputService()
468 mService.unregisterKeyEventHandler(eventHandler2); in addedKeyEventHandler_registersWithCarInputService()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DBaseWifiScannerImplTest.java249 WifiNative.ScanEventHandler eventHandler2 = mock(WifiNative.ScanEventHandler.class); in overlappingSingleScanFails() local
257 mScanner.startSingleScan(settings2, eventHandler2)); in overlappingSingleScanFails()
DWifiScanningServiceTest.java1356 WifiNative.ScanEventHandler eventHandler2 = verifyStartSingleScan(order, in sendSingleScanRequestAfterPreviousCompletes() local
1363 eventHandler2.onScanStatus(WifiNative.WIFI_SCAN_RESULTS_AVAILABLE); in sendSingleScanRequestAfterPreviousCompletes()
1418 WifiNative.ScanEventHandler eventHandler2 = verifyStartSingleScan(nativeOrder, in sendSingleScanRequestWhilePreviousScanRunning() local
1424 eventHandler2.onScanStatus(WifiNative.WIFI_SCAN_RESULTS_AVAILABLE); in sendSingleScanRequestWhilePreviousScanRunning()
1487 WifiNative.ScanEventHandler eventHandler2 = verifyStartSingleScan(nativeOrder, in sendSingleScanRequestWhilePreviousScanRunningWithTypesThatDoesNotSatisfy() local
1493 eventHandler2.onScanStatus(WifiNative.WIFI_SCAN_RESULTS_AVAILABLE); in sendSingleScanRequestWhilePreviousScanRunningWithTypesThatDoesNotSatisfy()
1761 WifiNative.ScanEventHandler eventHandler2 = verifyStartSingleScan(nativeOrder, in sendMultipleSingleScanRequestWhilePreviousScanRunningAndMergeOneIntoFirstScan() local
1767 eventHandler2.onScanStatus(WifiNative.WIFI_SCAN_RESULTS_AVAILABLE); in sendMultipleSingleScanRequestWhilePreviousScanRunningAndMergeOneIntoFirstScan()
1887 WifiNative.ScanEventHandler eventHandler2 = verifyStartSingleScan(nativeOrder, in sendMultipleSingleScanRequestWithVendorIesWhilePreviousScanRunningAndMerge() local
1892 eventHandler2.onScanStatus(WifiNative.WIFI_SCAN_RESULTS_AVAILABLE); in sendMultipleSingleScanRequestWithVendorIesWhilePreviousScanRunningAndMerge()
[all …]