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:IsOnBattery
(Results
1 - 4
of
4
) sorted by relevance
/base/powermgr/battery_statistics/test/unittest/src/clienttest/
H
A
D
stats_util_test.cpp
220
EXPECT_FALSE(StatsHelper::
IsOnBattery
());
in HWTEST_F()
224
EXPECT_TRUE(StatsHelper::
IsOnBattery
());
in HWTEST_F()
253
EXPECT_FALSE(StatsHelper::
IsOnBattery
());
in HWTEST_F()
257
EXPECT_TRUE(StatsHelper::
IsOnBattery
());
in HWTEST_F()
279
EXPECT_FALSE(StatsHelper::
IsOnBattery
());
in HWTEST_F()
284
EXPECT_FALSE(StatsHelper::
IsOnBattery
());
in HWTEST_F()
289
EXPECT_TRUE(StatsHelper::
IsOnBattery
());
in HWTEST_F()
294
EXPECT_TRUE(StatsHelper::
IsOnBattery
());
in HWTEST_F()
315
EXPECT_FALSE(StatsHelper::
IsOnBattery
());
in HWTEST_F()
322
EXPECT_TRUE(StatsHelper::
IsOnBattery
());
in HWTEST_F()
[all...]
/base/powermgr/battery_statistics/utils/native/src/
H
A
D
stats_helper.cpp
86
bool StatsHelper::
IsOnBattery
()
in IsOnBattery()
function in OHOS::PowerMgr::StatsHelper
100
if (
IsOnBattery
()) {
in GetOnBatteryBootTimeMs()
113
if (
IsOnBattery
()) {
in GetOnBatteryUpTimeMs()
/base/powermgr/battery_statistics/utils/native/include/
H
A
D
stats_helper.h
96
if (
IsOnBattery
()) {
in AddCount()
122
static bool
IsOnBattery
();
/base/powermgr/battery_statistics/services/native/src/
H
A
D
cpu_time_reader.cpp
193
if (StatsHelper::
IsOnBattery
()) {
in ReadUidCpuActiveTimeImpl()
326
if (StatsHelper::
IsOnBattery
()) {
in ReadUidCpuClusterTime()
480
if (!StatsHelper::
IsOnBattery
()) {
in ReadUidCpuFreqTime()
559
if (StatsHelper::
IsOnBattery
()) {
in ReadUidCpuTime()
Completed in 3 milliseconds