Home
last modified time | relevance | path

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

12

/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h180 int delayMs);
185 int delayMs = 0);
186 virtual status_t setVoiceVolume(float volume, int delayMs = 0);
266 int delayMs);
268 int delayMs);
270 int delayMs);
455 audio_io_handle_t output, int delayMs = 0);
457 const char *keyValuePairs, int delayMs = 0);
458 status_t voiceVolumeCommand(float volume, int delayMs = 0);
461 status_t sendCommand(sp<AudioCommand>& command, int delayMs = 0);
[all …]
DAudioPolicyService.cpp278 int delayMs) in clientCreateAudioPatch() argument
280 return mAudioCommandThread->createAudioPatchCommand(patch, handle, delayMs); in clientCreateAudioPatch()
284 int delayMs) in clientReleaseAudioPatch() argument
286 return mAudioCommandThread->releaseAudioPatchCommand(handle, delayMs); in clientReleaseAudioPatch()
290 int delayMs) in clientSetAudioPortConfig() argument
292 return mAudioCommandThread->setAudioPortConfigCommand(config, delayMs); in clientSetAudioPortConfig()
1303 int delayMs) in volumeCommand() argument
1315 return sendCommand(command, delayMs); in volumeCommand()
1320 int delayMs) in parametersCommand() argument
1330 keyValuePairs, ioHandle, delayMs); in parametersCommand()
[all …]
DAudioPolicyClientImpl.cpp184 int delayMs) in createAudioPatch() argument
186 return mAudioPolicyService->clientCreateAudioPatch(patch, handle, delayMs); in createAudioPatch()
190 int delayMs) in releaseAudioPatch() argument
192 return mAudioPolicyService->clientReleaseAudioPatch(handle, delayMs); in releaseAudioPatch()
197 int delayMs) in setAudioPortConfig() argument
199 return mAudioPolicyService->clientSetAudioPortConfig(config, delayMs); in setAudioPortConfig()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h407 int delayMs = 0,
411 int delayMs = 0,
436 int delayMs = 0, bool force = false);
440 audio_devices_t device, int delayMs = 0, bool force = false);
454 int delayMs = 0,
469 int delayMs = 0,
575 uint32_t delayMs);
652 uint32_t updateCallRouting(const DeviceVector &rxDevices, uint32_t delayMs = 0);
654 uint32_t delayMs);
663 uint32_t *delayMs);
[all …]
DAudioPolicyManager.cpp487 uint32_t AudioPolicyManager::updateCallRouting(const DeviceVector &rxDevices, uint32_t delayMs) in updateCallRouting() argument
557 muteWaitMs = setOutputDevices(mPrimaryOutput, rxDevices, true, delayMs); in updateCallRouting()
559 mCallRxPatch = createTelephonyPatch(true /*isRx*/, rxDevices.itemAt(0), delayMs); in updateCallRouting()
566 mCallTxPatch = createTelephonyPatch(false /*isRx*/, txSourceDevice, delayMs); in updateCallRouting()
573 bool isRx, const sp<DeviceDescriptor> &device, uint32_t delayMs) { in createTelephonyPatch() argument
618 patchBuilder.patch(), &afPatchHandle, delayMs); in createTelephonyPatch()
683 int delayMs = 0; in setPhoneState() local
696 (delayMs < (int)desc->latency()*2)) { in setPhoneState()
697 delayMs = desc->latency()*2; in setPhoneState()
721 updateCallRouting(rxDevices, delayMs); in setPhoneState()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsTestBase.java53 protected final void waitForHandlerActionDelayed(Handler h, long timeoutMillis, long delayMs) { in waitForHandlerActionDelayed() argument
55 h.postDelayed(lock::countDown, delayMs); in waitForHandlerActionDelayed()
/frameworks/opt/net/ims/tests/src/com/android/ims/
DImsTestBase.java53 protected final void waitForHandlerActionDelayed(Handler h, long timeoutMillis, long delayMs) { in waitForHandlerActionDelayed() argument
55 h.postDelayed(lock::countDown, delayMs); in waitForHandlerActionDelayed()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h334 …eamVolume(audio_stream_type_t stream, float volume, audio_io_handle_t output, int delayMs = 0) = 0;
340 … void setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs, int delayMs = 0) = 0;
345 virtual status_t setVoiceVolume(float volume, int delayMs = 0) = 0;
359 int delayMs) = 0;
363 int delayMs) = 0;
366 virtual status_t setAudioPortConfig(const struct audio_port_config *config, int delayMs) = 0;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp156 uint32_t delayMs, in setVolume() argument
163 … ALOGV("%s for volumeSrc %d, volume %f, delay %d", __func__, volumeSource, volumeDb, delayMs); in setVolume()
395 uint32_t delayMs, in setVolume() argument
399 if (!AudioOutputDescriptor::setVolume(volumeDb, vs, streamTypes, device, delayMs, force)) { in setVolume()
418 mClientInterface->setStreamVolume(stream, volumeAmpl, mIoHandle, delayMs); in setVolume()
438 mClientInterface->setStreamVolume(AUDIO_STREAM_VOICE_CALL, volumeAmpl, mIoHandle, delayMs); in setVolume()
442 mIoHandle, vs, volumeDb, delayMs, toString(stream).c_str()); in setVolume()
443 mClientInterface->setStreamVolume(stream, volumeAmpl, mIoHandle, delayMs); in setVolume()
636 uint32_t delayMs, in setVolume() argument
640 AudioOutputDescriptor::setVolume(volumeDb, volumeSource, streams, device, delayMs, force); in setVolume()
/frameworks/base/media/java/android/media/
DPlayerBase.java179 void baseSetStartDelayMs(int delayMs) { in baseSetStartDelayMs() argument
181 mStartDelayMs = Math.max(delayMs, 0); in baseSetStartDelayMs()
386 public void setStartDelayMs(int delayMs) { in setStartDelayMs() argument
387 baseSetStartDelayMs(delayMs); in setStartDelayMs()
513 public void setStartDelayMs(int delayMs) { in setStartDelayMs() argument
516 pb.baseSetStartDelayMs(delayMs); in setStartDelayMs()
DPlayerProxy.java126 public void setStartDelayMs(int delayMs) { in setStartDelayMs() argument
128 mConf.getIPlayer().setStartDelayMs(delayMs); in setStartDelayMs()
DRemoteController.java569 int arg1, int arg2, Object obj, int delayMs) { in sendMsg() argument
579 handler.sendMessageDelayed(handler.obtainMessage(msg, arg1, arg2, obj), delayMs); in sendMsg() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistHandleCallbacks.java37 void showAndGoDelayed(long delayMs, boolean hideIfShowing); in showAndGoDelayed() argument
DAssistHandleBehaviorController.java151 public void showAndGoDelayed(long delayMs, boolean hideIfShowing) { in showAndGoDelayed() argument
156 mHandler.postDelayed(mShowAndGo, delayMs); in showAndGoDelayed()
/frameworks/av/media/libaudioclient/aidl/android/media/
DIPlayer.aidl31 oneway void setStartDelayMs(int delayMs); in setStartDelayMs() argument
/frameworks/ex/framesequence/jni/
DFrameSequenceJNI.cpp137 jlong delayMs = frameSequenceState->drawFrame(frameNr, in nativeGetFrame() local
141 return delayMs; in nativeGetFrame()
/frameworks/av/media/libaudioclient/include/media/
DPlayerBase.h41 virtual binder::Status setStartDelayMs(int32_t delayMs) override;
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h162 uint32_t delayMs,
338 uint32_t delayMs,
412 uint32_t delayMs,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java1058 private void scheduleQueryForFeatures(ImsServiceInfo service, int delayMs) { in scheduleQueryForFeatures() argument
1074 + " in " + delayMs + "ms."); in scheduleQueryForFeatures()
1075 mHandler.sendMessageDelayed(msg, delayMs); in scheduleQueryForFeatures()
1078 private void scheduleQueryForFeatures(ComponentName name, int delayMs) { in scheduleQueryForFeatures() argument
1084 scheduleQueryForFeatures(service, delayMs); in scheduleQueryForFeatures()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileLifecycleManager.java118 public void setBindRetryDelay(int delayMs) { in setBindRetryDelay() argument
119 mBindRetryDelay = delayMs; in setBindRetryDelay()
/frameworks/av/media/libaudioclient/
DPlayerBase.cpp175 binder::Status PlayerBase::setStartDelayMs(int32_t delayMs __unused) { in setStartDelayMs()
/frameworks/av/media/libeffects/visualizer/
DEffectVisualizer.cpp711 const int32_t delayMs = Visualizer_getDeltaTimeMsFromUpdatedTime(pContext); in Visualizer_command() local
712 if (delayMs > DISCARD_MEASUREMENTS_TIME_MS) { in Visualizer_command()
713 ALOGV("Discarding measurements, last measurement is %" PRId32 "ms old", delayMs); in Visualizer_command()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSmartReplyViewTest.java222 final long delayMs = 50L; // Using a small delay to not delay the test suite too much. in testTapSmartReply_afterInitDelay_clickReceived() local
223 when(mConstants.getOnClickInitDelay()).thenReturn(delayMs); in testTapSmartReply_afterInitDelay_clickReceived()
226 Thread.sleep(delayMs); in testTapSmartReply_afterInitDelay_clickReceived()
654 final long delayMs = 50L; // Using a small delay to not delay the test suite too much. in testTapSmartAction_afterInitDelay_clickReceived() local
655 when(mConstants.getOnClickInitDelay()).thenReturn(delayMs); in testTapSmartAction_afterInitDelay_clickReceived()
658 Thread.sleep(delayMs); in testTapSmartAction_afterInitDelay_clickReceived()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartController.java451 void schedulePendingActivityLaunches(long delayMs) { in schedulePendingActivityLaunches() argument
454 mHandler.sendMessageDelayed(msg, delayMs); in schedulePendingActivityLaunches()
/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java1135 final long delayMs = in scheduleRotationEvaluationIfNecessaryLocked() local
1137 mHandler.postDelayed(mRotationEvaluator, delayMs); in scheduleRotationEvaluationIfNecessaryLocked()

12