/external/chromium_org/content/browser/battery_status/ |
D | battery_status_manager_linux_unittest.cc | 19 EXPECT_EQ(default_status.charging, status.charging); in TEST() 33 EXPECT_TRUE(status.charging); in TEST() 47 EXPECT_TRUE(status.charging); in TEST() 62 EXPECT_TRUE(status.charging); in TEST() 77 EXPECT_FALSE(status.charging); in TEST() 92 EXPECT_FALSE(status.charging); in TEST() 107 EXPECT_TRUE(status.charging); in TEST() 122 EXPECT_FALSE(status.charging); in TEST() 135 EXPECT_FALSE(status.charging); in TEST()
|
D | battery_status_manager_win_unittest.cc | 20 EXPECT_FALSE(status.charging); in TEST() 33 EXPECT_FALSE(status.charging); in TEST() 46 EXPECT_TRUE(status.charging); in TEST() 59 EXPECT_TRUE(status.charging); in TEST() 72 EXPECT_TRUE(status.charging); in TEST()
|
D | battery_status_manager_android.cc | 34 jboolean charging, in GotBatteryStatus() argument 39 status.charging = charging; in GotBatteryStatus()
|
D | battery_status_manager_chromeos.cc | 121 status.charging = IsBatteryCharging(proto); in PowerChanged() 126 if (time_unreliable || !status.charging) in PowerChanged() 133 if (!time_unreliable && !status.charging) in PowerChanged()
|
D | battery_status_service_unittest.cc | 157 status.charging = true; in TEST_F() 166 EXPECT_EQ(status.charging, battery_status().charging); in TEST_F()
|
D | battery_status_manager_win.cc | 209 status.charging = win_status.ACLineStatus != WIN_AC_LINE_STATUS_OFFLINE; in ComputeWebBatteryStatus() 217 if (!status.charging) { in ComputeWebBatteryStatus()
|
D | battery_status_manager_android.h | 26 jboolean charging,
|
D | battery_status_browsertest.cc | 124 status.charging = true; in IN_PROC_BROWSER_TEST_F()
|
D | battery_status_manager_mac.cc | 75 status.charging = !on_battery_power || is_charging; in FetchBatteryStatus()
|
D | battery_status_manager_linux.cc | 338 status.charging = state != UPOWER_DEVICE_STATE_DISCHARGING && in ComputeWebBatteryStatus()
|
/external/chromium_org/third_party/WebKit/Source/modules/battery/ |
D | BatteryStatus.cpp | 17 BatteryStatus* BatteryStatus::create(bool charging, double chargingTime, double dischargingTime, do… in create() argument 19 return new BatteryStatus(charging, chargingTime, dischargingTime, level); in create() 30 BatteryStatus::BatteryStatus(bool charging, double chargingTime, double dischargingTime, double lev… in BatteryStatus() argument 31 : m_charging(charging) in BatteryStatus()
|
D | BatteryStatus.h | 17 …static BatteryStatus* create(bool charging, double chargingTime, double dischargingTime, double le… 19 bool charging() const { return m_charging; } in charging() function 28 BatteryStatus(bool charging, double chargingTime, double dischargingTime, double level);
|
D | BatteryManager.cpp | 56 bool BatteryManager::charging() in charging() function in blink::BatteryManager 58 return m_batteryStatus->charging(); in charging() 97 if (m_batteryStatus->charging() != oldStatus->charging()) in didUpdateData()
|
D | BatteryDispatcher.cpp | 30 …m_batteryStatus = BatteryStatus::create(batteryStatus.charging, batteryStatus.chargingTime, batter… in updateBatteryStatus()
|
D | BatteryManager.idl | 11 readonly attribute boolean charging;
|
D | BatteryManager.h | 34 bool charging();
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
D | BatteryStatusManager.java | 101 boolean charging = pluggedStatus != 0; in onReceive() 117 double chargingTime = (charging & batteryFull) ? 0 : Double.POSITIVE_INFINITY; in onReceive() 120 gotBatteryStatus(charging, chargingTime, dischargingTime, level); in onReceive() 133 protected void gotBatteryStatus(boolean charging, double chargingTime, in gotBatteryStatus() argument 137 nativeGotBatteryStatus(mNativePtr, charging, chargingTime, dischargingTime, level); in gotBatteryStatus() 147 boolean charging, double chargingTime, double dischargingTime, double level); in nativeGotBatteryStatus() argument
|
/external/chromium_org/content/renderer/battery_status/ |
D | battery_status_dispatcher_unittest.cc | 51 status.charging = true; in TEST_F() 63 EXPECT_EQ(status.charging, received_status.charging); in TEST_F()
|
/external/chromium_org/third_party/WebKit/public/platform/ |
D | WebBatteryStatus.h | 15 : charging(true) in WebBatteryStatus() 22 bool charging; variable
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
D | BatteryStatusManagerTest.java | 138 private void verifyValues(boolean charging, double chargingTime, in verifyValues() argument 140 assertEquals(charging, mCharging); in verifyValues() 156 protected void gotBatteryStatus(boolean charging, double chargingTime, in gotBatteryStatus() argument 158 mCharging = charging; in gotBatteryStatus()
|
/external/chromium_org/ash/system/chromeos/power/ |
D | tray_power_unittest.cc | 155 PowerSupplyProperties charging = DefaultPowerSupplyProperties(); in TEST_F() local 156 charging.set_external_power( in TEST_F() 158 charging.set_battery_state( in TEST_F() 160 EXPECT_FALSE(UpdateNotificationState(charging)); in TEST_F()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/ |
D | PChargingFunctionAddressesParser.java | 71 public PChargingFunctionAddressesParser(String charging) { in PChargingFunctionAddressesParser() argument 73 super(charging); in PChargingFunctionAddressesParser()
|
/external/chromium_org/content/common/ |
D | battery_status_messages.h | 16 IPC_STRUCT_TRAITS_MEMBER(charging)
|
/external/chromium_org/content/shell/renderer/test_runner/ |
D | test_runner.cc | 203 void DidChangeBatteryStatus(bool charging, 938 void TestRunnerBindings::DidChangeBatteryStatus(bool charging, in DidChangeBatteryStatus() argument 943 runner_->DidChangeBatteryStatus(charging, chargingTime, in DidChangeBatteryStatus() 2403 void TestRunner::DidChangeBatteryStatus(bool charging, in DidChangeBatteryStatus() argument 2408 status.charging = charging; in DidChangeBatteryStatus()
|
D | test_runner.h | 310 void DidChangeBatteryStatus(bool charging,
|