Searched refs:PROJECTION_TYPE_AUTOMOTIVE (Results 1 – 9 of 9) sorted by relevance
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/ |
H A D | UiModeManagerServiceTest.java | 24 import static android.app.UiModeManager.PROJECTION_TYPE_AUTOMOTIVE; 482 PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME)); in requestProjection_failsForBogusPackageName() 492 PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME)); in requestProjection_failsIfNameNotFound() 531 PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME)); in requestProjection_enforcesToggleAutomotiveProjectionPermission() 587 PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME)); in releaseProjection_failsForBogusPackageName() 601 PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME)); in releaseProjection_failsIfNameNotFound() 615 int nonAutomotiveProjectionType = PROJECTION_TYPE_AUTOMOTIVE * 2; in releaseProjection_enforcesToggleAutomotiveProjectionPermission() 620 PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME)); in releaseProjection_enforcesToggleAutomotiveProjectionPermission() 637 assertEquals(projectionType != PROJECTION_TYPE_AUTOMOTIVE, in releaseProjection() 666 mService.releaseProjection(PROJECTION_TYPE_AUTOMOTIVE, PACKAGE_NAME); in getActiveProjectionTypes() [all …]
|
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | SystemStateHelperTest.java | 140 .thenReturn(UiModeManager.PROJECTION_TYPE_AUTOMOTIVE); in testQuerySystemForAutomotiveProjection_True() 161 .thenReturn(UiModeManager.PROJECTION_TYPE_AUTOMOTIVE); in testQuerySystemForAutomotiveProjectionAndCarMode_True() 255 eq(UiModeManager.PROJECTION_TYPE_AUTOMOTIVE), any(), listenerCaptor.capture()); in testOnSetReleaseAutomotiveProjection() 263 UiModeManager.PROJECTION_TYPE_AUTOMOTIVE, Set.of(packageName2)); in testOnSetReleaseAutomotiveProjection() 273 UiModeManager.PROJECTION_TYPE_AUTOMOTIVE, Set.of(packageName1)); in testOnSetReleaseAutomotiveProjection() 276 UiModeManager.PROJECTION_TYPE_AUTOMOTIVE, Set.of()); in testOnSetReleaseAutomotiveProjection()
|
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | SystemStateHelper.java | 158 UiModeManager.PROJECTION_TYPE_AUTOMOTIVE, mContext.getMainExecutor(), this); in SystemStateHelper() 300 & UiModeManager.PROJECTION_TYPE_AUTOMOTIVE) != 0; in getSystemCarModeOrProjectionState()
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | DeviceStateMonitor.java | 19 import static android.app.UiModeManager.PROJECTION_TYPE_AUTOMOTIVE; 305 umm.addOnProjectionStateChangedListener(PROJECTION_TYPE_AUTOMOTIVE, in DeviceStateMonitor() 750 & PROJECTION_TYPE_AUTOMOTIVE) != 0; in isAutomotiveProjectionActive()
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | UiModeManager.java | 706 public static final int PROJECTION_TYPE_AUTOMOTIVE = 0x0001; field in UiModeManager 721 PROJECTION_TYPE_AUTOMOTIVE,
|
/aosp12/frameworks/base/services/core/java/com/android/server/ |
H A D | UiModeManagerService.java | 24 import static android.app.UiModeManager.PROJECTION_TYPE_AUTOMOTIVE; 935 if (projectionType == PROJECTION_TYPE_AUTOMOTIVE && !currentHolders.isEmpty()) { 1041 if ((p & PROJECTION_TYPE_AUTOMOTIVE) != 0) { in enforceProjectionTypePermissions()
|
/aosp12/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
H A D | BatterySaverPolicy.java | 295 uiModeManager.addOnProjectionStateChangedListener(UiModeManager.PROJECTION_TYPE_AUTOMOTIVE, in systemReady()
|
/aosp12/frameworks/base/core/api/ |
H A D | test-current.txt | 381 field public static final int PROJECTION_TYPE_AUTOMOTIVE = 1; // 0x1
|
H A D | system-current.txt | 861 field public static final int PROJECTION_TYPE_AUTOMOTIVE = 1; // 0x1
|