Home
last modified time | relevance | path

Searched refs:cbData (Results 1 – 8 of 8) sorted by relevance

/system/chre/platform/slpi/
Dhost_link.cc225 auto *cbData = static_cast<NanoappListData *>(data); in buildNanoappListResponse() local
227 *(cbData->builder), cbData->nanoappEntries, nanoapp->getAppId(), in buildNanoappListResponse()
233 auto *cbData = static_cast<NanoappListData *>(cookie); in buildNanoappListResponse() local
234 cbData->builder = &builder; in buildNanoappListResponse()
236 eventLoop.forEachNanoapp(nanoappAdderCallback, cbData); in buildNanoappListResponse()
238 builder, cbData->nanoappEntries, cbData->hostClientId); in buildNanoappListResponse()
245 NanoappListData cbData = {}; in constructNanoappListCallback() local
246 cbData.hostClientId = clientIdCbData.hostClientId; in constructNanoappListCallback()
250 if (!cbData.nanoappEntries.reserve(expectedNanoappCount)) { in constructNanoappListCallback()
260 &cbData); in constructNanoappListCallback()
[all …]
/system/chre/platform/shared/
Dplatform_sensor_util.cc49 auto *cbData = static_cast<CallbackData *>(data); in updateLastEvent() local
52 ->getSensorRequestManager().getSensor(cbData->sensorType); in updateLastEvent()
58 sensor->setLastEvent(cbData->event); in updateLastEvent()
60 memoryFree(cbData); in updateLastEvent()
/system/chre/platform/slpi/include/chre/platform/slpi/smgr/
Dsmr_helper.h288 UniquePtr<AsyncCallbackData<ReqStruct, RespStruct>> cbData( in smrAsyncRespCb()
290 cbData->callback(std::move(cbData->respCStruct), cbData->data, in smrAsyncRespCb()
291 cbData->transpErr); in smrAsyncRespCb()
294 auto *cbData = in smrAsyncRespCb() local
296 cbData->transpErr = transp_err; in smrAsyncRespCb()
/system/chre/platform/slpi/include/chre/target_platform/
Dcondition_variable_impl.h59 auto cbData = static_cast<TimeoutCallbackData*>(data); in wait_for() local
60 cbData->timedOut = true; in wait_for()
61 cbData->cvPtr->notify_one(); in wait_for()
/system/chre/platform/android/
Dhost_link.cc144 HostClientIdCallbackData cbData = {}; in handleNanoappListRequest() local
145 cbData.hostClientId = hostClientId; in handleNanoappListRequest()
147 SystemCallbackType::NanoappListResponse, cbData.ptr, in handleNanoappListRequest()
/system/chre/platform/slpi/include/chre/platform/slpi/see/
Dsee_helper.h489 void *cbData);
496 static void seeRespCb(sns_client *client, sns_std_error error, void *cbData);
/system/chre/platform/slpi/see/
Dsee_helper.cc1742 auto *cbData = memoryAlloc<SeeRespCbData>(); in sendSeeReqSync() local
1743 if (cbData == nullptr) { in sendSeeReqSync()
1746 cbData->seeHelper = this; in sendSeeReqSync()
1752 cbData->txnId = ++mCurrentTxnId; in sendSeeReqSync()
1756 client, req, SeeHelper::seeRespCb, cbData); in sendSeeReqSync()
1759 memoryFree(cbData); in sendSeeReqSync()
1862 sns_client *client, void *msg, uint32_t msgLen, void *cbData) { in seeIndCb() argument
1863 auto *obj = static_cast<SeeHelper *>(cbData); in seeIndCb()
1868 void *cbData) { in seeRespCb() argument
1869 auto *respCbData = static_cast<SeeRespCbData *>(cbData); in seeRespCb()
[all …]
Dplatform_sensor.cc314 auto cbData = UniquePtr<SeeHelperCallbackInterface::SamplingStatusData>( in onSamplingStatusUpdate() local
316 updateSamplingStatus(*cbData); in onSamplingStatusUpdate()