/packages/services/Car/car-lib/src/android/car/hardware/power/ |
D | CarPowerPolicyFilter.java | 34 public final class CarPowerPolicyFilter implements Parcelable { class 57 /* package-private */ CarPowerPolicyFilter( in CarPowerPolicyFilter() method in CarPowerPolicyFilter 91 /* package-private */ CarPowerPolicyFilter(@NonNull android.os.Parcel in) { in CarPowerPolicyFilter() method in CarPowerPolicyFilter 105 public static final @NonNull Parcelable.Creator<CarPowerPolicyFilter> CREATOR 106 = new Parcelable.Creator<CarPowerPolicyFilter>() { 108 public CarPowerPolicyFilter[] newArray(int size) { 109 return new CarPowerPolicyFilter[size]; 113 public CarPowerPolicyFilter createFromParcel(@NonNull android.os.Parcel in) { 114 return new CarPowerPolicyFilter(in); 145 public @NonNull CarPowerPolicyFilter build() { in build() [all …]
|
D | CarPowerManager.java | 55 private final ArrayMap<CarPowerPolicyListener, Pair<Executor, CarPowerPolicyFilter>> 413 @NonNull CarPowerPolicyFilter filter, @NonNull CarPowerPolicyListener listener) { in addPowerPolicyListener() 419 CarPowerPolicyFilter newFilter = null; in addPowerPolicyListener() 423 Pair<Executor, CarPowerPolicyFilter> pair = in addPowerPolicyListener() 424 new Pair<>(executor, new CarPowerPolicyFilter(filterComponents)); in addPowerPolicyListener() 456 CarPowerPolicyFilter filter = null; in removePowerPolicyListener() 458 Pair<Executor, CarPowerPolicyFilter> pair = mPolicyListenerMap.remove(listener); in removePowerPolicyListener() 558 private CarPowerPolicyFilter createFilterFromInterestedComponentsLocked() { in createFilterFromInterestedComponentsLocked() 559 CarPowerPolicyFilter newFilter = null; in createFilterFromInterestedComponentsLocked() 566 newFilter = new CarPowerPolicyFilter(components); in createFilterFromInterestedComponentsLocked() [all …]
|
D | ICarPower.aidl | 20 import android.car.hardware.power.CarPowerPolicyFilter; 46 void addPowerPolicyListener(in CarPowerPolicyFilter filter, in addPowerPolicyListener()
|
D | CarPowerPolicyFilter.aidl | 19 parcelable CarPowerPolicyFilter cpp_header "CarPowerPolicyFilter.h";
|
D | PowerComponentUtil.java | 111 @NonNull CarPowerPolicyFilter filter) { in hasComponents()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/ |
D | PowerComponentUtilUnitTest.java | 22 import android.car.hardware.power.CarPowerPolicyFilter; 60 CarPowerPolicyFilter filterAudio = new CarPowerPolicyFilter.Builder() in testHasComponents() 62 CarPowerPolicyFilter filterWifi = new CarPowerPolicyFilter.Builder() in testHasComponents() 64 CarPowerPolicyFilter filterLocationNfc = new CarPowerPolicyFilter.Builder() in testHasComponents() 66 CarPowerPolicyFilter filterMedia = new CarPowerPolicyFilter.Builder() in testHasComponents()
|
D | CarPowerManagerUnitTest.java | 48 import android.car.hardware.power.CarPowerPolicyFilter; 309 CarPowerPolicyFilter filterAudio = new CarPowerPolicyFilter.Builder() in testAddPowerPolicyListener() 311 CarPowerPolicyFilter filterWifi = new CarPowerPolicyFilter.Builder() in testAddPowerPolicyListener() 313 CarPowerPolicyFilter filterLocation = new CarPowerPolicyFilter.Builder() in testAddPowerPolicyListener() 332 CarPowerPolicyFilter filterAudio = new CarPowerPolicyFilter.Builder() in testAddPowerPolicyListener_Twice_WithDifferentFilters() 334 CarPowerPolicyFilter filterLocation = new CarPowerPolicyFilter.Builder() in testAddPowerPolicyListener_Twice_WithDifferentFilters() 347 CarPowerPolicyFilter filter = new CarPowerPolicyFilter.Builder() in testAddPowerPolicyListener_nullListener() 365 CarPowerPolicyFilter filterAudio = new CarPowerPolicyFilter.Builder() in testRemovePowerPolicyListener() 381 CarPowerPolicyFilter filter = new CarPowerPolicyFilter.Builder() in testRemovePowerPolicyListener_Twice()
|
/packages/services/Car/car-lib/native/CarPowerManager/ |
D | CarPowerPolicyFilter.cpp | 29 CarPowerPolicyFilter::CarPowerPolicyFilter(const std::vector<int32_t>& components) : in CarPowerPolicyFilter() function in android::car::hardware::power::CarPowerPolicyFilter 32 status_t CarPowerPolicyFilter::writeToParcel(Parcel* parcel) const { in writeToParcel() 36 status_t CarPowerPolicyFilter::readFromParcel(const Parcel* parcel) { in readFromParcel()
|
/packages/services/Car/car-lib/native/include/ |
D | CarPowerPolicyFilter.h | 29 class CarPowerPolicyFilter : public android::Parcelable { 31 CarPowerPolicyFilter() = default; 32 explicit CarPowerPolicyFilter(const std::vector<int32_t>& components); 33 virtual ~CarPowerPolicyFilter() = default;
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | CarPowerManagementServiceUnitTest.java | 37 import android.car.hardware.power.CarPowerPolicyFilter; 531 CarPowerPolicyFilter filterAudio = new CarPowerPolicyFilter.Builder() in testAddPowerPolicyListener() 533 CarPowerPolicyFilter filterWifi = new CarPowerPolicyFilter.Builder() in testAddPowerPolicyListener() 535 CarPowerPolicyFilter filterLocation = new CarPowerPolicyFilter.Builder() in testAddPowerPolicyListener() 553 CarPowerPolicyFilter filterAudio = new CarPowerPolicyFilter.Builder() in testRemovePowerPolicyListener() 578 CarPowerPolicyFilter filterAudio = new CarPowerPolicyFilter.Builder() in testParcelableCreation() 582 CarPowerPolicyFilter[] filters = CarPowerPolicyFilter.CREATOR.newArray(1); in testParcelableCreation()
|
/packages/services/Car/cpp/powerpolicy/server/tests/ |
D | CarPowerPolicyServerTest.cpp | 72 const CarPowerPolicyFilter& filter) { in registerPowerPolicyChangeCallback() 91 CarPowerPolicyFilter filter; in TEST_F() 111 CarPowerPolicyFilter filter; in TEST_F() 121 CarPowerPolicyFilter filter; in TEST_F()
|
D | SilentModeHandlerTest.cpp | 113 const CarPowerPolicyFilter& filter),
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | PowerPolicyListener.java | 22 import android.car.hardware.power.CarPowerPolicyFilter; 71 CarPowerPolicyFilter filter = new CarPowerPolicyFilter.Builder() in PowerPolicyListener()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioPowerListener.java | 23 import android.car.hardware.power.CarPowerPolicyFilter; 85 CarPowerPolicyFilter filter = new CarPowerPolicyFilter.Builder() in startListeningForPolicyChanges()
|
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/power/ |
D | CarPowerManagerPermissionTest.java | 30 import android.car.hardware.power.CarPowerPolicyFilter; 120 CarPowerPolicyFilter filter = new CarPowerPolicyFilter.Builder() in testAddPowerPolicyChangeListener()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioPowerListenerTest.java | 28 import android.car.hardware.power.CarPowerPolicyFilter; 80 ArgumentCaptor<CarPowerPolicyFilter> captor = ArgumentCaptor.forClass( in startListeningForPolicyChanges_addsPowerPolicyListener() 81 CarPowerPolicyFilter.class); in startListeningForPolicyChanges_addsPowerPolicyListener()
|
/packages/services/Car/service/src/com/android/car/ |
D | BluetoothDeviceConnectionPolicy.java | 29 import android.car.hardware.power.CarPowerPolicyFilter; 322 CarPowerPolicyFilter filter = new CarPowerPolicyFilter.Builder() in init()
|
D | CarMediaService.java | 27 import android.car.hardware.power.CarPowerPolicyFilter; 401 CarPowerPolicyFilter filter = new CarPowerPolicyFilter.Builder() in setPowerPolicyListener()
|
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | CarPowerPolicyServer.h | 46 const CarPowerPolicyFilter& filter, int32_t pid) : in CallbackInfo() 52 CarPowerPolicyFilter filter; 161 const CarPowerPolicyFilter& filter) override;
|
D | CarPowerPolicyServer.cpp | 251 const sp<ICarPowerPolicyChangeCallback>& callback, const CarPowerPolicyFilter& filter) { in registerPowerPolicyChangeCallback()
|
/packages/services/Car/cpp/powerpolicy/client/src/ |
D | PowerPolicyClientBase.cpp | 35 using aafap::CarPowerPolicyFilter; 139 CarPowerPolicyFilter filter; in connectToDaemon()
|
/packages/services/Car/service/src/com/android/car/power/ |
D | PowerComponentHandler.java | 32 import android.car.hardware.power.CarPowerPolicyFilter; 185 boolean isComponentChanged(CarPowerPolicyFilter filter) { in isComponentChanged()
|
D | CarPowerManagementService.java | 25 import android.car.hardware.power.CarPowerPolicyFilter; 1125 public void addPowerPolicyListener(CarPowerPolicyFilter filter, in addPowerPolicyListener() 1352 CarPowerPolicyFilter filter = in notifyPowerPolicyChange() 1353 (CarPowerPolicyFilter) mPowerPolicyListeners.getBroadcastCookie(idx); in notifyPowerPolicyChange()
|
/packages/services/Car/car-lib/ |
D | Android.bp | 24 "src/android/car/hardware/power/CarPowerPolicyFilter.aidl", 64 "native/CarPowerManager/CarPowerPolicyFilter.cpp",
|
/packages/services/Car/car-lib/api/ |
D | current.txt | 560 …ava.util.concurrent.Executor, @NonNull android.car.hardware.power.CarPowerPolicyFilter, @NonNull a… 579 public final class CarPowerPolicyFilter implements android.os.Parcelable { 583 …tatic final android.os.Parcelable.Creator<android.car.hardware.power.CarPowerPolicyFilter> CREATOR; 586 public static final class CarPowerPolicyFilter.Builder { 587 ctor public CarPowerPolicyFilter.Builder(); 588 method @NonNull public android.car.hardware.power.CarPowerPolicyFilter build(); 589 …method @NonNull public android.car.hardware.power.CarPowerPolicyFilter.Builder setComponents(@NonN…
|