Home
last modified time | relevance | path

Searched refs:latency (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/rs/tests/latency/
DAndroid.mk8 latency.rs \
9 latency.cpp
17 LOCAL_MODULE:= rstest-latency
/frameworks/base/tools/orientationplot/
DREADME.txt38 intervals for the proposed orientation and accelerometer latency.
44 and the latency for orientation detection goes up. One way to observe this
70 3. Accelerometer jitter. The accelerometer latency graph displays the interval
72 should be a fairly constant 60ms. If the latency jumps around wildly or
/frameworks/base/docs/downloads/partner/audio/
DREADME.txt1 A/V sync and latency PCB
/frameworks/base/core/java/android/speech/tts/
DVoice.java73 int latency, in Voice() argument
79 this.mLatency = latency; in Voice()
/frameworks/av/media/libstagefright/
DAudioPlayer.cpp200 mLatencyUs = (int64_t)mAudioSink->latency() * 1000; in start()
259 mLatencyUs = (int64_t)mAudioTrack->latency() * 1000; in start()
540 mLatencyUs = (int64_t)mAudioSink->latency() * 1000; in fillBuffer()
542 mLatencyUs = (int64_t)mAudioTrack->latency() * 1000; in fillBuffer()
DAudioSource.cpp302 timeUs -= mRecord->latency() * 1000LL; in dataCallback()
325 mStartTimeUs += mRecord->latency() * 1000; in dataCallback()
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp542 uint32_t latency = *((uint32_t *)p->data + 1); in Visualizer_command() local
543 if (latency > MAX_LATENCY_MS) { in Visualizer_command()
544 latency = MAX_LATENCY_MS; // clamp latency b/31781965 in Visualizer_command()
546 pContext->mLatency = latency; in Visualizer_command()
547 ALOGV("set mLatency = %u", latency); in Visualizer_command()
/frameworks/base/docs/html/training/efficient-downloads/
Defficient-network-access.jd38 …in order to conserve power when not in use, while attempting to minimize latency associated with "…
46 …states drain significantly less battery, they also introduce significant latency to network reques…
48 <p>To minimize latency, the state machine uses a delay to postpone the transition to lower energy s…
53 …, particularly the associated transition delay ("tail time") and startup latency, will vary based …
57 …particularly effective for typical web browsing as it prevents unwelcome latency while users brows…
59 …martphone OSs like Android, where apps run both in the foreground (where latency is important) and…
78 …ta. As a result you not only conserve battery life, but also improve the latency, lower the requir…
80 <p>Prefetching also provides an improved user experience by minimizing in-app latency caused by wai…
104 … the constant switching between energy states will result in significant latency when switching ca…
106 …with the first set of news headlines and thumbnails&mdash;ensuring a low latency startup time&mdas…
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h51 virtual uint32_t latency() { return 0; } in latency() function
107 virtual uint32_t latency();
/frameworks/opt/net/voip/src/jni/rtp/
DEchoSuppressor.cpp164 int latency = 0; in run() local
176 latency = i; in run()
DAudioGroup.cpp827 ALOGD("latency: output %d, input %d", track->latency(), record->latency()); in threadLoop()
861 (track->latency() + record->latency()) * sampleRate / 1000); in threadLoop()
/frameworks/base/services/core/java/com/android/server/
DWatchdog.java145 long latency = SystemClock.uptimeMillis() - mStartTime; in getCompletionStateLocked() local
146 if (latency < mWaitMax/2) { in getCompletionStateLocked()
148 } else if (latency < mWaitMax) { in getCompletionStateLocked()
/frameworks/av/media/libmedia/
DAudioSystem.cpp327 status_t AudioSystem::getOutputLatency(uint32_t* latency, audio_stream_type_t streamType) in getOutputLatency() argument
340 return getLatency(output, latency); in getOutputLatency()
344 uint32_t* latency) in getLatency() argument
350 *latency = af->latency(output); in getLatency()
352 *latency = outputDesc->mLatency; in getLatency()
355 ALOGV("getLatency() output %d, latency %d", output, *latency); in getLatency()
/frameworks/native/opengl/specs/
DEGL_ANDROID_presentation_time.txt106 video frame timestamps for video encoding, display latency metrics, and
107 display latency control.
DEGL_ANDROID_front_buffer_auto_refresh.txt37 This extension is intended for latency-sensitive applications that are doing
DEGL_ANDROID_get_frame_timestamps.txt41 - The display retire time can be used to calculate end-to-end latency of
/frameworks/av/include/media/
DAudioSystem.h117 static status_t getOutputLatency(uint32_t* latency,
129 uint32_t* latency);
DIAudioFlinger.h105 virtual uint32_t latency(audio_io_handle_t output) const = 0;
DAudioRecord.h236 uint32_t latency() const { return mLatency; } in latency() function
DMediaPlayerInterface.h98 virtual uint32_t latency() const = 0;
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkMonitor.java766 final long latency = watch.stop(); in sendDnsProbe() local
768 validationLog(String.format("%s %s %dms, %s", name, resultString, latency, connectInfo)); in sendDnsProbe()
769 logValidationProbe(latency, ValidationProbeEvent.PROBE_DNS, result); in sendDnsProbe()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp515 (delayMs < (int)desc->latency()*2)) { in setPhoneState()
516 delayMs = desc->latency()*2; in setPhoneState()
1212 uint32_t latency = desc->latency(); in startSource() local
1213 if (shouldWait && desc->isActive(latency * 2) && (waitMs < latency)) { in startSource()
1214 waitMs = latency; in startSource()
1314 setOutputDevice(outputDesc, newDevice, false, outputDesc->latency()*2); in stopSource()
1318 uint32_t delayMs = outputDesc->latency()*2; in stopSource()
4525 const uint32_t latency = desc->latency() * 2; in AudioPolicyManager() local
4526 if (latency > maxLatency) { in AudioPolicyManager()
4527 maxLatency = latency; in AudioPolicyManager()
[all …]
/frameworks/base/services/core/proto/
Dipconnectivity.proto156 // Represents latency and errno statistics of the connect() system call.
324 // DNS lookup latency statistics.
327 // Connect latency and errno statistics.
/frameworks/av/services/audioflinger/
DThreads.h571 uint32_t latency() const;
765 virtual uint32_t correctLatency_l(uint32_t latency) const;
920 virtual uint32_t correctLatency_l(uint32_t latency) const;
/frameworks/base/docs/html/training/location/
Dgeofencing.jd350 power consumption by increasing the latency of geofence alerts. For
451 location, so expect some latency when receiving alerts. Usually the latency is less than 2
453 significant period of time, the latency may increase (up to 6 minutes).</li>

123