Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DSoundEffectsHelper.java364 Map<Integer, Integer> parserCounter = new HashMap<>(); in loadSoundAssets() local
389 int currentParserCount = parserCounter.getOrDefault(fx, 0) + 1; in loadSoundAssets()
390 parserCounter.put(fx, currentParserCount); in loadSoundAssets()
400 boolean navigationRepeatFxParsed = allNavigationRepeatSoundsParsed(parserCounter); in loadSoundAssets()
401 boolean homeSoundParsed = parserCounter.getOrDefault(AudioManager.FX_HOME, 0) > 0; in loadSoundAssets()
425 private boolean allNavigationRepeatSoundsParsed(Map<Integer, Integer> parserCounter) { in allNavigationRepeatSoundsParsed() argument
427 parserCounter.getOrDefault(AudioManager.FX_FOCUS_NAVIGATION_REPEAT_1, 0) in allNavigationRepeatSoundsParsed()
428 + parserCounter.getOrDefault(AudioManager.FX_FOCUS_NAVIGATION_REPEAT_2, 0) in allNavigationRepeatSoundsParsed()
429 + parserCounter.getOrDefault(AudioManager.FX_FOCUS_NAVIGATION_REPEAT_3, 0) in allNavigationRepeatSoundsParsed()
430 + parserCounter.getOrDefault(AudioManager.FX_FOCUS_NAVIGATION_REPEAT_4, 0); in allNavigationRepeatSoundsParsed()