Home
last modified time | relevance | path

Searched refs:attribute (Results 1 – 25 of 35) sorted by relevance

12

/base/security/selinux_adapter/sepolicy/base/public/
Dattributes17 attribute dev_attr;
21 attribute domain;
28 attribute fs_attr;
32 attribute proc_attr;
37 attribute file_attr;
41 attribute rootfs_file_attr;
45 attribute system_file_attr;
49 attribute sys_prod_file_attr;
53 attribute vendor_file_attr;
57 attribute chip_prod_file_attr;
[all …]
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
Dprint_preview_attribute_test.cpp50 OHOS::Print::PrintPreviewAttribute attribute; variable
51 attribute.Dump();
62 OHOS::Print::PrintPreviewAttribute attribute; variable
63 attribute.Reset();
64 EXPECT_FALSE(attribute.HasResult());
75 OHOS::Print::PrintPreviewAttribute attribute; variable
76 attribute.SetResult(6);
77 EXPECT_EQ((uint32_t)6, attribute.GetResult());
88 OHOS::Print::PrintPreviewAttribute attribute; variable
90 attribute.SetResult(6);
[all …]
/base/inputmethod/imf/test/unittest/cpp_test/src/
Dinput_method_attach_test.cpp131 InputAttribute attribute; variable
132 attribute.inputPattern = 2;
133 attribute.enterKeyType = 1;
134 auto ret = inputMethodController_->Attach(textListener, true, attribute);
140 EXPECT_EQ(keyType, attribute.enterKeyType);
144 EXPECT_EQ(inputPattern, attribute.inputPattern);
156 InputAttribute attribute; variable
157 attribute.inputPattern = 3;
158 attribute.enterKeyType = 2;
160 config.inputAttribute = attribute;
[all …]
/base/startup/init/services/init/include/
Dinit_service.h71 (((service)->attribute & SERVICE_ATTR_ONDEMAND) == SERVICE_ATTR_ONDEMAND)
74 ((service)->attribute |= SERVICE_ATTR_ONDEMAND)
77 ((service)->attribute &= ~SERVICE_ATTR_ONDEMAND)
80 (((service)->attribute & SERVICE_ATTR_TIMERSTART) == SERVICE_ATTR_TIMERSTART)
83 ((service)->attribute &= ~SERVICE_ATTR_TIMERSTART)
86 ((service)->attribute |= SERVICE_ATTR_TIMERSTART)
89 ((service)->attribute |= SERVICE_ATTR_WITHOUT_SANDBOX)
92 ((service)->attribute &= ~SERVICE_ATTR_WITHOUT_SANDBOX)
140 unsigned int attribute; member
187 void SetServiceEnterSandbox(const char *execPath, unsigned int attribute);
/base/startup/init/test/unittest/init/
Dservice_unittest.cpp100 service->attribute = SERVICE_ATTR_ONDEMAND;
113 service->attribute &= SERVICE_ATTR_NEED_RESTART;
120 service->attribute = SERVICE_ATTR_TIMERSTART;
144 service->attribute &= SERVICE_ATTR_INVALID;
159 EXPECT_EQ(service->attribute, 0);
160 service->attribute = SERVICE_ATTR_ONDEMAND;
162 service->attribute = 0;
167 EXPECT_EQ(service->attribute, 0);
172 EXPECT_EQ(service->attribute, 0);
174 service->attribute |= SERVICE_ATTR_ONCE;
[all …]
Dservice_socket_unittest.cpp42 service->attribute = SERVICE_ATTR_ONDEMAND;
/base/startup/init/services/init/lite/
Dinit_service.c60 service->attribute |= SERVICE_ATTR_IMPORTANT; in SetImportantValue()
91 void SetServiceEnterSandbox(const char *path, unsigned int attribute) in SetServiceEnterSandbox() argument
94 UNUSED(attribute); in SetServiceEnterSandbox()
Dinit_signal_handler.c38 if (service->attribute & SERVICE_ATTR_IMPORTANT) { in ReapService()
/base/update/update_app/feature/ota/src/main/ets/util/
DChangelogParseUtils.ets87 let attribute = element['_attributes']['name'];
88 logInfo('default-language :' + attribute);
89 changelog.defLanguage = attribute;
92 let attribute = element['_elements']?.[0]?.['_text'];
93 logInfo('displayType :' + attribute);
94 changelog.displayType = attribute;
107 let attribute: string;
112 attribute = element['_attributes']['name'];
114 language.language = attribute;
/base/startup/init/services/init/
Dinit_common_service.c321 SetServiceEnterSandbox(service->pathArgs.argv[0], service->attribute); in InitServiceProperties()
335 if ((service->attribute & SERVICE_ATTR_CONSOLE)) { in InitServiceProperties()
519 if (service->attribute & SERVICE_ATTR_INVALID) { in ServiceStart()
524 service->attribute &= (~(SERVICE_ATTR_NEED_RESTART | SERVICE_ATTR_NEED_STOP)); in ServiceStart()
526 service->attribute |= SERVICE_ATTR_INVALID; in ServiceStart()
543 if (service->attribute & SERVICE_ATTR_MODULE_UPDATE) { in ServiceStart()
586 service->attribute &= ~SERVICE_ATTR_NEED_RESTART; in ServiceStop()
587 service->attribute |= SERVICE_ATTR_NEED_STOP; in ServiceStop()
673 service->attribute |= SERVICE_ATTR_INVALID; in CheckOndemandService()
692 if (service->attribute & SERVICE_ATTR_INVALID) { in ServiceReap()
[all …]
Dinit_service_manager.c323 curServ->attribute &= ~flag; in GetServiceAttr()
327 curServ->attribute |= flag; in GetServiceAttr()
571 curServ->attribute &= ~SERVICE_ATTR_ONDEMAND; in GetServiceOnDemand()
575 if (curServ->attribute & SERVICE_ATTR_CRITICAL) { in GetServiceOnDemand()
580 curServ->attribute |= SERVICE_ATTR_ONDEMAND; in GetServiceOnDemand()
665 curServ->attribute &= ~flag; in GetCritical()
668 curServ->attribute |= flag; in GetCritical()
684 curServ->attribute |= flag; in GetCritical()
687 curServ->attribute &= ~flag; in GetCritical()
1140 service->attribute |= (flags & SERVICE_ATTR_INVALID); in StopAllServices()
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
Dinput_client_info.h35 InputAttribute attribute; // the input client attribute member
/base/startup/init/services/init/standard/
Dinit_service.c77 service->attribute |= SERVICE_ATTR_IMPORTANT; in SetImportantValue()
159 void SetServiceEnterSandbox(const char *execPath, unsigned int attribute) in SetServiceEnterSandbox() argument
164 if ((attribute & SERVICE_ATTR_WITHOUT_SANDBOX) == SERVICE_ATTR_WITHOUT_SANDBOX) { in SetServiceEnterSandbox()
/base/telephony/cellular_data/services/include/apn_manager/
Dapn_item.h43 struct attribute { struct
/base/inputmethod/imf/test/unittest/napi_test/src/
DInputMethodWithAttachTest.js323 …let attribute = { textInputType: inputMethod.TextInputType.TEXT, enterKeyType: inputMethod.EnterKe… variable
324 inputMethodCtrl.updateAttribute(attribute, (err) => {
353 let attribute = { textInputType: 1, enterKeyType: 1 }; variable
354 inputMethodCtrl.updateAttribute(attribute).then(() => {
DInputMethodTest.js725 let attribute = { variable
730 inputAttribute: attribute
759 let attribute = { variable
764 inputAttribute: attribute
978 …let attribute = {textInputType: inputMethod.TextInputType.TEXT, enterKeyType: inputMethod.EnterKey… variable
980 inputMethodCtrl.updateAttribute(attribute, (err) => {
/base/sensors/miscdevice/
DREADME_zh.md84 …0"></a><a name="p15297217910"></a>startVibration(effect: VibrateEffect, attribute: VibrateAttribut…
86 …p143812128476"></a><a name="p143812128476"></a>按照指定的effect和attribute触发振动。effect为振动效果,attribute为振动属…
89 …"></a><a name="p599153172316"></a>startVibration(effect: VibrateEffect, attribute: VibrateAttribut…
91 …099114392316"></a><a name="p1099114392316"></a>按照指定的effect和attribute触发振动。effect为振动效果,attribute为振动属…
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
Dinput_method_controller.cpp145 InputAttribute attribute = { .inputPattern = InputAttribute::PATTERN_TEXT }; in Initialize() local
146 clientInfo_ = { .attribute = attribute, .client = client, .channel = channel }; in Initialize()
408 InputAttribute attribute; in Attach() local
409 attribute.inputPattern = InputAttribute::PATTERN_TEXT; in Attach()
410 return Attach(listener, isShowKeyboard, attribute); in Attach()
414 sptr<OnTextChangedListener> &listener, bool isShowKeyboard, const InputAttribute &attribute) in Attach() argument
419 textConfig.inputAttribute = attribute; in Attach()
Ditypes_util.cpp229 …if (!Marshal(data, input.pid, input.uid, input.userID, input.displayID, input.attribute, input.isS… in Marshalling()
239 if (!Unmarshal(data, output.pid, output.uid, output.userID, output.displayID, output.attribute, in Unmarshalling()
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
Dinput_method_ability.cpp352 InputAttribute attribute; in OnConfigurationChange() local
353 attribute.enterKeyType = data->ReadInt32(); in OnConfigurationChange()
354 attribute.inputPattern = data->ReadInt32(); in OnConfigurationChange()
355 kdListener_->OnEditorAttributeChange(attribute); in OnConfigurationChange()
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
Djs_utils.cpp324 napi_value JsUtils::GetValue(napi_env env, const InputAttribute &attribute) in GetValue() argument
329 …auto ret = JsUtil::Object::WriteProperty(env, editorAttribute, "inputPattern", attribute.inputPatt… in GetValue()
330 …ret = ret && JsUtil::Object::WriteProperty(env, editorAttribute, "enterKeyType", attribute.enterKe… in GetValue()
Djs_utils.h112 static napi_value GetValue(napi_env env, const InputAttribute &attribute);
Djs_get_input_method_controller.h49 InputAttribute attribute; member
133 InputAttribute attribute; member
/base/telephony/cellular_data/services/src/apn_manager/
Dapn_item.cpp66 attribute attr = {"", "46002", DATA_PROFILE_DEFAULT, "IPV4V6", "IPV4V6", in MakeDefaultApn()
/base/inputmethod/imf/
DREADME.md44 1. Click in the edit attribute control to invoke the default input method application through the i…

12