Home
last modified time | relevance | path

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

12

/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.bp35 "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;
37 private IBatteryStats mBatteryStats;
39 public WifiStateTracker(IBatteryStats stats) { in WifiStateTracker()
DWifiMulticastLockManager.java24 import com.android.internal.app.IBatteryStats;
42 private final IBatteryStats mBatteryStats;
54 public WifiMulticastLockManager(FilterController filterController, IBatteryStats batteryStats) { in WifiMulticastLockManager()
DFrameworkFacade.java37 import com.android.internal.app.IBatteryStats;
89 public IBatteryStats getBatteryService() { in getBatteryService()
90 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()
DWifiInjector.java43 import com.android.internal.app.IBatteryStats;
122 private final IBatteryStats mBatteryStats;
154 mBatteryStats = IBatteryStats.Stub.asInterface(mFrameworkFacade.getService( in WifiInjector()
DSupplicantStateTracker.java33 import com.android.internal.app.IBatteryStats;
52 private final IBatteryStats mBatteryStats;
/frameworks/base/core/java/android/os/
DBatteryManager.java22 import com.android.internal.app.IBatteryStats;
219 private final IBatteryStats mBatteryStats;
226 mBatteryStats = IBatteryStats.Stub.asInterface( in BatteryManager()
233 public BatteryManager(IBatteryStats batteryStats, in BatteryManager()
/frameworks/native/libs/binder/include/binder/
DIBatteryStats.h26 class IBatteryStats : public IInterface
66 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.java25 import com.android.internal.app.IBatteryStats;
41 @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;
53 @Mock IBatteryStats mBatteryStats;
/frameworks/base/services/core/java/com/android/server/connectivity/
DDataConnectionStats.java31 import com.android.internal.app.IBatteryStats;
41 private final IBatteryStats mBatteryStats;
/frameworks/native/services/sensorservice/
DBatteryService.h29 sp<IBatteryStats> mBatteryStatService;
DBatteryService.cpp98 mBatteryStatService = interface_cast<IBatteryStats>(sm->getService(name)); in checkService()
/frameworks/base/services/core/java/com/android/server/job/
DJobServiceContext.java45 import com.android.internal.app.IBatteryStats;
97 private final IBatteryStats mBatteryStats;
167 JobServiceContext(JobSchedulerService service, IBatteryStats batteryStats, in JobServiceContext()
173 JobServiceContext(Context context, Object lock, IBatteryStats batteryStats, in JobServiceContext()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java43 import com.android.internal.app.IBatteryStats;
73 private final IBatteryStats mBatteryInfo;
128 mBatteryInfo = IBatteryStats.Stub.asInterface( in KeyguardIndicationController()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java44 import com.android.internal.app.IBatteryStats;
77 private IBatteryStats mBatteryInfo;
235 return getStats(IBatteryStats.Stub.asInterface( in statsFromFile()
280 mBatteryInfo = IBatteryStats.Stub.asInterface( in create()
975 private static BatteryStatsImpl getStats(IBatteryStats service) { in getStats()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java24 import com.android.internal.app.IBatteryStats;
90 private final IBatteryStats mBatteryStats;
132 public Notifier(Looper looper, Context context, IBatteryStats batteryStats, in Notifier()
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl30 interface IBatteryStats { interface

12