• Home
  • Raw
  • Download

Lines Matching refs:mParent

336     : mParent(parent) {}  in SocketCallbacks()
349 return mParent.mCallbacks->handleHubEvent(AsyncEventType::RESTARTED); in onConnected()
368 return mParent.mCallbacks->handleClientMsg(msg); in handleNanoappMessage()
376 std::lock_guard<std::mutex> lock(mParent.mHubInfoMutex); in handleHubInfoResponse()
377 if (mParent.mHubInfoValid) { in handleHubInfoResponse()
380 mParent.mHubInfo.name = getStringFromByteVector(response.name); in handleHubInfoResponse()
381 mParent.mHubInfo.vendor = getStringFromByteVector(response.vendor); in handleHubInfoResponse()
382 mParent.mHubInfo.toolchain = getStringFromByteVector(response.toolchain); in handleHubInfoResponse()
383 mParent.mHubInfo.platformVersion = response.platform_version; in handleHubInfoResponse()
384 mParent.mHubInfo.toolchainVersion = response.toolchain_version; in handleHubInfoResponse()
385 mParent.mHubInfo.hubId = kDefaultHubId; in handleHubInfoResponse()
387 mParent.mHubInfo.peakMips = response.peak_mips; in handleHubInfoResponse()
388 mParent.mHubInfo.stoppedPowerDrawMw = response.stopped_power; in handleHubInfoResponse()
389 mParent.mHubInfo.sleepPowerDrawMw = response.sleep_power; in handleHubInfoResponse()
390 mParent.mHubInfo.peakPowerDrawMw = response.peak_power; in handleHubInfoResponse()
392 mParent.mHubInfo.maxSupportedMsgLen = response.max_msg_len; in handleHubInfoResponse()
393 mParent.mHubInfo.chrePlatformId = response.platform_id; in handleHubInfoResponse()
396 mParent.mHubInfo.chreApiMajorVersion = extractChreApiMajorVersion(version); in handleHubInfoResponse()
397 mParent.mHubInfo.chreApiMinorVersion = extractChreApiMinorVersion(version); in handleHubInfoResponse()
398 mParent.mHubInfo.chrePatchVersion = extractChrePatchVersion(version); in handleHubInfoResponse()
400 mParent.mHubInfoValid = true; in handleHubInfoResponse()
401 mParent.mHubInfoCond.notify_all(); in handleHubInfoResponse()
433 return mParent.mCallbacks->handleAppsInfo(appInfoList); in handleNanoappListResponse()
442 std::unique_lock<std::mutex> lock(mParent.mPendingLoadTransactionMutex); in handleLoadNanoappResponse()
445 if (!mParent.mPendingLoadTransaction.has_value()) { in handleLoadNanoappResponse()
449 mParent.mPendingLoadTransaction.value(); in handleLoadNanoappResponse()
451 if (!mParent.isExpectedLoadResponseLocked(response)) { in handleLoadNanoappResponse()
455 mParent.mCurrentFragmentId, response.transaction_id, in handleLoadNanoappResponse()
461 if (mParent.sendFragmentedLoadNanoAppRequest(transaction) in handleLoadNanoappResponse()
474 mParent.mPendingLoadTransaction.reset(); in handleLoadNanoappResponse()
477 return mParent.mCallbacks->handleTxnResult( in handleLoadNanoappResponse()
502 return mParent.mCallbacks->handleTxnResult(response.transaction_id, result); in handleUnloadNanoappResponse()
509 if (mParent.mDebugFd == kInvalidFd) { in handleDebugDumpData()
512 mParent.writeToDebugFile( in handleDebugDumpData()
522 std::lock_guard<std::mutex> lock(mParent.mDebugDumpMutex); in handleDebugDumpResponse()
523 if (!mParent.mDebugDumpPending) { in handleDebugDumpResponse()
526 mParent.mDebugDumpPending = false; in handleDebugDumpResponse()
527 mParent.mDebugDumpCond.notify_all(); in handleDebugDumpResponse()
533 std::lock_guard<std::mutex> lock(mParent.mCallbacksLock); in invokeClientCallback()
534 if (mParent.mCallbacks != nullptr && !callback().isOk()) { in invokeClientCallback()