Home
last modified time | relevance | path

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

/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp478 SLuint32 allowedModes = ANDROID_PERFORMANCE_MODE_ALL; in checkAndSetPerformanceModePre() local
504 allowedModes &= ~ANDROID_PERFORMANCE_MODE_LATENCY; in checkAndSetPerformanceModePre()
530 allowedModes &= ~ANDROID_PERFORMANCE_MODE_LATENCY_EFFECTS; in checkAndSetPerformanceModePre()
537 (allowedModes & in checkAndSetPerformanceModePre()
565 if ((allowedModes & ANDROID_PERFORMANCE_MODE_LATENCY) == 0) { in checkAndSetPerformanceModePre()
570 if ((allowedModes & ANDROID_PERFORMANCE_MODE_LATENCY_EFFECTS) == 0) { in checkAndSetPerformanceModePre()
DAudioPlayer_to_android.cpp1468 SLuint32 allowedModes = ANDROID_PERFORMANCE_MODE_ALL; in checkAndSetPerformanceModePre() local
1497 allowedModes &= in checkAndSetPerformanceModePre()
1504 (allowedModes & in checkAndSetPerformanceModePre()
1537 if ((allowedModes & ANDROID_PERFORMANCE_MODE_LATENCY) == 0) { in checkAndSetPerformanceModePre()
1542 if ((allowedModes & ANDROID_PERFORMANCE_MODE_LATENCY_EFFECTS) == 0) { in checkAndSetPerformanceModePre()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java7569 final Set<Integer> allowedModes = Set.of(PASSWORD_COMPLEXITY_NONE, PASSWORD_COMPLEXITY_LOW, in testSetRequiredPasswordComplexity_validValuesOnly() local
7571 for (int complexity : allowedModes) { in testSetRequiredPasswordComplexity_validValuesOnly()
7584 final Set<Integer> allowedModes = Set.of(PASSWORD_COMPLEXITY_NONE, PASSWORD_COMPLEXITY_LOW, in testSetRequiredPasswordComplexity_setAndGet() local
7586 for (int complexity : allowedModes) { in testSetRequiredPasswordComplexity_setAndGet()
7602 final Set<Integer> allowedModes = Set.of(PASSWORD_COMPLEXITY_NONE, PASSWORD_COMPLEXITY_LOW, in testSetRequiredPasswordComplexityOnParent_setAndGet() local
7604 for (int complexity : allowedModes) { in testSetRequiredPasswordComplexityOnParent_setAndGet()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java4729 final Set<Integer> allowedModes = Set.of(PASSWORD_COMPLEXITY_NONE, PASSWORD_COMPLEXITY_LOW,
4731 Preconditions.checkArgument(allowedModes.contains(passwordComplexity),