/packages/services/Car/car-lib/native/include/ |
D | CarPowerManager.h | 35 class CarPowerManager : public RefBase { 56 CarPowerManager() = default; 57 virtual ~CarPowerManager() { in ~CarPowerManager() 77 explicit CarPowerStateListener(CarPowerManager* parent) : mParent(parent) {} in CarPowerStateListener() 80 sp<CarPowerManager> parent = mParent; in onStateChanged() 94 sp<CarPowerManager> mParent;
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | PowerPolicyListener.java | 20 import android.car.hardware.power.CarPowerManager; 43 private final CarPowerManager.CarPowerPolicyListener mPolicyListener = 44 new CarPowerManager.CarPowerPolicyListener() { 51 @Nullable private CarPowerManager mCarPowerManager; 73 mCarPowerManager = (CarPowerManager) mCar.getCarManager(Car.POWER_SERVICE); in PowerPolicyListener()
|
/packages/services/Car/tests/PowerTestService/src/ |
D | main.cpp | 39 void onStateChanged(CarPowerManager::State state) { in onStateChanged() 41 if (state == CarPowerManager::State::kShutdownPrepare) { in onStateChanged() 55 std::unique_ptr<CarPowerManager> carPowerManager(new CarPowerManager()); in main()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/notification/ |
D | PowerManagerHelper.java | 21 import android.car.hardware.power.CarPowerManager; 22 import android.car.hardware.power.CarPowerManager.CarPowerStateListener; 39 private CarPowerManager mCarPowerManager; 49 mCarPowerManager = (CarPowerManager) car.getCarManager(Car.POWER_SERVICE); in PowerManagerHelper()
|
D | NotificationPanelViewMediator.java | 19 import android.car.hardware.power.CarPowerManager; 127 if (state == CarPowerManager.CarPowerStateListener.ON) { in setupOverlayContentViewControllers()
|
/packages/services/Car/car-lib/native/CarPowerManager/ |
D | CarPowerManager.cpp | 32 int CarPowerManager::clearListener() { in clearListener() 43 int CarPowerManager::requestShutdownOnNextSuspend() { in requestShutdownOnNextSuspend() 53 int CarPowerManager::setListener(Listener listener) { in setListener() 71 bool CarPowerManager::connectToCarService() { in connectToCarService()
|
/packages/services/Car/service/src/com/android/car/garagemode/ |
D | Controller.java | 20 import android.car.hardware.power.CarPowerManager; 21 import android.car.hardware.power.CarPowerManager.CarPowerStateListener; 22 import android.car.hardware.power.CarPowerManager.CarPowerStateListenerWithCompletion; 50 private CarPowerManager mCarPowerManager; 171 void setCarPowerManager(CarPowerManager cpm) { in setCarPowerManager()
|
/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserNoticeService.java | 19 import static android.car.hardware.power.CarPowerManager.CarPowerStateListener; 28 import android.car.hardware.power.CarPowerManager; 107 private CarPowerManager mCarPowerManager; 138 if (state == CarPowerManager.CarPowerStateListener.SHUTDOWN_PREPARE) { 140 } else if (state == CarPowerManager.CarPowerStateListener.ON) { 393 CarPowerManager carPowerManager; in init() 421 CarPowerManager carPowerManager; in release()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserNoticeServiceTest.java | 35 import android.car.hardware.power.CarPowerManager; 36 import android.car.hardware.power.CarPowerManager.CarPowerStateListener; 87 private CarPowerManager mCarPowerManager; 262 sendPowerStateChange(CarPowerManager.CarPowerStateListener.SHUTDOWN_PREPARE); in sendPowerShutDown() 268 sendPowerStateChange(CarPowerManager.CarPowerStateListener.ON); in sendPowerOn()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarLocalServices.java | 21 import android.car.hardware.power.CarPowerManager; 106 public static CarPowerManager createCarPowerManager(Context context) { in createCarPowerManager() 113 return new CarPowerManager(car, service); in createCarPowerManager()
|
D | CarLocationService.java | 24 import android.car.hardware.power.CarPowerManager; 25 import android.car.hardware.power.CarPowerManager.CarPowerStateListener; 26 import android.car.hardware.power.CarPowerManager.CarPowerStateListenerWithCompletion; 97 private CarPowerManager mCarPowerManager;
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/power/ |
D | PowerTestFragment.java | 19 import android.car.hardware.power.CarPowerManager; 39 private CarPowerManager mCarPowerManager; 41 private final CarPowerManager.CarPowerStateListener mPowerListener =
|
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/power/ |
D | CarPowerManagerPermissionTest.java | 29 import android.car.hardware.power.CarPowerManager; 54 private CarPowerManager mCarPowerManager; 59 mCarPowerManager = (CarPowerManager) car.getCarManager(POWER_SERVICE); in setUp()
|
/packages/services/Car/service/src/com/android/car/am/ |
D | FixedActivityService.java | 34 import android.car.hardware.power.CarPowerManager; 257 private CarPowerManager mCarPowerManager; 259 private final CarPowerManager.CarPowerStateListener mCarPowerStateListener = (state) -> { 260 if (state != CarPowerManager.CarPowerStateListener.ON) { 329 CarPowerManager carPowerManager; in startMonitoringEvents() 363 CarPowerManager carPowerManager; in stopMonitoringEvents()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/garagemode/ |
D | ControllerTest.java | 33 import android.car.hardware.power.CarPowerManager; 34 import android.car.hardware.power.CarPowerManager.CarPowerStateListener; 74 @Mock private CarPowerManager mCarPowerManagerMock;
|
/packages/services/Car/car-lib/src/android/car/hardware/power/ |
D | CarPowerManager.java | 45 public class CarPowerManager extends CarManagerBase { class 47 private static final String TAG = CarPowerManager.class.getSimpleName(); 202 public CarPowerManager(Car car, IBinder service) { in CarPowerManager() method in CarPowerManager
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | KitchenSinkActivity.java | 24 import android.car.hardware.power.CarPowerManager; 221 private CarPowerManager mPowerManager; 237 public CarPowerManager getPowerManager() { in getPowerManager() 404 mPowerManager = (CarPowerManager) car.getCarManager( in initManagers()
|
/packages/services/Car/car-lib/ |
D | Android.bp | 62 "native/CarPowerManager/CarPowerManager.cpp", 63 "native/CarPowerManager/CarPowerPolicy.cpp", 64 "native/CarPowerManager/CarPowerPolicyFilter.cpp",
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/ |
D | CarPowerManagerUnitTest.java | 46 import android.car.hardware.power.CarPowerManager; 110 private CarPowerManager mCarPowerManager; 137 mCarPowerManager = new CarPowerManager(mCar, mService); in setUp() 615 CarPowerManager.CarPowerPolicyListener {
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/am/ |
D | FixedActivityServiceTest.java | 37 import android.car.hardware.power.CarPowerManager; 89 private CarPowerManager mCarPowerManager;
|
/packages/services/Car/car-lib/src/android/car/ |
D | Car.java | 47 import android.car.hardware.power.CarPowerManager; 1835 manager = new CarPowerManager(this, binder); in createCarManagerLocked()
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | CarWatchdogService.java | 33 import android.car.hardware.power.CarPowerManager.CarPowerStateListener;
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarLocationServiceTest.java | 37 import android.car.hardware.power.CarPowerManager.CarPowerStateListener;
|
/packages/services/Car/car-lib/api/ |
D | current.txt | 559 public class CarPowerManager { 560 …ware.power.CarPowerPolicyFilter, @NonNull android.car.hardware.power.CarPowerManager.CarPowerPolic… 562 …c void removePowerPolicyListener(@NonNull android.car.hardware.power.CarPowerManager.CarPowerPolic… 565 public static interface CarPowerManager.CarPowerPolicyListener {
|
D | system-current.txt | 854 public class CarPowerManager { 858 …_POWER) public void setListener(@Nullable android.car.hardware.power.CarPowerManager.CarPowerState… 862 public static interface CarPowerManager.CarPowerStateListener { 865 public static interface CarPowerManager.CarPowerStateListenerWithCompletion {
|