Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:battery
(Results
1 - 8
of
8
) sorted by relevance
/base/powermgr/battery_lite/test/
H
A
D
battery_test.js
16
var
battery
= require("@system.
battery
");
variable
17
battery
.BatterySOC({
19
console.log('success get
battery
Soc:' + data.batterySoc);
22
console.log('fail to get
battery
Soc code:' + code + ', data: ' + data);
26
battery
.ChargingStatus({
31
console.log('fail to get
battery
ChargingStatus code:' + code + ', data: ' + data);
35
battery
.HealthStatus({
37
console.log('success get
battery
HealthStatus:' + data.healthStatus);
40
console.log('fail to get
battery
HealthStatu
[all...]
/base/powermgr/battery_lite/services/src/
H
A
D
battery_device.c
127
void UpdateBatInfoImpl(BatInfo *
battery
)
in UpdateBatInfoImpl()
argument
129
if (
battery
== NULL) {
in UpdateBatInfoImpl()
132
if (strcpy_s(
battery
->BatTechnology, BATTECHNOLOGY_LEN, battInfo.BatTechnology) != EOK) {
in UpdateBatInfoImpl()
135
battery
->batSoc = battInfo.batSoc;
in UpdateBatInfoImpl()
136
battery
->batVoltage = battInfo.batVoltage;
in UpdateBatInfoImpl()
137
battery
->BatTemp = battInfo.BatTemp;
in UpdateBatInfoImpl()
138
battery
->batCapacity = battInfo.batCapacity;
in UpdateBatInfoImpl()
139
battery
->chargingStatus = battInfo.chargingStatus;
in UpdateBatInfoImpl()
140
battery
->pluggedType = battInfo.pluggedType;
in UpdateBatInfoImpl()
141
battery
in UpdateBatInfoImpl()
[all...]
H
A
D
battery_manage_service.c
54
static void UpdateBatteryMsg(BatInfo*
battery
)
in UpdateBatteryMsg()
argument
60
g_batteryDevice->UpdateBatInfo(
battery
);
in UpdateBatteryMsg()
/base/web/webview/test/fuzztest/ohos_adapter/battery_adapter/batterymgrclient_fuzzer/
H
A
D
batterymgrclient_fuzzer.cpp
31
BatteryMgrClientAdapterImpl
battery
;
in BatteryMgrClientFuzzTest()
local
32
battery
.RequestBatteryInfo();
in BatteryMgrClientFuzzTest()
/base/web/webview/test/fuzztest/ohos_adapter/battery_adapter/stoplisten_fuzzer/
H
A
D
stoplisten_fuzzer.cpp
31
BatteryMgrClientAdapterImpl
battery
;
in StopListenFuzzTest()
local
32
battery
.StopListen();
in StopListenFuzzTest()
/base/web/webview/test/unittest/battery_mgr_adapter_impl/
H
A
D
battery_mgr_adapter_test.cpp
183
std::shared_ptr<WebBatteryInfo>
battery
= g_batterImpl->RequestBatteryInfo();
in HWTEST_F()
local
184
if (
battery
== nullptr) {
in HWTEST_F()
189
battery
= g_batterImpl->RequestBatteryInfo();
in HWTEST_F()
190
if (
battery
== nullptr) {
in HWTEST_F()
195
battery
= g_batterImpl->RequestBatteryInfo();
in HWTEST_F()
196
if (
battery
== nullptr) {
in HWTEST_F()
/base/web/webview/test/fuzztest/ohos_adapter/battery_adapter/batteryevent_fuzzer/
H
A
D
batteryevent_fuzzer.cpp
39
BatteryMgrClientAdapterImpl
battery
;
in BatteryEventFuzzTest()
local
42
battery
.RegBatteryEvent(callback);
in BatteryEventFuzzTest()
/base/web/webview/test/unittest/ohos_adapter_helper/
H
A
D
ohos_adapter_helper_test.cpp
125
std::unique_ptr<BatteryMgrClientAdapter>
battery
= helper.CreateBatteryClientAdapter();
in HWTEST_F()
local
126
EXPECT_NE(
battery
, nullptr);
in HWTEST_F()
Completed in 4 milliseconds