Home
last modified time | relevance | path

Searched refs:delayMs (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h162 int delayMs);
167 int delayMs = 0);
170 virtual status_t setVoiceVolume(float volume, int delayMs = 0);
218 int delayMs);
220 int delayMs);
222 int delayMs);
287 audio_io_handle_t output, int delayMs = 0);
289 const char *keyValuePairs, int delayMs = 0);
290 status_t voiceVolumeCommand(float volume, int delayMs = 0);
297 status_t sendCommand(sp<AudioCommand>& command, int delayMs = 0);
[all …]
DAudioPolicyService.cpp260 int delayMs) in clientCreateAudioPatch() argument
262 return mAudioCommandThread->createAudioPatchCommand(patch, handle, delayMs); in clientCreateAudioPatch()
266 int delayMs) in clientReleaseAudioPatch() argument
268 return mAudioCommandThread->releaseAudioPatchCommand(handle, delayMs); in clientReleaseAudioPatch()
272 int delayMs) in clientSetAudioPortConfig() argument
274 return mAudioCommandThread->setAudioPortConfigCommand(config, delayMs); in clientSetAudioPortConfig()
722 int delayMs) in volumeCommand() argument
734 return sendCommand(command, delayMs); in volumeCommand()
739 int delayMs) in parametersCommand() argument
749 keyValuePairs, ioHandle, delayMs); in parametersCommand()
[all …]
DAudioPolicyClientImpl.cpp188 int delayMs) in createAudioPatch() argument
190 return mAudioPolicyService->clientCreateAudioPatch(patch, handle, delayMs); in createAudioPatch()
194 int delayMs) in releaseAudioPatch() argument
196 return mAudioPolicyService->clientReleaseAudioPatch(handle, delayMs); in releaseAudioPatch()
201 int delayMs) in setAudioPortConfig() argument
203 return mAudioPolicyService->clientSetAudioPortConfig(config, delayMs); in setAudioPortConfig()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h296 …eamVolume(audio_stream_type_t stream, float volume, audio_io_handle_t output, int delayMs = 0) = 0;
302 … void setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs, int delayMs = 0) = 0;
312 virtual status_t setVoiceVolume(float volume, int delayMs = 0) = 0;
322 int delayMs) = 0;
326 int delayMs) = 0;
329 virtual status_t setAudioPortConfig(const struct audio_port_config *config, int delayMs) = 0;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h302 int delayMs = 0,
306 int delayMs = 0,
328 int delayMs = 0, bool force = false);
332 audio_devices_t device, int delayMs = 0, bool force = false);
338 int delayMs = 0,
345 int delayMs = 0,
436 uint32_t delayMs);
480 uint32_t updateCallRouting(audio_devices_t rxDevice, uint32_t delayMs = 0);
488 uint32_t *delayMs);
DAudioPolicyManager.cpp325 uint32_t AudioPolicyManager::updateCallRouting(audio_devices_t rxDevice, uint32_t delayMs) in updateCallRouting() argument
354 muteWaitMs = setOutputDevice(mPrimaryOutput, rxDevice, true, delayMs); in updateCallRouting()
394 status = mpClientInterface->createAudioPatch(&patch, &afPatchHandle, delayMs); in updateCallRouting()
453 status = mpClientInterface->createAudioPatch(&patch, &afPatchHandle, delayMs); in updateCallRouting()
501 int delayMs = 0; in setPhoneState() local
515 (delayMs < (int)desc->latency()*2)) { in setPhoneState()
516 delayMs = desc->latency()*2; in setPhoneState()
538 updateCallRouting(rxDevice, delayMs); in setPhoneState()
598 uint32_t delayMs = 0; in setForceUse() local
601 delayMs = TOUCH_SOUND_FIXED_DELAY_MS; in setForceUse()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp146 uint32_t delayMs, in setVolume() argument
153 ALOGV("setVolume() for stream %d, volume %f, delay %d", stream, volume, delayMs); in setVolume()
371 uint32_t delayMs, in setVolume() argument
374 bool changed = AudioOutputDescriptor::setVolume(volume, stream, device, delayMs, force); in setVolume()
382 AUDIO_STREAM_VOICE_CALL, volume, mIoHandle, delayMs); in setVolume()
384 mClientInterface->setStreamVolume(stream, volume, mIoHandle, delayMs); in setVolume()
435 uint32_t delayMs, in setVolume() argument
438 bool changed = AudioOutputDescriptor::setVolume(volume, stream, device, delayMs, force); in setVolume()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h58 uint32_t delayMs,
116 uint32_t delayMs,
148 uint32_t delayMs,
/frameworks/ex/framesequence/jni/
DFrameSequenceJNI.cpp133 jlong delayMs = frameSequenceState->drawFrame(frameNr, in nativeGetFrame() local
137 return delayMs; in nativeGetFrame()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java120 public void hideTransientIndicationDelayed(long delayMs) { in hideTransientIndicationDelayed() argument
122 mHandler.obtainMessage(MSG_HIDE_TRANSIENT), delayMs); in hideTransientIndicationDelayed() local
/frameworks/support/compat/java/android/support/v4/app/
DNotificationManagerCompat.java556 int delayMs = SIDE_CHANNEL_RETRY_BASE_INTERVAL_MS * (1 << (record.retryCount - 1)); in scheduleListenerRetry() local
558 Log.d(TAG, "Scheduling retry for " + delayMs + " ms"); in scheduleListenerRetry()
561 mHandler.sendMessageDelayed(msg, delayMs); in scheduleListenerRetry()
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp616 const int32_t delayMs = Visualizer_getDeltaTimeMsFromUpdatedTime(pContext); in Visualizer_command() local
617 if (delayMs > DISCARD_MEASUREMENTS_TIME_MS) { in Visualizer_command()
618 ALOGV("Discarding measurements, last measurement is %" PRId32 "ms old", delayMs); in Visualizer_command()
/frameworks/base/media/java/android/media/
DRemoteController.java568 int arg1, int arg2, Object obj, int delayMs) { in sendMsg() argument
578 handler.sendMessageDelayed(handler.obtainMessage(msg, arg1, arg2, obj), delayMs); in sendMsg() local
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java1854 private void resizeStackUnchecked(int stackId, Rect bounds, int delayMs, boolean animate) {
1857 Thread.sleep(delayMs);
1878 private void resizeStack(int stackId, Rect bounds, int delayMs)
1884 resizeStackUnchecked(stackId, bounds, delayMs, false);
1949 final int delayMs = (delayStr != null) ? Integer.parseInt(delayStr) : 0;
1999 resizeStack(DOCKED_STACK_ID, bounds, delayMs);
2007 resizeStack(DOCKED_STACK_ID, bounds, delayMs);
2015 resizeStack(DOCKED_STACK_ID, bounds, delayMs);
/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java1077 final long delayMs = in scheduleRotationEvaluationIfNecessaryLocked() local
1079 mHandler.postDelayed(mRotationEvaluator, delayMs); in scheduleRotationEvaluationIfNecessaryLocked()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBackgroundManager.java931 long delayMs = getRunnableDelay(); in postChangeRunnable() local
932 if (DEBUG) Log.v(TAG, "posting runnable delayMs " + delayMs); in postChangeRunnable()
934 mHandler.postDelayed(mChangeRunnable, delayMs); in postChangeRunnable()
/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java198 long delayMs = 0; in testIsStarted() local
199 while (delayMs < startDelay) { in testIsStarted()
201 delayMs += POLL_INTERVAL; in testIsStarted()
/frameworks/av/media/libstagefright/foundation/
DANetworkSession.cpp527 int64_t delayMs = (nowUs - frag.mTimeUs) / 1000ll; in dumpFragmentStats()
535 int n = (kPatternSize * (delayMs - kMinDelayMs)) in dumpFragmentStats()
546 delayMs, in dumpFragmentStats()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DConnectivityServiceTest.java565 long delayMs = when - SystemClock.elapsedRealtime(); in schedule() local
566 if (delayMs < 0) delayMs = 0; in schedule()
567 if (delayMs > UNREASONABLY_LONG_WAIT) { in schedule()
569 "ms into the future: " + delayMs); in schedule()
572 mHandler.sendMessageDelayed(msg, delayMs); in schedule()
/frameworks/base/docs/html/training/wearables/apps/
Dalways-on.jd333 long delayMs = AMBIENT_INTERVAL_MS - (timeMs % AMBIENT_INTERVAL_MS);
334 long triggerTimeMs = timeMs + delayMs;
/frameworks/base/docs/html/training/wearables/watch-faces/
Ddrawing.jd122 long delayMs = INTERACTIVE_UPDATE_RATE_MS
125 .sendEmptyMessageDelayed(MSG_UPDATE_TIME, delayMs);
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java4811 private void makeA2dpDeviceUnavailableLater(String address, int delayMs) { in makeA2dpDeviceUnavailableLater() argument
4820 mAudioHandler.sendMessageDelayed(msg, delayMs); in makeA2dpDeviceUnavailableLater()