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:IsSystem
(Results
1 - 13
of
13
) sorted by relevance
/base/powermgr/battery_statistics/services/native/src/
H
A
D
battery_stats_service.cpp
195
if (!Permission::
IsSystem
()) {
in GetBatteryStats()
209
if (!Permission::
IsSystem
()) {
in Dump()
232
if (!Permission::
IsSystem
()) {
in GetAppStatsMah()
243
if (!Permission::
IsSystem
()) {
in GetAppStatsPercent()
254
if (!Permission::
IsSystem
()) {
in GetPartStatsMah()
265
if (!Permission::
IsSystem
()) {
in GetPartStatsPercent()
275
if (!Permission::
IsSystem
()) {
in GetTotalTimeSecond()
293
if (!Permission::
IsSystem
()) {
in GetTotalDataBytes()
302
if (!Permission::
IsSystem
()) {
in Reset()
325
if (!Permission::
IsSystem
()) {
in SetOnBattery()
[all...]
/base/powermgr/power_manager/test/unittest/src/interface_test/
H
A
D
power_mgr_util_test.cpp
57
* @tc.desc: The
IsSystem
and IsPermissionGranted functions are granted by default as TOKEN_NATIVE or TOKEN_SHELL types
64
EXPECT_TRUE(Permission::
IsSystem
());
in HWTEST_F()
68
EXPECT_TRUE(Permission::
IsSystem
());
in HWTEST_F()
75
* @tc.desc: The function
IsSystem
and IsPermissionGranted in the test TOKEN_HAP
83
EXPECT_FALSE(Permission::
IsSystem
());
in HWTEST_F()
86
EXPECT_TRUE(Permission::
IsSystem
());
in HWTEST_F()
94
* @tc.desc: The
IsSystem
and IsPermissionGranted do not have permissions on TOKEN_INVALID or TOKEN_TYPE_BUTT types
101
EXPECT_FALSE(Permission::
IsSystem
());
in HWTEST_F()
105
EXPECT_FALSE(Permission::
IsSystem
());
in HWTEST_F()
145
* @tc.desc: Test Permission function
IsSystem
i
[all...]
/base/powermgr/power_manager/utils/permission/include/
H
A
D
permission.h
26
static bool
IsSystem
();
/base/powermgr/display_manager/state_manager/service/native/src/
H
A
D
display_power_mgr_service.cpp
226
if (!Permission::
IsSystem
()) {
in SetDisplayState()
308
if (!Permission::
IsSystem
()) {
in SetBrightness()
321
if (!Permission::
IsSystem
()) {
in DiscountBrightness()
345
if (!Permission::
IsSystem
()) {
in OverrideBrightness()
360
if (!Permission::
IsSystem
()) {
in OverrideDisplayOffDelay()
376
if (!Permission::
IsSystem
()) {
in RestoreBrightness()
419
if (!Permission::
IsSystem
()) {
in AdjustBrightness()
437
if (!Permission::
IsSystem
()) {
in AutoAdjustBrightness()
511
if (!Permission::
IsSystem
()) {
in RegisterCallback()
535
if (!Permission::
IsSystem
()) {
in BoostBrightness()
[all...]
/base/powermgr/power_manager/services/native/src/
H
A
D
power_mgr_service.cpp
781
if (!Permission::
IsSystem
()) {
in Dump()
803
if (!Permission::
IsSystem
()) {
in RebootDevice()
831
if (!Permission::
IsSystem
()) {
in ShutDownDevice()
863
if (!Permission::
IsSystem
()) {
in SetSuspendTag()
876
if (!Permission::
IsSystem
()) {
in SuspendDevice()
891
if (!Permission::
IsSystem
()) {
in WakeupDevice()
904
if (!Permission::IsPermissionGranted("ohos.permission.REFRESH_USER_ACTION") || !Permission::
IsSystem
()) {
in RefreshActivity()
933
if (!Permission::
IsSystem
()) {
in OverrideScreenOffTime()
944
if (!Permission::
IsSystem
()) {
in RestoreScreenOffTime()
992
if (!Permission::
IsSystem
()) {
in ForceSuspendDevice()
[all...]
/base/powermgr/thermal_manager/services/native/src/
H
A
D
thermal_service.cpp
397
if (!Permission::
IsSystem
()) {
in SubscribeThermalTempCallback()
408
if (!Permission::
IsSystem
()) {
in UnSubscribeThermalTempCallback()
446
if (!Permission::
IsSystem
()) {
in SubscribeThermalActionCallback()
458
if (!Permission::
IsSystem
()) {
in UnSubscribeThermalActionCallback()
500
if (!Permission::
IsSystem
()) {
in SetScene()
509
if (!Permission::
IsSystem
()) {
in UpdateThermalState()
657
if (!Permission::
IsSystem
() || !isBootCompleted_) {
in ShellDump()
674
if (!Permission::
IsSystem
()) {
in Dump()
/base/powermgr/power_manager/test/unittest/src/
H
A
D
power_screenon_mock_test.cpp
68
bool Permission::
IsSystem
()
in IsSystem()
function in Permission
/base/powermgr/battery_manager/services/native/src/
H
A
D
battery_service.cpp
505
if (!Permission::
IsSystem
() || !Permission::IsNativePermissionGranted("ohos.permission.POWER_OPTIMIZATION")) {
in SetBatteryConfig()
522
if (!Permission::
IsSystem
()) {
in GetBatteryConfig()
545
if (!Permission::
IsSystem
()) {
in IsBatteryConfigSupported()
664
if (!Permission::
IsSystem
()) {
in GetTotalEnergy()
704
if (!Permission::
IsSystem
()) {
in GetRemainEnergy()
763
if (!Permission::
IsSystem
()) {
in GetRemainingChargeTime()
808
if (!Permission::
IsSystem
()) {
in Dump()
/base/powermgr/power_manager/utils/permission/src/
H
A
D
permission.cpp
51
bool Permission::
IsSystem
()
in IsSystem()
function in OHOS::PowerMgr::Permission
/base/powermgr/power_manager/test/unittest/src/mock/
H
A
D
power_mock_parcel_test.cpp
221
EXPECT_TRUE(Permission::
IsSystem
());
in HWTEST_F()
/base/global/resource_management/interfaces/js/innerkits/core/include/
H
A
D
resource_manager_addon.h
62
inline bool
IsSystem
()
in IsSystem()
function in OHOS::Global::Resource::ResourceManagerAddon
/base/global/resource_management/interfaces/js/innerkits/core/src/
H
A
D
resource_manager_napi_utils.cpp
406
if (dataContext->addon_->
IsSystem
()) {
in GetHapResourceManager()
/base/powermgr/power_manager/services/native/src/wakeup/
H
A
D
wakeup_controller.cpp
500
if (!Permission::
IsSystem
()) {
in ControlListener()
Completed in 14 milliseconds