Searched refs:PLUGGED_TYPE_BUTT (Results 1 – 15 of 15) sorted by relevance
97 PLUGGED_TYPE_BUTT enumerator
60 (isChangingType == static_cast<int>(BatteryPluggedType::PLUGGED_TYPE_BUTT))) { in OnReceiveEvent()113 (isChangingType == BatteryPluggedType::PLUGGED_TYPE_BUTT)) { in RequestBatteryInfo()
102 RETURN_IF_WITH_RET(remote == nullptr, BatteryPluggedType::PLUGGED_TYPE_BUTT); in GetPluggedType()109 return BatteryPluggedType::PLUGGED_TYPE_BUTT; in GetPluggedType()116 return BatteryPluggedType::PLUGGED_TYPE_BUTT; in GetPluggedType()118 uint32_t pluggedType = static_cast<uint32_t>(BatteryPluggedType::PLUGGED_TYPE_BUTT); in GetPluggedType()119 READ_PARCEL_WITH_RET(reply, Uint32, pluggedType, BatteryPluggedType::PLUGGED_TYPE_BUTT); in GetPluggedType()
57 pluggedType == static_cast<int32_t>(BatteryPluggedType::PLUGGED_TYPE_BUTT)) { in OnReceiveEvent()
132 …pe == BatteryPluggedType::PLUGGED_TYPE_NONE || plugType == BatteryPluggedType::PLUGGED_TYPE_BUTT) { in Init()
113 want.SetParam(key, static_cast<int>(BatteryPluggedType::PLUGGED_TYPE_BUTT));181 g_pluggedType = BatteryPluggedType::PLUGGED_TYPE_BUTT;
127 PLUGGED_TYPE_BUTT enumerator404 BatteryPluggedType pluggedType_ = BatteryPluggedType::PLUGGED_TYPE_BUTT;
81 EXPECT_EQ ((status >= PLUGGED_TYPE_NONE && status <= PLUGGED_TYPE_BUTT), 1)
79 BatteryPluggedType pluggedType = PLUGGED_TYPE_BUTT; in PluggedTypeImpl()
102 …pluggedType <= BatteryPluggedType::PLUGGED_TYPE_BUTT); // the enum value range of BatteryPluggedTy…
248 … >= BatteryPluggedType::PLUGGED_TYPE_NONE && pluggedType <= BatteryPluggedType::PLUGGED_TYPE_BUTT);
236 const BatteryPluggedType pluggedType = BatteryPluggedType::PLUGGED_TYPE_BUTT;
232 (info.GetPluggedType() == BatteryPluggedType::PLUGGED_TYPE_BUTT)) { in PublishPowerConnectedEvent()264 (info.GetPluggedType() != BatteryPluggedType::PLUGGED_TYPE_BUTT)) { in PublishPowerDisconnectedEvent()
288 g_lastPluggedType != BatteryPluggedType::PLUGGED_TYPE_BUTT) { in IsLastPlugged()297 pluggedType != BatteryPluggedType::PLUGGED_TYPE_BUTT) { in IsNowPlugged()
113 BatteryPluggedType pluggedType = BatteryPluggedType::PLUGGED_TYPE_BUTT; in GetPluggedType()