Home
last modified time | relevance | path

Searched refs:IBatteryStats (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/native/libs/binder/
DIBatteryStats.cpp27 class BpBatteryStats : public BpInterface<IBatteryStats>
31 : BpInterface<IBatteryStats>(impl) in BpBatteryStats()
37 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteStartSensor()
45 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteStopSensor()
53 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteStartVideo()
60 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteStopVideo()
67 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteStartAudio()
74 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteStopAudio()
81 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteResetVideo()
87 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteResetAudio()
[all …]
/frameworks/av/media/utils/
DBatteryNotifier.cpp43 sp<IBatteryStats> batteryService = getBatteryService_l(); in noteStartVideo()
57 sp<IBatteryStats> batteryService = getBatteryService_l(); in noteStopVideo()
70 sp<IBatteryStats> batteryService = getBatteryService_l(); in noteResetVideo()
79 sp<IBatteryStats> batteryService = getBatteryService_l(); in noteStartAudio()
93 sp<IBatteryStats> batteryService = getBatteryService_l(); in noteStopAudio()
106 sp<IBatteryStats> batteryService = getBatteryService_l(); in noteResetAudio()
115 sp<IBatteryStats> batteryService = getBatteryService_l(); in noteFlashlightOn()
128 sp<IBatteryStats> batteryService = getBatteryService_l(); in noteFlashlightOff()
141 sp<IBatteryStats> batteryService = getBatteryService_l(); in noteResetFlashlight()
150 sp<IBatteryStats> batteryService = getBatteryService_l(); in noteStartCamera()
[all …]
/frameworks/av/media/utils/fuzzers/
DSchedulingPolicyServiceFuzz.cpp23 using android::IBatteryStats;
32 sp<IBatteryStats> getBatteryService() { in getBatteryService()
33 sp<IBatteryStats> batteryStatService; in getBatteryService()
37 batteryStatService = checked_interface_cast<IBatteryStats>(sm->checkService(name)); in getBatteryService()
47 sp<IBatteryStats> batteryStatService = getBatteryService(); in LLVMFuzzerTestOneInput()
/frameworks/base/core/java/android/os/health/
DSystemHealthManager.java28 import com.android.internal.app.IBatteryStats;
49 private final IBatteryStats mBatteryStats;
57 this(IBatteryStats.Stub.asInterface(ServiceManager.getService(BatteryStats.SERVICE_NAME))); in SystemHealthManager()
61 public SystemHealthManager(IBatteryStats batteryStats) { in SystemHealthManager()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateTracker.java23 import com.android.internal.app.IBatteryStats;
39 private IBatteryStats mBatteryStats;
41 public WifiStateTracker(IBatteryStats stats) { in WifiStateTracker()
DWifiPowerMetrics.java26 import com.android.internal.app.IBatteryStats;
42 private final IBatteryStats mBatteryStats;
45 mBatteryStats = IBatteryStats.Stub.asInterface(ServiceManager.getService( in WifiPowerMetrics()
51 public WifiPowerMetrics(IBatteryStats batteryStats) { in WifiPowerMetrics()
DWifiMulticastLockManager.java25 import com.android.internal.app.IBatteryStats;
43 private final IBatteryStats mBatteryStats;
55 public WifiMulticastLockManager(FilterController filterController, IBatteryStats batteryStats) { in WifiMulticastLockManager()
DFrameworkFacade.java41 import com.android.internal.app.IBatteryStats;
133 public IBatteryStats getBatteryService() { in getBatteryService()
134 return IBatteryStats.Stub.asInterface(getService(BatteryStats.SERVICE_NAME)); in getBatteryService()
DActiveModeWarden.java32 import com.android.internal.app.IBatteryStats;
60 private final IBatteryStats mBatteryStats;
132 IBatteryStats batteryStats) { in ActiveModeWarden()
DWifiLockManager.java32 import com.android.internal.app.IBatteryStats;
57 private final IBatteryStats mBatteryStats;
83 WifiLockManager(Context context, IBatteryStats batteryStats, in WifiLockManager()
DSupplicantStateTracker.java33 import com.android.internal.app.IBatteryStats;
52 private final IBatteryStats mBatteryStats;
/frameworks/base/core/java/android/os/
DBatteryManager.java29 import com.android.internal.app.IBatteryStats;
256 private final IBatteryStats mBatteryStats;
264 mBatteryStats = IBatteryStats.Stub.asInterface( in BatteryManager()
272 IBatteryStats batteryStats, in BatteryManager()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DModemPowerMetrics.java24 import com.android.internal.app.IBatteryStats;
34 private final IBatteryStats mBatteryStats;
37 mBatteryStats = IBatteryStats.Stub.asInterface(ServiceManager.getService( in ModemPowerMetrics()
/frameworks/native/libs/binder/include/binder/
DIBatteryStats.h28 class IBatteryStats : public IInterface
68 class BnBatteryStats : public BnInterface<IBatteryStats>
/frameworks/av/media/utils/include/mediautils/
DBatteryNotifier.h65 sp<IBatteryStats> mBatteryStatService;
68 sp<IBatteryStats> getBatteryService_l();
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiStateTrackerTest.java26 import com.android.internal.app.IBatteryStats;
40 @Mock IBatteryStats mBatteryStats;
DSupplicantStateTrackerTest.java35 import com.android.internal.app.IBatteryStats;
62 IBatteryStats batteryStatsService = mock(IBatteryStats.class); in getFrameworkFacade()
DWifiPowerMetricsTest.java27 import com.android.internal.app.IBatteryStats;
44 @Mock IBatteryStats mBatteryStats;
DWifiMulticastLockManagerTest.java27 import com.android.internal.app.IBatteryStats;
44 @Mock IBatteryStats mBatteryStats;
/frameworks/base/tests/net/java/com/android/server/
DNetworkManagementServiceTest.java39 import com.android.internal.app.IBatteryStats;
62 @Mock private IBatteryStats.Stub mBatteryStatsService;
/frameworks/base/location/java/com/android/internal/location/gnssmetrics/
DGnssMetrics.java30 import com.android.internal.app.IBatteryStats;
84 public GnssMetrics(IBatteryStats stats) { in GnssMetrics()
509 private final IBatteryStats mBatteryStats;
517 public GnssPowerMetrics(IBatteryStats stats) { in GnssPowerMetrics()
/frameworks/base/services/core/java/com/android/server/connectivity/
DDataConnectionStats.java37 import com.android.internal.app.IBatteryStats;
45 private final IBatteryStats mBatteryStats;
/frameworks/native/services/sensorservice/
DBatteryService.h29 sp<IBatteryStats> mBatteryStatService;
DBatteryService.cpp99 mBatteryStatService = interface_cast<IBatteryStats>(sm->getService(name)); in checkService()
/frameworks/base/services/core/java/com/android/server/job/
DJobServiceContext.java48 import com.android.internal.app.IBatteryStats;
104 private final IBatteryStats mBatteryStats;
174 JobServiceContext(JobSchedulerService service, IBatteryStats batteryStats, in JobServiceContext()
180 JobServiceContext(Context context, Object lock, IBatteryStats batteryStats, in JobServiceContext()

123