/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/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; 100 private CarPowerManager mCarPowerManager; 131 if (state == CarPowerManager.CarPowerStateListener.SHUTDOWN_PREPARE) { 133 } else if (state == CarPowerManager.CarPowerStateListener.ON) { 356 CarPowerManager carPowerManager; in init() 384 CarPowerManager carPowerManager; in release()
|
/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; 44 private CarPowerManager mCarPowerManager; 162 void setCarPowerManager(CarPowerManager cpm) { in setCarPowerManager()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | BluetoothDeviceConnectionPolicyTest.java | 22 import android.car.hardware.power.CarPowerManager; 23 import android.car.hardware.power.CarPowerManager.CarPowerStateListenerWithCompletion; 202 sendPowerStateChanged(CarPowerManager.CarPowerStateListener.SHUTDOWN_PREPARE); in testReceivePowerShutdownPrepare_disableBluetooth() 225 sendPowerStateChanged(CarPowerManager.CarPowerStateListener.ON); in testReceivePowerOnBluetoothPersistedOff_doNothing() 248 sendPowerStateChanged(CarPowerManager.CarPowerStateListener.ON); in testReceivePowerOnBluetoothOffNotPersisted_BluetoothOnConnectDevices() 271 sendPowerStateChanged(CarPowerManager.CarPowerStateListener.ON); in testReceivePowerOnBluetoothOn_connectDevices()
|
D | CarLocationServiceTest.java | 37 import android.car.hardware.power.CarPowerManager.CarPowerStateListener;
|
D | CarPowerManagementServiceTest.java | 42 import android.car.hardware.power.CarPowerManager.CarPowerStateListener;
|
/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/services/Car/service/src/com/android/car/ |
D | BluetoothDeviceConnectionPolicy.java | 21 import android.car.hardware.power.CarPowerManager; 22 import android.car.hardware.power.CarPowerManager.CarPowerStateListenerWithCompletion; 49 private CarPowerManager mCarPowerManager; 58 if (state == CarPowerManager.CarPowerStateListener.ON) { 76 if (state == CarPowerManager.CarPowerStateListener.SHUTDOWN_PREPARE) {
|
D | CarLocalServices.java | 21 import android.car.hardware.power.CarPowerManager; 93 public static CarPowerManager createCarPowerManager(Context context) { in createCarPowerManager() 100 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; 84 private CarPowerManager mCarPowerManager;
|
D | CarPowerManagementService.java | 22 import android.car.hardware.power.CarPowerManager.CarPowerStateListener;
|
/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/am/ |
D | FixedActivityService.java | 33 import android.car.hardware.power.CarPowerManager; 255 private CarPowerManager mCarPowerManager; 257 private final CarPowerManager.CarPowerStateListener mCarPowerStateListener = (state) -> { 258 if (state != CarPowerManager.CarPowerStateListener.ON) { 302 CarPowerManager carPowerManager; in startMonitoringEvents() 334 CarPowerManager carPowerManager; in stopMonitoringEvents()
|
/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/carservice_test/src/com/android/car/garagemode/ |
D | ControllerTest.java | 32 import android.car.hardware.power.CarPowerManager; 33 import android.car.hardware.power.CarPowerManager.CarPowerStateListener; 68 @Mock private CarPowerManager mCarPowerManagerMock;
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | KitchenSinkActivity.java | 24 import android.car.hardware.power.CarPowerManager; 195 private CarPowerManager mPowerManager; 206 public CarPowerManager getPowerManager() { in getPowerManager() 351 mPowerManager = (CarPowerManager) car.getCarManager( in initManagers()
|
/packages/services/Car/car-lib/src/android/car/hardware/power/ |
D | CarPowerManager.java | 36 public class CarPowerManager extends CarManagerBase { class 135 public CarPowerManager(Car car, IBinder service) { in CarPowerManager() method in CarPowerManager
|
/packages/services/Car/car-lib/ |
D | Android.bp | 55 "native/CarPowerManager/CarPowerManager.cpp",
|
/packages/services/Car/car-lib/src/android/car/ |
D | Car.java | 39 import android.car.hardware.power.CarPowerManager; 1324 manager = new CarPowerManager(this, binder); in createCarManager()
|
/packages/services/Car/car-lib/api/ |
D | system-current.txt | 717 public class CarPowerManager { 720 public static interface CarPowerManager.CarPowerStateListener {
|