Home
last modified time | relevance | path

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

12

/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 …]
DAndroid.bp46 "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.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/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()
DBatteryStatsManager.java30 import com.android.internal.app.IBatteryStats;
156 private final IBatteryStats mBatteryStats;
159 public BatteryStatsManager(IBatteryStats batteryStats) { in BatteryStatsManager()
/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/base/services/tests/servicestests/src/com/android/server/power/
DNotifierTest.java44 import com.android.internal.app.IBatteryStats;
211 Notifier createNotifier(Looper looper, Context context, IBatteryStats batteryStats,
296 IBatteryStats.Stub.asInterface(ServiceManager.getService( in createNotifier()
DPowerManagerServiceTest.java73 import com.android.internal.app.IBatteryStats;
203 Notifier createNotifier(Looper looper, Context context, IBatteryStats batteryStats, in createService()
/frameworks/base/tests/net/java/com/android/server/
DNetworkManagementServiceTest.java39 import com.android.internal.app.IBatteryStats;
62 @Mock private IBatteryStats.Stub mBatteryStatsService;
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DSystemServicesModule.java63 import com.android.internal.app.IBatteryStats;
150 static IBatteryStats provideIBatteryStats() { in provideIBatteryStats()
151 return IBatteryStats.Stub.asInterface( in provideIBatteryStats()
/frameworks/base/services/core/java/com/android/server/connectivity/
DDataConnectionStats.java37 import com.android.internal.app.IBatteryStats;
45 private final IBatteryStats mBatteryStats;
/frameworks/base/location/java/com/android/internal/location/gnssmetrics/
DGnssMetrics.java32 import com.android.internal.app.IBatteryStats;
129 public GnssMetrics(Context context, IBatteryStats stats) { in GnssMetrics()
529 private final IBatteryStats mBatteryStats;
537 private GnssPowerMetrics(IBatteryStats stats) { in GnssPowerMetrics()
/frameworks/native/services/sensorservice/
DBatteryService.h29 sp<IBatteryStats> mBatteryStatService;
DBatteryService.cpp99 mBatteryStatService = interface_cast<IBatteryStats>(sm->getService(name)); in checkService()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobServiceContext.java48 import com.android.internal.app.IBatteryStats;
105 private final IBatteryStats mBatteryStats;
175 JobServiceContext(JobSchedulerService service, IBatteryStats batteryStats, in JobServiceContext()
181 JobServiceContext(Context context, Object lock, IBatteryStats batteryStats, in JobServiceContext()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java46 import com.android.internal.app.IBatteryStats;
80 private IBatteryStats mBatteryInfo;
247 return getStats(IBatteryStats.Stub.asInterface( in statsFromFile()
297 mBatteryInfo = IBatteryStats.Stub.asInterface( in create()
1056 private static BatteryStatsImpl getStats(IBatteryStats service) { in getStats()
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java55 import com.android.internal.app.IBatteryStats;
118 private final IBatteryStats mBatteryStats;
167 public Notifier(Looper looper, Context context, IBatteryStats batteryStats, in Notifier()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java49 import com.android.internal.app.IBatteryStats;
100 private final IBatteryStats mBatteryInfo;
151 IBatteryStats iBatteryStats, in KeyguardIndicationController()
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl33 interface IBatteryStats { interface
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java61 import com.android.internal.app.IBatteryStats;
116 private IBatteryStats mIBatteryStats;
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java55 import com.android.internal.app.IBatteryStats;
84 public final class BatteryStatsService extends IBatteryStats.Stub
91 private static IBatteryStats sService;
272 public static IBatteryStats getService() { in getService()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java205 import com.android.internal.app.IBatteryStats;
455 IBatteryStats stats = IBatteryStats.Stub.asInterface( in registerService()
1080 return new SystemHealthManager(IBatteryStats.Stub.asInterface(b)); in registerService()
1280 IBatteryStats.Stub.asInterface(b)); in registerService()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java92 import com.android.internal.app.IBatteryStats;
166 private IBatteryStats mBatteryStats;
307 private IBatteryStats getBatteryStats() { in getBatteryStats()
313 IBatteryStats.Stub.asInterface(mServices.getService(BatteryStats.SERVICE_NAME)); in getBatteryStats()

12