Lines Matching refs:cb
163 const sp<IContexthubCallback> &cb) { in registerCallback() argument
178 mCachedHubInfo[hubId].callback = cb; in registerCallback()
179 if (cb != nullptr) { in registerCallback()
180 Return<bool> linkResult = cb->linkToDeath(mDeathRecipient, hubId); in registerCallback()
222 int Contexthub::handleOsMessage(sp<IContexthubCallback> cb, in handleOsMessage() argument
246 if (cb != nullptr) { in handleOsMessage()
247 cb->handleTxnResult(transactionId, result); in handleOsMessage()
270 if (cb != nullptr) { in handleOsMessage()
271 cb->handleAppsInfo(apps); in handleOsMessage()
287 if (cb != nullptr) { in handleOsMessage()
288 cb->handleHubEvent(AsyncEventType::RESTARTED); in handleOsMessage()
324 sp<IContexthubCallback> cb = obj->getCallBackForHubId(hubId); in contextHubCb() local
326 if (cb == nullptr) { in contextHubCb()
333 obj->handleOsMessage(cb, in contextHubCb()
348 cb->handleClientMsg(msg); in contextHubCb()