/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | PowerComponentHandlerUnitTest.java | 17 package com.android.car.power; 19 import static android.car.hardware.power.PowerComponent.AUDIO; 20 import static android.car.hardware.power.PowerComponent.BLUETOOTH; 21 import static android.car.hardware.power.PowerComponent.CELLULAR; 22 import static android.car.hardware.power.PowerComponent.CPU; 23 import static android.car.hardware.power.PowerComponent.DISPLAY; 24 import static android.car.hardware.power.PowerComponent.ETHERNET; 25 import static android.car.hardware.power.PowerComponent.INPUT; 26 import static android.car.hardware.power.PowerComponent.LOCATION; 27 import static android.car.hardware.power.PowerComponent.MEDIA; [all …]
|
D | PolicyReaderUnitTest.java | 17 package com.android.car.power; 19 import static android.car.hardware.power.PowerComponent.AUDIO; 20 import static android.car.hardware.power.PowerComponent.BLUETOOTH; 21 import static android.car.hardware.power.PowerComponent.CELLULAR; 22 import static android.car.hardware.power.PowerComponent.CPU; 23 import static android.car.hardware.power.PowerComponent.DISPLAY; 24 import static android.car.hardware.power.PowerComponent.ETHERNET; 25 import static android.car.hardware.power.PowerComponent.INPUT; 26 import static android.car.hardware.power.PowerComponent.LOCATION; 27 import static android.car.hardware.power.PowerComponent.MEDIA; [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/ |
D | CarPowerManagerUnitTest.java | 17 package com.android.car.hardware.power; 19 import static android.car.hardware.power.PowerComponent.AUDIO; 20 import static android.car.hardware.power.PowerComponent.BLUETOOTH; 21 import static android.car.hardware.power.PowerComponent.CELLULAR; 22 import static android.car.hardware.power.PowerComponent.CPU; 23 import static android.car.hardware.power.PowerComponent.DISPLAY; 24 import static android.car.hardware.power.PowerComponent.ETHERNET; 25 import static android.car.hardware.power.PowerComponent.INPUT; 26 import static android.car.hardware.power.PowerComponent.LOCATION; 27 import static android.car.hardware.power.PowerComponent.MEDIA; [all …]
|
D | PowerComponentUtilUnitTest.java | 16 package com.android.car.power; 18 import static android.car.hardware.power.PowerComponentUtil.powerComponentToString; 19 import static android.car.hardware.power.PowerComponentUtil.powerComponentsToStrings; 24 import android.car.hardware.power.CarPowerPolicy; 25 import android.car.hardware.power.CarPowerPolicyFilter; 26 import android.car.hardware.power.PowerComponent; 27 import android.car.hardware.power.PowerComponentUtil;
|
/packages/services/Car/car-lib/src/android/car/hardware/power/ |
D | ICarPower.aidl | 17 package android.car.hardware.power; 19 import android.car.hardware.power.CarPowerPolicy; 20 import android.car.hardware.power.CarPowerPolicyFilter; 21 import android.car.hardware.power.ICarPowerPolicyListener; 22 import android.car.hardware.power.ICarPowerStateListener;
|
D | ICarPowerPolicyListener.aidl | 17 package android.car.hardware.power; 19 import android.car.hardware.power.CarPowerPolicy;
|
/packages/services/Car/service/src/com/android/car/power/ |
D | PowerComponentHandler.java | 17 package com.android.car.power; 19 import static android.car.hardware.power.PowerComponent.BLUETOOTH; 20 import static android.car.hardware.power.PowerComponent.DISPLAY; 21 import static android.car.hardware.power.PowerComponent.VOICE_INTERACTION; 22 import static android.car.hardware.power.PowerComponent.WIFI; 23 import static android.car.hardware.power.PowerComponentUtil.FIRST_POWER_COMPONENT; 24 import static android.car.hardware.power.PowerComponentUtil.INVALID_POWER_COMPONENT; 25 import static android.car.hardware.power.PowerComponentUtil.LAST_POWER_COMPONENT; 26 import static android.car.hardware.power.PowerComponentUtil.powerComponentToString; 27 import static android.car.hardware.power.PowerComponentUtil.toPowerComponent; [all …]
|
D | PolicyReader.java | 17 package com.android.car.power; 19 import static android.car.hardware.power.PowerComponentUtil.FIRST_POWER_COMPONENT; 20 import static android.car.hardware.power.PowerComponentUtil.INVALID_POWER_COMPONENT; 21 import static android.car.hardware.power.PowerComponentUtil.LAST_POWER_COMPONENT; 22 import static android.car.hardware.power.PowerComponentUtil.powerComponentToString; 23 import static android.car.hardware.power.PowerComponentUtil.toPowerComponent; 37 import android.car.hardware.power.CarPowerPolicy; 38 import android.car.hardware.power.PowerComponent; 52 import com.android.car.power.CarPowerDumpProto.PolicyReaderProto; 53 import com.android.car.power.CarPowerDumpProto.PolicyReaderProto.ComponentNameToValue; [all …]
|
/packages/modules/Bluetooth/system/doc/ |
D | power_management.md | 27 The PM code makes calls into the BTM module to set various power 35 Overall power states are managed *per device*, not per connection, but the power 36 policy is determined by the greatest allowable power action defined across all 40 states it wants ACTIVE, the power management code will change to ACTIVE. 44 The tables that determine which power levels are acceptable for which profiles 52 power modes are acceptable and what actions to take for each event. 63 from `bta_dm_conn_srvcs` and no longer be considered for power management 71 - `BTA_DM_PM_ACTIVE` is full-on power. 73 timeout is possible to be set, which effectively allows a power operation to 79 `bta_dm_pm_cback` with the bta sys module for incoming power management events, [all …]
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioPowerListener.java | 19 import static android.car.hardware.power.PowerComponent.AUDIO; 23 import android.car.hardware.power.CarPowerPolicy; 24 import android.car.hardware.power.CarPowerPolicyFilter; 25 import android.car.hardware.power.ICarPowerPolicyListener; 29 import com.android.car.power.CarPowerManagementService;
|
/packages/services/Car/service/src/com/android/car/bluetooth/ |
D | BluetoothPowerPolicy.java | 24 import android.car.hardware.power.CarPowerPolicy; 25 import android.car.hardware.power.CarPowerPolicyFilter; 26 import android.car.hardware.power.ICarPowerPolicyListener; 27 import android.car.hardware.power.PowerComponent; 38 import com.android.car.power.CarPowerManagementService;
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | AidRoutingManager.java | 90 int power; field in AidRoutingManager.AidEntry 289 int power = aidEntry.getValue().power; in configureRouting() local 296 powerForAid.put(aid, power); in configureRouting() 422 default_route_power_state |= aidMap.get(aid).power; in configureRouting() 433 entry.power = default_route_power_state; in configureRouting() 453 if (aidMap.get(aid).power != default_route_power_state) { in configureRouting() 495 int power = aidEntry.getValue().power; in commit() local 498 + ",aidtype:" + aidType + ", power state:" + power); in commit() 501 NfcService.getInstance().routeAids(aid, route, aidType, power); in commit()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | PowerRecord.java | 98 public PowerRecordSample(@NonNull Power power, @NonNull Instant time) { in PowerRecordSample() argument 99 this(power, time, false); in PowerRecordSample() 111 @NonNull Power power, @NonNull Instant time, boolean skipValidation) { in PowerRecordSample() 113 Objects.requireNonNull(power); in PowerRecordSample() 115 ValidationUtils.requireInRange(power.getInWatts(), 0.0, 100000.0, "power"); in PowerRecordSample() 118 mPower = power; in PowerRecordSample()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/ |
D | DataFactory.java | 55 static BasalMetabolicRateRecord getBasalMetabolicRateRecord(double power, Instant time) { in getBasalMetabolicRateRecord() argument 57 new Metadata.Builder().build(), time, Power.fromWatts(power)) in getBasalMetabolicRateRecord() 66 double power, Instant time, ZoneOffset offset) { in getBasalMetabolicRateRecord() argument 68 new Metadata.Builder().build(), time, Power.fromWatts(power)) in getBasalMetabolicRateRecord()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioPowerListenerTest.java | 28 import android.car.hardware.power.CarPowerPolicy; 29 import android.car.hardware.power.CarPowerPolicyFilter; 30 import android.car.hardware.power.ICarPowerPolicyListener; 31 import android.car.hardware.power.PowerComponent; 33 import com.android.car.power.CarPowerManagementService;
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | PowerPolicyListener.java | 20 import android.car.hardware.power.CarPowerManager; 21 import android.car.hardware.power.CarPowerPolicy; 22 import android.car.hardware.power.CarPowerPolicyFilter;
|
/packages/services/Car/service/src/com/android/car/ |
D | CarLocationService.java | 27 import android.car.hardware.power.CarPowerManager; 28 import android.car.hardware.power.CarPowerManager.CarPowerStateListenerWithCompletion; 29 import android.car.hardware.power.CarPowerManager.CompletablePowerStateChangeFuture; 30 import android.car.hardware.power.CarPowerPolicy; 31 import android.car.hardware.power.CarPowerPolicyFilter; 32 import android.car.hardware.power.ICarPowerPolicyListener; 33 import android.car.hardware.power.PowerComponent; 53 import com.android.car.power.CarPowerManagementService;
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | BluetoothPowerPolicyTest.java | 19 import static android.car.hardware.power.PowerComponentUtil.FIRST_POWER_COMPONENT; 20 import static android.car.hardware.power.PowerComponentUtil.LAST_POWER_COMPONENT; 33 import android.car.hardware.power.CarPowerPolicy; 40 import com.android.car.power.CarPowerManagementService;
|
/packages/services/Car/service/src/com/android/car/telemetry/sessioncontroller/ |
D | SessionController.java | 21 import android.car.hardware.power.CarPowerManager; 22 import android.car.hardware.power.ICarPowerStateListener; 30 import com.android.car.power.CarPowerManagementService;
|
/packages/modules/Virtualization/vmbase/src/ |
D | lib.rs | 34 pub mod power; module 41 use power::reboot;
|
/packages/services/Car/tests/common_utils/src/com/android/car/test/power/ |
D | CarPowerPolicyUtil.java | 17 package com.android.car.test.power; 21 import android.car.hardware.power.CarPowerPolicy;
|
/packages/services/Car/service/src/com/android/car/garagemode/ |
D | GarageModeController.java | 23 import android.car.hardware.power.CarPowerManager; 24 import android.car.hardware.power.ICarPowerStateListener; 36 import com.android.car.power.CarPowerManagementService;
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/ |
D | PowerFormatter.kt | 80 val avrPower = samples.sumOf { it.power.inWatts } / samples.size in <lambda>() 92 mapOf("value" to sample.power.inWatts)), in <lambda>() 96 mapOf("value" to sample.power.inWatts)), in <lambda>()
|
/packages/services/Car/cpp/powerpolicy/sepolicy/private/ |
D | carpowerpolicy.te | 1 # Car power policy server 20 # Allow reading and writing /sys/power/
|
/packages/services/Car/tests/carservice_test/src/com/android/car/power/ |
D | PowerComponentValidityTest.java | 16 package com.android.car.power; 35 Field[] carFields = android.car.hardware.power.PowerComponent.class.getFields(); in testSamePowerComponent()
|