/hardware/interfaces/bluetooth/1.0/default/ |
D | bluetooth_hci.cc | 57 const ::android::sp<IBluetoothHciCallbacks>& cb) { in initialize() 59 if (cb == nullptr) { in initialize() 65 cb->linkToDeath(death_recipient_, 0); in initialize() 68 [cb](bool status) { in initialize() 69 auto hidl_status = cb->initializationComplete( in initialize() 75 [cb](const hidl_vec<uint8_t>& packet) { in initialize() 76 auto hidl_status = cb->hciEventReceived(packet); in initialize() 81 [cb](const hidl_vec<uint8_t>& packet) { in initialize() 82 auto hidl_status = cb->aclDataReceived(packet); in initialize() 87 [cb](const hidl_vec<uint8_t>& packet) { in initialize() [all …]
|
/hardware/interfaces/biometrics/fingerprint/2.1/vts/functional/ |
D | VtsHalBiometricsFingerprintV2_1TargetTest.cpp | 223 sp<FingerprintCallbackBase> cb = new FingerprintCallbackBase(); in TEST_P() local 224 Return<uint64_t> rc = mService->setNotify(cb); in TEST_P() 248 sp<ErrorCallback> cb = new ErrorCallback(); in TEST_P() local 249 Return<uint64_t> rc = mService->setNotify(cb); in TEST_P() 261 ASSERT_TRUE(waitForCallback(cb->promise.get_future())); in TEST_P() 262 ASSERT_NE(FingerprintError::ERROR_NO_ERROR, cb->error); in TEST_P() 267 sp<ErrorCallback> cb = new ErrorCallback(); in TEST_P() local 268 Return<uint64_t> rc = mService->setNotify(cb); in TEST_P() 276 ASSERT_TRUE(waitForCallback(cb->promise.get_future())); in TEST_P() 277 ASSERT_NE(FingerprintError::ERROR_NO_ERROR, cb->error); in TEST_P() [all …]
|
/hardware/interfaces/bluetooth/1.1/default/ |
D | bluetooth_hci.cc | 60 const ::android::sp<V1_1::IBluetoothHciCallbacks>& cb) { in initialize_1_1() 62 if (cb == nullptr) { in initialize_1_1() 68 cb->linkToDeath(death_recipient_, 0); in initialize_1_1() 71 [cb](bool status) { in initialize_1_1() 72 auto hidl_status = cb->initializationComplete( in initialize_1_1() 79 [cb](const hidl_vec<uint8_t>& packet) { in initialize_1_1() 80 auto hidl_status = cb->hciEventReceived(packet); in initialize_1_1() 85 [cb](const hidl_vec<uint8_t>& packet) { in initialize_1_1() 86 auto hidl_status = cb->aclDataReceived(packet); in initialize_1_1() 91 [cb](const hidl_vec<uint8_t>& packet) { in initialize_1_1() [all …]
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | dhdu_nl80211.c | 81 dhd_nli->cb = nl_cb_alloc(NL_CB_DEBUG); in dhd_nl_sock_connect() 82 if (dhd_nli->cb == NULL) in dhd_nl_sock_connect() 85 nl_socket_set_cb(dhd_nli->nl, dhd_nli->cb); in dhd_nl_sock_connect() 89 nl_cb_put(dhd_nli->cb); in dhd_nl_sock_connect() 97 nl_cb_put(dhd_nli->cb); in dhd_nl_sock_disconnect() 121 nl_cb_err(dhd_nli->cb, NL_CB_CUSTOM, dhd_nl_error_handler, &err); in dhd_nl_do_testmode() 122 nl_cb_set(dhd_nli->cb, NL_CB_ACK, NL_CB_CUSTOM, in dhd_nl_do_testmode() 124 nl_cb_set(dhd_nli->cb, NL_CB_FINISH, NL_CB_CUSTOM, in dhd_nl_do_testmode() 126 nl_cb_set(dhd_nli->cb, NL_CB_VALID, NL_CB_CUSTOM, in dhd_nl_do_testmode() 129 nl_recvmsgs(dhd_nli->nl, dhd_nli->cb); in dhd_nl_do_testmode()
|
/hardware/qcom/wlan/cld80211-lib/ |
D | cld80211_lib.c | 165 int cld80211_recv_msg(struct nl_sock *sock, struct nl_cb *cb) in cld80211_recv_msg() argument 167 if (!sock || !cb) { in cld80211_recv_msg() 172 int res = nl_recvmsgs(sock, cb); in cld80211_recv_msg() 181 struct nl_cb *cb) in cld80211_handle_event() argument 185 cld80211_recv_msg(sock, cb); in cld80211_handle_event() 189 cld80211_recv_msg(sock, cb); in cld80211_handle_event() 360 struct nl_cb *cb = nl_cb_alloc(NL_CB_DEFAULT); in cld80211_send_recv_msg() local 361 if (!cb) in cld80211_send_recv_msg() 370 nl_cb_set(cb, NL_CB_SEQ_CHECK, NL_CB_CUSTOM, no_seq_check, NULL); in cld80211_send_recv_msg() 371 nl_cb_err(cb, NL_CB_CUSTOM, error_handler, &err); in cld80211_send_recv_msg() [all …]
|
/hardware/interfaces/wifi/1.3/default/ |
D | hidl_callback_util.h | 69 bool addCallback(const sp<CallbackType>& cb) { in addCallback() argument 73 uint64_t cookie = reinterpret_cast<uint64_t>(cb.get()); in addCallback() 74 if (cb_set_.find(cb) != cb_set_.end()) { in addCallback() 78 if (!cb->linkToDeath(death_handler_, cookie)) { in addCallback() 82 cb_set_.insert(cb); in addCallback() 92 CallbackType* cb = reinterpret_cast<CallbackType*>(cookie); in onObjectDeath() local 93 const auto& iter = cb_set_.find(cb); in onObjectDeath() 103 for (const sp<CallbackType>& cb : cb_set_) { in invalidate() local 104 if (!cb->unlinkToDeath(death_handler_)) { in invalidate()
|
/hardware/libhardware/modules/input/evdev/ |
D | InputHost.h | 43 InputHostBase(input_host_t* host, input_host_callbacks_t cb) : mHost(host), mCallbacks(cb) {} in InputHostBase() argument 55 InputReport(input_host_t* host, input_host_callbacks_t cb, input_report_t* r) : in InputReport() argument 56 InputHostBase(host, cb), mReport(r) {} in InputReport() 75 InputReportDefinition(input_host_t* host, input_host_callbacks_t cb, in InputReportDefinition() argument 76 input_report_definition_t* r) : InputHostBase(host, cb), mReportDefinition(r) {} in InputReportDefinition() 96 InputDeviceDefinition(input_host_t* host, input_host_callbacks_t cb, in InputDeviceDefinition() argument 98 InputHostBase(host, cb), mDeviceDefinition(d) {} in InputDeviceDefinition() 115 InputProperty(input_host_t* host, input_host_callbacks_t cb, input_property_t* p) : in InputProperty() argument 116 InputHostBase(host, cb), mProperty(p) {} in InputProperty() 133 InputPropertyMap(input_host_t* host, input_host_callbacks_t cb, input_property_map_t* m) : in InputPropertyMap() argument [all …]
|
/hardware/interfaces/tests/foo/1.0/default/ |
D | Foo.cpp | 116 const sp<IFooCallback> &cb) { in callMe() argument 117 LOG(INFO) << "SERVER(Foo) callMe " << cb.get(); in callMe() 119 if (cb != NULL) { in callMe() 122 << cb.get() in callMe() 125 cb->heyItsYou(cb); in callMe() 128 << cb.get() in callMe() 133 << cb.get() in callMe() 138 bool answer = cb->heyItsYouIsntIt(cb); in callMe() 142 << cb.get() in callMe() 150 << cb.get() in callMe() [all …]
|
/hardware/interfaces/contexthub/1.0/vts/functional/ |
D | VtsHalContexthubV1_0TargetTest.cpp | 111 Result registerCallback(sp<IContexthubCallback> cb) { in registerCallback() argument 112 Result result = hubApi->registerCallback(getHubId(), cb); in registerCallback() 227 sp<QueryAppsCallback> cb = new QueryAppsCallback(); in TEST_P() local 228 ASSERT_OK(registerCallback(cb)); in TEST_P() 235 ASSERT_TRUE(waitForCallback(cb->promise.get_future(), &appList)); in TEST_P() 265 ASSERT_OK(registerCallback(cb)); in SetUp() 268 sp<TxnResultCallback> cb = new TxnResultCallback(); member in __anon41211db20111::ContexthubTxnTest 322 cb->expectedTxnId = 0123; in TEST_P() 332 Result result = hubApi->loadNanoApp(getHubId(), emptyApp, cb->expectedTxnId); in TEST_P() 334 cb->promise.get_future())); in TEST_P() [all …]
|
/hardware/interfaces/keymaster/4.1/support/ |
D | Keymaster3.cpp | 151 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<uint8_t>& keyBlob, in generateKey() local 155 auto rc = km3_dev_->generateKey(convert(keyParams), cb); in generateKey() 164 auto cb = [&](V3_0::ErrorCode error, const V3_0::KeyCharacteristics& chars) { in getKeyCharacteristics() local 168 auto rc = km3_dev_->getKeyCharacteristics(keyBlob, clientId, appData, cb); in getKeyCharacteristics() 175 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<uint8_t>& keyBlob, in importKey() local 179 auto rc = km3_dev_->importKey(convert(params), convert(keyFormat), keyData, cb); in importKey() 187 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<uint8_t>& keyMaterial) { in exportKey() local 190 auto rc = km3_dev_->exportKey(convert(exportFormat), keyBlob, clientId, appData, cb); in exportKey() 198 auto cb = [&](V3_0::ErrorCode error, const hidl_vec<hidl_vec<uint8_t>>& certChain) { in attestKey() local 201 auto rc = km3_dev_->attestKey(keyToAttest, convert(attestParams), cb); in attestKey() [all …]
|
/hardware/interfaces/gatekeeper/1.0/default/ |
D | Gatekeeper.cpp | 59 enroll_cb cb) in enroll() argument 81 cb(rsp); in enroll() 89 verify_cb cb) in verify() argument 114 cb(rsp); in verify() 118 Return<void> Gatekeeper::deleteUser(uint32_t uid, deleteUser_cb cb) { in deleteUser() argument 134 cb(rsp); in deleteUser() 138 Return<void> Gatekeeper::deleteAllUsers(deleteAllUsers_cb cb) { in deleteAllUsers() argument 153 cb(rsp); in deleteAllUsers()
|
/hardware/qcom/bt/msm8998/libbt-vendor/src/ |
D | hardware.c | 138 q.cb->dealloc(p_evt_buf); in hw_epilog_cback() 141 q.cb->epilog_cb(BT_VND_OP_RESULT_SUCCESS); in hw_epilog_cback() 164 p_buf = (HC_BT_HDR *) q.cb->alloc(BT_HC_HDR_SIZE + HCI_CMD_PREAMBLE_SIZE); in __hw_epilog_process() 177 q.cb->xmit_cb(HCI_RESET, p_buf, hw_epilog_cback); in __hw_epilog_process() 182 q.cb->epilog_cb(BT_VND_OP_RESULT_FAIL); in __hw_epilog_process()
|
/hardware/qcom/sdm845/bt/libbt-vendor/src/ |
D | hardware.c | 144 q->cb->dealloc(p_evt_buf); in hw_epilog_cback() 147 q->cb->epilog_cb(BT_VND_OP_RESULT_SUCCESS); in hw_epilog_cback() 174 p_buf = (HC_BT_HDR *) q->cb->alloc(BT_HC_HDR_SIZE + HCI_CMD_PREAMBLE_SIZE); in __hw_epilog_process() 187 q->cb->xmit_cb(HCI_RESET, p_buf, hw_epilog_cback); in __hw_epilog_process() 192 q->cb->epilog_cb(BT_VND_OP_RESULT_FAIL); in __hw_epilog_process()
|
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/ |
D | hardware.c | 143 q->cb->dealloc(p_evt_buf); in hw_epilog_cback() 146 q->cb->epilog_cb(BT_VND_OP_RESULT_SUCCESS); in hw_epilog_cback() 173 p_buf = (HC_BT_HDR *) q->cb->alloc(BT_HC_HDR_SIZE + HCI_CMD_PREAMBLE_SIZE); in __hw_epilog_process() 186 q->cb->xmit_cb(HCI_RESET, p_buf, hw_epilog_cback); in __hw_epilog_process() 191 q->cb->epilog_cb(BT_VND_OP_RESULT_FAIL); in __hw_epilog_process()
|
/hardware/interfaces/contexthub/1.0/default/ |
D | Contexthub.cpp | 199 const sp<IContexthubCallback> &cb) { in registerCallback() argument 218 mCachedHubInfo[hubId].callback = cb; in registerCallback() 219 if (cb != nullptr) { in registerCallback() 220 Return<bool> linkResult = cb->linkToDeath(mDeathRecipient, hubId); in registerCallback() 262 int Contexthub::handleOsMessage(sp<IContexthubCallback> cb, in handleOsMessage() argument 285 if (cb != nullptr) { in handleOsMessage() 286 cb->handleTxnResult(mTransactionId, result); in handleOsMessage() 309 if (cb != nullptr) { in handleOsMessage() 310 cb->handleAppsInfo(apps); in handleOsMessage() 326 if (cb != nullptr) { in handleOsMessage() [all …]
|
/hardware/google/pixel/powerstats/ |
D | AidlStateResidencyDataProvider.cpp | 119 const std::pair<std::string, sp<IPixelPowerStatsCallback>> &cb, in getStatsTimed() argument 125 binderStatus status = cb.second->getStats(&stats); in getStatsTimed() 131 LOG(WARNING) << "getStats for " << cb.first << " exceeded time allowed: " << time_elapsed_us in getStatsTimed() 175 for (auto cb : mCallbacks) { in getResults() local 179 binderStatus status = getStatsTimed(cb, stats); in getResults() 181 LOG(ERROR) << "getStats for " << cb.first << " failed: " << status.toString8(); in getResults() 185 if (buildResult(cb.first, stats, result)) { in getResults() 189 LOG(ERROR) << "State residency data missing for " << cb.first; in getResults()
|
/hardware/interfaces/memtrack/1.0/vts/functional/ |
D | VtsHalMemtrackV1_0TargetTest.cpp | 87 auto cb = generate_cb(&s, &v); in TEST_P() local 91 memtrack->getMemory(-1, static_cast<MemtrackType>(i), cb); in TEST_P() 102 auto cb = generate_cb(&s, &v); in TEST_P() local 103 Return<void> ret = memtrack->getMemory(getpid(), MemtrackType::NUM_TYPES, cb); in TEST_P() 120 auto cb = generate_cb(&s, &v); in TEST_P() local 125 memtrack->getMemory(getpid(), static_cast<MemtrackType>(i), cb); in TEST_P()
|
/hardware/interfaces/tests/baz/1.0/default/ |
D | Baz.cpp | 28 Return<void> heyItsMe(const sp<IBazCallback> &cb) override; 33 const sp<IBazCallback> &cb) { in heyItsMe() argument 34 LOG(INFO) << "SERVER: heyItsMe cb = " << cb.get(); in heyItsMe() 300 Return<void> Baz::callMe(const sp<IBazCallback>& cb) { in callMe() argument 301 LOG(INFO) << "callMe " << cb.get(); in callMe() 303 if (cb != NULL) { in callMe() 305 cb->heyItsMe(my_cb); in callMe() 311 Return<void> Baz::callMeLater(const sp<IBazCallback>& cb) { in callMeLater() argument 312 LOG(INFO) << "callMeLater " << cb.get(); in callMeLater() 314 mStoredCallback = cb; in callMeLater()
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | VehicleHalManager_test.cpp | 241 sp<MockedVehicleCallback> cb = new MockedVehicleCallback(); in TEST_F() local 247 StatusCode res = manager->subscribe(cb, options); in TEST_F() 256 sp<MockedVehicleCallback> cb = new MockedVehicleCallback(); in TEST_F() local 261 StatusCode res = manager->subscribe(cb, options); in TEST_F() 268 auto& receivedEnvents = cb->getReceivedEvents(); in TEST_F() 270 ASSERT_TRUE(cb->waitForExpectedEvents(0)) << " Unexpected events received: " in TEST_F() 279 cb->reset(); in TEST_F() 283 ASSERT_TRUE(cb->waitForExpectedEvents(1)) << "Events received: " in TEST_F() 287 toString(cb->getReceivedEvents().front()[0])); in TEST_F() 293 sp<MockedVehicleCallback> cb = new MockedVehicleCallback(); in TEST_F() local [all …]
|
/hardware/interfaces/broadcastradio/2.0/vts/functional/ |
D | VtsHalBroadcastradioV2_0TargetTest.cpp | 227 auto cb = [&](Result result, AmFmRegionConfig configCb) { in getAmFmRegionConfig() local 232 auto hidlResult = mModule->getAmFmRegionConfig(full, cb); in getAmFmRegionConfig() 376 auto cb = [&](Result result, hidl_vec<DabTableEntry> configCb) { in TEST_P() local 380 auto hidlResult = mModule->getDabRegionConfig(cb); in TEST_P() 586 auto cb = [&](hidl_vec<VendorKeyValue> results) { in TEST_P() local 591 auto hidlResult = mSession->setParameters({}, cb); in TEST_P() 597 hidlResult = mSession->getParameters({}, cb); in TEST_P() 615 auto cb = [&](hidl_vec<VendorKeyValue> results) { in TEST_P() local 620 auto hidlResult = mSession->setParameters({{"com.google.unknown", "dummy"}}, cb); in TEST_P() 626 hidlResult = mSession->getParameters({{"com.google.unknown*", "dummy"}}, cb); in TEST_P() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 3379 qcamera_callback_argm_t *cb = in cbNotifyRoutine() local 3382 if (NULL != cb) { in cbNotifyRoutine() 3384 cb->cb_type); in cbNotifyRoutine() 3386 if (pme->mParent->msgTypeEnabledWithLock(cb->msg_type)) { in cbNotifyRoutine() 3387 switch (cb->cb_type) { in cbNotifyRoutine() 3390 if (cb->msg_type == CAMERA_MSG_FOCUS) { in cbNotifyRoutine() 3395 pme->mNotifyCb(cb->msg_type, in cbNotifyRoutine() 3396 cb->ext1, in cbNotifyRoutine() 3397 cb->ext2, in cbNotifyRoutine() 3402 if (cb->release_cb) { in cbNotifyRoutine() [all …]
|
/hardware/interfaces/power/stats/1.0/vts/functional/ |
D | VtsHalPowerStatsV1_0TargetTest.cpp | 342 auto cb = [&rails, &s](hidl_vec<RailInfo> rail_subsys, Status status) { in TEST_P() local 346 Return<void> ret = service_->getRailInfo(cb); in TEST_P() 356 auto cb = [&rails, &s](hidl_vec<RailInfo> rail_subsys, Status status) { in TEST_P() local 360 Return<void> ret = service_->getRailInfo(cb); in TEST_P() 398 auto cb = [&measurements, &s](hidl_vec<EnergyData> measure, Status status) { in TEST_P() local 402 Return<void> ret = service_->getEnergyData(hidl_vec<uint32_t>(), cb); in TEST_P() 407 auto cb = [&measurements, &s](hidl_vec<EnergyData> measure, Status status) { in TEST_P() local 411 Return<void> ret = service_->getEnergyData(hidl_vec<uint32_t>(), cb); in TEST_P() 450 auto cb = [&rails, &s](hidl_vec<RailInfo> rail_subsys, Status status) { in TEST_P() local 454 Return<void> ret = service_->getRailInfo(cb); in TEST_P() [all …]
|
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/ |
D | Gralloc1Hal.h | 291 const auto& cb = (flex.planes[1].component == FLEX_COMPONENT_Cb)? in toYCbCrLayout() local 296 if (cb.h_increment != cr.h_increment || cb.v_increment != cr.v_increment) { in toYCbCrLayout() 301 outLayout->cb = cb.top_left; in toYCbCrLayout() 304 outLayout->cStride = cb.v_increment; in toYCbCrLayout() 305 outLayout->chromaStep = cb.h_increment; in toYCbCrLayout()
|
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/ |
D | IpaEventRelay.cpp | 45 const ::android::sp<ITetheringOffloadCallback>& cb) : mFramework(cb) { in IpaEventRelay()
|
/hardware/qcom/sdm845/data/ipacfg-mgr/hal/src/ |
D | IpaEventRelay.cpp | 45 const ::android::sp<ITetheringOffloadCallback>& cb) : mFramework(cb) { in IpaEventRelay()
|