Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/garagemode/
DGarageModeController.java45 private static final String TAG = CarLog.tagFor(GarageMode.class) + "_"
49 private final GarageMode mGarageMode;
58 GarageMode garageMode) { in GarageModeController()
60 mGarageMode = (garageMode == null) ? new GarageMode(context, this) : garageMode; in GarageModeController()
DGarageMode.java58 class GarageMode { class
60 private static final String TAG = CarLog.tagFor(GarageMode.class) + "_"
61 + GarageMode.class.getSimpleName();
240 GarageMode(Context context, GarageModeController controller) { in GarageMode() method in GarageMode
/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/
DGarageModeControllerTest.java19 import static com.android.car.garagemode.GarageMode.ACTION_GARAGE_MODE_OFF;
20 import static com.android.car.garagemode.GarageMode.ACTION_GARAGE_MODE_ON;
180 GarageMode garageMode = mock(GarageMode.class); in testInitAndRelease()
202 GarageMode garageMode = mock(GarageMode.class); in testOnStateChanged()
DGarageModeTest.java75 private GarageMode mGarageMode;
110 mGarageMode = new GarageMode(mContext, mController); in setUp()
228 GarageMode garageMode = new GarageMode(mContext, mController); in test_garageModeTestExitImmediately()
234 garageMode = new GarageMode(mContext, mController); in test_garageModeTestExitImmediately()
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java41 import android.automotive.watchdog.internal.GarageMode;
160 ? GarageMode.GARAGE_MODE_ON : GarageMode.GARAGE_MODE_OFF;
163 if (garageMode == GarageMode.GARAGE_MODE_ON) {
285 private @GarageMode int mCurrentGarageMode;
326 mCurrentGarageMode = GarageMode.GARAGE_MODE_OFF; in CarWatchdogService()
656 private void notifyGarageModeChange(@GarageMode int garageMode) { in notifyGarageModeChange()
871 private static String toGarageModeString(@GarageMode int garageMode) { in toGarageModeString()
873 case GarageMode.GARAGE_MODE_OFF: in toGarageModeString()
875 case GarageMode.GARAGE_MODE_ON: in toGarageModeString()
DWatchdogPerfHandler.java72 import android.automotive.watchdog.internal.GarageMode;
297 private @GarageMode int mCurrentGarageMode = GarageMode.GARAGE_MODE_OFF;
533 public void onGarageModeChange(@GarageMode int garageMode) { in onGarageModeChange()
536 if (mCurrentGarageMode == GarageMode.GARAGE_MODE_ON) { in onGarageModeChange()
2119 if (mCurrentGarageMode == GarageMode.GARAGE_MODE_ON) { in inferSystemStateLocked()
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogInternalHandler.cpp37 using ::aidl::android::automotive::watchdog::internal::GarageMode;
299 GarageMode garageMode = static_cast<GarageMode>(static_cast<uint32_t>(arg1)); in notifySystemStateChange()
300 mWatchdogPerfService->setSystemState(garageMode == GarageMode::GARAGE_MODE_OFF in notifySystemStateChange()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/util/
DEventLogTags.logtags164 ### 0: GarageMode.GARAGE_MODE_EVENT_LOG_START
165 ### 1: GarageMode.GARAGE_MODE_EVENT_LOG_FINISH
166 ### 2: GarageMode.GARAGE_MODE_EVENT_LOG_CANCELLED
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/current/android/automotive/watchdog/internal/
DGarageMode.aidl36 enum GarageMode { enum
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/3/android/automotive/watchdog/internal/
DGarageMode.aidl36 enum GarageMode { enum
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/1/android/automotive/watchdog/internal/
DGarageMode.aidl36 enum GarageMode { enum
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/2/android/automotive/watchdog/internal/
DGarageMode.aidl36 enum GarageMode { enum
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/
DGarageMode.aidl23 enum GarageMode { enum
/packages/services/Car/cpp/watchdog/server/tests/
DWatchdogInternalHandlerTest.cpp47 using ::aidl::android::automotive::watchdog::internal::GarageMode;
457 GarageMode::GARAGE_MODE_ON), in TEST_F()
471 GarageMode::GARAGE_MODE_OFF), in TEST_F()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/
DCarWatchdogServiceUnitTest.java81 import android.automotive.watchdog.internal.GarageMode;
387 verify(mMockWatchdogPerfHandler).onGarageModeChange(GarageMode.GARAGE_MODE_ON); in testGarageModeStateChangeToOn()
389 GarageMode.GARAGE_MODE_ON, MISSING_ARG_VALUE); in testGarageModeStateChangeToOn()
400 verify(mMockWatchdogPerfHandler).onGarageModeChange(GarageMode.GARAGE_MODE_OFF); in testGarageModeStateChangeToOff()
403 GarageMode.GARAGE_MODE_OFF, MISSING_ARG_VALUE); in testGarageModeStateChangeToOff()
429 StateType.GARAGE_MODE, GarageMode.GARAGE_MODE_ON, MISSING_ARG_VALUE); in testWatchdogDaemonRestart()
1233 StateType.GARAGE_MODE, GarageMode.GARAGE_MODE_OFF, MISSING_ARG_VALUE); in captureAndVerifyRegistrationWithDaemon()
DWatchdogPerfHandlerUnitTest.java84 import android.automotive.watchdog.internal.GarageMode;
2855 mWatchdogPerfHandler.onGarageModeChange(GarageMode.GARAGE_MODE_ON); in testImmediateDisableRecurrentlyOverusingAppDuringGarageMode()