Home
last modified time | relevance | path

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

/cts/tests/tests/display/src/android/display/cts/
DBrightnessTest.java91 if (numberOfSystemAppsWithPermission(Manifest.permission.BRIGHTNESS_SLIDER_USAGE) == 0) { in testBrightnessSliderTracking()
142 if (numberOfSystemAppsWithPermission(Manifest.permission.BRIGHTNESS_SLIDER_USAGE) == 0) { in testNoTrackingForManualBrightness()
206 if (numberOfSystemAppsWithPermission( in testSetGetSimpleCurve()
240 if (numberOfSystemAppsWithPermission(Manifest.permission.BRIGHTNESS_SLIDER_USAGE) == 0) { in testGetDefaultCurve()
264 if (numberOfSystemAppsWithPermission(Manifest.permission.BRIGHTNESS_SLIDER_USAGE) == 0) { in testSliderEventsReflectCurves()
268 if (numberOfSystemAppsWithPermission( in testSliderEventsReflectCurves()
326 assertTrue(numberOfSystemAppsWithPermission( in testAtMostOneAppHoldsBrightnessConfigurationPermission()
348 private int numberOfSystemAppsWithPermission(String permission) { in numberOfSystemAppsWithPermission() method in BrightnessTest