Home
last modified time | relevance | path

Searched refs:numSamples (Results 1 – 10 of 10) sorted by relevance

/system/chre/core/include/chre/core/
Daudio_request_manager.h158 AudioRequest(uint32_t numSamples, Nanoseconds deliveryInterval, in AudioRequest()
160 : numSamples(numSamples), in AudioRequest()
168 uint32_t numSamples; member
256 uint64_t bufferDuration, uint64_t deliveryInterval, uint32_t *numSamples);
270 uint32_t numSamples, Nanoseconds deliveryInterval);
292 uint32_t handle, uint32_t instanceId, uint32_t numSamples,
326 uint32_t handle, uint32_t numSamples, Nanoseconds deliveryInterval,
/system/chre/platform/linux/
Dplatform_audio.cc49 audioSource->numSamples, in audioSourceCallback()
53 dataEvent.sampleCount = audioSource->numSamples; in audioSourceCallback()
60 if (intervalNumSamples > audioSource->numSamples) { in audioSourceCallback()
61 sf_count_t seekAmount = intervalNumSamples - audioSource->numSamples; in audioSourceCallback()
85 uint32_t numSamples, in requestAudioDataEvent() argument
88 " samples and %" PRIu64 " delivery interval", handle, numSamples, in requestAudioDataEvent()
91 source->numSamples = numSamples; in requestAudioDataEvent()
/system/chre/core/
Daudio_request_manager.cc60 uint32_t numSamples; in configureSource() local
62 deliveryInterval, &numSamples) in configureSource()
63 && doConfigureSource(nanoapp->getInstanceId(), handle, enable, numSamples, in configureSource()
127 ", interval(ms)=%" PRIu64 "\n", instanceId, request.numSamples, in logStateToBuffer()
137 uint64_t deliveryInterval, uint32_t *numSamples) { in validateConfigureSourceArguments() argument
153 *numSamples = getSampleCountFromRateAndDuration( in validateConfigureSourceArguments()
166 uint32_t instanceId, uint32_t handle, bool enable, uint32_t numSamples, in doConfigureSource() argument
179 success = createAudioRequest(handle, instanceId, numSamples, in doConfigureSource()
197 success = (!enable || createAudioRequest(handle, instanceId, numSamples, in doConfigureSource()
220 uint32_t handle, uint32_t instanceId, uint32_t numSamples, in createAudioRequest() argument
[all …]
/system/core/libcutils/
Dsched_policy_test.cpp46 constexpr size_t numSamples = 100; in medianSleepTime() local
48 for (size_t i = 0; i < numSamples; i++) { in medianSleepTime()
57 constexpr auto median = numSamples / 2; in medianSleepTime()
/system/chre/platform/android/
Dplatform_audio.cc141 uint32_t numSamples, in requestAudioDataEvent() argument
143 mNumSamples = numSamples; in requestAudioDataEvent()
145 mDataEvent.sampleCount = numSamples; in requestAudioDataEvent()
/system/chre/platform/slpi/
Dplatform_audio.cc105 uint32_t numSamples, in requestAudioDataEvent() argument
111 handle, numSamples, eventDelay.toRawNanoseconds()); in requestAudioDataEvent()
/system/chre/platform/linux/include/chre/platform/linux/
Daudio_source.h68 uint32_t numSamples; variable
/system/chre/platform/include/chre/platform/
Dplatform_audio.h94 uint32_t numSamples,
/system/chre/pal/include/chre/pal/
Daudio.h131 bool (*requestAudioDataEvent)(uint32_t handle, uint32_t numSamples,
/system/chre/platform/slpi/see/
Dsee_helper.cc1322 void *allocateEvent(SensorType sensorType, size_t numSamples) { in allocateEvent() argument
1390 ? 0 : (sizeof(chreSensorDataHeader) + numSamples * sampleSize); in allocateEvent()