Home
last modified time | relevance | path

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

12

/frameworks/rs/tests/latency/
DAndroid.mk5 latency.rs \
6 latency.cpp
22 LOCAL_MODULE:= rstest-latency
/frameworks/av/include/media/
DAudioSystem.h97 static status_t getOutputLatency(uint32_t* latency,
111 uint32_t* latency);
158 … : samplingRate(0), format(AUDIO_FORMAT_DEFAULT), channelMask(0), frameCount(0), latency(0) {} in OutputDescriptor()
164 uint32_t latency; variable
DIAudioFlinger.h102 virtual uint32_t latency(audio_io_handle_t output) const = 0;
DAudioRecord.h206 uint32_t latency() const { return mLatency; } in latency() function
DMediaPlayerInterface.h97 virtual uint32_t latency() const = 0;
DAudioTrack.h267 uint32_t latency() const { return mLatency; } in latency() function
/frameworks/av/media/libmedia/
DAudioSystem.cpp299 status_t AudioSystem::getOutputLatency(uint32_t* latency, audio_stream_type_t streamType) in getOutputLatency() argument
312 return getLatency(output, streamType, latency); in getOutputLatency()
317 uint32_t* latency) in getLatency() argument
327 *latency = af->latency(output); in getLatency()
329 *latency = outputDesc->latency; in getLatency()
333 ALOGV("getLatency() streamType %d, output %d, latency %d", streamType, output, *latency); in getLatency()
461 outputDesc->frameCount, outputDesc->latency); in ioConfigChanged()
485 desc->channelMask, desc->frameCount, desc->latency); in ioConfigChanged()
DIAudioFlingerClient.cpp59 data.writeInt32(desc->latency); in ioConfigChanged()
89 desc.latency = data.readInt32(); in onTransact()
DIAudioFlinger.cpp234 virtual uint32_t latency(audio_io_handle_t output) const in latency() function in android::BpAudioFlinger
399 uint32_t latency = pLatencyMs != NULL ? *pLatencyMs : 0; in openOutput() local
406 data.writeInt32(latency); in openOutput()
425 latency = reply.readInt32(); in openOutput()
426 if (pLatencyMs != NULL) *pLatencyMs = latency; in openOutput()
825 reply->writeInt32( latency((audio_io_handle_t) data.readInt32()) ); in onTransact()
929 uint32_t latency = data.readInt32(); in onTransact() local
941 &latency, in onTransact()
950 reply->writeInt32(latency); in onTransact()
/frameworks/base/tools/orientationplot/
DREADME.txt36 intervals for the proposed orientation and accelerometer latency.
42 and the latency for orientation detection goes up. One way to observe this
68 3. Accelerometer jitter. The accelerometer latency graph displays the interval
70 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/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/opt/net/voip/src/jni/rtp/
DEchoSuppressor.cpp164 int latency = 0; in run() local
176 latency = i; in run()
DAudioGroup.cpp822 ALOGD("latency: output %d, input %d", track->latency(), record->latency()); in threadLoop()
856 (track->latency() + record->latency()) * sampleRate / 1000); in threadLoop()
/frameworks/av/media/libstagefright/
DAudioPlayer.cpp183 mLatencyUs = (int64_t)mAudioSink->latency() * 1000; in start()
241 mLatencyUs = (int64_t)mAudioTrack->latency() * 1000; in start()
594 mLatencyUs = (int64_t)mAudioSink->latency() * 1000; in fillBuffer()
596 mLatencyUs = (int64_t)mAudioTrack->latency() * 1000; in fillBuffer()
DAudioSource.cpp293 mStartTimeUs += mRecord->latency() * 1000; in dataCallback()
/frameworks/base/services/java/com/android/server/
DWatchdog.java146 long latency = SystemClock.uptimeMillis() - mStartTime; in getCompletionStateLocked() local
147 if (latency < mWaitMax/2) { in getCompletionStateLocked()
149 } else if (latency < mWaitMax) { in getCompletionStateLocked()
/frameworks/native/opengl/specs/
DEGL_ANDROID_presentation_time.txt106 video frame timestamps for video encoding, display latency metrics, and
107 display latency control.
/frameworks/av/libvideoeditor/lvpp/
DVideoEditorPlayer.h46 virtual uint32_t latency() const;
DVideoEditorPlayer.cpp368 uint32_t VideoEditorPlayer::VeAudioOutput::latency () const in latency() function in android::VideoEditorPlayer::VeAudioOutput
466 mLatency = t->latency(); in open()
DVideoEditorAudioPlayer.cpp529 mLatencyUs = (int64_t)mAudioSink->latency() * 1000; in start()
554 mLatencyUs = (int64_t)mAudioTrack->latency() * 1000; in start()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h84 virtual uint32_t latency() const;
194 virtual uint32_t latency() const;
DMediaPlayerService.cpp347 mMsecsPerFrame, (mTrack != 0) ? mTrack->latency() : -1); in dump()
1370 uint32_t MediaPlayerService::AudioOutput::latency () const in latency() function in android::MediaPlayerService::AudioOutput
1373 return mTrack->latency(); in latency()
1830 uint32_t MediaPlayerService::AudioCache::latency () const in latency() function in android::MediaPlayerService::AudioCache
/frameworks/base/core/java/android/net/
DMobileDataStateTracker.java804 li.setTheoreticalLatency(entry.latency); in getLinkQualityInfo()
847 public int latency; // in millisecond field in MobileDataStateTracker.NetworkDataEntry
853 latency = i4; in NetworkDataEntry()
/frameworks/av/services/audioflinger/
DThreads.h404 uint32_t latency() const;
528 virtual uint32_t correctLatency_l(uint32_t latency) const;
674 virtual uint32_t correctLatency_l(uint32_t latency) const;

12