/base/miscservices/wallpaper/interfaces/kits/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/global/i18n_standard/frameworks/intl/src/ |
D | collator.cpp | 27 std::string Collator::ParseOption(std::map<std::string, std::string> &options, const std::string &k… in ParseOption() argument 29 std::map<std::string, std::string>::iterator it = options.find(key); in ParseOption() 30 if (it != options.end()) { in ParseOption() 37 void Collator::ParseAllOptions(std::map<std::string, std::string> &options) in ParseAllOptions() argument 39 localeMatcher = ParseOption(options, "localeMatcher"); in ParseAllOptions() 44 usage = ParseOption(options, "usage"); in ParseAllOptions() 49 sensitivity = ParseOption(options, "sensitivity"); in ParseAllOptions() 54 ignorePunctuation = ParseOption(options, "ignorePunctuation"); in ParseAllOptions() 59 numeric = ParseOption(options, "numeric"); in ParseAllOptions() 60 caseFirst = ParseOption(options, "caseFirst"); in ParseAllOptions() [all …]
|
D | plural_rules.cpp | 30 std::string PluralRules::ParseOption(std::map<std::string, std::string> &options, const std::string… in ParseOption() argument 32 std::map<std::string, std::string>::iterator it = options.find(key); in ParseOption() 33 if (it != options.end()) { in ParseOption() 40 void PluralRules::ParseAllOptions(std::map<std::string, std::string> &options) in ParseAllOptions() argument 42 localeMatcher = ParseOption(options, "localeMatcher"); in ParseAllOptions() 44 type = ParseOption(options, "type"); in ParseAllOptions() 46 std::string minIntegerStr = ParseOption(options, "minimumIntegerDigits"); in ParseAllOptions() 51 std::string minFractionStr = ParseOption(options, "minimumFractionDigits"); in ParseAllOptions() 52 std::string maxFractionStr = ParseOption(options, "maximumFractionDigits"); in ParseAllOptions() 53 std::string minSignificantStr = ParseOption(options, "minimumSignificantDigits"); in ParseAllOptions() [all …]
|
/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_standard/interfaces/js/kits/src/ |
D | intl_addon.cpp | 165 void GetOptionValue(napi_env env, napi_value options, const std::string &optionName, in GetOptionValue() argument 170 napi_status status = napi_typeof(env, options, &type); in GetOptionValue() 176 … napi_status propStatus = napi_has_named_property(env, options, optionName.c_str(), &hasProperty); in GetOptionValue() 178 status = napi_get_named_property(env, options, optionName.c_str(), &optionValue); in GetOptionValue() 189 void GetIntegerOptionValue(napi_env env, napi_value options, const std::string &optionName, in GetIntegerOptionValue() argument 194 napi_status status = napi_typeof(env, options, &type); in GetIntegerOptionValue() 200 … napi_status propStatus = napi_has_named_property(env, options, optionName.c_str(), &hasProperty); in GetIntegerOptionValue() 202 status = napi_get_named_property(env, options, optionName.c_str(), &optionValue); in GetIntegerOptionValue() 213 void GetBoolOptionValue(napi_env env, napi_value options, const std::string &optionName, in GetBoolOptionValue() argument 218 napi_status status = napi_typeof(env, options, &type); in GetBoolOptionValue() [all …]
|
/base/global/i18n_standard/frameworks/intl/test/unittest/ |
D | intl_test.cpp | 61 map<string, string> options = { { "year", "numeric" }, variable 69 DateTimeFormat *dateFormat = new (std::nothrow) DateTimeFormat(locales, options); 97 map<string, string> options = { { "hourCycle", "h11" }, variable 100 LocaleInfo *loc = new (std::nothrow) LocaleInfo(locale, options); 156 map<string, string> options = { { "dateStyle", dateStyle }, variable 158 DateTimeFormat *dateFormat = new (std::nothrow) DateTimeFormat(locales, options); 183 map<string, string> options = { { "year", "numeric" }, variable 187 DateTimeFormat *dateFormat = new (std::nothrow) DateTimeFormat(locales, options); 219 map<string, string> options = { { "useGrouping", useGrouping }, variable 225 NumberFormat *numFmt = new (std::nothrow) NumberFormat(locales, options); [all …]
|
/base/security/huks/interfaces/kits/js/ |
D | @ohos.security.huks.d.ts | 32 …function generateKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksResult>) … 33 function generateKey(keyAlias: string, options: HuksOptions) : Promise<HuksResult>; 42 …function deleteKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksResult>) : … 43 function deleteKey(keyAlias: string, options: HuksOptions) : Promise<HuksResult>; 52 …function importKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksResult>) : … 53 function importKey(keyAlias: string, options: HuksOptions) : Promise<HuksResult>; 62 …function exportKey(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksResult>) : … 63 function exportKey(keyAlias: string, options: HuksOptions) : Promise<HuksResult>; 72 …function getKeyProperties(keyAlias: string, options: HuksOptions, callback: AsyncCallback<HuksResu… 73 function getKeyProperties(keyAlias: string, options: HuksOptions) : Promise<HuksResult>; [all …]
|
/base/powermgr/display_manager/interfaces/kits/js/ |
D | @system.brightness.d.ts | 197 static getValue(options?: GetBrightnessOptions): void; 204 static setValue(options?: SetBrightnessOptions): void; 211 static getMode(options?: GetBrightnessModeOptions): void; 218 static setMode(options?: SetBrightnessModeOptions): void; 225 static setKeepScreenOn(options?: SetKeepScreenOnOptions): void;
|
/base/telephony/state_registry/interfaces/kits/js/ |
D | @ohos.telephony.observer.d.ts | 53 …function on(type: 'networkStateChange', options: { slotId: number }, callback: Callback<NetworkSta… 66 function on(type: 'signalInfoChange', options: { slotId: number }, 86 function on(type: 'cellInfoChange', options: { slotId: number }, 107 function on(type: 'cellularDataConnectionStateChange', options: { slotId: number }, 123 function on(type: 'cellularDataFlowChange', options: { slotId: number }, 140 function on(type: 'callStateChange', options: { slotId: number }, 157 …function on(type: 'simStateChange', options: { slotId: number }, callback: Callback<SimStateData>)…
|
/base/account/os_account/services/accountmgr/src/appaccount/ |
D | app_account_authenticator_stub.cpp | 49 std::shared_ptr<AAFwk::WantParams> options(data.ReadParcelable<AAFwk::WantParams>()); in OnRemoteRequest() local 51 if ((options == nullptr) || (callback == nullptr)) { in OnRemoteRequest() 56 result = Authenticate(name, authType, callerBundleName, *options, callback); in OnRemoteRequest() 67 std::shared_ptr<AAFwk::WantParams> options(data.ReadParcelable<AAFwk::WantParams>()); in OnRemoteRequest() local 69 if ((options == nullptr) || (callback == nullptr)) { in OnRemoteRequest() 74 result = AddAccountImplicitly(authType, callerBundleName, *options, callback); in OnRemoteRequest()
|
D | app_account_authenticator_proxy.cpp | 35 …const std::string &callerBundleName, const AAFwk::WantParams &options, const sptr<IRemoteObject> &… in AddAccountImplicitly() argument 54 if (!data.WriteParcelable(&options)) { in AddAccountImplicitly() 70 …const std::string &callerBundleName, const AAFwk::WantParams &options, const sptr<IRemoteObject> &… in Authenticate() argument 93 if (!data.WriteParcelable(&options)) { in Authenticate()
|
/base/global/i18n_standard/frameworks/intl/include/ |
D | plural_rules.h | 34 PluralRules(std::vector<std::string> &localeTags, std::map<std::string, std::string> &options); 54 std::string ParseOption(std::map<std::string, std::string> &options, const std::string &key); 55 void ParseAllOptions(std::map<std::string, std::string> &options); 56 …InitPluralRules(std::vector<std::string> &localeTags, std::map<std::string, std::string> &options);
|
D | collator.h | 40 Collator(std::vector<std::string> &localeTags, std::map<std::string, std::string> &options); 43 void ResolvedOptions(std::map<std::string, std::string> &options); 60 std::string ParseOption(std::map<std::string, std::string> &options, const std::string &key); 61 void ParseAllOptions(std::map<std::string, std::string> &options);
|
/base/powermgr/display_manager/frameworks/napi/ |
D | brightness_module.cpp | 39 napi_value options = asyncBrightness->GetCallbackInfo(info, napi_object); in SyncWork() local 40 RETURN_IF_WITH_RET(options == nullptr, nullptr); in SyncWork() 41 RETURN_IF_WITH_RET(!asyncBrightness->CreateCallbackRef(options), nullptr); in SyncWork() 43 asyncBrightness->CreateValueRef(options, valName, napi_number); in SyncWork() 146 napi_value options = asyncBrightness->GetCallbackInfo(info, napi_object); in SetKeepScreenOn() local 147 RETURN_IF_WITH_RET(options == nullptr, nullptr); in SetKeepScreenOn() 148 RETURN_IF_WITH_RET(!asyncBrightness->CreateCallbackRef(options), nullptr); in SetKeepScreenOn() 149 asyncBrightness->CreateValueRef(options, Brightness::KEEP_SCREENON, napi_boolean); in SetKeepScreenOn()
|
D | brightness.cpp | 159 napi_value options = argv[ARGV_ONE]; in GetCallbackInfo() local 160 RETURN_IF_WITH_RET(!CheckValueType(options, checkType), nullptr); in GetCallbackInfo() 161 return options; in GetCallbackInfo() 164 bool Brightness::CreateCallbackRef(napi_value& options) in CreateCallbackRef() argument 166 RETURN_IF_WITH_RET(!CheckValueType(options, napi_object), false); in CreateCallbackRef() 168 napi_value succCallBack = GetOptions(options, FUNC_SUCEESS_NAME, napi_function); in CreateCallbackRef() 173 napi_value failCallBack = GetOptions(options, FUNC_FAIL_NAME, napi_function); in CreateCallbackRef() 178 napi_value completeCallBack = GetOptions(options, FUNC_COMPLETE_NAME, napi_function); in CreateCallbackRef() 185 void Brightness::CreateValueRef(napi_value& options, const std::string& valName, napi_valuetype che… in CreateValueRef() argument 187 napi_value value = GetOptions(options, valName, checkType); in CreateValueRef() [all …]
|
/base/global/i18n_standard/interfaces/js/kits/include/ |
D | intl_addon.h | 34 void GetOptionValue(napi_env env, napi_value options, const std::string &optionName, 36 void GetBoolOptionValue(napi_env env, napi_value options, const std::string &optionName, 38 void GetIntegerOptionValue(napi_env env, napi_value options, const std::string &optionName, 40 void GetDateOptionValues(napi_env env, napi_value options, std::map<std::string, std::string> &map); 41 void GetNumberOptionValues(napi_env env, napi_value options, std::map<std::string, std::string> &ma… 42 void GetCollatorOptionValue(napi_env env, napi_value options, std::map<std::string, std::string> &m… 43 void GetPluralRulesOptionValues(napi_env env, napi_value options, std::map<std::string, std::string… 44 … SetOptionProperties(napi_env env, napi_value &result, std::map<std::string, std::string> &options, 47 std::map<std::string, std::string> &options, const std::string &option); 49 std::map<std::string, std::string> &options, const std::string &option); [all …]
|
/base/notification/ans_standard/frameworks/ans/native/src/ |
D | notification_user_input.cpp | 71 const std::string &tag, const std::vector<std::string> &options, bool permitFreeFormInput, in Create() argument 86 if (options.empty() && permitMimeTypes.empty()) { in Create() 98 …NotificationUserInput(inputKey, tag, options, permitFreeFormInput, permitMimeTypes, realAdditional… in Create() 112 …const std::vector<std::string> &options, bool permitFreeFormInput, const std::set<std::string> &pe… in NotificationUserInput() argument 116 options_(options), in NotificationUserInput() 150 void NotificationUserInput::SetOptions(const std::vector<std::string> &options) in SetOptions() argument 152 options_ = options; in SetOptions() 207 std::string options; in Dump() local 209 options += option + ", "; in Dump() 211 options.pop_back(); in Dump() [all …]
|
/base/global/i18n_lite/frameworks/i18n/src/ |
D | locale_info.cpp | 298 uint16_t options = OPT_LANG; in ParseLanguageTag() local 317 if (!ParseNormalSubTag(locale, start, tagLength, options, type)) { in ParseLanguageTag() 318 if ((options & OPT_EXTENSION) && (type == TAG_VALUE)) { in ParseLanguageTag() 328 …Info::ParseNormalSubTag(LocaleInfo &locale, const char *start, size_t tagLength, uint16_t &options, in ParseNormalSubTag() argument 334 if ((options & OPT_LANG) && (type == TAG_COMMON)) { in ParseNormalSubTag() 337 options &= ~OPT_LANG; in ParseNormalSubTag() 338 options |= OPT_SCRIPT | OPT_REGION | OPT_EXTENSION; in ParseNormalSubTag() 342 if ((options & OPT_SCRIPT) && (type == TAG_COMMON)) { in ParseNormalSubTag() 344 options &= ~OPT_SCRIPT; in ParseNormalSubTag() 349 if ((options & OPT_REGION) && (type == TAG_COMMON)) { in ParseNormalSubTag() [all …]
|
/base/security/selinux/interfaces/tools/hap_restorecon/ |
D | test.cpp | 56 static void SetOptions(int argc, char *argv[], const option *options, testInput &input) in SetOptions() argument 61 while ((para = getopt_long(argc, argv, optStr, options, &index)) != -1) { in SetOptions() 104 struct option options[] = { in main() local 117 SetOptions(argc, argv, options, testCmd); in main()
|
/base/telephony/sms_mms/interfaces/kits/js/ |
D | @ohos.telephony.sms.d.ts | 68 function sendMessage(options: SendMessageOptions): void; 135 function addSimMessage(options: SimMessageOptions, callback: AsyncCallback<void>): void; 136 function addSimMessage(options: SimMessageOptions): Promise<void>; 151 function updateSimMessage(options: UpdateSimMessageOptions, callback: AsyncCallback<void>): void; 152 function updateSimMessage(options: UpdateSimMessageOptions): Promise<void>; 167 function setCBConfig(options: CBConfigOptions, callback: AsyncCallback<void>): void; 168 function setCBConfig(options: CBConfigOptions): Promise<void>;
|
/base/telephony/call_manager/interfaces/kits/js/ |
D | @ohos.telephony.call.d.ts | 39 … function dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback<boolean>): void; 40 function dial(phoneNumber: string, options?: DialOptions): Promise<boolean>; 94 …function isEmergencyPhoneNumber(phoneNumber: string, options: EmergencyNumberOptions, callback: As… 95 …function isEmergencyPhoneNumber(phoneNumber: string, options?: EmergencyNumberOptions): Promise<bo… 108 …function formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallb… 109 function formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise<string>; 137 …function reject(callId: number, options: RejectMessageOptions, callback: AsyncCallback<void>): voi… 138 function reject(callId: number, options?: RejectMessageOptions): Promise<void>;
|
/base/account/os_account/interfaces/kits/napi/appaccount/include/ |
D | napi_app_account_authenticator.h | 39 AAFwk::WantParams options; member 55 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) override; 58 const AAFwk::WantParams &options, const sptr<IRemoteObject> &callback) override;
|
/base/notification/ans_standard/services/distributed/src/ |
D | distributed_preferences_database.cpp | 61 DistributedKv::Options options; in GetKvStore() local 62 options.createIfMissing = true; in GetKvStore() 63 options.autoSync = false; in GetKvStore() 64 options.kvStoreType = DistributedKv::KvStoreType::SINGLE_VERSION; in GetKvStore() 68 status = kvDataManager_->GetSingleKvStore(options, appId, storeId, kvStore_); in GetKvStore()
|
/base/miscservices/time/interfaces/kits/js/declaration/api/ |
D | @ohos.systemtimer.d.ts | 52 function createTimer(options: TimerOptions, callback: AsyncCallback<number>): void; 53 function createTimer(options: TimerOptions): Promise<number>;
|
/base/security/selinux/interfaces/tools/service_check/ |
D | test.cpp | 51 static void SetOptions(int argc, char *argv[], const option *options, testInput &input) in SetOptions() argument 56 while ((para = getopt_long(argc, argv, optStr, options, &index)) != -1) { in SetOptions() 91 struct option options[] = { in main() local 104 SetOptions(argc, argv, options, input); in main()
|