/system/chre/core/ |
D | gnss_manager.cc | 104 uint32_t instanceId = nanoapp->getInstanceId(); in configurePassiveLocationListener() local 107 if (nanoappHasPassiveLocationListener(instanceId, &index) != enable) { in configurePassiveLocationListener() 137 mPassiveLocationListenerNanoapps.push_back(instanceId); in configurePassiveLocationListener() 141 if (!mLocationSession.nanoappHasRequest(instanceId)) { in configurePassiveLocationListener() 197 for (uint32_t instanceId : mPassiveLocationListenerNanoapps) { in logStateToBuffer() local 198 debugDump.print(" nappId=%" PRIu32 "\n", instanceId); in logStateToBuffer() 362 log.timestamp.toRawNanoseconds(), log.instanceId, in logStateToBuffer() 374 uint32_t instanceId = nanoapp->getInstanceId(); in configure() local 376 bool hasRequest = nanoappHasRequest(instanceId, &requestIndex); in configure() 378 success = addRequestToQueue(instanceId, enable, minInterval, cookie); in configure() [all …]
|
D | timer_pool.cc | 48 TimerHandle TimerPool::setTimer(uint32_t instanceId, Nanoseconds duration, in setTimer() argument 56 timerRequest.instanceId = instanceId; in setTimer() 81 bool TimerPool::cancelTimer(uint32_t instanceId, TimerHandle timerHandle) { in cancelTimer() argument 90 } else if (timerRequest->instanceId != instanceId) { in cancelTimer() 179 bool isNanoappTimer = (timerRequest.instanceId != kSystemInstanceId); in insertTimerRequestLocked() 196 (mTimerRequests.top().instanceId != kSystemInstanceId); in popTimerRequestLocked() 208 (mTimerRequests[index].instanceId != kSystemInstanceId); in removeTimerRequestLocked() 230 if (currentTimerRequest.instanceId == kSystemInstanceId) { in handleExpiredTimersAndScheduleNextLocked() 238 nullptr /*freeCallback*/, currentTimerRequest.instanceId); in handleExpiredTimersAndScheduleNextLocked()
|
D | audio_request_manager.cc | 129 for (const auto &instanceId : request.instanceIds) { in logStateToBuffer() local 132 instanceId, request.numSamples, in logStateToBuffer() 171 bool AudioRequestManager::doConfigureSource(uint32_t instanceId, in doConfigureSource() argument 178 handle, instanceId, &requestIndex, &requestInstanceIdIndex); in doConfigureSource() 187 createAudioRequest(handle, instanceId, numSamples, deliveryInterval); in doConfigureSource() 204 success = (!enable || createAudioRequest(handle, instanceId, numSamples, in doConfigureSource() 228 uint32_t instanceId, in createAudioRequest() argument 239 if (!matchingAudioRequest->instanceIds.push_back(instanceId)) { in createAudioRequest() 250 } else if (!requestList.requests.back().instanceIds.push_back(instanceId)) { in createAudioRequest() 261 postAudioSamplingChangeEvent(instanceId, handle, requestList.available, in createAudioRequest() [all …]
|
D | event_loop.cc | 55 info->instanceId = app->getInstanceId(); in populateNanoappInfo() 65 uint32_t *instanceId) const { in findNanoappInstanceIdByAppId() 66 CHRE_ASSERT(instanceId != nullptr); in findNanoappInstanceIdByAppId() 72 *instanceId = app->getInstanceId(); in findNanoappInstanceIdByAppId() 203 bool EventLoop::unloadNanoapp(uint32_t instanceId, in unloadNanoapp() argument 208 if (instanceId == mNanoapps[i]->getInstanceId()) { in unloadNanoapp() 248 LOGD("Unloaded nanoapp with instanceId %" PRIu32, instanceId); in unloadNanoapp() 328 Nanoapp *EventLoop::findNanoappByInstanceId(uint32_t instanceId) const { in findNanoappByInstanceId() 330 return lookupAppByInstanceId(instanceId); in findNanoappByInstanceId() 341 uint32_t instanceId, struct chreNanoappInfo *info) const { in populateNanoappInfoForInstanceId() argument [all …]
|
D | debug_dump_manager.cc | 51 uint32_t instanceId = nanoapp.getInstanceId(); in appendNanoappLog() local 59 instanceId); in appendNanoappLog() 62 if (!mLastNanoappId.has_value() || mLastNanoappId.value() != instanceId) { in appendNanoappLog() 63 mLastNanoappId = instanceId; in appendNanoappLog()
|
D | sensor_request_multiplexer.cc | 24 uint32_t instanceId, size_t *index) const { in findRequest() argument 30 if (sensorRequest.getInstanceId() == instanceId) { in findRequest()
|
D | wifi_request_manager.cc | 55 uint32_t instanceId = nanoapp->getInstanceId(); in configureScanMonitor() local 56 bool hasScanMonitorRequest = nanoappHasScanMonitorRequest(instanceId); in configureScanMonitor() 62 success = postScanMonitorAsyncResultEvent(instanceId, true /* success */, in configureScanMonitor() 72 instanceId); in configureScanMonitor() 254 for (uint32_t instanceId : mScanMonitorNanoapps) { in logStateToBuffer() local 255 debugDump.print(" nappId=%" PRIu32 "\n", instanceId); in logStateToBuffer() 282 log.timestamp.toRawNanoseconds(), log.instanceId, in logStateToBuffer() 292 uint32_t instanceId, size_t *nanoappIndex) const { in nanoappHasScanMonitorRequest() argument 293 size_t index = mScanMonitorNanoapps.find(instanceId); in nanoappHasScanMonitorRequest() 333 uint32_t instanceId) { in updateNanoappScanMonitoringList() argument [all …]
|
/system/chre/apps/unload_tester/ |
D | unload_tester.cc | 44 uint32_t instanceId; in handleUnload() local 47 if (!eventLoop.findNanoappInstanceIdByAppId(kSpammerAppId, &instanceId)) { in handleUnload() 49 } else if (!eventLoop.unloadNanoapp(instanceId, true)) { in handleUnload() 72 CHRE_ASSERT(info.instanceId == chreGetInstanceId()); in nanoappStart() 97 info->instanceId); in nanoappHandleEvent()
|
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/ |
D | ContextHubEventBetweenAppsTestExecutor.java | 50 public int instanceId; field in ContextHubEventBetweenAppsTestExecutor.AppInfo 84 mAppInfo[index].instanceId = buffer.getInt(); in handleMessageFromNanoApp() 107 mAppInfo[0].instanceId != mAppInfo[1].instanceId); in handleMessageFromNanoApp() 112 .putInt(mAppInfo[0].instanceId); in handleMessageFromNanoApp() 117 buffer.putInt(mAppInfo[1].instanceId); in handleMessageFromNanoApp()
|
/system/chre/apps/test/chqts/src/general_test/ |
D | nanoapp_info.cc | 28 uint32_t instanceId; member 42 .instanceId = nanoapp_testing::hostToLittleEndian(mInstanceId), in sendToHost() 49 bool NanoappInfo::validate(uint64_t appId, uint32_t instanceId) { in validate() argument 54 } else if (instanceId != mInstanceId) { in validate()
|
D | nanoapp_info_events_test_observer.cc | 42 mStartStopHistory[mHistoryIndex].instanceId = nanoAppInfo->instanceId; in handleEvent() 78 if (data.instanceId == performerInstanceId) { in processStartStopHistory()
|
D | nanoapp_info.h | 42 bool validate(uint64_t appId, uint32_t instanceId);
|
/system/chre/core/include/chre/core/ |
D | gnss_manager.h | 148 instanceId(instanceIdIn), in SessionRequestLog() 152 uint32_t instanceId; member 253 bool nanoappHasRequest(uint32_t instanceId, 267 bool addRequestToQueue(uint32_t instanceId, bool enable, 301 uint32_t instanceId); 315 bool postAsyncResultEvent(uint32_t instanceId, bool success, bool enable, 326 void postAsyncResultEventFatal(uint32_t instanceId, bool success, bool enable,
|
D | event_loop.h | 76 bool findNanoappInstanceIdByAppId(uint64_t appId, uint32_t *instanceId) const; 136 bool unloadNanoapp(uint32_t instanceId, bool allowSystemNanoappUnload); 270 Nanoapp *findNanoappByInstanceId(uint32_t instanceId) const; 287 bool populateNanoappInfoForInstanceId(uint32_t instanceId, 460 Nanoapp *lookupAppByInstanceId(uint32_t instanceId) const;
|
D | wifi_request_manager.h | 182 instanceId(instanceIdIn), in WifiScanRequestLog() 187 uint32_t instanceId; member 256 bool nanoappHasScanMonitorRequest(uint32_t instanceId, 299 bool updateNanoappScanMonitoringList(bool enable, uint32_t instanceId);
|
D | audio_request_manager.h | 243 bool doConfigureSource(uint32_t instanceId, uint32_t handle, bool enable, 265 bool createAudioRequest(uint32_t handle, uint32_t instanceId, 283 uint32_t instanceId, size_t *index, 353 void postAudioSamplingChangeEvent(uint32_t instanceId, uint32_t handle,
|
D | timer_pool.h | 116 uint32_t instanceId; member 191 TimerHandle setTimer(uint32_t instanceId, Nanoseconds duration, 203 bool cancelTimer(uint32_t instanceId, TimerHandle timerHandle);
|
D | nanoapp.h | 59 void setInstanceId(uint32_t instanceId) { in setInstanceId() argument 60 mInstanceId = instanceId; in setInstanceId()
|
D | sensor_request_multiplexer.h | 43 const SensorRequest *findRequest(uint32_t instanceId, size_t *index) const;
|
/system/chre/platform/shared/ |
D | memory_manager.cc | 47 header->data.instanceId = app->getInstanceId(); in nanoappAlloc() 63 if (app->getInstanceId() != header->data.instanceId) { in nanoappFree() 65 app->getInstanceId(), header->data.instanceId); in nanoappFree()
|
/system/chre/chre_api/legacy/v1_1/chre/ |
D | event.h | 285 uint32_t instanceId; member 461 bool chreGetNanoappInfoByInstanceId(uint32_t instanceId,
|
/system/chre/chre_api/legacy/v1_3/chre/ |
D | event.h | 313 uint32_t instanceId; member 486 bool chreGetNanoappInfoByInstanceId(uint32_t instanceId,
|
/system/chre/chre_api/legacy/v1_2/chre/ |
D | event.h | 313 uint32_t instanceId; member 489 bool chreGetNanoappInfoByInstanceId(uint32_t instanceId,
|
/system/chre/chre_api/legacy/v1_4/chre/ |
D | event.h | 327 uint32_t instanceId; member 502 bool chreGetNanoappInfoByInstanceId(uint32_t instanceId,
|
/system/chre/chre_api/include/chre_api/chre/ |
D | event.h | 381 uint32_t instanceId; member 595 bool chreGetNanoappInfoByInstanceId(uint32_t instanceId,
|