Home
last modified time | relevance | path

Searched refs:startScan (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanRequestProxyTest.java123 doNothing().when(mWifiScanner).startScan( in setUp()
195 assertFalse(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanFailWithoutScanner()
205 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanSuccess()
206 mInOrder.verify(mWifiScanner).startScan(any(), any(), any(), any()); in testStartScanSuccess()
222 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanSuccessFromAppWithNetworkSettings()
223 mInOrder.verify(mWifiScanner).startScan(any(), any(), any(), any()); in testStartScanSuccessFromAppWithNetworkSettings()
237 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanSuccessFromAppWithNetworkSetupWizard()
238 mInOrder.verify(mWifiScanner).startScan(any(), any(), any(), any()); in testStartScanSuccessFromAppWithNetworkSetupWizard()
255 assertTrue(mScanRequestProxy.startScan(TEST_UID, TEST_PACKAGE_NAME_1)); in testStartScanWithHiddenNetworkScanningDisabled()
258 mInOrder.verify(mWifiScanner).startScan(any(), any(), any(), any()); in testStartScanWithHiddenNetworkScanningDisabled()
[all …]
DWifiConnectivityManagerTest.java304 }}).when(scanner).startScan(anyObject(), anyObject(), anyObject(), anyObject()); in mockWifiScanner()
851 verify(mWifiScanner).startScan((ScanSettings) argThat(new WifiPartialScanSettingMatcher()), in testHighMovementTriggerPartialScan()
1695 verify(mWifiScanner, times(1)).startScan( in checkMinimumPeriodicScanIntervalWhenScreenOnAndConnected()
1742 verify(mWifiScanner, times(1)).startScan( in scanImmediatelyWhenScreenOnAndDisconnected()
1755 verify(mWifiScanner, times(2)).startScan( in scanImmediatelyWhenScreenOnAndDisconnected()
1846 }}).when(mWifiScanner).startScan(anyObject(), anyObject(), anyObject()); in verifyFullBandScanWhenConnected()
1856 verify(mWifiScanner).startScan(anyObject(), anyObject(), anyObject(), anyObject()); in verifyFullBandScanWhenConnected()
1868 verify(mWifiScanner, times(2)).startScan(anyObject(), anyObject(), anyObject(), in verifyFullBandScanWhenConnected()
1881 verify(mWifiScanner, times(2)).startScan(anyObject(), anyObject(), anyObject(), in verifyFullBandScanWhenConnected()
1922 }}).when(mWifiScanner).startScan(anyObject(), anyObject(), anyObject(), anyObject()); in checkPartialScanRequestedWithLowRssiAndActiveStreamWithoutFwRoaming()
[all …]
DWifiNetworkFactoryTest.java514 verify(mWifiScanner).startScan(mScanSettingsArgumentCaptor.capture(), any(), any(), in testHandleNetworkRequestWithSpecifier()
547 verify(mWifiScanner).startScan(mScanSettingsArgumentCaptor.capture(), any(), any(), in testHandleNetworkRequestWithSpecifierForHiddenNetwork()
568 verify(mWifiScanner, times(1)).startScan(mScanSettingsArgumentCaptor.capture(), any(), in testHandleNetworkRequestWithSpecifierAfterPreviousHiddenNetworkRequest()
581 verify(mWifiScanner, times(2)).startScan(mScanSettingsArgumentCaptor.capture(), any(), in testHandleNetworkRequestWithSpecifierAfterPreviousHiddenNetworkRequest()
600 verify(mWifiScanner).startScan(any(), any(), any(), any()); in testHandleNetworkReleaseWithSpecifier()
1730 verify(mWifiScanner, times(2)).startScan(any(), any(), any(), any()); in testHandleNewNetworkRequestWithSpecifierWhenScanning()
1770 verify(mWifiScanner, times(2)).startScan(any(), any(), any(), any()); in testHandleNewNetworkRequestWithSpecifierAfterMatch()
1803 verify(mWifiScanner, times(2)).startScan(any(), any(), any(), any()); in testHandleNewNetworkRequestWithSpecifierAfterConnect()
1841 verify(mWifiScanner, times(2)).startScan(any(), any(), any(), any()); in testHandleNewNetworkRequestWithSpecifierAfterConnectionSuccess()
1983 mInOrder.verify(mWifiScanner).startScan(any(), any(), any(), any()); in testNetworkSpecifierHandleScreenStateChangedWhileScanning()
[all …]
DWifiHealthMonitorTest.java295 }).when(scanner).startScan(anyObject(), anyObject()); in mockWifiScanner()
328 mWifiScanner.startScan(mScanSettings, mScanListener); in makeSerializedExample()
404 mWifiScanner.startScan(mScanSettings, mScanListener); in testSerializationDeserialization()
666 mWifiScanner.startScan(mScanSettings, mScanListener); in testFullBandScan()
682 mWifiScanner.startScan(mScanSettings, mScanListener); in test2GScan()
741 mWifiScanner.startScan(mScanSettings, mScanListener); in testPostBootAbnormalScanDetection()
DWifiServiceImplTest.java409 when(mScanRequestProxy.startScan(anyInt(), anyString())).thenReturn(true); in setUp()
1564 assertFalse(mWifiServiceImpl.startScan(SCAN_PACKAGE_NAME, TEST_FEATURE_ID)); in testStartScanFailureAppOpsIgnored()
1566 verify(mScanRequestProxy, never()).startScan(Process.myUid(), SCAN_PACKAGE_NAME); in testStartScanFailureAppOpsIgnored()
1578 assertFalse(mWifiServiceImpl.startScan(SCAN_PACKAGE_NAME, TEST_FEATURE_ID)); in testStartScanFailureInCanAccessScanResultsPermission()
1580 verify(mScanRequestProxy, never()).startScan(Process.myUid(), SCAN_PACKAGE_NAME); in testStartScanFailureInCanAccessScanResultsPermission()
1591 assertFalse(mWifiServiceImpl.startScan(SCAN_PACKAGE_NAME, TEST_FEATURE_ID)); in testStartScanFailureInRunWithScissors()
1593 verify(mScanRequestProxy, never()).startScan(anyInt(), eq(SCAN_PACKAGE_NAME)); in testStartScanFailureInRunWithScissors()
1601 when(mScanRequestProxy.startScan(anyInt(), anyString())).thenReturn(false); in testStartScanFailureFromScanRequestProxy()
1604 assertFalse(mWifiServiceImpl.startScan(SCAN_PACKAGE_NAME, TEST_FEATURE_ID)); in testStartScanFailureFromScanRequestProxy()
1606 verify(mScanRequestProxy).startScan(Binder.getCallingUid(), SCAN_PACKAGE_NAME); in testStartScanFailureFromScanRequestProxy()
[all …]
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeScanner.java122 public void startScan(final ScanCallback callback) { in startScan() method in BluetoothLeScanner
123 startScan(null, new ScanSettings.Builder().build(), callback); in startScan()
143 public void startScan(List<ScanFilter> filters, ScanSettings settings, in startScan() method in BluetoothLeScanner
145 startScan(filters, settings, null, callback, /*callbackIntent=*/ null, null); in startScan()
171 public int startScan(@Nullable List<ScanFilter> filters, @Nullable ScanSettings settings, in startScan() method in BluetoothLeScanner
173 return startScan(filters, in startScan()
210 startScan(filters, settings, workSource, callback, null, null); in startScanFromSource()
213 private int startScan(List<ScanFilter> filters, ScanSettings settings, in startScan() method in BluetoothLeScanner
341 startScan(scanFilters, settings, null, callback, null, scanStorages); in startTruncatedScan()
457 mBluetoothGatt.startScan(mScannerId, mSettings, mFilters, in onScannerRegistered()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DMediaManager.java60 public abstract void startScan(); in startScan() method in MediaManager
DLocalMediaManager.java198 public void startScan() { in startScan() method in LocalMediaManager
203 mInfoMediaManager.startScan(); in startScan()
DInfoMediaManager.java84 public void startScan() { in startScan() method in InfoMediaManager
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DMediaManagerTest.java57 public void startScan() { in setUp()
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiScannerTest.java254 mWifiScanner.startScan(scanSettings, scanListener); in testStartScan()
284 mWifiScanner.startScan(scanSettings, scanListener); in testStopScan()
313 mWifiScanner.startScan(scanSettings, scanListener); in testStartScanListenerOnSuccess()
343 mWifiScanner.startScan(scanSettings, scanListener); in testStartScanListenerOnResults()
DWifiManagerTest.java1366 when(mWifiService.startScan(eq(TEST_PACKAGE_NAME), nullable(String.class))).thenReturn( in testStartScan()
1368 assertTrue(mWifiManager.startScan()); in testStartScan()
1370 when(mWifiService.startScan(eq(TEST_PACKAGE_NAME), nullable(String.class))).thenReturn( in testStartScan()
1372 assertFalse(mWifiManager.startScan()); in testStartScan()
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
DWifiNl80211ManagerTest.java269 assertFalse(mWificondControl.startScan( in testTeardownClientInterfaceClearsHandles()
504 assertTrue(mWificondControl.startScan( in testScan()
524 assertTrue(mWificondControl.startScan( in testScanWithDuplicateHiddenSsids()
539 assertTrue(mWificondControl.startScan( in testScanNullParameters()
551 assertFalse(mWificondControl.startScan( in testScanFailure()
562 assertFalse(mWificondControl.startScan( in testScanFailureDueToInvalidType()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanRequestProxy.java417 public boolean startScan(int callingUid, String packageName) { in startScan() method in ScanRequestProxy
456 mWifiScanner.startScan(settings, new HandlerExecutor(mHandler), in startScan()
DWifiNetworkFactory.java259 startScan(); in onAlarm()
931 startScan(); in handleScreenStateChanged()
1084 startScan(); in startPeriodicScans()
1107 private void startScan() { in startScan() method in WifiNetworkFactory
1121 mWifiScanner.startScan( in startScan()
DBaseWifiService.java211 public boolean startScan(String packageName, String featureId) { in startScan() method in BaseWifiService
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java1035 public void startScan(ScanSettings settings, ScanListener listener) { in startScan() method in WifiScanner
1036 startScan(settings, listener, null); in startScan()
1049 public void startScan(ScanSettings settings, ScanListener listener, WorkSource workSource) { in startScan() method in WifiScanner
1050 startScan(settings, null, listener, workSource); in startScan()
1065 public void startScan(ScanSettings settings, @Nullable @CallbackExecutor Executor executor, in startScan() method in WifiScanner
DIWifiManager.aidl101 boolean startScan(String packageName, String featureId); in startScan() method
DWifiManager.java2712 public boolean startScan() { in startScan() method in WifiManager
2713 return startScan(null); in startScan()
2719 public boolean startScan(WorkSource workSource) { in startScan() method in WifiManager
2723 return mService.startScan(packageName, attributionTag); in startScan()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaDeviceManager.kt133 localMediaManager.startScan() in <lambda>()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceDiscoveryService.java199 mBLEScanner.startScan(mBLEScanFilters, mDefaultScanSettings, mBLEScanCallback); in startDiscovery()
206 mWifiManager.startScan(); in startDiscovery()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DMediaTransferManager.java172 mLocalMediaManager.startScan(); in applyMediaTransferView()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DBaseWifiTracker.java365 if (mWifiManager.startScan()) { in postScan()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java159 assertTrue("start scan failed", mWifiManager.startScan()); in testWifiScanning()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothStressTest.java110 mTestUtils.startScan(mAdapter); in testScan()

12