/base/startup/init/services/etc/appender/ |
D | file_appender.py | 35 options, _ = parser.parse_args(args) 36 return options 39 def append_files(target_f, options): argument 41 with open(options.source_file, 'r') as source_f: 45 if options.files: 46 for append_f in options.files: 49 if options.lines: 50 for line in options.lines: 60 options = parse_args(args) 62 if options.files: [all …]
|
/base/time/time_service/test/unittest/js_test/permission/ |
D | SystemTimerNormal.test.js | 32 let options = { 36 systemTimer.createTimer(options, async (err, timerId) => { 55 let options = { 59 systemTimer.createTimer(options, async (err, timer) => { 78 let options = { 82 systemTimer.createTimer(options, async (err, timer) => { 101 let options = { 105 systemTimer.createTimer(options, async (err, timer) => { 124 let options = { 128 systemTimer.createTimer(options, async (err, timer) => { [all …]
|
D | SystemTimerException.test.js | 31 let options = { 35 let timerId = await systemTimer.createTimer(options) 50 let options = { 55 systemTimer.createTimer(options).then(() => { 74 let options = { 79 systemTimer.createTimer(options).then(() => { 99 let options = { 105 systemTimer.createTimer(options).then(() => { 124 let options = { 130 systemTimer.createTimer(options).then(() => { [all …]
|
/base/security/huks/interfaces/kits/js/ |
D | @ohos.security.huks.d.ts | 37 …function generateKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksResult>):… 50 function generateKey(keyAlias: string, options: HuksOptions): Promise<HuksResult>; 73 …function generateKeyItem(keyAlias: string, options: HuksOptions, callback: AsyncCallback<void>): v… 96 function generateKeyItem(keyAlias: string, options: HuksOptions): Promise<void>; 109 …function deleteKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksResult>): v… 122 function deleteKey(keyAlias: string, options: HuksOptions): Promise<HuksResult>; 140 …function deleteKeyItem(keyAlias: string, options: HuksOptions, callback: AsyncCallback<void>): voi… 158 function deleteKeyItem(keyAlias: string, options: HuksOptions): Promise<void>; 171 …function importKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksResult>): v… 184 function importKey(keyAlias: string, options: HuksOptions): Promise<HuksResult>; [all …]
|
/base/global/i18n/frameworks/intl/test/unittest/ |
D | intl_test.cpp | 82 map<string, string> options = { { "year", "numeric" }, variable 90 DateTimeFormat *dateFormat = new (std::nothrow) DateTimeFormat(locales, options); 118 map<string, string> options = { { "hourCycle", "h11" }, variable 121 LocaleInfo *loc = new (std::nothrow) LocaleInfo(locale, options); 181 map<string, string> options = { { "dateStyle", dateStyle }, variable 183 DateTimeFormat *dateFormat = new (std::nothrow) DateTimeFormat(locales, options); 208 map<string, string> options = { { "year", "numeric" }, variable 212 DateTimeFormat *dateFormat = new (std::nothrow) DateTimeFormat(locales, options); 244 map<string, string> options = { { "useGrouping", useGrouping }, variable 250 NumberFormat *numFmt = new (std::nothrow) NumberFormat(locales, options); [all …]
|
/base/print/print_fwk/interfaces/kits/jsnapi/extensionctx/ |
D | print_extension_context.js | 24 startAbility(want, options, callback) { argument 26 return this.__context_impl__.startAbility(want, options, callback); 29 connectAbility(want, options) { argument 31 return this.__context_impl__.connectAbility(want, options); 34 startAbilityWithAccount(want, accountId, options, callback) { argument 36 return this.__context_impl__.startAbilityWithAccount(want, accountId, options, callback); 39 connectAbilityWithAccount(want, accountId, options) { argument 41 return this.__context_impl__.connectAbilityWithAccount(want, accountId, options);
|
/base/theme/wallpaper_mgr/frameworks/js/napi/wallpaper_extension_context/ |
D | wallpaper_extension_context.js | 24 startAbility(want, options, callback) { argument 26 return this.__context_impl__.startAbility(want, options, callback); 29 connectAbility(want, options) { argument 31 return this.__context_impl__.connectAbility(want, options); 34 startAbilityWithAccount(want, accountId, options, callback) { argument 36 return this.__context_impl__.startAbilityWithAccount(want, accountId, options, callback); 39 connectAbilityWithAccount(want, accountId, options) { argument 41 return this.__context_impl__.connectAbilityWithAccount(want, accountId, options);
|
/base/inputmethod/imf/frameworks/js/napi/inputmethod_extension_context/ |
D | inputmethod_extension_context.js | 24 startAbility(want, options, callback) { argument 26 return this.__context_impl__.startAbility(want, options, callback); 29 connectAbility(want, options) { argument 31 return this.__context_impl__.connectAbility(want, options); 34 startAbilityWithAccount(want, accountId, options, callback) { argument 36 return this.__context_impl__.startAbilityWithAccount(want, accountId, options, callback); 39 connectAbilityWithAccount(want, accountId, options) { argument 41 return this.__context_impl__.connectAbilityWithAccount(want, accountId, options);
|
/base/startup/init/services/etc/param/ |
D | param_fixer.py | 35 options, _ = parser.parse_args(args) 36 return options 54 def fix_para_file(options): argument 58 with open(options.source_file, 'r') as f: 67 if options.extra: 68 parse_extra_params(options.extra, contents) 72 with os.fdopen(os.open(options.output, flags, modes), 'w') as f: 77 options = parse_args(args) 79 depfile_deps = ([options.source_file]) 81 fix_para_file(options) [all …]
|
/base/account/os_account/test/fuzztest/appaccount/selectaccountsbyoptions_fuzzer/ |
D | selectaccountsbyoptions_fuzzer.cpp | 55 SelectAccountsOptions options; in SelectAccountsByOptionsFuzzTest() local 56 options.hasAccounts = (size % CONSTANTS_NUMBER_TWO) == 0 ? true : false; in SelectAccountsByOptionsFuzzTest() 57 options.hasOwners = (size % CONSTANTS_NUMBER_TWO) == 0 ? true : false; in SelectAccountsByOptionsFuzzTest() 58 options.hasLabels = (size % CONSTANTS_NUMBER_TWO) == 0 ? true : false; in SelectAccountsByOptionsFuzzTest() 59 options.allowedOwners.emplace_back(testValue); in SelectAccountsByOptionsFuzzTest() 60 options.requiredLabels.emplace_back(testValue); in SelectAccountsByOptionsFuzzTest() 62 result = AppAccountManager::SelectAccountsByOptions(options, callback); in SelectAccountsByOptionsFuzzTest()
|
/base/powermgr/battery_lite/interfaces/kits/js/ |
D | @system.battery.d.ts | 175 static BatterySOC(options?: GetBatterySOC): void; 181 static ChargingStatus(options?: GetChargingStatus): void; 187 static HealthStatus(options?: GetHealthStatus): void; 193 static PluggedType(options?: GetPluggedType): void; 199 static Voltage(options?: GetVoltage): void; 205 static Technology(options?: GetTechnology): void; 211 static Temperature(options?: GetTemperature): void;
|
/base/global/i18n/frameworks/intl/src/ |
D | collator.cpp | 36 std::string Collator::ParseOption(std::map<std::string, std::string> &options, const std::string &k… in ParseOption() argument 38 std::map<std::string, std::string>::iterator it = options.find(key); in ParseOption() 39 if (it != options.end()) { in ParseOption() 46 void Collator::ParseAllOptions(std::map<std::string, std::string> &options) in ParseAllOptions() argument 48 localeMatcher = ParseOption(options, "localeMatcher"); in ParseAllOptions() 53 usage = ParseOption(options, "usage"); in ParseAllOptions() 58 sensitivity = ParseOption(options, "sensitivity"); in ParseAllOptions() 63 ignorePunctuation = ParseOption(options, "ignorePunctuation"); in ParseAllOptions() 68 numeric = ParseOption(options, "numeric"); in ParseAllOptions() 69 caseFirst = ParseOption(options, "caseFirst"); in ParseAllOptions() [all …]
|
D | plural_rules.cpp | 41 std::string PluralRules::ParseOption(std::map<std::string, std::string> &options, const std::string… in ParseOption() argument 43 std::map<std::string, std::string>::iterator it = options.find(key); in ParseOption() 44 if (it != options.end()) { in ParseOption() 67 void PluralRules::ParseAllOptions(std::map<std::string, std::string> &options) in ParseAllOptions() argument 69 localeMatcher = ParseOption(options, "localeMatcher"); in ParseAllOptions() 71 type = ParseOption(options, "type"); in ParseAllOptions() 73 std::string minIntegerStr = ParseOption(options, "minimumIntegerDigits"); in ParseAllOptions() 79 std::string minFractionStr = ParseOption(options, "minimumFractionDigits"); in ParseAllOptions() 80 std::string maxFractionStr = ParseOption(options, "maximumFractionDigits"); in ParseAllOptions() 81 std::string minSignificantStr = ParseOption(options, "minimumSignificantDigits"); in ParseAllOptions() [all …]
|
/base/account/os_account/test/fuzztest/appaccount_stub/selectaccountsbyoptionsstub_fuzzer/ |
D | selectaccountsbyoptionsstub_fuzzer.cpp | 44 SelectAccountsOptions options; in SelectAccountsByOptionsStubFuzzTest() local 45 options.hasAccounts = (size % CONSTANTS_NUMBER_TWO) == 0 ? true : false; in SelectAccountsByOptionsStubFuzzTest() 46 options.hasOwners = (size % CONSTANTS_NUMBER_TWO) == 0 ? true : false; in SelectAccountsByOptionsStubFuzzTest() 47 options.hasLabels = (size % CONSTANTS_NUMBER_TWO) == 0 ? true : false; in SelectAccountsByOptionsStubFuzzTest() 48 options.allowedOwners.emplace_back(testValue); in SelectAccountsByOptionsStubFuzzTest() 49 options.requiredLabels.emplace_back(testValue); in SelectAccountsByOptionsStubFuzzTest() 62 if (!dataTemp.WriteParcelable(&options)) { in SelectAccountsByOptionsStubFuzzTest()
|
/base/startup/appspawn/etc/sandbox/ |
D | appdata_sandbox_fixer.py | 178 options, _ = parser.parse_args(args) 179 return options 181 def __substitude_contents(options, source_file): argument 184 if not options.patterns: 186 for pattern in options.patterns: 191 def _get_json_list(options): argument 194 contents = __substitude_contents(options, options.source_file) 198 if options.extra_sandbox_cfgs is None: 202 for sandbox_cfg in options.extra_sandbox_cfgs: 203 contents = __substitude_contents(options, sandbox_cfg) [all …]
|
/base/global/i18n/interfaces/js/kits/src/ |
D | intl_addon.cpp | 173 void GetOptionValue(napi_env env, napi_value options, const std::string &optionName, in GetOptionValue() argument 178 napi_status status = napi_typeof(env, options, &type); in GetOptionValue() 184 … napi_status propStatus = napi_has_named_property(env, options, optionName.c_str(), &hasProperty); in GetOptionValue() 186 status = napi_get_named_property(env, options, optionName.c_str(), &optionValue); in GetOptionValue() 200 void GetIntegerOptionValue(napi_env env, napi_value options, const std::string &optionName, in GetIntegerOptionValue() argument 205 napi_status status = napi_typeof(env, options, &type); in GetIntegerOptionValue() 211 … napi_status propStatus = napi_has_named_property(env, options, optionName.c_str(), &hasProperty); in GetIntegerOptionValue() 213 status = napi_get_named_property(env, options, optionName.c_str(), &optionValue); in GetIntegerOptionValue() 224 void GetBoolOptionValue(napi_env env, napi_value options, const std::string &optionName, in GetBoolOptionValue() argument 229 napi_status status = napi_typeof(env, options, &type); in GetBoolOptionValue() [all …]
|
/base/account/os_account/frameworks/appaccount/native/src/ |
D | app_account_authenticator_stub.cpp | 91 std::shared_ptr<AAFwk::WantParams> options(data.ReadParcelable<AAFwk::WantParams>()); in ProcAddAccountImplicitly() local 94 if ((options == nullptr) || (callback == nullptr)) { in ProcAddAccountImplicitly() 98 result = AddAccountImplicitly(authType, callerBundleName, *options, callback); in ProcAddAccountImplicitly() 112 std::shared_ptr<AAFwk::WantParams> options(data.ReadParcelable<AAFwk::WantParams>()); in ProcAuthenticate() local 115 if ((options == nullptr) || (callback == nullptr)) { in ProcAuthenticate() 119 result = Authenticate(name, authType, callerBundleName, *options, callback); in ProcAuthenticate() 130 …sptr<CreateAccountImplicitlyOptions> options = data.ReadParcelable<CreateAccountImplicitlyOptions>… in ProcCreateAccountImplicitly() local 133 if ((options == nullptr) || (callback == nullptr)) { in ProcCreateAccountImplicitly() 137 result = CreateAccountImplicitly(*options, callback); in ProcCreateAccountImplicitly() 150 std::shared_ptr<AAFwk::WantParams> options(data.ReadParcelable<AAFwk::WantParams>()); in ProcAuth() local [all …]
|
/base/account/os_account/services/accountmgr/test/mock/app_account/ |
D | mock_app_account_authenticator_stub.h | 26 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback); 28 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback); 30 …const std::string &name, const VerifyCredentialOptions &options, const sptr<IRemoteObject> &callba… 33 ErrCode SetProperties(const SetPropertiesOptions &options, const sptr<IRemoteObject> &callback); 35 …ErrCode CreateAccountImplicitly(const CreateAccountImplicitlyOptions &options, const sptr<IRemoteO… 36 …rrCode Auth(const std::string &name, const std::string &authType, const AAFwk::WantParams &options,
|
D | mock_app_account_authenticator_stub.cpp | 23 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) in AddAccountImplicitly() argument 31 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) in Authenticate() argument 38 …const std::string &name, const VerifyCredentialOptions &options, const sptr<IRemoteObject> &callba… in VerifyCredential() argument 52 const SetPropertiesOptions &options, const sptr<IRemoteObject> &callback) in SetProperties() argument 65 const CreateAccountImplicitlyOptions &options, const sptr<IRemoteObject> &callback) in CreateAccountImplicitly() argument 72 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) in Auth() argument
|
/base/telephony/state_registry/interfaces/kits/js/ |
D | @ohos.telephony.observer.d.ts | 80 …function on(type: 'networkStateChange', options: { slotId: number }, callback: Callback<NetworkSta… 129 …function on(type: 'signalInfoChange', options: { slotId: number }, callback: Callback<Array<Signal… 186 …function on(type: 'cellInfoChange', options: { slotId: number }, callback: Callback<Array<CellInfo… 241 function on(type: 'cellularDataConnectionStateChange', options: { slotId: number }, 293 …function on(type: 'cellularDataFlowChange', options: { slotId: number }, callback: Callback<DataFl… 343 …function on(type: 'callStateChange', options: { slotId: number }, callback: Callback<{ state: Call… 407 …function on(type: 'cfuIndicatorChange' | 'voiceMailMsgIndicatorChange', options: { slotId: number … 463 …function on(type: 'simStateChange', options: { slotId: number }, callback: Callback<SimStateData>)…
|
/base/account/os_account/frameworks/appaccount/native/include/ |
D | iapp_account_authenticator.h | 31 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) = 0; 34 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) = 0; 36 …const std::string &name, const VerifyCredentialOptions &options, const sptr<IRemoteObject> &callba… 39 …virtual ErrCode SetProperties(const SetPropertiesOptions &options, const sptr<IRemoteObject> &call… 42 const CreateAccountImplicitlyOptions &options, const sptr<IRemoteObject> &callback) = 0; 44 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) = 0;
|
/base/account/os_account/interfaces/kits/napi/appaccount/authorization_extension_context/ |
D | authorization_extension_context.js | 24 startAbilityForResult(want, options, callback) { argument 26 return this.__context_impl__.startAbilityForResult(want, options, callback); 28 connectServiceExtensionAbility(want, options) { argument 30 return this.__context_impl__.connectServiceExtensionAbility(want, options);
|
/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
D | selinux_restorecon.c | 37 SelinuxOptions options[MAX_OPT_NUM] = {0}; in SetFileContextsHandle() local 42 options[index++] = systemOption; in SetFileContextsHandle() 46 options[index++] = vendorOption; in SetFileContextsHandle() 51 options[index++] = digestOption; in SetFileContextsHandle() 53 g_fcHandle = selabel_open(SELABEL_CTX_FILE, options, index); in SetFileContextsHandle()
|
/base/global/i18n/frameworks/intl/test/fuzztest/collator_fuzzer/ |
D | collator_fuzzer.cpp | 31 std::map<std::string, std::string> options; in DoSomethingInterestingWithMyAPI() local 32 options[input] = input; in DoSomethingInterestingWithMyAPI() 33 Collator collator(localeTags, options); in DoSomethingInterestingWithMyAPI() 35 collator.ResolvedOptions(options); in DoSomethingInterestingWithMyAPI()
|
/base/account/os_account/frameworks/domain_account/test/moduletest/src/ |
D | mock_domain_plugin.cpp | 125 …const GetDomainAccountInfoOptions &options, const std::shared_ptr<DomainAccountCallback> &callback) in GetDomainAccountInfo() argument 128 if (options.accountInfo.accountName_ == ACCOUNT_NAME) { in GetDomainAccountInfo() 130 parameters.SetParam("domain", OHOS::AAFwk::String::Box(options.accountInfo.domain_)); in GetDomainAccountInfo() 131 … parameters.SetParam("accountName", OHOS::AAFwk::String::Box(options.accountInfo.accountName_)); in GetDomainAccountInfo() 136 if (options.accountInfo.accountName_ == STRING_NAME) { in GetDomainAccountInfo() 138 parameters.SetParam("domain", OHOS::AAFwk::String::Box(options.accountInfo.domain_)); in GetDomainAccountInfo() 139 … parameters.SetParam("accountName", OHOS::AAFwk::String::Box(options.accountInfo.accountName_)); in GetDomainAccountInfo() 144 if (options.accountInfo.accountName_ == STRING_NAME_NEW) { in GetDomainAccountInfo() 146 parameters.SetParam("domain", OHOS::AAFwk::String::Box(options.accountInfo.domain_)); in GetDomainAccountInfo() 147 … parameters.SetParam("accountName", OHOS::AAFwk::String::Box(options.accountInfo.accountName_)); in GetDomainAccountInfo() [all …]
|