/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiStateTracker.java | 19 import android.os.BatteryStatsManager; 36 private BatteryStatsManager mBatteryStatsManager; 38 public WifiStateTracker(BatteryStatsManager batteryStatsManager) { in WifiStateTracker() 57 int reportState = BatteryStatsManager.WIFI_STATE_OFF; in updateState() 61 reportState = BatteryStatsManager.WIFI_STATE_OFF_SCANNING; in updateState() 64 reportState = BatteryStatsManager.WIFI_STATE_ON_DISCONNECTED; in updateState() 67 reportState = BatteryStatsManager.WIFI_STATE_ON_CONNECTED_STA; in updateState() 70 reportState = BatteryStatsManager.WIFI_STATE_SOFT_AP; in updateState()
|
D | SupplicantStateTracker.java | 24 import android.os.BatteryStatsManager; 49 private final BatteryStatsManager mBatteryStatsManager; 94 BatteryStatsManager batteryStatsManager, Handler t) { in SupplicantStateTracker() 179 supplState = BatteryStatsManager.WIFI_SUPPL_STATE_DISCONNECTED; in sendSupplicantStateChangedBroadcast() 182 supplState = BatteryStatsManager.WIFI_SUPPL_STATE_INTERFACE_DISABLED; in sendSupplicantStateChangedBroadcast() 185 supplState = BatteryStatsManager.WIFI_SUPPL_STATE_INACTIVE; in sendSupplicantStateChangedBroadcast() 188 supplState = BatteryStatsManager.WIFI_SUPPL_STATE_SCANNING; in sendSupplicantStateChangedBroadcast() 191 supplState = BatteryStatsManager.WIFI_SUPPL_STATE_AUTHENTICATING; in sendSupplicantStateChangedBroadcast() 194 supplState = BatteryStatsManager.WIFI_SUPPL_STATE_ASSOCIATING; in sendSupplicantStateChangedBroadcast() 197 supplState = BatteryStatsManager.WIFI_SUPPL_STATE_ASSOCIATED; in sendSupplicantStateChangedBroadcast() [all …]
|
D | WifiPowerMetrics.java | 18 import android.os.BatteryStatsManager; 37 private final BatteryStatsManager mBatteryStats; 39 public WifiPowerMetrics(BatteryStatsManager batteryStats) { in WifiPowerMetrics()
|
D | WifiMulticastLockManager.java | 19 import android.os.BatteryStatsManager; 44 private final BatteryStatsManager mBatteryStats; 57 BatteryStatsManager batteryStats) { in WifiMulticastLockManager()
|
D | ActiveModeWarden.java | 31 import android.os.BatteryStatsManager; 72 private final BatteryStatsManager mBatteryStatsManager; 103 BatteryStatsManager batteryStatsManager, in ActiveModeWarden() 584 mBatteryStatsManager.reportWifiState(BatteryStatsManager.WIFI_STATE_OFF_SCANNING, null); in updateBatteryStatsScanModeActive()
|
D | WifiLockManager.java | 22 import android.os.BatteryStatsManager; 60 private final BatteryStatsManager mBatteryStats; 86 WifiLockManager(Context context, BatteryStatsManager batteryStats, in WifiLockManager()
|
D | WifiInjector.java | 32 import android.os.BatteryStatsManager; 86 private final BatteryStatsManager mBatteryStats; 198 mBatteryStats = context.getSystemService(BatteryStatsManager.class); in WifiInjector()
|
D | ClientModeImpl.java | 87 import android.os.BatteryStatsManager; 722 private final BatteryStatsManager mBatteryStatsManager; 750 BatteryStatsManager batteryStatsManager, in ClientModeImpl()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | ModemPowerMetrics.java | 18 import android.os.BatteryStatsManager; 43 private BatteryStatsManager mBatteryStatsManager; 45 public ModemPowerMetrics(BatteryStatsManager batteryStatsManager) { in ModemPowerMetrics()
|
D | TelephonyMetrics.java | 42 import android.os.BatteryStatsManager; 589 BatteryStatsManager batteryStatsManager = mContext == null ? null : in printAllMetrics() 590 (BatteryStatsManager) mContext.getSystemService(Context.BATTERY_STATS_SERVICE); in printAllMetrics() 751 BatteryStatsManager batteryStatsManager = mContext == null ? null : in buildProto() 752 (BatteryStatsManager) mContext.getSystemService(Context.BATTERY_STATS_SERVICE); in buildProto()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningService.java | 20 import android.os.BatteryStatsManager; 45 getContext().getSystemService(BatteryStatsManager.class), in WifiScanningService()
|
D | WifiScanningServiceImpl.java | 37 import android.os.BatteryStatsManager; 395 private final BatteryStatsManager mBatteryStats; 405 BatteryStatsManager batteryStats, WifiInjector wifiInjector) { in WifiScanningServiceImpl()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiStateTrackerTest.java | 24 import android.os.BatteryStatsManager; 41 BatteryStatsManager mBatteryStats;
|
D | WifiPowerMetricsTest.java | 21 import android.os.BatteryStatsManager; 44 BatteryStatsManager mBatteryStats;
|
D | WifiMulticastLockManagerTest.java | 22 import android.os.BatteryStatsManager; 46 @Mock BatteryStatsManager mBatteryStats;
|
D | SupplicantStateTrackerTest.java | 29 import android.os.BatteryStatsManager; 54 private @Mock BatteryStatsManager mBatteryStats;
|
D | ActiveModeWardenTest.java | 57 import android.os.BatteryStatsManager; 108 @Mock BatteryStatsManager mBatteryStats; 270 verify(mBatteryStats).reportWifiState(BatteryStatsManager.WIFI_STATE_OFF_SCANNING, null); in enterScanOnlyModeActiveState()
|
D | WifiLockManagerTest.java | 26 import android.os.BatteryStatsManager; 62 @Mock BatteryStatsManager mBatteryStats;
|
D | ClientModeImplTest.java | 97 import android.os.BatteryStatsManager; 415 @Mock BatteryStatsManager mBatteryStatsManager;
|
/frameworks/base/core/java/android/os/ |
D | BatteryStatsManager.java | 45 public final class BatteryStatsManager { class 159 public BatteryStatsManager(IBatteryStats batteryStats) { in BatteryStatsManager() method in BatteryStatsManager
|
D | BatteryStats.java | 20 import static android.os.BatteryStatsManager.NUM_WIFI_STATES; 21 import static android.os.BatteryStatsManager.NUM_WIFI_SUPPL_STATES; 29 import android.os.BatteryStatsManager.WifiState; 30 import android.os.BatteryStatsManager.WifiSupplState;
|
/frameworks/base/core/java/android/os/connectivity/ |
D | WifiBatteryStats.java | 19 import static android.os.BatteryStatsManager.NUM_WIFI_STATES; 20 import static android.os.BatteryStatsManager.NUM_WIFI_SUPPL_STATES;
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 139 import android.os.BatteryStatsManager; 1272 registerService(Context.BATTERY_STATS_SERVICE, BatteryStatsManager.class, in registerService() 1273 new CachedServiceFetcher<BatteryStatsManager>() { in registerService() 1275 public BatteryStatsManager createService(ContextImpl ctx) in registerService() 1279 return new BatteryStatsManager( in registerService()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WifiScanningServiceTest.java | 64 import android.os.BatteryStatsManager; 136 @Mock BatteryStatsManager mBatteryStats;
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 19 import static android.os.BatteryStatsManager.NUM_WIFI_STATES; 20 import static android.os.BatteryStatsManager.NUM_WIFI_SUPPL_STATES;
|