/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ScanRequestProxyTest.java | 137 doNothing().when(mWifiScanner).startScan( in setUp() 225 assertFalse(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanFailWithoutScanner() 235 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanSuccess() 236 mInOrder.verify(mWifiScanner).startScan(any(), any(), any(), any()); in testStartScanSuccess() 252 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanSuccessFromAppWithNetworkSettings() 253 mInOrder.verify(mWifiScanner).startScan(any(), any(), any(), any()); in testStartScanSuccessFromAppWithNetworkSettings() 272 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanSuccessFromAppWithNetworkSetupWizard() 273 mInOrder.verify(mWifiScanner).startScan(any(), any(), any(), any()); in testStartScanSuccessFromAppWithNetworkSetupWizard() 291 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanWithHiddenNetworkScanningDisabled() 294 mInOrder.verify(mWifiScanner).startScan(any(), any(), any(), any()); in testStartScanWithHiddenNetworkScanningDisabled() [all …]
|
D | WifiConnectivityManagerTest.java | 367 }}).when(scanner).startScan(anyObject(), anyObject(), anyObject(), anyObject()); in mockWifiScanner() 1556 verify(mWifiScanner).startScan((ScanSettings) argThat(new WifiPartialScanSettingMatcher()), in testHighMovementTriggerPartialScan() 2557 verify(mWifiScanner, times(1)).startScan( in checkMinimumPeriodicScanIntervalWhenScreenOnAndConnected() 2604 verify(mWifiScanner, times(1)).startScan( in scanImmediatelyWhenScreenOnAndDisconnected() 2618 verify(mWifiScanner, times(2)).startScan( in scanImmediatelyWhenScreenOnAndDisconnected() 2709 }}).when(mWifiScanner).startScan(anyObject(), anyObject(), anyObject()); in verifyFullBandScanWhenConnected() 2720 verify(mWifiScanner).startScan(anyObject(), anyObject(), anyObject(), anyObject()); in verifyFullBandScanWhenConnected() 2733 verify(mWifiScanner, times(2)).startScan(anyObject(), anyObject(), anyObject(), in verifyFullBandScanWhenConnected() 2747 verify(mWifiScanner, times(2)).startScan(anyObject(), anyObject(), anyObject(), in verifyFullBandScanWhenConnected() 2794 }}).when(mWifiScanner).startScan(anyObject(), anyObject(), anyObject(), anyObject()); in checkPartialScanRequestedWithLowRssiAndActiveStreamWithoutFwRoaming() [all …]
|
D | WifiHealthMonitorTest.java | 324 }).when(scanner).startScan(anyObject(), anyObject()); in mockWifiScanner() 370 mWifiScanner.startScan(mScanSettings, mScanListener); in makeSerializedExample() 446 mWifiScanner.startScan(mScanSettings, mScanListener); in testSerializationDeserialization() 710 mWifiScanner.startScan(mScanSettings, mScanListener); in testFullBandScan() 726 mWifiScanner.startScan(mScanSettings, mScanListener); in test2GScan() 785 mWifiScanner.startScan(mScanSettings, mScanListener); in testPostBootAbnormalScanDetection()
|
D | WifiNetworkFactoryTest.java | 671 verify(mWifiScanner).startScan(mScanSettingsArgumentCaptor.capture(), any(), any(), in testHandleNetworkRequestWithSpecifier() 723 verify(mWifiScanner).startScan(mScanSettingsArgumentCaptor.capture(), any(), any(), in testHandleNetworkRequestWithSpecifierForHiddenNetwork() 744 verify(mWifiScanner, times(1)).startScan(mScanSettingsArgumentCaptor.capture(), any(), in testHandleNetworkRequestWithSpecifierAfterPreviousHiddenNetworkRequest() 757 verify(mWifiScanner, times(2)).startScan(mScanSettingsArgumentCaptor.capture(), any(), in testHandleNetworkRequestWithSpecifierAfterPreviousHiddenNetworkRequest() 776 verify(mWifiScanner).startScan(any(), any(), any(), any()); in testHandleNetworkReleaseWithSpecifier() 2388 verify(mWifiScanner, times(2)).startScan(any(), any(), any(), any()); in testHandleNewNetworkRequestWithSpecifierWhenScanning() 2431 verify(mWifiScanner, times(2)).startScan(any(), any(), any(), any()); in testHandleNewNetworkRequestWithSpecifierAfterMatch() 2467 verify(mWifiScanner, times(2)).startScan(any(), any(), any(), any()); in testHandleNewNetworkRequestWithSpecifierAfterConnect() 2512 verify(mWifiScanner, times(2)).startScan(any(), any(), any(), any()); in testHandleNewNetworkRequestWithSpecifierAfterConnectionSuccess() 2692 mInOrder.verify(mWifiScanner).startScan(any(), any(), any(), any()); in testNetworkSpecifierHandleScreenStateChangedWhileScanning() [all …]
|
D | WifiServiceImplTest.java | 496 when(mScanRequestProxy.startScan(anyInt(), anyString())).thenReturn(true); in setUp() 2289 assertFalse(mWifiServiceImpl.startScan(SCAN_PACKAGE_NAME, TEST_FEATURE_ID)); in testStartScanFailureAppOpsIgnored() 2291 verify(mScanRequestProxy, never()).startScan(Process.myUid(), SCAN_PACKAGE_NAME); in testStartScanFailureAppOpsIgnored() 2303 assertFalse(mWifiServiceImpl.startScan(SCAN_PACKAGE_NAME, TEST_FEATURE_ID)); in testStartScanFailureInCanAccessScanResultsPermission() 2305 verify(mScanRequestProxy, never()).startScan(Process.myUid(), SCAN_PACKAGE_NAME); in testStartScanFailureInCanAccessScanResultsPermission() 2316 assertFalse(mWifiServiceImpl.startScan(SCAN_PACKAGE_NAME, TEST_FEATURE_ID)); in testStartScanFailureInRunWithScissors() 2318 verify(mScanRequestProxy, never()).startScan(anyInt(), eq(SCAN_PACKAGE_NAME)); in testStartScanFailureInRunWithScissors() 2326 when(mScanRequestProxy.startScan(anyInt(), anyString())).thenReturn(false); in testStartScanFailureFromScanRequestProxy() 2329 assertFalse(mWifiServiceImpl.startScan(SCAN_PACKAGE_NAME, TEST_FEATURE_ID)); in testStartScanFailureFromScanRequestProxy() 2331 verify(mScanRequestProxy).startScan(Binder.getCallingUid(), SCAN_PACKAGE_NAME); in testStartScanFailureFromScanRequestProxy() [all …]
|
D | WifiNativeTest.java | 778 verify(mWificondControl).startScan( in testScan() 797 verify(mWificondControl).startScan( in testScanWithBundle()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | GattClientListener.java | 117 mMyBleScanner.startScan(); in startAlarm() 331 public void startScan() { in startScan() method in GattClientListener.MyBleScanner 334 mBLEScanner.startScan(mScanFilterList, mScanSettings, mScanCallback); in startScan()
|
D | WifiConnScanReceiver.java | 95 mWifiManager.startScan(); in doInBackground()
|
D | BleScanReceiver.java | 206 mBleScanner.startScan(mScanFilterList, mScanSettings, in onReceive()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiScannerTest.java | 277 mWifiScanner.startScan(scanSettings, scanListener); in testStartScan() 307 mWifiScanner.startScan(scanSettings, scanListener); in testStopScan() 336 mWifiScanner.startScan(scanSettings, scanListener); in testStartScanListenerOnSuccess() 366 mWifiScanner.startScan(scanSettings, scanListener); in testStartScanListenerOnResults()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiScanner.java | 1210 public void startScan(ScanSettings settings, ScanListener listener) { in startScan() method in WifiScanner 1211 startScan(settings, listener, null); in startScan() 1224 public void startScan(ScanSettings settings, ScanListener listener, WorkSource workSource) { in startScan() method in WifiScanner 1225 startScan(settings, null, listener, workSource); in startScan() 1240 public void startScan(ScanSettings settings, @Nullable @CallbackExecutor Executor executor, in startScan() method in WifiScanner
|
D | IWifiManager.aidl | 110 boolean startScan(String packageName, String featureId); in startScan() method
|
D | WifiManager.java | 3141 public boolean startScan() { in startScan() method in WifiManager 3142 return startScan(null); in startScan() 3148 public boolean startScan(WorkSource workSource) { in startScan() method in WifiManager 3152 return mService.startScan(packageName, attributionTag); in startScan()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkFactory.java | 287 startScan(); in onAlarm() 1151 startScan(); in handleScreenStateChanged() 1381 startScan(); in startPeriodicScans() 1404 private void startScan() { in startScan() method in WifiNetworkFactory 1418 mWifiScanner.startScan( in startScan()
|
D | ScanRequestProxy.java | 450 public boolean startScan(int callingUid, String packageName) { in startScan() method in ScanRequestProxy 496 mWifiScanner.startScan(settings, new HandlerExecutor(mHandler), in startScan()
|
D | BaseWifiService.java | 210 public boolean startScan(String packageName, String featureId) { in startScan() method in BaseWifiService
|
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/utils/ |
D | AnomalyActions.java | 92 bleScanner.startScan(null, scanSettings, scanCallback); in doUnoptimizedBleScan()
|
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | AtomTests.java | 161 bleScanner.startScan(null, scanSettings, scanCallback); in testBleScanInterrupted() 253 bleScanner.startScan(scanFilters, scanSettings, scanCallback); in performBleScan() 669 context.getSystemService(WifiManager.class).startScan(); in testWifiScan()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/ |
D | ScanFragment.java | 173 private void startScan(int channelMapId) { in startScan() method in ScanFragment 181 startScan(args == null ? 0 : args.getInt(EXTRA_FOR_CHANNEL_SCAN_FILE, 0)); in onResume()
|
/packages/apps/Settings/src/com/android/settings/media/ |
D | MediaOutputIndicatorWorker.java | 98 mLocalMediaManager.startScan(); in onSlicePinned()
|
D | MediaDeviceUpdateWorker.java | 88 mLocalMediaManager.startScan(); in onSlicePinned()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | RemoteVolumeGroupController.java | 69 mLocalMediaManager.startScan(); in RemoteVolumeGroupController()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/ |
D | MediaOutputIndicatorWorkerTest.java | 118 verify(mLocalMediaManager).startScan(); in onSlicePinned_registerCallback()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | GattService.java | 567 public void startScan(int scannerId, ScanSettings settings, List<ScanFilter> filters, in startScan() method in GattService.BluetoothGattBinder 573 service.startScan(scannerId, settings, filters, storages, attributionSource); in startScan() 2256 void startScan(int scannerId, ScanSettings settings, List<ScanFilter> filters, in startScan() method in GattService 2310 mScanManager.startScan(scanClient); in startScan() 2401 mScanManager.startScan(scanClient); in continuePiStartScan()
|
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/ |
D | CtsNetUtils.java | 292 mWifiManager.startScan(); in getWifiScanResults()
|