Home
last modified time | relevance | path

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

123

/frameworks/native/libs/binder/
DIBatteryStats.cpp29 class BpBatteryStats : public BpInterface<IBatteryStats>
33 : BpInterface<IBatteryStats>(impl) in BpBatteryStats()
39 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteStartSensor()
47 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteStopSensor()
55 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteStartVideo()
62 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteStopVideo()
69 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteStartAudio()
76 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteStopAudio()
83 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteResetVideo()
89 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteResetAudio()
[all …]
DAndroid.bp50 "IBatteryStats.cpp",
86 "IBatteryStats.cpp",
/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/base/core/java/android/os/health/
DSystemHealthManager.java27 import com.android.internal.app.IBatteryStats;
46 private final IBatteryStats mBatteryStats;
53 this(IBatteryStats.Stub.asInterface(ServiceManager.getService(BatteryStats.SERVICE_NAME))); in SystemHealthManager()
57 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.java25 import com.android.internal.app.IBatteryStats;
39 private final IBatteryStats mBatteryStats;
42 mBatteryStats = IBatteryStats.Stub.asInterface(ServiceManager.getService( in WifiPowerMetrics()
DWifiMulticastLockManager.java24 import com.android.internal.app.IBatteryStats;
42 private final IBatteryStats mBatteryStats;
54 public WifiMulticastLockManager(FilterController filterController, IBatteryStats batteryStats) { in WifiMulticastLockManager()
DFrameworkFacade.java38 import com.android.internal.app.IBatteryStats;
108 public IBatteryStats getBatteryService() { in getBatteryService()
109 return IBatteryStats.Stub.asInterface(getService(BatteryStats.SERVICE_NAME)); in getBatteryService()
DWifiLockManager.java27 import com.android.internal.app.IBatteryStats;
41 private final IBatteryStats mBatteryStats;
52 WifiLockManager(Context context, IBatteryStats batteryStats) { in WifiLockManager()
DWifiStateMachinePrime.java31 import com.android.internal.app.IBatteryStats;
61 private final IBatteryStats mBatteryStats;
133 IBatteryStats batteryStats) { in WifiStateMachinePrime()
/frameworks/base/core/java/android/os/
DBatteryManager.java25 import com.android.internal.app.IBatteryStats;
248 private final IBatteryStats mBatteryStats;
256 mBatteryStats = IBatteryStats.Stub.asInterface( in BatteryManager()
264 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.java19 import com.android.internal.app.IBatteryStats;
40 @Mock IBatteryStats mBatteryStats;
DWifiMulticastLockManagerTest.java26 import com.android.internal.app.IBatteryStats;
39 @Mock IBatteryStats mBatteryStats;
DSupplicantStateTrackerTest.java33 import com.android.internal.app.IBatteryStats;
58 IBatteryStats batteryStatsService = mock(IBatteryStats.class); in getFrameworkFacade()
DWifiLockManagerTest.java30 import com.android.internal.app.IBatteryStats;
52 @Mock IBatteryStats mBatteryStats;
/frameworks/base/location/java/com/android/internal/location/gnssmetrics/
DGnssMetrics.java29 import com.android.internal.app.IBatteryStats;
60 public GnssMetrics(IBatteryStats stats) { in GnssMetrics()
324 private final IBatteryStats mBatteryStats;
329 public GnssPowerMetrics(IBatteryStats stats) { in GnssPowerMetrics()
/frameworks/base/services/core/java/com/android/server/connectivity/
DDataConnectionStats.java31 import com.android.internal.app.IBatteryStats;
41 private final IBatteryStats mBatteryStats;
/frameworks/base/tests/net/java/com/android/server/
DNetworkManagementServiceTest.java37 import com.android.internal.app.IBatteryStats;
65 @Mock private IBatteryStats.Stub mBatteryStatsService;
/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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java44 import com.android.internal.app.IBatteryStats;
80 private final IBatteryStats mBatteryInfo;
137 mBatteryInfo = IBatteryStats.Stub.asInterface( in KeyguardIndicationController()

123