Home
last modified time | relevance | path

Searched refs:eventHandler1 (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/CarLibTests/src/android/car/
DCarProjectionManagerTest.java156 CarProjectionManager.ProjectionKeyEventHandler eventHandler1 = in keyEventListener_registerMultipleEventListeners() local
164 eventHandler1); in keyEventListener_registerMultipleEventListeners() local
174 verify(eventHandler1).onKeyEvent(CarProjectionManager.KEY_EVENT_CALL_SHORT_PRESS_KEY_UP); in keyEventListener_registerMultipleEventListeners()
178 verify(eventHandler1, never()) in keyEventListener_registerMultipleEventListeners()
183 verify(eventHandler1, never()).onKeyEvent(CarProjectionManager.KEY_EVENT_CALL_KEY_DOWN); in keyEventListener_registerMultipleEventListeners()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java587 WifiNative.ScanEventHandler eventHandler1 = null; in doSuccessfulSingleScanOnImpls() local
589 eventHandler1 = verifyStartSingleScanForImpl(mWifiScannerImpl1, order, nativeSettings); in doSuccessfulSingleScanOnImpls()
600 eventHandler1.onScanStatus(WifiNative.WIFI_SCAN_RESULTS_AVAILABLE); in doSuccessfulSingleScanOnImpls()
1333 WifiNative.ScanEventHandler eventHandler1 = verifyStartSingleScan(order, in sendSingleScanRequestAfterPreviousCompletes() local
1340 eventHandler1.onScanStatus(WifiNative.WIFI_SCAN_RESULTS_AVAILABLE); in sendSingleScanRequestAfterPreviousCompletes()
1399 WifiNative.ScanEventHandler eventHandler1 = verifyStartSingleScan(nativeOrder, in sendSingleScanRequestWhilePreviousScanRunning() local
1411 eventHandler1.onScanStatus(WifiNative.WIFI_SCAN_RESULTS_AVAILABLE); in sendSingleScanRequestWhilePreviousScanRunning()
1468 WifiNative.ScanEventHandler eventHandler1 = verifyStartSingleScan(nativeOrder, in sendSingleScanRequestWhilePreviousScanRunningWithTypesThatDoesNotSatisfy() local
1480 eventHandler1.onScanStatus(WifiNative.WIFI_SCAN_RESULTS_AVAILABLE); in sendSingleScanRequestWhilePreviousScanRunningWithTypesThatDoesNotSatisfy()
1560 WifiNative.ScanEventHandler eventHandler1 = verifyStartSingleScan(nativeOrder, in sendMultipleSingleScanRequestWhilePreviousScanRunning() local
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarProjectionServiceTest.java422 ICarProjectionKeyEventHandler eventHandler1 = createMockKeyEventHandler(); in addedKeyEventHandler_registersWithCarInputService() local
429 mService.registerKeyEventHandler(eventHandler1, bitSet.toByteArray()); in addedKeyEventHandler_registersWithCarInputService()
455 verify(eventHandler1) in addedKeyEventHandler_registersWithCarInputService()
462 verify(eventHandler1, never()) in addedKeyEventHandler_registersWithCarInputService()
473 mService.unregisterKeyEventHandler(eventHandler1); in addedKeyEventHandler_registersWithCarInputService()