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:rulesFile
(Results
1 - 4
of
4
) sorted by relevance
/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/
H
A
D
ark_web_adsblock_manager_wrapper.cpp
27
void ArkWebAdsBlockManagerWrapper::SetAdsBlockRules(const std::string &
rulesFile
, bool replace) {
in SetAdsBlockRules()
argument
28
ArkWebString stRulesFile = ArkWebStringClassToStruct(
rulesFile
);
in SetAdsBlockRules()
H
A
D
ark_web_adsblock_manager_wrapper.h
34
* @param
rulesFile
absolute easylist file path contains app customized ads block rules.
37
void SetAdsBlockRules(const std::string &
rulesFile
, bool replace) override;
/base/web/webview/ohos_interface/include/ohos_nweb/
H
A
D
nweb_adsblock_manager.h
34
* @param
rulesFile
absolute easylist file path contains app customized ads block rules.
37
virtual void SetAdsBlockRules(const std::string &
rulesFile
, bool replace) = 0;
/base/web/webview/interfaces/kits/napi/webadsblockmanager/
H
A
D
napi_web_adsblock_manager.cpp
89
std::string
rulesFile
;
in JsSetAdsBlockRules()
local
90
if (!NapiParseUtils::ParseString(env, argv[INTEGER_ZERO],
rulesFile
)) {
in JsSetAdsBlockRules()
93
"BusinessError 401: Parameter error. The type of
rulesFile
must be string.");
in JsSetAdsBlockRules()
97
if (
rulesFile
.length() > MAX_URL_RULES_FILEPATH_LENGTH) {
in JsSetAdsBlockRules()
98
WVLOG_E("setAdsBlockRules failed:
rulesFile
path too long > %{public}d", MAX_URL_RULES_FILEPATH_LENGTH);
in JsSetAdsBlockRules()
100
"BusinessError 401: Parameter error.
rulesFile
path too long > 255.");
in JsSetAdsBlockRules()
115
adsBlockManager->SetAdsBlockRules(
rulesFile
, replace);
in JsSetAdsBlockRules()
Completed in 3 milliseconds