Home
last modified time | relevance | path

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

/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DRootProcessScanner.java125 try (Scanner scanner = new Scanner(statm)) { in isKernelProcess() argument
128 if (scanner.nextInt() != 0) { in isKernelProcess()
133 if (scanner.hasNext()) { in isKernelProcess()
160 try (Scanner scanner = new Scanner(status)) { in isRootProcess() argument
161 findToken(scanner, "Uid:"); in isRootProcess()
162 boolean rootUid = hasRootId(scanner); in isRootProcess()
163 findToken(scanner, "Gid:"); in isRootProcess()
164 boolean rootGid = hasRootId(scanner); in isRootProcess()
178 try (Scanner scanner = new Scanner(status)) { in isApproved() argument
179 findToken(scanner, "Name:"); in isApproved()
[all …]
/test/vts-testcase/nbu/src/
Dble_test.py132 def Discover(scanner, advertiser): argument
149 scanner.scan_callback = scanner.android.bleStartScan([SCAN_FILTER],
154 scan_result = scanner.scan_callback.waitForEvent(
161 scanner.connect_to_address = result['Device']['Address']
169 scanner.log.info('Advertiser is found')
172 def StopDiscover(scanner, advertiser): argument
184 scanner.android.bleStopScan(scanner.scan_callback.callback_id)
185 scanner.log.info('BLE scanning stopped')
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DBusinessLogicFactory.java251 try (Scanner scanner = new Scanner(f)) { in readFile() argument
252 while(scanner.hasNextLine()) { in readFile()
253 sb.append(scanner.nextLine() + lineSeparator); in readFile()