/frameworks/native/libs/binder/ |
D | IBatteryStats.cpp | 27 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 …]
|
D | Android.bp | 46 "IBatteryStats.cpp",
|
/frameworks/av/media/utils/ |
D | BatteryNotifier.cpp | 43 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/ |
D | SystemHealthManager.java | 28 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/ |
D | BatteryManager.java | 29 import com.android.internal.app.IBatteryStats; 256 private final IBatteryStats mBatteryStats; 264 mBatteryStats = IBatteryStats.Stub.asInterface( in BatteryManager() 272 IBatteryStats batteryStats, in BatteryManager()
|
D | BatteryStatsManager.java | 30 import com.android.internal.app.IBatteryStats; 156 private final IBatteryStats mBatteryStats; 159 public BatteryStatsManager(IBatteryStats batteryStats) { in BatteryStatsManager()
|
/frameworks/native/libs/binder/include/binder/ |
D | IBatteryStats.h | 28 class IBatteryStats : public IInterface 68 class BnBatteryStats : public BnInterface<IBatteryStats>
|
/frameworks/av/media/utils/include/mediautils/ |
D | BatteryNotifier.h | 65 sp<IBatteryStats> mBatteryStatService; 68 sp<IBatteryStats> getBatteryService_l();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | NotifierTest.java | 44 import com.android.internal.app.IBatteryStats; 211 Notifier createNotifier(Looper looper, Context context, IBatteryStats batteryStats, 296 IBatteryStats.Stub.asInterface(ServiceManager.getService( in createNotifier()
|
D | PowerManagerServiceTest.java | 73 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/ |
D | NetworkManagementServiceTest.java | 39 import com.android.internal.app.IBatteryStats; 62 @Mock private IBatteryStats.Stub mBatteryStatsService;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
D | SystemServicesModule.java | 63 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/ |
D | DataConnectionStats.java | 37 import com.android.internal.app.IBatteryStats; 45 private final IBatteryStats mBatteryStats;
|
/frameworks/base/location/java/com/android/internal/location/gnssmetrics/ |
D | GnssMetrics.java | 32 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/ |
D | BatteryService.h | 29 sp<IBatteryStats> mBatteryStatService;
|
D | BatteryService.cpp | 99 mBatteryStatService = interface_cast<IBatteryStats>(sm->getService(name)); in checkService()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobServiceContext.java | 48 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/ |
D | BatteryStatsHelper.java | 46 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/ |
D | Notifier.java | 55 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/ |
D | KeyguardIndicationController.java | 49 import com.android.internal.app.IBatteryStats; 100 private final IBatteryStats mBatteryInfo; 151 IBatteryStats iBatteryStats, in KeyguardIndicationController()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IBatteryStats.aidl | 33 interface IBatteryStats { interface
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerTest.java | 61 import com.android.internal.app.IBatteryStats; 116 private IBatteryStats mIBatteryStats;
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 55 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/ |
D | SystemServiceRegistry.java | 205 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/ |
D | NetworkManagementService.java | 92 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()
|