Home
last modified time | relevance | path

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

/system/tools/hidl/docs/src/lexer/
DHidlLexer.kt36 Scanner(paddedStr).use { scanner -> in <lambda>() method
37 while (scanner.hasNext()) { in <lambda>()
38 val token = scanner.next() in <lambda>()
42 TokenGrammar.COMMENT_LINE.value -> scanner.nextLine() in <lambda>()
46 … if (scanner.findWithinHorizon(Regex.escape(TokenGrammar.DOC_END.value), 0) == null) { in <lambda>()
58 while (scanner.hasNextLine()) { in <lambda>()
59 val line = scanner.nextLine() in <lambda>()
82 if (scanner.hasNext(annotation.value)) { in <lambda>()
83 scanner.next() //annotation tag in <lambda>()
86 if (scanner.hasNext(Regex.escape(TokenGrammar.PAREN_OPEN.value))) { in <lambda>()
[all …]
DDocLexer.kt39 Scanner(formattedStr).use { scanner -> in <lambda>() method
40 while (scanner.hasNext()) { in <lambda>()
41 token = scanner.next() in <lambda>()
51 if (scanner.hasNext(annotation.value)) { in <lambda>()
52 tokens.add(TokenGrammar.newToken(scanner.next())) in <lambda>()
/system/bt/service/ipc/binder/
Dbluetooth_le_scanner_binder_server.cc72 auto scanner = GetLEScanner(scanner_id); in StartScan() local
73 if (!scanner) { in StartScan()
84 *_aidl_return = scanner->StartScan(settings, flt); in StartScan()
93 auto scanner = GetLEScanner(scanner_id); in StopScan() local
94 if (!scanner) { in StopScan()
100 *_aidl_return = scanner->StopScan(); in StopScan()
105 bluetooth::LowEnergyScanner* scanner, const bluetooth::ScanResult& result) { in OnScanResult() argument
109 int scanner_id = scanner->GetInstanceId(); in OnScanResult()
110 auto cb = GetLECallback(scanner->GetInstanceId()); in OnScanResult()
Dbluetooth_le_scanner_binder_server.h64 void OnScanResult(bluetooth::LowEnergyScanner* scanner,
/system/bt/service/test/
Dlow_energy_scanner_unittest.cc95 void OnScanResult(LowEnergyScanner* scanner, const ScanResult& scan_result) { in OnScanResult() argument
96 ASSERT_TRUE(scanner); in OnScanResult()
146 auto callback = [&](std::unique_ptr<LowEnergyScanner> scanner) { in SetUp() argument
147 le_scanner_ = std::move(scanner); in SetUp()
159 const std::function<void(std::unique_ptr<LowEnergyScanner> scanner)> in RegisterTestScanner()
202 std::unique_ptr<LowEnergyScanner> scanner; in TEST_F() local
209 scanner = std::unique_ptr<LowEnergyScanner>( in TEST_F()
239 ASSERT_TRUE(scanner.get() != in TEST_F()
242 EXPECT_EQ(scanner_if0, scanner->GetInstanceId()); in TEST_F()
243 EXPECT_EQ(uuid0, scanner->GetAppIdentifier()); in TEST_F()
[all …]
/system/connectivity/wificond/tests/integration/
Dscanner_test.cpp40 sp<IWifiScannerImpl> scanner; in InitInterfaceAndReturnScanner() local
51 if (!client_interface->getWifiScannerImpl(&scanner).isOk()) { in InitInterfaceAndReturnScanner()
55 return scanner; in InitInterfaceAndReturnScanner()
/system/bt/include/hardware/
Dbt_gatt.h40 const btgatt_scanner_callbacks_t* scanner; member
63 BleScannerInterface* scanner; member
/system/tools/hidl/c2hal/
Dc2hal_l.ll280 yyscan_t scanner;
281 yylex_init_extra(ast, &scanner);
282 ast->setScanner(scanner);
284 yyset_in(file, scanner);
287 yylex_destroy(scanner);
301 yyscan_t scanner;
302 yylex_init_extra(ast, &scanner);
303 ast->setScanner(scanner);
305 YY_BUFFER_STATE buf = yy_scan_string(str.c_str(), scanner);
309 yy_delete_buffer(buf, scanner);
[all …]
DAST.h44 void *scanner();
45 void setScanner(void *scanner);
DAST.cpp72 void *AST::scanner() { in scanner() function in android::AST
76 void AST::setScanner(void *scanner) { in setScanner() argument
77 mScanner = scanner; in setScanner()
Dc2hal_y.yy57 #define scanner ast->scanner()
73 %lex-param { void *scanner }
/system/bt/service/
Dlow_energy_scanner.cc211 std::unique_ptr<LowEnergyScanner> scanner; in RegisterScannerCallback() local
214 scanner.reset(new LowEnergyScanner(adapter_, uuid, scanner_id)); in RegisterScannerCallback()
216 hal::BluetoothGattInterface::Get()->AddScannerObserver(scanner.get()); in RegisterScannerCallback()
222 callback(result, app_uuid, std::move(scanner)); in RegisterScannerCallback()
Dgatt_server_old.cc685 internal_->gatt->scanner->Scan(true); in ScanEnable()
690 internal_->gatt->scanner->Scan(false); in ScanDisable()
/system/bt/btif/src/
Dbtif_gatt.cc102 btgattInterface.scanner = get_ble_scanner_instance(); in btif_gatt_get_interface()
Dbtif_ble_scanner.cc57 if (bt_gatt_callbacks && bt_gatt_callbacks->scanner->P_CBACK) { \
60 Bind(bt_gatt_callbacks->scanner->P_CBACK, __VA_ARGS__)); \
155 HAL_CBACK(bt_gatt_callbacks, scanner->scan_result_cb, ble_evt_type, addr_type, in bta_scan_results_cb_impl()
/system/tools/hidl/
Dhidl-gen_l.ll196 yyscan_t scanner;
197 yylex_init(&scanner);
199 yyset_in(file.get(), scanner);
202 int res = yy::parser(scanner, ast, &scopeStack).parse();
204 yylex_destroy(scanner);
Dhidl-gen_y.yy215 %parse-param { void* scanner }
218 %lex-param { void* scanner }
/system/connectivity/wificond/tests/
Dmock_offload_service_utils.h46 std::shared_ptr<OffloadScanCallbackInterfaceImpl>(ScannerImpl* scanner));
Dscanner_unittest.cpp520 ScannerImpl scanner( in TEST_F() local
538 EXPECT_TRUE(scanner.startPnoScan(pno_settings, &success_ignored).isOk()); in TEST_F()
554 ScannerImpl scanner( in TEST_F() local
571 EXPECT_TRUE(scanner.startPnoScan(pno_settings, &success_ignored).isOk()); in TEST_F()
/system/bt/service/hal/
Dbluetooth_gatt_interface.cc472 return hal_iface_->scanner; in GetScannerHALInterface()