/system/chre/platform/linux/ |
D | pal_audio.cc | 71 void sendHandle0Events(uint32_t numSamples) { in sendHandle0Events() argument 78 data->sampleCount = numSamples; in sendHandle0Events() 81 static_cast<const uint8_t *>(chre::memoryAlloc(numSamples)); in sendHandle0Events() 86 bool chrePalAudioApiRequestAudioDataEvent(uint32_t handle, uint32_t numSamples, in chrePalAudioApiRequestAudioDataEvent() argument 93 if (numSamples > 0) { in chrePalAudioApiRequestAudioDataEvent() 96 [numSamples]() { sendHandle0Events(numSamples); }, in chrePalAudioApiRequestAudioDataEvent()
|
/system/chre/platform/linux/sim/ |
D | platform_audio.cc | 49 audioSource->numSamples, in audioSourceCallback() 53 dataEvent.sampleCount = audioSource->numSamples; in audioSourceCallback() 59 if (intervalNumSamples > audioSource->numSamples) { in audioSourceCallback() 60 sf_count_t seekAmount = intervalNumSamples - audioSource->numSamples; in audioSourceCallback() 83 bool PlatformAudio::requestAudioDataEvent(uint32_t handle, uint32_t numSamples, in requestAudioDataEvent() argument 87 handle, numSamples, eventDelay.toRawNanoseconds()); in requestAudioDataEvent() 89 source->numSamples = numSamples; in requestAudioDataEvent()
|
/system/chre/core/include/chre/core/ |
D | audio_request_manager.h | 137 : numSamples(numSamplesIn), in AudioRequest() 145 uint32_t numSamples; member 229 uint32_t *numSamples); 243 uint32_t numSamples, Nanoseconds deliveryInterval); 265 uint32_t numSamples, Nanoseconds deliveryInterval); 298 uint32_t numSamples,
|
/system/chre/core/ |
D | audio_request_manager.cc | 63 uint32_t numSamples = 0; in configureSource() local 65 deliveryInterval, &numSamples) && in configureSource() 66 doConfigureSource(nanoapp->getInstanceId(), handle, enable, numSamples, in configureSource() 139 instanceId, request.numSamples, in logStateToBuffer() 149 uint64_t deliveryInterval, uint32_t *numSamples) { in validateConfigureSourceArguments() argument 166 *numSamples = AudioUtil::getSampleCountFromRateAndDuration( in validateConfigureSourceArguments() 180 uint32_t numSamples, in doConfigureSource() argument 194 createAudioRequest(handle, instanceId, numSamples, deliveryInterval); in doConfigureSource() 215 createAudioRequest(handle, instanceId, numSamples, deliveryInterval); in doConfigureSource() 241 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 | 141 bool PlatformAudio::requestAudioDataEvent(uint32_t handle, uint32_t numSamples, in requestAudioDataEvent() argument 143 mNumSamples = numSamples; in requestAudioDataEvent() 145 mDataEvent.sampleCount = numSamples; in requestAudioDataEvent()
|
/system/chre/platform/shared/audio_pal/ |
D | platform_audio.cc | 72 bool PlatformAudio::requestAudioDataEvent(uint32_t handle, uint32_t numSamples, in requestAudioDataEvent() argument 76 return mApi->requestAudioDataEvent(handle, numSamples, in requestAudioDataEvent()
|
/system/chre/platform/slpi/ |
D | platform_audio.cc | 106 bool PlatformAudio::requestAudioDataEvent(uint32_t handle, uint32_t numSamples, in requestAudioDataEvent() argument 110 success = mAudioApi->requestAudioDataEvent(handle, numSamples, in requestAudioDataEvent()
|
/system/chre/platform/tinysys/ |
D | platform_audio.cc | 105 bool PlatformAudio::requestAudioDataEvent(uint32_t handle, uint32_t numSamples, in requestAudioDataEvent() argument 109 success = mAudioApi->requestAudioDataEvent(handle, numSamples, in requestAudioDataEvent()
|
/system/chre/platform/linux/sim/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 | 1383 void *allocateEvent(uint8_t sensorType, size_t numSamples) { in allocateEvent() argument 1460 : (sizeof(chreSensorDataHeader) + numSamples * sampleSize); in allocateEvent()
|