/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattCallback.java | 186 * @param latency Slave latency for the connection in number of connection events. Valid range 194 public void onConnectionUpdated(BluetoothGatt gatt, int interval, int latency, int timeout, argument
|
H A D | BluetoothGattServerCallback.java | 190 * @param latency Slave latency for the connection in number of connection events. Valid range 198 public void onConnectionUpdated(BluetoothDevice device, int interval, int latency, int timeout, argument
|
H A D | BluetoothHidDeviceAppQosSettings.java | 54 * @param latency L2CAP latency, default = MAX 62 int latency, 68 mLatency = latency; 57 BluetoothHidDeviceAppQosSettings( int serviceType, int tokenRate, int tokenBucketSize, int peakBandwidth, int latency, int delayVariation) argument
|
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | EchoSuppressor.cpp | 164 int latency = 0; local 176 latency = i; 180 //ALOGI("corr^2 %.5f, var %8.0f %8.0f, latency %d", corr2, varX, varY, 181 // latency * mScale);
|
/frameworks/av/media/libaaudio/tests/ |
H A D | test_timestamps.cpp | 255 double latency = calculateLatencyMillis(timestamp->timestampPosition, local 263 latency,
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioOutputDescriptor.h | 53 virtual uint32_t latency() { return 0; } function in class:android::AudioOutputDescriptor 107 virtual uint32_t latency();
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | Voice.java | 48 /** Very low expected synthesizer latency (< 20ms) */ 51 /** Low expected synthesizer latency (~20ms) */ 54 /** Normal expected synthesizer latency (~50ms) */ 57 /** Network based expected synthesizer latency (~200ms) */ 60 /** Very slow network based expected synthesizer latency (> 200ms) */ 73 int latency, 79 this.mLatency = latency; 142 * @return The voice's latency (lower is better) 191 .append(", latency: ").append(mLatency) 70 Voice(String name, Locale locale, int quality, int latency, boolean requiresNetworkConnection, Set<String> features) argument
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
H A D | IpConnectivityMetricsTest.java | 341 // netId, errno, latency, destination 349 // netId, type, return code, latency 619 void dnsEvent(int netId, int type, int result, int latency) throws Exception { argument 620 mNetdListener.onDnsEvent(netId, type, result, latency, "", null, 0, 0);
|
H A D | NetdEventListenerServiceTest.java | 488 void dnsEvent(int netId, int type, int result, int latency) throws Exception { argument 489 mService.onDnsEvent(netId, type, result, latency, "", null, 0, 0);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioOutputDescriptor.cpp | 283 uint32_t SwAudioOutputDescriptor::latency() function in class:android::SwAudioOutputDescriptor
|
/frameworks/av/include/media/ |
H A D | AudioRecord.h | 161 * latency of the track. The actual size selected by the AudioRecord could 163 * latency. Zero means to use a default value. 240 /* Returns this track's estimated latency in milliseconds. 241 * This includes the latency due to AudioRecord buffer size, resampling if applicable, 244 uint32_t latency() const { return mLatency; } function in class:android::AudioRecord
|
/frameworks/av/media/libaudioclient/include/media/ |
H A D | AudioRecord.h | 161 * latency of the track. The actual size selected by the AudioRecord could 163 * latency. Zero means to use a default value. 240 /* Returns this track's estimated latency in milliseconds. 241 * This includes the latency due to AudioRecord buffer size, resampling if applicable, 244 uint32_t latency() const { return mLatency; } function in class:android::AudioRecord
|
/frameworks/av/media/libaudiohal/2.0/ |
H A D | StreamHalHidl.cpp | 227 // Audio will still work, but latency will be higher and sometimes unacceptable. 307 status_t StreamOutHalHidl::getLatency(uint32_t *latency) { argument 313 *latency = writeStatus.reply.latencyMs; 316 return processReturn("getLatency", mStream->getLatency(), latency);
|
H A D | StreamHalLocal.cpp | 129 status_t StreamOutHalLocal::getLatency(uint32_t *latency) { argument 130 *latency = mStream->get_latency(mStream);
|
/frameworks/av/media/libaudiohal/4.0/ |
H A D | StreamHalLocal.cpp | 131 status_t StreamOutHalLocal::getLatency(uint32_t *latency) { argument 132 *latency = mStream->get_latency(mStream);
|
H A D | StreamHalHidl.cpp | 238 // Audio will still work, but latency will be higher and sometimes unacceptable. 318 status_t StreamOutHalHidl::getLatency(uint32_t *latency) { argument 324 *latency = writeStatus.reply.latencyMs; 327 return processReturn("getLatency", mStream->getLatency(), latency);
|
/frameworks/av/media/libeffects/visualizer/ |
H A D | EffectVisualizer.cpp | 64 #define MAX_LATENCY_MS 3000 // 3 seconds of latency for audio pipeline 542 uint32_t latency = *((uint32_t *)p->data + 1); local 543 if (latency > MAX_LATENCY_MS) { 544 latency = MAX_LATENCY_MS; // clamp latency b/31781965 546 pContext->mLatency = latency; 547 ALOGV("set mLatency = %u", latency); 590 // large sample rate, latency, or capture size, could cause overflow.
|
/frameworks/av/media/libmediaplayer2/ |
H A D | MediaPlayer2AudioOutput.cpp | 50 snprintf(buffer, 255, " msec per frame(%f), latency (%d)\n", 51 mMsecsPerFrame, (mTrack != 0) ? mTrack->latency() : -1); 159 uint32_t MediaPlayer2AudioOutput::latency () const { function in class:android::MediaPlayer2AudioOutput 164 return mTrack->latency(); 220 numFramesPlayedAtUs += 1000LL * mTrack->latency() / 2; /* XXX */ 232 // (2) In case 3, using getPosition and adding mAudioSink->latency() to
|
H A D | JAudioTrack.cpp | 136 uint32_t JAudioTrack::latency() { function in class:android::JAudioTrack 448 // result.appendFormat(" latency (%d), selected device Id(%d), routed device Id(%d)\n", 449 // latency(), mSelectedDeviceId, getRoutedDeviceId()); 450 // result.appendFormat(" output(%d) AF latency (%u) AF frame count(%zu) AF SampleRate(%u)\n",
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioSystem.cpp | 263 // Ensure that buffer depth covers at least audio hardware latency 358 status_t AudioSystem::getOutputLatency(uint32_t* latency, audio_stream_type_t streamType) argument 371 return getLatency(output, latency); 375 uint32_t* latency) 381 *latency = af->latency(output); 383 *latency = outputDesc->mLatency; 386 ALOGV("getLatency() output %d, latency %d", output, *latency); 374 getLatency(audio_io_handle_t output, uint32_t* latency) argument
|
H A D | IAudioFlinger.cpp | 204 virtual uint32_t latency(audio_io_handle_t output) const function in class:android::BpAudioFlinger 1027 reply->writeInt32( latency((audio_io_handle_t) data.readInt32()) );
|
H A D | AudioTrack.cpp | 136 ALOGE("Unable to query output latency for stream type %d; status %d", 1212 // There may be some latency differences between the HAL position and the proxy position. 1228 // due to hardware latency. We leave this behavior for now. 1349 uint32_t AudioTrack::latency() function in class:android::AudioTrack 2526 // In this case we adjust the position from the previous computed latency. 2806 result.appendFormat(" latency (%d), selected device Id(%d), routed device Id(%d)\n", 2808 result.appendFormat(" output(%d) AF latency (%u) AF frame count(%zu) AF SampleRate(%u)\n",
|
/frameworks/av/services/audioflinger/ |
H A D | Effects.cpp | 651 // Update visualizer latency 661 uint32_t latency = 0; local 664 latency = pbt->latency_l(); 667 *((int32_t *)p->data + 1)= latency;
|
H A D | AudioFlinger.cpp | 769 output.afLatencyMs = thread->latency(); 868 uint32_t AudioFlinger::latency(audio_io_handle_t output) const function in class:android::AudioFlinger 873 ALOGW("latency(): no playback thread found for output handle %d", output); 876 return thread->latency(); 2148 *latencyMs = playbackThread->latency();
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 357 snprintf(buffer, 255, " msec per frame(%f), latency (%d)\n", 358 mMsecsPerFrame, (mTrack != 0) ? mTrack->latency() : -1); 1698 uint32_t MediaPlayerService::AudioOutput::latency () const function in class:android::MediaPlayerService::AudioOutput 1702 return mTrack->latency(); 1758 numFramesPlayedAtUs += 1000LL * mTrack->latency() / 2; /* XXX */ 1770 // (2) In case 3, using getPosition and adding mAudioSink->latency() to
|