Home
last modified time | relevance | path

Searched refs:waitMs (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DNotificationAttentionHelper.java735 final int waitMs = mAudioManager.getFocusRampTimeMs( in playVibration() local
740 + record.getKey() + " by " + waitMs + "ms"); in playVibration()
743 Thread.sleep(waitMs); in playVibration()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h896 bool fromCache, uint32_t delayMs = 0, uint32_t *waitMs = nullptr);
898 const DeviceVector &rxDevices, uint32_t delayMs, uint32_t *waitMs);
DAudioPolicyManager.cpp684 status_t AudioPolicyManager::updateCallRouting(bool fromCache, uint32_t delayMs, uint32_t *waitMs) in updateCallRouting() argument
688 return updateCallRoutingInternal(rxDevices, delayMs, waitMs); in updateCallRouting()
694 const DeviceVector &rxDevices, uint32_t delayMs, uint32_t *waitMs) in updateCallRoutingInternal() argument
784 if (waitMs != nullptr) { in updateCallRoutingInternal()
785 *waitMs = muteWaitMs; in updateCallRoutingInternal()
2454 uint32_t waitMs = beaconMuteLatency; in startSource() local
2487 if (shouldWait && isActive && (waitMs < latencyMs)) { in startSource()
2488 waitMs = latencyMs; in startSource()
2537 if (waitMs > muteWaitMs) { in startSource()
2538 *delayMs = waitMs - muteWaitMs; in startSource()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBackgroundRestrictionTest.java2522 BaseAppStateEventsTracker tracker, long[][] waitMs, int[][] events, in runTestExcessiveEvent() argument
2567 for (int i = 0; i < waitMs.length; i++) { in runTestExcessiveEvent()
2573 for (int j = 0; j < waitMs[i].length; j++) { in runTestExcessiveEvent()
2577 Thread.sleep(waitMs[i][j]); in runTestExcessiveEvent()