Home
last modified time | relevance | path

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 DUiModeManagerServiceTest.java24 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 DSystemStateHelperTest.java140 .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 DSystemStateHelper.java158 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 DDeviceStateMonitor.java19 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 DUiModeManager.java706 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 DUiModeManagerService.java24 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 DBatterySaverPolicy.java295 uiModeManager.addOnProjectionStateChangedListener(UiModeManager.PROJECTION_TYPE_AUTOMOTIVE, in systemReady()
/aosp12/frameworks/base/core/api/
H A Dtest-current.txt381 field public static final int PROJECTION_TYPE_AUTOMOTIVE = 1; // 0x1
H A Dsystem-current.txt861 field public static final int PROJECTION_TYPE_AUTOMOTIVE = 1; // 0x1