/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | AppScanStats.java | 161 LastScan scan = getScanFromScannerId(scannerId); in addResult() local 162 if (scan != null) { in addResult() 163 scan.results++; in addResult() 167 if (scan.results % 100 == 0) { in addResult() 198 LastScan scan = new LastScan(startTime, isFilterScan, isCallbackScan, scannerId, in recordScanStart() local 201 scan.isOpportunisticScan = scan.scanMode == ScanSettings.SCAN_MODE_OPPORTUNISTIC; in recordScanStart() 202 scan.isBackgroundScan = in recordScanStart() 203 (scan.scanCallbackType & ScanSettings.CALLBACK_TYPE_FIRST_MATCH) != 0; in recordScanStart() 204 scan.isBatchScan = in recordScanStart() 207 switch (scan.scanMode) { in recordScanStart() [all …]
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/rtt/ |
D | WifiRttManagerTest.java | 471 ScanResult scan = new ScanResult(); in testResponderPreambleSelection() local 472 scan.BSSID = "00:01:02:03:04:05"; in testResponderPreambleSelection() 473 scan.informationElements = null; in testResponderPreambleSelection() 474 scan.channelWidth = ResponderConfig.CHANNEL_WIDTH_80MHZ; in testResponderPreambleSelection() 476 ResponderConfig config = ResponderConfig.fromScanResult(scan); in testResponderPreambleSelection() 481 scan.channelWidth = ResponderConfig.CHANNEL_WIDTH_40MHZ; in testResponderPreambleSelection() 483 scan.informationElements = new ScanResult.InformationElement[2]; in testResponderPreambleSelection() 484 scan.informationElements[0] = htCap; in testResponderPreambleSelection() 485 scan.informationElements[1] = vhtCap; in testResponderPreambleSelection() 487 config = ResponderConfig.fromScanResult(scan); in testResponderPreambleSelection() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ScanResultMatchInfoTest.java | 100 ScanDetail scan = createScanDetailForNetwork(conf, "AA:AA:AA:AA:AA:AA"); in testScanResultMatchesWifiConfiguration() local 102 ScanResultMatchInfo.fromScanResult(scan.getScanResult())); in testScanResultMatchesWifiConfiguration() 105 scan = createScanDetailForNetwork(conf, "BB:BB:BB:BB:BB:BB"); in testScanResultMatchesWifiConfiguration() 107 ScanResultMatchInfo.fromScanResult(scan.getScanResult())); in testScanResultMatchesWifiConfiguration() 110 scan.getScanResult()))); in testScanResultMatchesWifiConfiguration() 113 scan = createScanDetailForNetwork(conf, "AA:AA:AA:AA:AA:AA"); in testScanResultMatchesWifiConfiguration() 115 ScanResultMatchInfo.fromScanResult(scan.getScanResult())); in testScanResultMatchesWifiConfiguration() 118 scan = createScanDetailForNetwork(conf, "BB:BB:BB:BB:BB:BB"); in testScanResultMatchesWifiConfiguration() 120 ScanResultMatchInfo.fromScanResult(scan.getScanResult())); in testScanResultMatchesWifiConfiguration()
|
D | WifiMetricsTest.java | 3011 List<ScanDetail> scan = new ArrayList<ScanDetail>(); in testNumConnectableNetworksGeneration() local 3013 scan.add(buildMockScanDetail("PASSPOINT_1", "bssid0", false, false, true, false)); in testNumConnectableNetworksGeneration() 3014 scan.add(buildMockScanDetail("PASSPOINT_2", "bssid1", false, false, true, false)); in testNumConnectableNetworksGeneration() 3015 scan.add(buildMockScanDetail("SSID_B", "bssid2", true, true, false, false)); in testNumConnectableNetworksGeneration() 3016 scan.add(buildMockScanDetail("SSID_B", "bssid3", true, true, false, false)); in testNumConnectableNetworksGeneration() 3017 scan.add(buildMockScanDetail("SSID_C", "bssid4", true, false, false, false)); in testNumConnectableNetworksGeneration() 3018 scan.add(buildMockScanDetail("SSID_D", "bssid5", false, true, false, false)); in testNumConnectableNetworksGeneration() 3019 scan.add(buildMockScanDetail("SSID_E", "bssid6", false, true, false, false)); in testNumConnectableNetworksGeneration() 3020 scan.add(buildMockScanDetail("SSID_F", "bssid7", false, false, false, false)); in testNumConnectableNetworksGeneration() 3021 scan.add(buildMockScanDetail("SSID_G_WEAK", "bssid9", false, false, false, true)); in testNumConnectableNetworksGeneration() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | ModernMediaScannerTest.java | 17 package com.android.providers.media.scan; 19 import static com.android.providers.media.scan.MediaScanner.REASON_UNKNOWN; 20 import static com.android.providers.media.scan.MediaScannerTest.stage; 21 import static com.android.providers.media.scan.ModernMediaScanner.MAX_EXCLUDE_DIRS; 22 import static com.android.providers.media.scan.ModernMediaScanner.isFileAlbumArt; 23 import static com.android.providers.media.scan.ModernMediaScanner.parseOptional; 24 import static com.android.providers.media.scan.ModernMediaScanner.parseOptionalDate; 25 import static com.android.providers.media.scan.ModernMediaScanner.parseOptionalDateTaken; 26 import static com.android.providers.media.scan.ModernMediaScanner.parseOptionalImageResolution; 27 import static com.android.providers.media.scan.ModernMediaScanner.parseOptionalMimeType; [all …]
|
D | MediaScannerTest.java | 17 package com.android.providers.media.scan; 21 import static com.android.providers.media.scan.MediaScanner.REASON_UNKNOWN;
|
D | NullMediaScannerTest.java | 17 package com.android.providers.media.scan;
|
D | LegacyMediaScannerTest.java | 17 package com.android.providers.media.scan;
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | BaseWifiScannerImplTest.java | 246 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class), anyBoolean())) in overlappingSingleScanFails() 268 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class), anyBoolean())) in singleScanFailOnExecute() 297 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class), anyBoolean())) in singleScanFailOnTimeout() 330 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class), anyBoolean())) in singleScanFailOnFailedEvent() 386 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class), anyBoolean())) in multipleSingleScanSuccess() 464 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class), anyBoolean())) in singleScanWhereSupplicantReturnsSomeOldResults() 470 order.verify(mWifiNative).scan(eq(IFACE_NAME), anyInt(), eq(expectedScan), any(List.class), in singleScanWhereSupplicantReturnsSomeOldResults() 518 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class), anyBoolean())) in doSuccessfulSingleScanTest() 534 order.verify(mWifiNative).scan( in expectSuccessfulSingleScan()
|
D | WificondScannerTest.java | 103 verify(mWifiNative, never()).scan(any(), anyInt(), any(), any(List.class), anyBoolean()); in singleScanNotIssuedIfNoAvailableChannels() 110 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class), anyBoolean())) in cleanupReportsFailureIfScanInProgress() 181 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class), anyBoolean())) in lateScanResultsDoNotCauseSpuriousTimerCancellationOrCrash() 251 when(mWifiNative.scan(eq(IFACE_NAME), anyInt(), any(), any(List.class), anyBoolean())) in testDumpWithCorrectFormatWithScanResult() 287 order.verify(mWifiNative).scan(eq(IFACE_NAME), anyInt(), eq(expectedScan), any(List.class), in testDumpWithCorrectFormatWithScanResult()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | Metrics.java | 30 import static com.android.providers.media.scan.MediaScanner.REASON_DEMAND; 31 import static com.android.providers.media.scan.MediaScanner.REASON_IDLE; 32 import static com.android.providers.media.scan.MediaScanner.REASON_MOUNTED; 33 import static com.android.providers.media.scan.MediaScanner.REASON_UNKNOWN;
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | MediaDocumentsProviderTest.java | 20 import static com.android.providers.media.scan.MediaScanner.REASON_UNKNOWN; 21 import static com.android.providers.media.scan.MediaScannerTest.stage; 42 import com.android.providers.media.scan.MediaScanner; 43 import com.android.providers.media.scan.MediaScannerTest.IsolatedContext; 44 import com.android.providers.media.scan.ModernMediaScanner;
|
D | ResolvePlaylistTest.java | 19 import static com.android.providers.media.scan.MediaScanner.REASON_UNKNOWN; 20 import static com.android.providers.media.scan.MediaScannerTest.stage; 36 import com.android.providers.media.scan.MediaScannerTest; 37 import com.android.providers.media.scan.ModernMediaScanner;
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | README.txt | 36 …cks the various settings (wifi toggle, airplane toggle, tethering toggle, scan mode toggle) and pr… 40 …ller: Controls whether the open network notification is displayed or not based on the scan results. 48 …s or from a third party app will show up a dialog reminding the user that scan mode will be on eve… 49 …- In the scan mode, the device continues to allow scanning from any app with Wi-Fi turned off. Thi…
|
/packages/modules/Wifi/service/proto/src/ |
D | metrics.proto | 73 // Error codes that a scan can result in. 89 // Could not start a scan because wifi is disabled. 100 // Return code of the scan. 103 // Number of entries that were found in the scan. 182 // Count of times connectivity watchdog confirmed background scan is working 185 // Count of times connectivity watchdog found background scan not working 204 // Total number of scan results 207 // Total number of scan results for open networks 210 // Total number of scan results for legacy personal networks 213 // Total number of scan results for legacy enterprise networks [all …]
|
D | scorecard.proto | 166 // Most recent WiFi scan time 168 // Number of access points found in most recent WiFi scan at 2G 170 // Number of access points found in most recent WiFi scan above 2G 193 // List of frequencies observed for this network from scan results, sorted by most recent first.
|
/packages/providers/MediaProvider/src/com/android/providers/media/scan/ |
D | ModernMediaScanner.java | 17 package com.android.providers.media.scan; 247 try (Scan scan = new Scan(file, reason, /*ownerPackage*/ null)) { in scanDirectory() argument 248 scan.run(); in scanDirectory() 262 try (Scan scan = new Scan(file, reason, ownerPackage)) { in scanFile() argument 263 scan.run(); in scanFile() 264 return scan.getFirstResult(); in scanFile() 276 for (Scan scan : mActiveScans) { in onDetachVolume() 277 if (volume.equals(scan.mVolume)) { in onDetachVolume() 278 scan.mSignal.cancel(); in onDetachVolume() 287 for (Scan scan : mActiveScans) { in onIdleScanStopped() [all …]
|
D | LegacyMediaScanner.java | 17 package com.android.providers.media.scan;
|
D | MediaScanner.java | 17 package com.android.providers.media.scan;
|
D | NullMediaScanner.java | 17 package com.android.providers.media.scan;
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaService.java | 19 import static com.android.providers.media.scan.MediaScanner.REASON_DEMAND; 20 import static com.android.providers.media.scan.MediaScanner.REASON_MOUNTED;
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | MetricsTest.java | 23 import com.android.providers.media.scan.MediaScanner;
|
/packages/providers/MediaProvider/apex/framework/api/ |
D | system-current.txt | 11 field public static final String QUERY_ARG_DEFER_SCAN = "android:query-arg-defer-scan";
|
/packages/providers/MediaProvider/src/com/android/providers/media/fuse/ |
D | ExternalStorageServiceImpl.java | 19 import static com.android.providers.media.scan.MediaScanner.REASON_MOUNTED;
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/tests/ |
D | BluetoothRequestPermissionTest.java | 81 Button scanButton = (Button) findViewById(R.id.scan); in onCreate()
|