/development/tools/labpretest/ |
labpretest.sh | 12 # times. It will detect if it is in a low battery situation and wait for it to 62 # Blocks until battery level is at least 76 local battery 78 log_print "checking battery level" 79 while [ "$battery" = "" ]; do 80 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}'` 83 if [ $battery -lt $LIMIT ]; then 84 log_print "Battery is low, waiting for charge" 86 battery=`$ADB -s $device shell dumpsys battery | tr -d '\r' | awk '/level:/ {print $2}' [all...] |
/system/core/charger/ |
charger.c | 125 struct power_supply *battery; member in struct:charger 300 if (!charger->battery) 303 ret = read_file_int(charger->battery->cap_path, &batt_cap); 406 bool battery = false; local 425 if (!strncmp(ps_type, "Battery", 7)) 426 battery = true; 444 /* only pick up the first battery for now */ 445 if (battery && !charger->battery) 446 charger->battery = supply [all...] |
/frameworks/base/services/java/com/android/server/ |
Watchdog.java | 187 public void init(Context context, BatteryService battery, 191 mBattery = battery; 334 return "battery";
|
SystemServer.java | 129 BatteryService battery = null; local 287 Slog.i(TAG, "Battery Service"); 288 battery = new BatteryService(context, lights); 289 ServiceManager.addService("battery", battery); 296 // lights service, content providers and the battery service. 297 power.init(context, lights, ActivityManagerService.self(), battery, 305 Watchdog.getInstance().init(context, battery, power, alarm, [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
PhoneStatusBar.java | 496 mBatteryController.addIconView((ImageView)mStatusBarView.findViewById(R.id.battery)); 1818 final View battery = mStatusBarView.findViewById(R.id.battery); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
TabletStatusBar.java | 251 // the battery icon 252 mBatteryController.addIconView((ImageView)mNotificationPanel.findViewById(R.id.battery)); 490 mBatteryController.addIconView((ImageView)sb.findViewById(R.id.battery)); [all...] |
/cts/suite/pts/hostTests/browser/browserlauncher/assets/octane/ |
gbemu.js | [all...] |