Home
last modified time | relevance | path

Searched refs:sampleRate (Results 1 – 25 of 31) sorted by relevance

12

/packages/services/Car/car-systemtest-lib/src/android/car/test/
DVehicleHalEmulator.java57 void onPropertySubscribe(int property, float sampleRate, int zones); in onPropertySubscribe() argument
167 float sampleRate, int zones) { in assertPropertyForSubscribe() argument
246 private synchronized void handlePropertySubscribe(int property, float sampleRate, int zones) { in handlePropertySubscribe() argument
247 getHalPropertyLocked(property).handler.onPropertySubscribe(property, sampleRate, zones); in handlePropertySubscribe()
297 public synchronized void onPropertySubscribe(int property, float sampleRate, int zones) { in onPropertySubscribe() argument
298 assertPropertyForSubscribe(mConfig, property, sampleRate, zones); in onPropertySubscribe()
332 public void onPropertySubscribe(int property, float sampleRate, int zones) { in onPropertySubscribe() argument
333 handlePropertySubscribe(property, sampleRate, zones); in onPropertySubscribe()
DCarTestManager.java175 public void onPropertySubscribe(int property, float sampleRate, int zones) { in onPropertySubscribe() argument
180 testManager.getHalMock().onPropertySubscribe(property, sampleRate, zones); in onPropertySubscribe()
/packages/services/Car/vehicle_network_service/
DVehicleNetworkService.h95 float sampleRate;
98 : sampleRate(0), in SubscriptionInfo()
101 : sampleRate(aSampleRate), in SubscriptionInfo()
104 : sampleRate(info.sampleRate), in SubscriptionInfo()
141 void setSubscriptionInfo(int32_t property, float sampleRate, int32_t zones) { in setSubscriptionInfo() argument
143 SubscriptionInfo info(sampleRate, zones); in setSubscriptionInfo()
300 float sampleRate, int32_t zones);
DVehicleNetworkService.cpp250 info.sampleRate, info.zones); in dump()
600 float sampleRate, int32_t zones) { in subscribe() argument
611 if (sampleRate != 0) { in subscribe()
613 sampleRate = 0; in subscribe()
616 if (sampleRate > config->max_sample_rate) { in subscribe()
617 ALOGW("sample rate %f higher than max %f. limit to max", sampleRate, in subscribe()
619 sampleRate = config->max_sample_rate; in subscribe()
621 if (sampleRate < config->min_sample_rate) { in subscribe()
622 ALOGW("sample rate %f lower than min %f. limit to min", sampleRate, in subscribe()
624 sampleRate = config->min_sample_rate; in subscribe()
[all …]
/packages/apps/TV/usbtuner/src/com/google/android/exoplayer/
DMediaFormatUtil.java42 int sampleRate = getOptionalIntegerV16(format, android.media.MediaFormat.KEY_SAMPLE_RATE); in createMediaFormat() local
57 channelCount, sampleRate, language, MediaFormat.OFFSET_SAMPLE_RELATIVE, in createMediaFormat()
68 int channelCount, int sampleRate) { in createAudioMediaFormat() argument
70 MediaFormat.NO_VALUE, durationUs, channelCount, sampleRate, null, ""); in createAudioMediaFormat()
/packages/apps/SpeechRecorder/src/com/android/speechrecorder/
DWaveHeader.java73 …public WaveHeader(short format, short numChannels, int sampleRate, short bitsPerSample, int numByt… in WaveHeader() argument
75 mSampleRate = sampleRate; in WaveHeader()
132 public WaveHeader setSampleRate(int sampleRate) { in setSampleRate() argument
133 mSampleRate = sampleRate; in setSampleRate()
DMicrophoneInputStream.java41 public MicrophoneInputStream(int sampleRate) throws IOException { in MicrophoneInputStream() argument
42 mSampleRate = sampleRate; in MicrophoneInputStream()
43 mBufferSize = AudioRecord.getMinBufferSize(sampleRate, in MicrophoneInputStream()
/packages/services/Car/libvehiclenetwork/java/src/com/android/car/vehiclenetwork/
DVehicleNetwork.java60 void onPropertySubscribe(int property, float sampleRate, int zones); in onPropertySubscribe() argument
406 public void subscribe(int property, float sampleRate) throws IllegalArgumentException { in subscribe() argument
407 subscribe(property, sampleRate, 0); in subscribe()
413 public void subscribe(int property, float sampleRate, int zones) in subscribe() argument
416 mService.subscribe(mVehicleNetworkListener, property, sampleRate, zones); in subscribe()
678 public void onPropertySubscribe(int property, float sampleRate, int zones) { in onPropertySubscribe() argument
683 vehicleNetwork.getHalMock().onPropertySubscribe(property, sampleRate, zones); in onPropertySubscribe()
DIVehicleNetworkHalMock.aidl29 void onPropertySubscribe(int property, float sampleRate, int zones) = 3; in onPropertySubscribe() argument
DIVehicleNetwork.aidl35 void subscribe(in IVehicleNetworkListener listener, int property, float sampleRate, in subscribe() argument
/packages/services/Car/libvehiclenetwork/native/
DIVehicleNetworkHalMock.cpp128 virtual status_t onPropertySubscribe(int32_t property, float sampleRate, int32_t zones) { in onPropertySubscribe() argument
132 data.writeFloat(sampleRate); in onPropertySubscribe()
252 float sampleRate = data.readFloat(); in onTransact() local
254 r = onPropertySubscribe(property, sampleRate, zones); in onTransact()
DIVehicleNetwork.cpp144 float sampleRate, int32_t zones) { in subscribe() argument
149 data.writeFloat(sampleRate); in subscribe()
327 float sampleRate = data.readFloat(); in onTransact() local
329 r = subscribe(listener, property, sampleRate, zones); in onTransact()
DVehicleNetwork.cpp263 status_t VehicleNetwork::subscribe(int32_t property, float sampleRate, int32_t zones) { in subscribe() argument
264 return getService()->subscribe(this, property, sampleRate, zones); in subscribe()
/packages/services/Car/tests/libvehiclenetwork-java-test/src/com/android/car/vehiclenetwork/libtest/
DVehicleNetworkMockedTest.java431 void onPropertySubscribe(int property, float sampleRate, int zones); in onPropertySubscribe() argument
476 public void onPropertySubscribe(int property, float sampleRate, int zones) { in onPropertySubscribe() argument
481 handler.onPropertySubscribe(property, sampleRate, zones); in onPropertySubscribe()
521 public void onPropertySubscribe(int property, float sampleRate, int zones) { in onPropertySubscribe() argument
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DCarEmulator.java180 public void onPropertySubscribe(int property, float sampleRate, int zones) { in onPropertySubscribe() argument
200 public void onPropertySubscribe(int property, float sampleRate, int zones) { in onPropertySubscribe() argument
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DCarRadioManagerTest.java106 public synchronized void onPropertySubscribe(int property, float sampleRate, int zones) { in onPropertySubscribe() argument
107 Log.d(TAG, "onPropertySubscribe property: " + property + " rate: " + sampleRate); in onPropertySubscribe()
DCarHvacManagerTest.java196 public synchronized void onPropertySubscribe(int property, float sampleRate, int zones) { in onPropertySubscribe() argument
197 Log.d(TAG, "onPropertySubscribe property " + property + " sampleRate " + sampleRate); in onPropertySubscribe()
DCarAudioFocusTest.java65 public void onPropertySubscribe(int property, float sampleRate, int zones) {
94 public void onPropertySubscribe(int property, float sampleRate, int zones) {
572 public void onPropertySubscribe(int property, float sampleRate, int zones) { in onPropertySubscribe() argument
DAudioRoutingPolicyTest.java56 public void onPropertySubscribe(int property, float sampleRate, int zones) {
DCarPowerManagementTest.java195 public void onPropertySubscribe(int property, float sampleRate, int zones) { in onPropertySubscribe() argument
/packages/apps/TV/src/com/android/tv/util/
DUtils.java444 int sampleRate = track.getAudioSampleRate(); in getMultiAudioString() local
445 if (sampleRate > 0) { in getMultiAudioString()
449 int integerPart = sampleRate / 1000; in getMultiAudioString()
450 int tenths = (sampleRate % 1000) / 100; in getMultiAudioString()
/packages/services/Car/libvehiclenetwork/include/
DIVehicleNetworkHalMock.h44 virtual status_t onPropertySubscribe(int32_t property, float sampleRate, int32_t zones) = 0;
DIVehicleNetwork.h52 float sampleRate, int32_t zones) = 0;
DVehicleNetwork.h119 status_t subscribe(int32_t property, float sampleRate, int32_t zones = 0);
/packages/apps/TV/usbtuner/libs/
Dexoplayer_1.5.6.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12