/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | BaseWifiScannerImplTest.java | 234 WifiNative.ScanEventHandler eventHandler = mock(WifiNative.ScanEventHandler.class); in overlappingSingleScanFails() local 247 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in overlappingSingleScanFails() 261 WifiNative.ScanEventHandler eventHandler = mock(WifiNative.ScanEventHandler.class); in singleScanFailOnExecute() local 263 InOrder order = inOrder(eventHandler, mWifiNative); in singleScanFailOnExecute() 269 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in singleScanFailOnExecute() 272 order.verify(eventHandler).onScanStatus(WifiNative.WIFI_SCAN_FAILED); in singleScanFailOnExecute() 274 verifyNoMoreInteractions(eventHandler); in singleScanFailOnExecute() 289 WifiNative.ScanEventHandler eventHandler = mock(WifiNative.ScanEventHandler.class); in singleScanFailOnTimeout() local 291 InOrder order = inOrder(eventHandler, mWifiNative); in singleScanFailOnTimeout() 297 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in singleScanFailOnTimeout() [all …]
|
D | WificondScannerTest.java | 86 WifiNative.ScanEventHandler eventHandler = mock(WifiNative.ScanEventHandler.class); in singleScanNotIssuedIfNoAvailableChannels() local 87 mScanner.startSingleScan(settings, eventHandler); in singleScanNotIssuedIfNoAvailableChannels() 94 verify(eventHandler).onScanStatus(WifiNative.WIFI_SCAN_FAILED); in singleScanNotIssuedIfNoAvailableChannels() 145 WifiNative.ScanEventHandler eventHandler = mock(WifiNative.ScanEventHandler.class); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() local 146 assertTrue(mScanner.startSingleScan(settings, eventHandler)); in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash()
|
D | WifiScanningServiceTest.java | 611 WifiNative.ScanEventHandler eventHandler = verifyStartSingleScan(order, nativeSettings); in doSuccessfulSingleScan() local 617 eventHandler.onScanStatus(WifiNative.WIFI_SCAN_RESULTS_AVAILABLE); in doSuccessfulSingleScan() 914 WifiNative.ScanEventHandler eventHandler = in sendSingleScanRequestWhichFailsAfterStart() local 920 eventHandler.onScanStatus(WifiNative.WIFI_SCAN_FAILED); in sendSingleScanRequestWhichFailsAfterStart() 1450 WifiNative.ScanEventHandler eventHandler = verifyStartSingleScan(nativeOrder, in sendSingleScanRequestWhilePreviousScanRunningAndMergeIntoFirstScan() local 1462 eventHandler.onScanStatus(WifiNative.WIFI_SCAN_RESULTS_AVAILABLE); in sendSingleScanRequestWhilePreviousScanRunningAndMergeIntoFirstScan() 1694 WifiNative.ScanEventHandler eventHandler = verifyStartSingleScan(order, in retrieveMostRecentFullSingleScanResults() local 1701 eventHandler.onScanStatus(WifiNative.WIFI_SCAN_RESULTS_AVAILABLE); in retrieveMostRecentFullSingleScanResults() 1754 WifiNative.ScanEventHandler eventHandler = verifyStartSingleScan(order, in doesNotRetrieveMostRecentPartialSingleScanResults() local 1761 eventHandler.onScanStatus(WifiNative.WIFI_SCAN_RESULTS_AVAILABLE); in doesNotRetrieveMostRecentPartialSingleScanResults() [all …]
|
D | WificondPnoScannerTest.java | 210 WifiNative.PnoSettings pnoSettings, WifiNative.PnoEventHandler eventHandler, in expectSuccessfulHwDisconnectedPnoScan() argument 224 order.verify(eventHandler).onPnoNetworkFound(scanResults.getRawScanResults()); in expectSuccessfulHwDisconnectedPnoScan()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | HalWifiScannerImpl.java | 80 WifiNative.ScanEventHandler eventHandler) { in startSingleScan() argument 81 return mWificondScannerDelegate.startSingleScan(settings, eventHandler); in startSingleScan() 91 WifiNative.ScanEventHandler eventHandler) { in startBatchedScan() argument 92 if (settings == null || eventHandler == null) { in startBatchedScan() 94 + ",eventHandler=" + eventHandler); in startBatchedScan() 98 mIfaceName, settings, eventHandler); in startBatchedScan() 123 WifiNative.PnoEventHandler eventHandler) { in setHwPnoList() argument 124 return mWificondScannerDelegate.setHwPnoList(settings, eventHandler); in setHwPnoList()
|
D | WifiScannerImpl.java | 106 WifiNative.ScanEventHandler eventHandler); in startSingleScan() argument 121 WifiNative.ScanEventHandler eventHandler); in startBatchedScan() argument 150 WifiNative.PnoEventHandler eventHandler); in setHwPnoList() argument
|
D | WificondScannerImpl.java | 152 WifiNative.ScanEventHandler eventHandler) { in startSingleScan() argument 153 if (eventHandler == null || settings == null) { in startSingleScan() 155 + ",eventHandler=" + eventHandler); in startSingleScan() 186 reportFullResults, allFreqs, eventHandler); in startSingleScan() 236 WifiNative.ScanEventHandler eventHandler) { in startBatchedScan() argument 440 WifiNative.PnoEventHandler eventHandler) { in setHwPnoList() argument 453 settings.networkList, eventHandler); in setHwPnoList()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityInputFilter.java | 140 SparseArray<EventStreamTransformation> eventHandler) { in AccessibilityInputFilter() argument 145 mEventHandler = eventHandler; in AccessibilityInputFilter() 258 final EventStreamTransformation eventHandler = mEventHandler.valueAt(i); in clearEventsForAllEventHandlers() local 259 if (eventHandler != null) { in clearEventsForAllEventHandlers() 260 eventHandler.clearEvents(eventSource); in clearEventsForAllEventHandlers() 358 final EventStreamTransformation eventHandler = mEventHandler.valueAt(i); in notifyAccessibilityEvent() local 359 if (eventHandler != null) { in notifyAccessibilityEvent() 360 eventHandler.onAccessibilityEvent(event); in notifyAccessibilityEvent() 438 EventStreamTransformation eventHandler = mEventHandler.get(displayId); in addFirstEventHandler() local 439 if (eventHandler != null) { in addFirstEventHandler() [all …]
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioVolumeGroupChangeHandler.java | 150 AudioVolumeGroupChangeHandler eventHandler = in postEventFromNative() local 152 if (eventHandler == null) { in postEventFromNative() 156 if (eventHandler != null) { in postEventFromNative() 157 Handler handler = eventHandler.handler(); in postEventFromNative()
|
/frameworks/base/media/java/android/media/ |
D | AudioPortEventHandler.java | 183 AudioPortEventHandler eventHandler = in postEventFromNative() local 185 if (eventHandler == null) { in postEventFromNative() 189 if (eventHandler != null) { in postEventFromNative() 190 Handler handler = eventHandler.handler(); in postEventFromNative()
|
D | SRTRenderer.java | 78 SRTTrack(Handler eventHandler, MediaFormat format) { in SRTTrack() argument 80 mEventHandler = eventHandler; in SRTTrack()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/ |
D | EventBus.java | 640 final EventHandler eventHandler = eventHandlers.get(i); in queueEvent() local 641 if (eventHandler.subscriber.getReference() != null) { in queueEvent() 643 mHandler.post(() -> processEvent(eventHandler, event)); in queueEvent() 646 processEvent(eventHandler, event); in queueEvent() 663 private void processEvent(final EventHandler eventHandler, final Event event) { in processEvent() argument 674 logWithPid(" -> " + eventHandler.toString()); in processEvent() 676 Object sub = eventHandler.subscriber.getReference(); in processEvent() 682 eventHandler.method.invoke(sub, event); in processEvent() 687 logWithPid(eventHandler.method.toString() + " duration: " + duration + in processEvent()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiVendorHal.java | 655 public WifiNative.ScanEventHandler eventHandler = null; field in WifiVendorHal.CurrentBackgroundScan 771 WifiNative.ScanEventHandler eventHandler) { in startBgScan() argument 773 if (eventHandler == null) return boolResult(false); in startBgScan() 786 scan.eventHandler = eventHandler; in startBgScan() 2670 WifiNative.ScanEventHandler eventHandler; in onBackgroundScanFailure() local 2673 eventHandler = mScan.eventHandler; in onBackgroundScanFailure() 2675 eventHandler.onScanStatus(WifiNative.WIFI_SCAN_FAILED); in onBackgroundScanFailure() 2682 WifiNative.ScanEventHandler eventHandler; in onBackgroundFullScanResult() local 2685 eventHandler = mScan.eventHandler; in onBackgroundFullScanResult() 2687 eventHandler.onFullScanResult(hidlToFrameworkScanResult(result), bucketsScanned); in onBackgroundFullScanResult() [all …]
|
D | WifiNative.java | 2579 @NonNull String ifaceName, ScanSettings settings, ScanEventHandler eventHandler) { in startBgScan() argument 2580 return mWifiVendorHal.startBgScan(ifaceName, settings, eventHandler); in startBgScan()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiVendorHalTest.java | 2083 WifiNative.ScanEventHandler eventHandler = mock(WifiNative.ScanEventHandler.class); in testBgScanFailureCallback() local 2084 startBgScan(eventHandler); in testBgScanFailureCallback() 2087 verify(eventHandler).onScanStatus(WifiNative.WIFI_SCAN_FAILED); in testBgScanFailureCallback() 2098 WifiNative.ScanEventHandler eventHandler = mock(WifiNative.ScanEventHandler.class); in testBgScanFailureCallbackWithInvalidCmdId() local 2099 startBgScan(eventHandler); in testBgScanFailureCallbackWithInvalidCmdId() 2102 verify(eventHandler, never()).onScanStatus(WifiNative.WIFI_SCAN_FAILED); in testBgScanFailureCallbackWithInvalidCmdId() 2113 WifiNative.ScanEventHandler eventHandler = mock(WifiNative.ScanEventHandler.class); in testBgScanFullScanResults() local 2114 startBgScan(eventHandler); in testBgScanFullScanResults() 2121 verify(eventHandler).onFullScanResult(scanResultCaptor.capture(), eq(5)); in testBgScanFullScanResults() 2134 WifiNative.ScanEventHandler eventHandler = mock(WifiNative.ScanEventHandler.class); in testBgScanScanResults() local [all …]
|