Home
last modified time | relevance | path

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

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/remoteaccess/
DRemoteAccessTestFragment.java19 import static android.car.remoteaccess.CarRemoteAccessManager.TASK_TYPE_ENTER_GARAGE_MODE;
20 import static android.car.remoteaccess.CarRemoteAccessManager.TASK_TYPE_CUSTOM;
24 import android.car.remoteaccess.CarRemoteAccessManager;
25 import android.car.remoteaccess.CarRemoteAccessManager.InVehicleTaskScheduler;
26 import android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo;
61 private CarRemoteAccessManager mRemoteAccessManager;
77 mRemoteAccessManager = (CarRemoteAccessManager) car.getCarManager( in onCreate()
DKitchenSinkRemoteTaskService.java26 import android.car.remoteaccess.CarRemoteAccessManager;
65 private CarRemoteAccessManager mRemoteAccessManager;
85 mRemoteAccessManager = (CarRemoteAccessManager) car.getCarManager( in onCreate()
136 implements CarRemoteAccessManager.RemoteTaskClientCallback {
179 public void onShutdownStarting(CarRemoteAccessManager.CompletableRemoteTaskFuture future) { in onShutdownStarting()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/remoteaccess/
DCarRemoteAccessManagerUnitTest.java19 import static android.car.remoteaccess.CarRemoteAccessManager.TASK_TYPE_CUSTOM;
20 import static android.car.remoteaccess.CarRemoteAccessManager.TASK_TYPE_ENTER_GARAGE_MODE;
38 import android.car.remoteaccess.CarRemoteAccessManager.CompletableRemoteTaskFuture;
39 import android.car.remoteaccess.CarRemoteAccessManager.InVehicleTaskSchedulerException;
40 import android.car.remoteaccess.CarRemoteAccessManager.RemoteTaskClientCallback;
41 import android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo;
42 import android.car.remoteaccess.CarRemoteAccessManager.TaskType;
93 private CarRemoteAccessManager mRemoteAccessManager;
103 mRemoteAccessManager = new CarRemoteAccessManager(mCar, mBinder); in setUp()
302 int nextPowerState = CarRemoteAccessManager.NEXT_POWER_STATE_SUSPEND_TO_RAM; in testSetPowerStatePostTaskExecution()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/
DCarRemoteAccessServiceUnitTest.java19 import static android.car.remoteaccess.CarRemoteAccessManager.TASK_TYPE_CUSTOM;
20 import static android.car.remoteaccess.CarRemoteAccessManager.TASK_TYPE_ENTER_GARAGE_MODE;
51 import android.car.remoteaccess.CarRemoteAccessManager;
274 .thenReturn(CarRemoteAccessManager.NEXT_POWER_STATE_OFF); in setUp()
796 CarRemoteAccessManager.NEXT_POWER_STATE_OFF, /* runGarageMode= */ true); in testReportTaskDone_withPowerStateOff()
803 CarRemoteAccessManager.NEXT_POWER_STATE_OFF, /* runGarageMode= */ true); in testReportTaskDone_withPowerStateOff()
813 CarRemoteAccessManager.NEXT_POWER_STATE_SUSPEND_TO_RAM, /* runGarageMode= */ true); in testReportRemoteTaskDone_withPowerStateS2R()
818 CarRemoteAccessManager.NEXT_POWER_STATE_SUSPEND_TO_RAM, /* runGarageMode= */ true); in testReportRemoteTaskDone_withPowerStateS2R()
828 CarRemoteAccessManager.NEXT_POWER_STATE_ON, /* runGarageMode= */ false); in testReportRemoteTaskDone_withPowerStateOn()
834 CarRemoteAccessManager.NEXT_POWER_STATE_SUSPEND_TO_RAM, /* runGarageMode= */ true); in testReportRemoteTaskDone_withPowerStateOn()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/remoteaccess/
DCarRemoteAccessManagerTest.java19 import static android.car.remoteaccess.CarRemoteAccessManager.NEXT_POWER_STATE_OFF;
20 import static android.car.remoteaccess.CarRemoteAccessManager.NEXT_POWER_STATE_ON;
21 import static android.car.remoteaccess.CarRemoteAccessManager.NEXT_POWER_STATE_SUSPEND_TO_DISK;
22 import static android.car.remoteaccess.CarRemoteAccessManager.NEXT_POWER_STATE_SUSPEND_TO_RAM;
39 import android.car.remoteaccess.CarRemoteAccessManager;
40 import android.car.remoteaccess.CarRemoteAccessManager.CompletableRemoteTaskFuture;
41 import android.car.remoteaccess.CarRemoteAccessManager.RemoteTaskClientCallback;
119 private CarRemoteAccessManager mCarRemoteAccessManager;
363 mCarRemoteAccessManager = (CarRemoteAccessManager) getCar().getCarManager( in setUp()
/packages/services/Car/service/src/com/android/car/remoteaccess/
DCarRemoteAccessService.java19 import static android.car.remoteaccess.CarRemoteAccessManager.TASK_TYPE_CUSTOM;
20 import static android.car.remoteaccess.CarRemoteAccessManager.TASK_TYPE_ENTER_GARAGE_MODE;
39 import android.car.remoteaccess.CarRemoteAccessManager;
1345 if (mNextPowerState == CarRemoteAccessManager.NEXT_POWER_STATE_ON) { in shutdownIfNeeded()
1393 if (mNextPowerState == CarRemoteAccessManager.NEXT_POWER_STATE_ON in calcTaskMaxDurationInMsLocked()
1624 if (mNextPowerState == CarRemoteAccessManager.NEXT_POWER_STATE_ON) { in notifyShutdownStarting()
1654 if (mNextPowerState != CarRemoteAccessManager.NEXT_POWER_STATE_ON in wrapUpRemoteAccessServiceIfNeeded()
1763 case CarRemoteAccessManager.NEXT_POWER_STATE_ON: in nextPowerStateToString()
1765 case CarRemoteAccessManager.NEXT_POWER_STATE_OFF: in nextPowerStateToString()
1767 case CarRemoteAccessManager.NEXT_POWER_STATE_SUSPEND_TO_RAM: in nextPowerStateToString()
[all …]
/packages/services/Car/car-lib/src/android/car/remoteaccess/
DCarRemoteAccessManager.java98 public final class CarRemoteAccessManager extends CarManagerBase { class
100 private static final String TAG = CarRemoteAccessManager.class.getSimpleName();
390 public CarRemoteAccessManager(ICarBase car, IBinder service) { in CarRemoteAccessManager() method in CarRemoteAccessManager
/packages/services/Car/tools/GenericCarApiBuilder/scripts/
Dtracked_hidden_apis.txt16 android.car.remoteaccess CarRemoteAccessManager void onCarDisconnected()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java55 import android.car.remoteaccess.CarRemoteAccessManager;
324 @CarRemoteAccessManager.NextPowerState
325 private int mLastShutdownState = CarRemoteAccessManager.NEXT_POWER_STATE_OFF;
985 int lastShutdownState = CarRemoteAccessManager.NEXT_POWER_STATE_OFF; in handleWaitForVhal()
988 lastShutdownState = CarRemoteAccessManager.NEXT_POWER_STATE_OFF; in handleWaitForVhal()
1000 lastShutdownState = CarRemoteAccessManager.NEXT_POWER_STATE_SUSPEND_TO_RAM; in handleWaitForVhal()
1004 lastShutdownState = CarRemoteAccessManager.NEXT_POWER_STATE_SUSPEND_TO_DISK; in handleWaitForVhal()
3761 case CarRemoteAccessManager.NEXT_POWER_STATE_ON: in requestShutdownAp()
3764 case CarRemoteAccessManager.NEXT_POWER_STATE_OFF: in requestShutdownAp()
3767 case CarRemoteAccessManager.NEXT_POWER_STATE_SUSPEND_TO_RAM: in requestShutdownAp()
[all …]
/packages/services/Car/car-lib/api/
Dlint-baseline.txt1816 UnflaggedApi: android.car.remoteaccess.CarRemoteAccessManager:
1817 New API must be flagged with @FlaggedApi: class android.car.remoteaccess.CarRemoteAccessManager
1818 UnflaggedApi: android.car.remoteaccess.CarRemoteAccessManager#clearRemoteTaskClient():
1819 …ust be flagged with @FlaggedApi: method android.car.remoteaccess.CarRemoteAccessManager.clearRemot…
1820 UnflaggedApi: android.car.remoteaccess.CarRemoteAccessManager#reportRemoteTaskDone(String):
1821 …ust be flagged with @FlaggedApi: method android.car.remoteaccess.CarRemoteAccessManager.reportRemo…
1822 …ar.remoteaccess.CarRemoteAccessManager#setRemoteTaskClient(java.util.concurrent.Executor, android.…
1823 …ar.remoteaccess.CarRemoteAccessManager.setRemoteTaskClient(java.util.concurrent.Executor,android.c…
1824 UnflaggedApi: android.car.remoteaccess.CarRemoteAccessManager.CompletableRemoteTaskFuture:
1825 …New API must be flagged with @FlaggedApi: class android.car.remoteaccess.CarRemoteAccessManager.Co…
[all …]
Dsystem-current.txt2226 public final class CarRemoteAccessManager {
2227 …ERMISSION_CONTROL_REMOTE_ACCESS) public android.car.remoteaccess.CarRemoteAccessManager.InVehicleT…
2238 …ndroid.car.feature.serverless_remote_access") public final class CarRemoteAccessManager.InVehicleT…
2239 …ar.remoteaccess.CarRemoteAccessManager.ScheduleInfo> getAllPendingScheduledTasks() throws android.…
2240 …ic int[] getSupportedTaskTypes() throws android.car.remoteaccess.CarRemoteAccessManager.InVehicleT…
2241 …isTaskScheduled(@NonNull String) throws android.car.remoteaccess.CarRemoteAccessManager.InVehicleT…
2242 …nNull android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo) throws android.car.remoteacces…
2243 …public void unscheduleAllTasks() throws android.car.remoteaccess.CarRemoteAccessManager.InVehicleT…
2244 … unscheduleTask(@NonNull String) throws android.car.remoteaccess.CarRemoteAccessManager.InVehicleT…
2247 …car.feature.serverless_remote_access") public static final class CarRemoteAccessManager.InVehicleT…
[all …]
Dtest-current.txt2303 public final class CarRemoteAccessManager {
2305 …ERMISSION_CONTROL_REMOTE_ACCESS) public android.car.remoteaccess.CarRemoteAccessManager.InVehicleT…
2319 …ndroid.car.feature.serverless_remote_access") public final class CarRemoteAccessManager.InVehicleT…
2320 …ar.remoteaccess.CarRemoteAccessManager.ScheduleInfo> getAllPendingScheduledTasks() throws android.…
2321 …ic int[] getSupportedTaskTypes() throws android.car.remoteaccess.CarRemoteAccessManager.InVehicleT…
2322 …isTaskScheduled(@NonNull String) throws android.car.remoteaccess.CarRemoteAccessManager.InVehicleT…
2323 …nNull android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo) throws android.car.remoteacces…
2324 …public void unscheduleAllTasks() throws android.car.remoteaccess.CarRemoteAccessManager.InVehicleT…
2325 … unscheduleTask(@NonNull String) throws android.car.remoteaccess.CarRemoteAccessManager.InVehicleT…
2328 …car.feature.serverless_remote_access") public static final class CarRemoteAccessManager.InVehicleT…
[all …]
Dcurrent.txt1038 public final class CarRemoteAccessManager {
1041 …java.util.concurrent.Executor, @NonNull android.car.remoteaccess.CarRemoteAccessManager.RemoteTask…
1044 public static interface CarRemoteAccessManager.CompletableRemoteTaskFuture {
1048 public static interface CarRemoteAccessManager.RemoteTaskClientCallback {
1053 …method public void onShutdownStarting(@NonNull android.car.remoteaccess.CarRemoteAccessManager.Com…
Dsystem-lint-baseline.txt4032 UnflaggedApi: android.car.remoteaccess.CarRemoteAccessManager#NEXT_POWER_STATE_OFF:
4033 …New API must be flagged with @FlaggedApi: field android.car.remoteaccess.CarRemoteAccessManager.NE…
4034 UnflaggedApi: android.car.remoteaccess.CarRemoteAccessManager#NEXT_POWER_STATE_ON:
4035 …New API must be flagged with @FlaggedApi: field android.car.remoteaccess.CarRemoteAccessManager.NE…
4036 UnflaggedApi: android.car.remoteaccess.CarRemoteAccessManager#NEXT_POWER_STATE_SUSPEND_TO_DISK:
4037 …New API must be flagged with @FlaggedApi: field android.car.remoteaccess.CarRemoteAccessManager.NE…
4038 UnflaggedApi: android.car.remoteaccess.CarRemoteAccessManager#NEXT_POWER_STATE_SUSPEND_TO_RAM:
4039 …New API must be flagged with @FlaggedApi: field android.car.remoteaccess.CarRemoteAccessManager.NE…
4040 UnflaggedApi: android.car.remoteaccess.CarRemoteAccessManager#setPowerStatePostTaskExecution(int, b…
4041 …ust be flagged with @FlaggedApi: method android.car.remoteaccess.CarRemoteAccessManager.setPowerSt…
[all …]
/packages/services/Car/aconfig/
Dflags.aconfig31 # CarRemoteAccessManager
/packages/services/Car/car-lib/src/android/car/
DCar.java66 import android.car.remoteaccess.CarRemoteAccessManager;
1746 CAR_SERVICE_NAMES.put(CarRemoteAccessManager.class, CAR_REMOTE_ACCESS_SERVICE); in CAR_SERVICE_NAMES.put()
2728 manager = new CarRemoteAccessManager(this, binder); in createCarManagerLocked()
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis.txt644 android.car.remoteaccess CarRemoteAccessManager boolean isShutdownRequestSupported()
645 android.car.remoteaccess CarRemoteAccessManager boolean isVehicleInUseSupported()
646 android.car.remoteaccess CarRemoteAccessManager void addServerlessRemoteTaskClient(String packageNa…
647 android.car.remoteaccess CarRemoteAccessManager void onCarDisconnected()
648 android.car.remoteaccess CarRemoteAccessManager void removeServerlessRemoteTaskClient(String packag…
649 android.car.remoteaccess CarRemoteAccessManager void setFeatureFlags(FeatureFlags fakeFeatureFlags)
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DCarPowerManagementServiceUnitTest.java61 import android.car.remoteaccess.CarRemoteAccessManager;
1962 mService.requestShutdownAp(CarRemoteAccessManager.NEXT_POWER_STATE_ON, in testRequestShutDownAp_On()
1972 mService.requestShutdownAp(CarRemoteAccessManager.NEXT_POWER_STATE_OFF, in testRequestShutDownAp_Off()
1984 mService.requestShutdownAp(CarRemoteAccessManager.NEXT_POWER_STATE_SUSPEND_TO_RAM, in testRequestShutDownAp_SuspendToRam()
1997 CarRemoteAccessManager.NEXT_POWER_STATE_SUSPEND_TO_RAM, /* runGarageMode= */ true)); in testRequestShutDownAp_SuspendToRam_notAllowed()
2004 mService.requestShutdownAp(CarRemoteAccessManager.NEXT_POWER_STATE_SUSPEND_TO_DISK, in testRequestShutDownAp_SuspendToDisk()
2017 CarRemoteAccessManager.NEXT_POWER_STATE_SUSPEND_TO_DISK, in testRequestShutDownAp_SuspendToDisk_notAllowed()
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt2226 public final class CarRemoteAccessManager {
2227 …ERMISSION_CONTROL_REMOTE_ACCESS) public android.car.remoteaccess.CarRemoteAccessManager.InVehicleT…
2238 …ndroid.car.feature.serverless_remote_access") public final class CarRemoteAccessManager.InVehicleT…
2239 …ar.remoteaccess.CarRemoteAccessManager.ScheduleInfo> getAllPendingScheduledTasks() throws android.…
2240 …ic int[] getSupportedTaskTypes() throws android.car.remoteaccess.CarRemoteAccessManager.InVehicleT…
2241 …isTaskScheduled(@NonNull String) throws android.car.remoteaccess.CarRemoteAccessManager.InVehicleT…
2242 …nNull android.car.remoteaccess.CarRemoteAccessManager.ScheduleInfo) throws android.car.remoteacces…
2243 …public void unscheduleAllTasks() throws android.car.remoteaccess.CarRemoteAccessManager.InVehicleT…
2244 … unscheduleTask(@NonNull String) throws android.car.remoteaccess.CarRemoteAccessManager.InVehicleT…
2247 …car.feature.serverless_remote_access") public static final class CarRemoteAccessManager.InVehicleT…
[all …]
Dtest-current.txt129 public final class CarRemoteAccessManager {
Dcurrent.txt1038 public final class CarRemoteAccessManager {
1041 …java.util.concurrent.Executor, @NonNull android.car.remoteaccess.CarRemoteAccessManager.RemoteTask…
1044 public static interface CarRemoteAccessManager.CompletableRemoteTaskFuture {
1048 public static interface CarRemoteAccessManager.RemoteTaskClientCallback {
1053 …method public void onShutdownStarting(@NonNull android.car.remoteaccess.CarRemoteAccessManager.Com…