Home
last modified time | relevance | path

Searched refs:scanner (Results 1 – 25 of 27) sorted by relevance

12

/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DMediaScannerTest.java180 private void testSpeed(MediaScanner scanner) throws IOException { in testSpeed() argument
186 scanDirectory(scanner, scanDir, "Initial"); in testSpeed()
187 scanDirectory(scanner, scanDir, "No-op"); in testSpeed()
190 scanDirectory(scanner, scanDir, "Clean"); in testSpeed()
193 private static void scanDirectory(MediaScanner scanner, File dir, String tag) { in scanDirectory() argument
194 final Context context = scanner.getContext(); in scanDirectory()
198 scanner.scanDirectory(dir); in scanDirectory()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadScanner.java83 final DownloadScanner scanner = new DownloadScanner(context); in requestScanBlocking() local
84 scanner.mLatch = new CountDownLatch(1); in requestScanBlocking()
85 scanner.requestScan(new ScanRequest(id, path, mimeType)); in requestScanBlocking()
87 scanner.mLatch.await(SCAN_TIMEOUT, TimeUnit.MILLISECONDS); in requestScanBlocking()
91 scanner.shutdown(); in requestScanBlocking()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DLegacyMediaScanner.java45 try (android.media.MediaScanner scanner = in scanDirectory() argument
47 scanner.scanDirectories(new String[] { path }); in scanDirectory()
59 try (android.media.MediaScanner scanner = in scanFile() argument
62 return scanner.scanSingleFile(path, in scanFile()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DClipStorageReader.java95 private Iterator(Scanner scanner) { in Iterator() argument
96 mScanner = scanner; in Iterator()
119 private FileLockEntry(int count, FileLock lock, Scanner scanner) { in FileLockEntry() argument
122 mScanner = scanner; in FileLockEntry()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DWriteableArchiveTest.java264 final Scanner scanner = new Scanner(inputStream); in testAddFile() local
265 assertEquals("Hello world!", scanner.nextLine()); in testAddFile()
266 assertFalse(scanner.hasNext()); in testAddFile()
293 final Scanner scanner = new Scanner(inputStream); in testAddFile_empty() local
294 assertFalse(scanner.hasNext()); in testAddFile_empty()
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DUfsWearInformationProvider.java76 Scanner scanner = new Scanner(lifetimeInfo); in load() local
77 if (null == scanner.findInLine(infoPattern)) { in load()
80 MatchResult match = scanner.match(); in load()
/packages/apps/TV/src/com/android/tv/data/
DWatchedHistoryManager.java289 try (Scanner scanner = new Scanner(encodedString)) { in decode() argument
290 long channelId = scanner.nextLong(); in decode()
291 long watchedStartTime = scanner.nextLong(); in decode()
292 long duration = scanner.nextLong(); in decode()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_gatt.cpp970 sGattIf->scanner->RegisterScanner( in registerScannerNative()
978 sGattIf->scanner->Unregister(scanner_id); in unregisterScannerNative()
983 sGattIf->scanner->Scan(start); in gattClientScanNative()
1171 sGattIf->scanner->SetScanParameters( in gattSetScanParametersNative()
1230 sGattIf->scanner->ScanFilterParamSetup( in gattClientScanFilterParamAddNative()
1240 sGattIf->scanner->ScanFilterParamSetup( in gattClientScanFilterParamDeleteNative()
1249 sGattIf->scanner->ScanFilterParamSetup( in gattClientScanFilterParamClearAllNative()
1278 sGattIf->scanner->ScanFilterAdd(filter_index, std::move(native_filters), in gattClientScanFilterAddNative()
1370 sGattIf->scanner->ScanFilterAdd(filter_index, std::move(native_filters), in gattClientScanFilterAddNative()
1377 sGattIf->scanner->ScanFilterClear(filt_index, in gattClientScanFilterClearNative()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidStateMachine.java571 Scanner scanner = new Scanner(stringWriter.toString()); in dump() local
572 while (scanner.hasNextLine()) { in dump()
573 String line = scanner.nextLine(); in dump()
576 scanner.close(); in dump()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java797 Scanner scanner = new Scanner(stringWriter.toString()); in dump() local
798 while (scanner.hasNextLine()) { in dump()
799 String line = scanner.nextLine(); in dump()
802 scanner.close(); in dump()
/packages/services/Car/service/src/com/android/car/
DCarProjectionService.java303 WifiScanner scanner; in getAvailableWifiChannels() local
309 scanner = mWifiScanner; in getAvailableWifiChannels()
311 if (scanner == null) { in getAvailableWifiChannels()
316 List<Integer> channels = scanner.getAvailableChannels(band); in getAvailableWifiChannels()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java243 Scanner scanner = new Scanner(stringWriter.toString()); in dump() local
244 while (scanner.hasNextLine()) { in dump()
245 String line = scanner.nextLine(); in dump()
248 scanner.close(); in dump()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dpl_wordlist.combined.gz
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...

12