/system/chre/core/include/chre/core/ |
D | audio_request_manager.h | 155 AudioRequest(uint32_t numSamples, Nanoseconds deliveryInterval, in AudioRequest() 157 : numSamples(numSamples), in AudioRequest() 165 uint32_t numSamples; member 258 uint32_t *numSamples); 272 uint32_t numSamples, Nanoseconds deliveryInterval); 294 uint32_t numSamples, Nanoseconds deliveryInterval); 327 uint32_t numSamples,
|
/system/chre/platform/linux/ |
D | platform_audio.cc | 49 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() 84 bool PlatformAudio::requestAudioDataEvent(uint32_t handle, uint32_t numSamples, in requestAudioDataEvent() argument 88 handle, numSamples, eventDelay.toRawNanoseconds()); in requestAudioDataEvent() 90 source->numSamples = numSamples; in requestAudioDataEvent()
|
/system/chre/core/ |
D | audio_request_manager.cc | 59 uint32_t numSamples; in configureSource() local 61 deliveryInterval, &numSamples) && in configureSource() 62 doConfigureSource(nanoapp->getInstanceId(), handle, enable, numSamples, in configureSource() 141 instanceId, request.numSamples, in logStateToBuffer() 151 uint64_t deliveryInterval, uint32_t *numSamples) { in validateConfigureSourceArguments() argument 168 *numSamples = getSampleCountFromRateAndDuration( in validateConfigureSourceArguments() 182 uint32_t numSamples, in doConfigureSource() argument 196 createAudioRequest(handle, instanceId, numSamples, deliveryInterval); in doConfigureSource() 213 success = (!enable || createAudioRequest(handle, instanceId, numSamples, in doConfigureSource() 237 uint32_t numSamples, in createAudioRequest() argument [all …]
|
/system/core/libcutils/ |
D | sched_policy_test.cpp | 46 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/ |
D | platform_audio.cc | 142 bool PlatformAudio::requestAudioDataEvent(uint32_t handle, uint32_t numSamples, in requestAudioDataEvent() argument 144 mNumSamples = numSamples; in requestAudioDataEvent() 146 mDataEvent.sampleCount = numSamples; in requestAudioDataEvent()
|
/system/chre/platform/slpi/ |
D | platform_audio.cc | 108 bool PlatformAudio::requestAudioDataEvent(uint32_t handle, uint32_t numSamples, in requestAudioDataEvent() argument 113 success = mAudioApi->requestAudioDataEvent(handle, numSamples, in requestAudioDataEvent()
|
/system/chre/platform/linux/include/chre/platform/linux/ |
D | audio_source.h | 68 uint32_t numSamples; variable
|
/system/chre/platform/include/chre/platform/ |
D | platform_audio.h | 92 bool requestAudioDataEvent(uint32_t handle, uint32_t numSamples,
|
/system/chre/pal/include/chre/pal/ |
D | audio.h | 131 bool (*requestAudioDataEvent)(uint32_t handle, uint32_t numSamples,
|
/system/chre/platform/slpi/see/ |
D | see_helper.cc | 1374 void *allocateEvent(uint8_t sensorType, size_t numSamples) { in allocateEvent() argument 1447 : (sizeof(chreSensorDataHeader) + numSamples * sampleSize); in allocateEvent()
|