/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScanRequestProxyTest.java | 123 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 …]
|
D | WifiConnectivityManagerTest.java | 304 }}).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 …]
|
D | WifiNetworkFactoryTest.java | 514 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 …]
|
D | WifiHealthMonitorTest.java | 295 }).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()
|
D | WifiServiceImplTest.java | 409 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/ |
D | BluetoothLeScanner.java | 122 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/ |
D | MediaManager.java | 60 public abstract void startScan(); in startScan() method in MediaManager
|
D | LocalMediaManager.java | 198 public void startScan() { in startScan() method in LocalMediaManager 203 mInfoMediaManager.startScan(); in startScan()
|
D | InfoMediaManager.java | 84 public void startScan() { in startScan() method in InfoMediaManager
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | MediaManagerTest.java | 57 public void startScan() { in setUp()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiScannerTest.java | 254 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()
|
D | WifiManagerTest.java | 1366 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/ |
D | WifiNl80211ManagerTest.java | 269 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/ |
D | ScanRequestProxy.java | 417 public boolean startScan(int callingUid, String packageName) { in startScan() method in ScanRequestProxy 456 mWifiScanner.startScan(settings, new HandlerExecutor(mHandler), in startScan()
|
D | WifiNetworkFactory.java | 259 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()
|
D | BaseWifiService.java | 211 public boolean startScan(String packageName, String featureId) { in startScan() method in BaseWifiService
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiScanner.java | 1035 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
|
D | IWifiManager.aidl | 101 boolean startScan(String packageName, String featureId); in startScan() method
|
D | WifiManager.java | 2712 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/ |
D | MediaDeviceManager.kt | 133 localMediaManager.startScan() in <lambda>()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | DeviceDiscoveryService.java | 199 mBLEScanner.startScan(mBLEScanFilters, mDefaultScanSettings, mBLEScanCallback); in startDiscovery() 206 mWifiManager.startScan(); in startDiscovery()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | MediaTransferManager.java | 172 mLocalMediaManager.startScan(); in applyMediaTransferView()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | BaseWifiTracker.java | 365 if (mWifiManager.startScan()) { in postScan()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiStressTest.java | 159 assertTrue("start scan failed", mWifiManager.startScan()); in testWifiScanning()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothStressTest.java | 110 mTestUtils.startScan(mAdapter); in testScan()
|