Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp473 SLuint32 allowedModes = ANDROID_PERFORMANCE_MODE_ALL; in checkAndSetPerformanceModePre() local
499 allowedModes &= ~ANDROID_PERFORMANCE_MODE_LATENCY; in checkAndSetPerformanceModePre()
525 allowedModes &= ~ANDROID_PERFORMANCE_MODE_LATENCY_EFFECTS; in checkAndSetPerformanceModePre()
532 (allowedModes & in checkAndSetPerformanceModePre()
560 if ((allowedModes & ANDROID_PERFORMANCE_MODE_LATENCY) == 0) { in checkAndSetPerformanceModePre()
565 if ((allowedModes & ANDROID_PERFORMANCE_MODE_LATENCY_EFFECTS) == 0) { in checkAndSetPerformanceModePre()
DAudioPlayer_to_android.cpp1461 SLuint32 allowedModes = ANDROID_PERFORMANCE_MODE_ALL; in checkAndSetPerformanceModePre() local
1490 allowedModes &= in checkAndSetPerformanceModePre()
1497 (allowedModes & in checkAndSetPerformanceModePre()
1530 if ((allowedModes & ANDROID_PERFORMANCE_MODE_LATENCY) == 0) { in checkAndSetPerformanceModePre()
1535 if ((allowedModes & ANDROID_PERFORMANCE_MODE_LATENCY_EFFECTS) == 0) { in checkAndSetPerformanceModePre()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java7616 final Set<Integer> allowedModes = Set.of(PASSWORD_COMPLEXITY_NONE, PASSWORD_COMPLEXITY_LOW, in testSetRequiredPasswordComplexity_validValuesOnly() local
7618 for (int complexity : allowedModes) { in testSetRequiredPasswordComplexity_validValuesOnly()
7631 final Set<Integer> allowedModes = Set.of(PASSWORD_COMPLEXITY_NONE, PASSWORD_COMPLEXITY_LOW, in testSetRequiredPasswordComplexity_setAndGet() local
7633 for (int complexity : allowedModes) { in testSetRequiredPasswordComplexity_setAndGet()
7650 final Set<Integer> allowedModes = Set.of(PASSWORD_COMPLEXITY_NONE, PASSWORD_COMPLEXITY_LOW, in testSetRequiredPasswordComplexityOnParent_setAndGet() local
7652 for (int complexity : allowedModes) { in testSetRequiredPasswordComplexityOnParent_setAndGet()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java5462 final Set<Integer> allowedModes = Set.of(PASSWORD_COMPLEXITY_NONE, PASSWORD_COMPLEXITY_LOW,
5464 Preconditions.checkArgument(allowedModes.contains(passwordComplexity),
23841 final Set<Integer> allowedModes =
23847 allowedModes.contains(flags), "Provided mode is not one of the allowed values.");