Home
last modified time | relevance | path

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

/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/media/audio_utils/fuzz/dtsframescanner_fuzzer/
Ddtsframescanner_fuzzer.cpp47 MySPDIFEncoder scanner(encoding); in LLVMFuzzerTestOneInput() local
48 scanner.isFormatSupported(encoding); in LLVMFuzzerTestOneInput()
49 scanner.write(data, size); // parsing will be triggered based on sync keywords found in dict in LLVMFuzzerTestOneInput()
50 scanner.reset(); in LLVMFuzzerTestOneInput()
/system/media/audio_utils/fuzz/ac3framescanner_fuzzer/
Dac3framescanner_fuzzer.cpp48 MySPDIFEncoder scanner(encoding); in LLVMFuzzerTestOneInput() local
49 scanner.isFormatSupported(encoding); in LLVMFuzzerTestOneInput()
50 scanner.write(data, size); // parsing will be triggered based on sync keywords found in dict in LLVMFuzzerTestOneInput()
51 scanner.reset(); in LLVMFuzzerTestOneInput()
/system/bt/service/test/
Dlow_energy_scanner_unittest.cc98 void OnScanResult(LowEnergyScanner* scanner, in OnScanResult() argument
100 ASSERT_TRUE(scanner); in OnScanResult()
150 auto callback = [&](std::unique_ptr<LowEnergyScanner> scanner) { in SetUp() argument
151 le_scanner_ = std::move(scanner); in SetUp()
163 const std::function<void(std::unique_ptr<LowEnergyScanner> scanner)> in RegisterTestScanner()
208 std::unique_ptr<LowEnergyScanner> scanner; in TEST_F() local
215 scanner = std::unique_ptr<LowEnergyScanner>( in TEST_F()
246 ASSERT_TRUE(scanner.get() != in TEST_F()
249 EXPECT_EQ(scanner_if0, scanner->GetInstanceId()); in TEST_F()
250 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/bt/btif/src/
Dbtif_gatt.cc85 .scanner = nullptr, // filled in btif_gatt_get_interface
102 btgattInterface.scanner = get_ble_scanner_instance(); in btif_gatt_get_interface()
Dbtif_ble_scanner.cc59 if (bt_gatt_callbacks && bt_gatt_callbacks->scanner->P_CBACK) { \
62 Bind(bt_gatt_callbacks->scanner->P_CBACK, __VA_ARGS__)); \
156 HAL_CBACK(bt_gatt_callbacks, scanner->scan_result_cb, ble_evt_type, addr_type, in bta_scan_results_cb_impl()
/system/media/audio_utils/tests/
Dspdif_tests.cpp83 FrameScanner *scanner = encoder.getFramer(); in TEST() local
87 ASSERT_FALSE(scanner->scan(sVoice1ch48k_AC3[i++])); in TEST()
89 ASSERT_TRUE(scanner->scan(sVoice1ch48k_AC3[i++])); in TEST()
90 ASSERT_FALSE(scanner->scan(sVoice1ch48k_AC3[i++])); in TEST()
/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/gd/packet/parser/
Dmain.cc63 void* scanner; in parse_declarations_one_file() local
64 yylex_init(&scanner); in parse_declarations_one_file()
72 yyset_in(in_file, scanner); in parse_declarations_one_file()
74 int ret = yy::parser(scanner, declarations).parse(); in parse_declarations_one_file()
80 yylex_destroy(scanner); in parse_declarations_one_file()
Dflex.gni22 # want to generate a C++ scanner class. We don't use --c++ in case you have
Dlanguage_y.yy21 %parse-param { void* scanner }
23 %lex-param { void* scanner }
/system/bt/service/
Dlow_energy_scanner.cc213 std::unique_ptr<LowEnergyScanner> scanner; in RegisterScannerCallback() local
216 scanner.reset(new LowEnergyScanner(adapter_, uuid, scanner_id)); in RegisterScannerCallback()
218 hal::BluetoothGattInterface::Get()->AddScannerObserver(scanner.get()); in RegisterScannerCallback()
224 callback(result, app_uuid, std::move(scanner)); in RegisterScannerCallback()
Dgatt_server_old.cc689 internal_->gatt->scanner->Scan(true); in ScanEnable()
694 internal_->gatt->scanner->Scan(false); in ScanDisable()
/system/tools/hidl/
Dhidl-gen_l.ll197 yyscan_t scanner;
198 yylex_init(&scanner);
200 yyset_in(file.get(), scanner);
203 int res = yy::parser(scanner, ast, &scopeStack).parse();
205 yylex_destroy(scanner);
Dhidl-gen_y.yy217 %parse-param { void* scanner }
220 %lex-param { void* scanner }
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dle_advertiser.cc123 bluetooth::hci::Address scanner) { in GetScanResponse() argument
134 if (scanner != peer_address_.GetAddress()) { in GetScanResponse()
/system/connectivity/wificond/tests/
Dscanner_unittest.cpp348 ScannerImpl scanner( in TEST_F() local
366 EXPECT_TRUE(scanner.startPnoScan(pno_settings, &success_ignored).isOk()); in TEST_F()
382 ScannerImpl scanner( in TEST_F() local
400 EXPECT_TRUE(scanner.startPnoScan(pno_settings, &success_ignored).isOk()); in TEST_F()
/system/bt/service/hal/
Dbluetooth_gatt_interface.cc474 return hal_iface_->scanner; in GetScannerHALInterface()