/packages/services/Car/car-lib/src/android/car/hardware/power/ |
D | CarPowerPolicyFilter.java | 35 public final class CarPowerPolicyFilter implements Parcelable { class 59 /* package-private */ CarPowerPolicyFilter( in CarPowerPolicyFilter() method in CarPowerPolicyFilter 94 /* package-private */ CarPowerPolicyFilter(@NonNull android.os.Parcel in) { in CarPowerPolicyFilter() method in CarPowerPolicyFilter 108 public static final @NonNull Parcelable.Creator<CarPowerPolicyFilter> CREATOR 109 = new Parcelable.Creator<CarPowerPolicyFilter>() { 111 public CarPowerPolicyFilter[] newArray(int size) { 112 return new CarPowerPolicyFilter[size]; 116 public CarPowerPolicyFilter createFromParcel(@NonNull android.os.Parcel in) { 117 return new CarPowerPolicyFilter(in); 148 public @NonNull CarPowerPolicyFilter build() { in build() [all …]
|
D | CarPowerManager.java | 60 private final ArrayMap<CarPowerPolicyListener, Pair<Executor, CarPowerPolicyFilter>> 584 @NonNull CarPowerPolicyFilter filter, @NonNull CarPowerPolicyListener listener) { in addPowerPolicyListener() 590 CarPowerPolicyFilter newFilter = null; in addPowerPolicyListener() 594 Pair<Executor, CarPowerPolicyFilter> pair = in addPowerPolicyListener() 595 new Pair<>(executor, new CarPowerPolicyFilter(filterComponents)); in addPowerPolicyListener() 627 CarPowerPolicyFilter filter = null; in removePowerPolicyListener() 629 Pair<Executor, CarPowerPolicyFilter> pair = mPolicyListenerMap.remove(listener); in removePowerPolicyListener() 803 private CarPowerPolicyFilter createFilterFromInterestedComponentsLocked() { in createFilterFromInterestedComponentsLocked() 804 CarPowerPolicyFilter newFilter = null; in createFilterFromInterestedComponentsLocked() 811 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 | 114 @NonNull CarPowerPolicyFilter filter) { in hasComponents()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/ |
D | PowerComponentUtilUnitTest.java | 25 import android.car.hardware.power.CarPowerPolicyFilter; 73 CarPowerPolicyFilter filterAudio = new CarPowerPolicyFilter.Builder() in testHasComponents() 75 CarPowerPolicyFilter filterWifi = new CarPowerPolicyFilter.Builder() in testHasComponents() 77 CarPowerPolicyFilter filterLocationNfc = new CarPowerPolicyFilter.Builder() in testHasComponents() 79 CarPowerPolicyFilter filterMedia = new CarPowerPolicyFilter.Builder() in testHasComponents()
|
D | CarPowerManagerUnitTest.java | 51 import android.car.hardware.power.CarPowerPolicyFilter; 346 CarPowerPolicyFilter filterAudio = new CarPowerPolicyFilter.Builder() in testAddPowerPolicyListener() 348 CarPowerPolicyFilter filterWifi = new CarPowerPolicyFilter.Builder() in testAddPowerPolicyListener() 350 CarPowerPolicyFilter filterLocation = new CarPowerPolicyFilter.Builder() in testAddPowerPolicyListener() 371 CarPowerPolicyFilter filterAudio = new CarPowerPolicyFilter.Builder() in testAddPowerPolicyListener_Twice_WithDifferentFilters() 373 CarPowerPolicyFilter filterLocation = new CarPowerPolicyFilter.Builder() in testAddPowerPolicyListener_Twice_WithDifferentFilters() 386 CarPowerPolicyFilter filter = new CarPowerPolicyFilter.Builder() in testAddPowerPolicyListener_nullListener() 409 CarPowerPolicyFilter filterAudio = new CarPowerPolicyFilter.Builder() in testRemovePowerPolicyListener() 435 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/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 | 24 import android.car.hardware.power.CarPowerPolicyFilter; 84 CarPowerPolicyFilter filter = new CarPowerPolicyFilter.Builder() in startListeningForPolicyChanges()
|
/packages/services/Car/service/src/com/android/car/bluetooth/ |
D | BluetoothPowerPolicy.java | 25 import android.car.hardware.power.CarPowerPolicyFilter; 139 CarPowerPolicyFilter filter = new CarPowerPolicyFilter.Builder() in init()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioPowerListenerTest.java | 29 import android.car.hardware.power.CarPowerPolicyFilter; 81 ArgumentCaptor<CarPowerPolicyFilter> captor = ArgumentCaptor.forClass( in startListeningForPolicyChanges_addsPowerPolicyListener() 82 CarPowerPolicyFilter.class); in startListeningForPolicyChanges_addsPowerPolicyListener()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | CarPowerManagementServiceUnitTest.java | 57 import android.car.hardware.power.CarPowerPolicyFilter; 1544 CarPowerPolicyFilter filterDisabledComponents = getListenerFilterForComponents( in testNotifyPowerPolicyChange_powerPolicyRefactorFlagDisabled() 1546 CarPowerPolicyFilter filterEnabledComponents = getListenerFilterForComponents( in testNotifyPowerPolicyChange_powerPolicyRefactorFlagDisabled() 1548 CarPowerPolicyFilter filterAudio = getListenerFilterForComponents(PowerComponent.AUDIO); in testNotifyPowerPolicyChange_powerPolicyRefactorFlagDisabled() 1577 CarPowerPolicyFilter filterDisabledComponents = getListenerFilterForComponents( in testNotifyPowerPolicyChange_powerPolicyRefactorFlagEnabled() 1579 CarPowerPolicyFilter filterEnabledComponents = getListenerFilterForComponents( in testNotifyPowerPolicyChange_powerPolicyRefactorFlagEnabled() 1581 CarPowerPolicyFilter filterAudio = getListenerFilterForComponents(PowerComponent.AUDIO); in testNotifyPowerPolicyChange_powerPolicyRefactorFlagEnabled() 1609 CarPowerPolicyFilter filterAudio = getListenerFilterForComponents(PowerComponent.AUDIO); in testAddPowerPolicyListener_powerPolicyRefactorFlagDisabled() 1610 CarPowerPolicyFilter filterWifi = getListenerFilterForComponents(PowerComponent.WIFI); in testAddPowerPolicyListener_powerPolicyRefactorFlagDisabled() 1642 CarPowerPolicyFilter filterAudio = getListenerFilterForComponents(PowerComponent.AUDIO); in testAddPowerPolicyListener_powerPolicyRefactorFlagEnabled() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/power/ |
D | CarPowerManagementTest.java | 27 import android.car.hardware.power.CarPowerPolicyFilter; 333 CarPowerPolicyFilter filter = new CarPowerPolicyFilter.Builder() in testSleepEntry() 396 CarPowerPolicyFilter filter = new CarPowerPolicyFilter.Builder() in testUnallowedPowerStateEventAtSuspend() 609 CarPowerPolicyFilter filterWifi = new CarPowerPolicyFilter.Builder() in testApplyPowerPolicy_vhalPropertyUpdated()
|
/packages/services/Car/cpp/powerpolicy/client/src/ |
D | PowerPolicyClientBase.cpp | 35 using aafap::CarPowerPolicyFilter; 140 CarPowerPolicyFilter filter; in connectToDaemon()
|
/packages/services/Car/cpp/powerpolicy/server/tests/ |
D | CarPowerPolicyServerTest.cpp | 59 using ::aidl::android::frameworks::automotive::powerpolicy::CarPowerPolicyFilter; 162 const CarPowerPolicyFilter& filter) { in registerPowerPolicyChangeCallback() 399 CarPowerPolicyFilter filter; in TEST_F() 419 CarPowerPolicyFilter filter; in TEST_F() 430 CarPowerPolicyFilter filter; in TEST_F() 449 CarPowerPolicyFilter filter; in TEST_F()
|
D | SilentModeHandlerTest.cpp | 37 using ::aidl::android::frameworks::automotive::powerpolicy::CarPowerPolicyFilter; 109 const CarPowerPolicyFilter& filter),
|
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | CarPowerPolicyServer.h | 50 const aidl::android::frameworks::automotive::powerpolicy::CarPowerPolicyFilter& filter, in CallbackInfo() 55 aidl::android::frameworks::automotive::powerpolicy::CarPowerPolicyFilter filter; 204 const aidl::android::frameworks::automotive::powerpolicy::CarPowerPolicyFilter& filter)
|
/packages/services/Car/service/src/com/android/car/ |
D | CarLocationService.java | 31 import android.car.hardware.power.CarPowerPolicyFilter; 419 CarPowerPolicyFilter carPowerPolicyFilter = new CarPowerPolicyFilter.Builder() in addPowerPolicyListener()
|
D | CarMediaService.java | 45 import android.car.hardware.power.CarPowerPolicyFilter; 626 CarPowerPolicyFilter filter = new CarPowerPolicyFilter.Builder() in setPowerPolicyListener()
|
/packages/services/Car/service/src/com/android/car/power/ |
D | PowerComponentHandler.java | 37 import android.car.hardware.power.CarPowerPolicyFilter; 203 boolean isComponentChanged(CarPowerPolicyFilter filter) { in isComponentChanged()
|
/packages/services/Car/car-lib/api/ |
D | lint-baseline.txt | 1344 …istener(java.util.concurrent.Executor, android.car.hardware.power.CarPowerPolicyFilter, android.ca… 1345 …Listener(java.util.concurrent.Executor,android.car.hardware.power.CarPowerPolicyFilter,android.car… 1370 UnflaggedApi: android.car.hardware.power.CarPowerPolicyFilter: 1371 New API must be flagged with @FlaggedApi: class android.car.hardware.power.CarPowerPolicyFilter 1372 UnflaggedApi: android.car.hardware.power.CarPowerPolicyFilter#CREATOR: 1373 …New API must be flagged with @FlaggedApi: field android.car.hardware.power.CarPowerPolicyFilter.CR… 1374 UnflaggedApi: android.car.hardware.power.CarPowerPolicyFilter#describeContents(): 1375 …st be flagged with @FlaggedApi: method android.car.hardware.power.CarPowerPolicyFilter.describeCon… 1376 UnflaggedApi: android.car.hardware.power.CarPowerPolicyFilter#getComponents(): 1377 …st be flagged with @FlaggedApi: method android.car.hardware.power.CarPowerPolicyFilter.getComponen… [all …]
|
D | current.txt | 694 …ava.util.concurrent.Executor, @NonNull android.car.hardware.power.CarPowerPolicyFilter, @NonNull a… 713 public final class CarPowerPolicyFilter implements android.os.Parcelable { 717 …tatic final android.os.Parcelable.Creator<android.car.hardware.power.CarPowerPolicyFilter> CREATOR; 720 public static final class CarPowerPolicyFilter.Builder { 721 ctor public CarPowerPolicyFilter.Builder(); 722 method @NonNull public android.car.hardware.power.CarPowerPolicyFilter build(); 723 …method @NonNull public android.car.hardware.power.CarPowerPolicyFilter.Builder setComponents(@NonN…
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | CarWatchdogService.java | 54 import android.car.hardware.power.CarPowerPolicyFilter; 744 new CarPowerPolicyFilter.Builder().setComponents(PowerComponent.DISPLAY).build(), in subscribePowerManagementService()
|