/system/chre/core/ |
D | gnss_manager.cc | 142 uint32_t instanceId = nanoapp->getInstanceId(); in configure() local 144 bool hasRequest = nanoappHasRequest(instanceId, &requestIndex); in configure() 146 success = addRequestToQueue(instanceId, enable, minInterval, cookie); in configure() 149 success = addRequestToQueue(instanceId, enable, minInterval, cookie); in configure() 155 instanceId); in configure() 160 instanceId, true /* success */, enable, minInterval, CHRE_ERROR_NONE, in configure() 168 uint32_t instanceId, size_t *requestIndex) const { in nanoappHasRequest() argument 171 if (mRequests[i].nanoappInstanceId == instanceId) { in nanoappHasRequest() 185 uint32_t instanceId, bool enable, Milliseconds minInterval, in addRequestToQueue() argument 188 stateTransition.nanoappInstanceId = instanceId; in addRequestToQueue() [all …]
|
D | timer_pool.cc | 47 uint32_t instanceId, Nanoseconds duration, in setTimer() argument 53 timerRequest.instanceId = instanceId; in setTimer() 79 uint32_t instanceId, TimerHandle timerHandle) { in cancelTimer() argument 88 } else if (timerRequest->instanceId != instanceId) { in cancelTimer() 177 bool isNanoappTimer = (timerRequest.instanceId != kSystemInstanceId); in insertTimerRequestLocked() 194 (mTimerRequests.top().instanceId != kSystemInstanceId); in popTimerRequestLocked() 206 (mTimerRequests[index].instanceId != kSystemInstanceId); in removeTimerRequestLocked() 229 currentTimerRequest.callback, currentTimerRequest.instanceId); in handleExpiredTimersAndScheduleNextLocked()
|
D | audio_request_manager.cc | 136 for (const auto& instanceId : request.instanceIds) { in logStateToBuffer() local 139 ", interval(ms)=%" PRIu64 "\n", instanceId, request.numSamples, in logStateToBuffer() 178 uint32_t instanceId, uint32_t handle, bool enable, uint32_t numSamples, in doConfigureSource() argument 183 handle, instanceId, &requestIndex, &requestInstanceIdIndex); in doConfigureSource() 191 success = createAudioRequest(handle, instanceId, numSamples, in doConfigureSource() 209 success = (!enable || createAudioRequest(handle, instanceId, numSamples, in doConfigureSource() 232 uint32_t handle, uint32_t instanceId, uint32_t numSamples, in createAudioRequest() argument 242 if (!matchingAudioRequest->instanceIds.push_back(instanceId)) { in createAudioRequest() 253 } else if (!requestList.requests.back().instanceIds.push_back(instanceId)) { in createAudioRequest() 262 postAudioSamplingChangeEvent(instanceId, handle, requestList.available); in createAudioRequest() [all …]
|
D | event_loop.cc | 52 info->instanceId = app->getInstanceId(); in populateNanoappInfo() 62 uint32_t *instanceId) const { in findNanoappInstanceIdByAppId() 63 CHRE_ASSERT(instanceId != nullptr); in findNanoappInstanceIdByAppId() 69 *instanceId = app->getInstanceId(); in findNanoappInstanceIdByAppId() 193 bool EventLoop::unloadNanoapp(uint32_t instanceId, in unloadNanoapp() argument 198 if (instanceId == mNanoapps[i]->getInstanceId()) { in unloadNanoapp() 237 LOGD("Unloaded nanoapp with instanceId %" PRIu32, instanceId); in unloadNanoapp() 302 Nanoapp *EventLoop::findNanoappByInstanceId(uint32_t instanceId) const { in findNanoappByInstanceId() 304 return lookupAppByInstanceId(instanceId); in findNanoappByInstanceId() 315 uint32_t instanceId, struct chreNanoappInfo *info) const { in populateNanoappInfoForInstanceId() argument [all …]
|
D | wifi_request_manager.cc | 53 uint32_t instanceId = nanoapp->getInstanceId(); in configureScanMonitor() local 54 bool hasScanMonitorRequest = nanoappHasScanMonitorRequest(instanceId); in configureScanMonitor() 60 success = postScanMonitorAsyncResultEvent(instanceId, true /* success */, in configureScanMonitor() 70 instanceId); in configureScanMonitor() 267 for (const auto& instanceId : mScanMonitorNanoapps) { in logStateToBuffer() local 269 " nanoappId=%" PRIu32 "\n", instanceId); in logStateToBuffer() 293 uint32_t instanceId, size_t *nanoappIndex) const { in nanoappHasScanMonitorRequest() argument 294 size_t index = mScanMonitorNanoapps.find(instanceId); in nanoappHasScanMonitorRequest() 333 uint32_t instanceId) { in updateNanoappScanMonitoringList() argument 336 .findNanoappByInstanceId(instanceId); in updateNanoappScanMonitoringList() [all …]
|
D | sensor_request.cc | 49 SensorRequest::SensorRequest(uint32_t instanceId, SensorMode mode, in SensorRequest() argument 51 : mInstanceId(instanceId), mInterval(interval), mLatency(latency), in SensorRequest()
|
/system/chre/apps/unload_tester/ |
D | unload_tester.cc | 41 uint32_t instanceId; in handleUnload() local 44 if (!eventLoop.findNanoappInstanceIdByAppId(kSpammerAppId, &instanceId)) { in handleUnload() 46 } else if (!eventLoop.unloadNanoapp(instanceId, true)) { in handleUnload() 69 CHRE_ASSERT(info.instanceId == chreGetInstanceId()); in nanoappStart() 95 info->instanceId); in nanoappHandleEvent()
|
/system/chre/apps/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 55 } else if (instanceId != mInstanceId) { in validate()
|
D | nanoapp_info_events_test_observer.cc | 44 mStartStopHistory[mHistoryIndex].instanceId = in handleEvent() 45 nanoAppInfo->instanceId; in handleEvent() 81 if (data.instanceId == performerInstanceId) { in processStartStopHistory()
|
D | nanoapp_info.h | 42 bool validate(uint64_t appId, uint32_t instanceId);
|
D | nanoapp_info_events_test_observer.h | 43 uint32_t instanceId; member
|
D | running_info.cc | 47 mRunningInfo.instanceId); in validate()
|
/system/chre/core/include/chre/core/ |
D | event_loop.h | 72 bool findNanoappInstanceIdByAppId(uint64_t appId, uint32_t *instanceId) const; 125 bool unloadNanoapp(uint32_t instanceId, bool allowSystemNanoappUnload); 216 Nanoapp *findNanoappByInstanceId(uint32_t instanceId) const; 233 bool populateNanoappInfoForInstanceId(uint32_t instanceId, 399 Nanoapp *lookupAppByInstanceId(uint32_t instanceId) const;
|
D | gnss_manager.h | 187 bool nanoappHasRequest(uint32_t instanceId, size_t *requestIndex = nullptr) 201 bool addRequestToQueue(uint32_t instanceId, bool enable, 235 uint32_t instanceId); 250 uint32_t instanceId, bool success, bool enable, 261 uint32_t instanceId, bool success, bool enable,
|
D | audio_request_manager.h | 272 bool doConfigureSource(uint32_t instanceId, uint32_t handle, bool enable, 295 uint32_t handle, uint32_t instanceId, uint32_t numSamples, 313 uint32_t handle, uint32_t instanceId, size_t *index, 380 void postAudioSamplingChangeEvent(uint32_t instanceId, uint32_t handle,
|
D | timer_pool.h | 116 uint32_t instanceId; member 194 uint32_t instanceId, Nanoseconds duration, 205 bool cancelTimer(uint32_t instanceId, TimerHandle timerHandle);
|
D | nanoapp.h | 55 void setInstanceId(uint32_t instanceId) { in setInstanceId() argument 56 mInstanceId = instanceId; in setInstanceId()
|
D | wifi_request_manager.h | 238 bool nanoappHasScanMonitorRequest(uint32_t instanceId, 281 bool updateNanoappScanMonitoringList(bool enable, uint32_t instanceId);
|
D | sensor_request.h | 67 SensorRequest(uint32_t instanceId, SensorMode mode, Nanoseconds interval,
|
/system/chre/platform/shared/ |
D | memory_manager.cc | 44 header->data.instanceId = app->getInstanceId(); in nanoappAlloc() 60 if (app->getInstanceId() != header->data.instanceId) { in nanoappFree() 62 app->getInstanceId(), header->data.instanceId); in nanoappFree()
|
D | chre_api_core.cc | 106 DLL_EXPORT bool chreGetNanoappInfoByInstanceId(uint32_t instanceId, in chreGetNanoappInfoByInstanceId() argument 109 .populateNanoappInfoForInstanceId(instanceId, info); in chreGetNanoappInfoByInstanceId()
|
/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/include/chre_api/chre/ |
D | event.h | 313 uint32_t instanceId; member 489 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/platform/include/chre/platform/ |
D | memory_manager.h | 115 uint32_t instanceId; member
|