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:permissionName
(Results
1 - 4
of
4
) sorted by relevance
/applications/standard/contacts_data/contacts/src/
H
A
D
contacts_telephony_permission.cpp
44
* @param
permissionName
permission name.
47
bool ContactsTelephonyPermission::CheckPermission(const std::string &
permissionName
)
in CheckPermission()
argument
49
if (
permissionName
.empty()) {
in CheckPermission()
57
callerPid,
permissionName
.c_str());
in CheckPermission()
63
result = AccessTokenKit::VerifyAccessToken(callerToken,
permissionName
);
in CheckPermission()
68
if (
permissionName
== Permission::READ_CALL_LOG
in CheckPermission()
69
||
permissionName
== Permission::READ_CONTACTS ||
permissionName
== Permission::WRITE_CONTACTS
in CheckPermission()
70
||
permissionName
== Permission::OHOS_PERMISSION_MANAGE_VOICEMAIL) {
in CheckPermission()
75
int32_t ret = PrivacyKit::AddPermissionUsedRecord(callerToken,
permissionName
, successCoun
in CheckPermission()
[all...]
/applications/standard/contacts_data/ability/common/utils/src/
H
A
D
telephony_permission.cpp
37
* @param
permissionName
permission name.
40
bool TelephonyPermission::CheckPermission(const std::string &
permissionName
)
in CheckPermission()
argument
42
if (
permissionName
.empty()) {
in CheckPermission()
53
result = AccessTokenKit::VerifyAccessToken(callerToken,
permissionName
);
in CheckPermission()
58
if (
permissionName
== Permission::READ_CALL_LOG
in CheckPermission()
59
||
permissionName
== Permission::READ_CONTACTS ||
permissionName
== Permission::WRITE_CONTACTS
in CheckPermission()
60
||
permissionName
== Permission::OHOS_PERMISSION_MANAGE_VOICEMAIL) {
in CheckPermission()
65
int32_t ret = PrivacyKit::AddPermissionUsedRecord(callerToken,
permissionName
, successCount, failCount);
in CheckPermission()
/applications/standard/contacts_data/ability/common/utils/include/
H
A
D
telephony_permission.h
33
static bool CheckPermission(const std::string &
permissionName
);
/applications/standard/contacts_data/contacts/include/
H
A
D
contacts_telephony_permission.h
35
static bool CheckPermission(const std::string &
permissionName
);
Completed in 1 milliseconds