Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/base/web/webview/ohos_nweb/include/
Dnweb_preference.h33 virtual void PutEnableContentAccess(bool flag) = 0;
39 virtual void PutEnableRawFileAccess(bool flag) = 0;
45 virtual void PutEnableRawFileAccessFromFileURLs(bool flag) = 0;
53 virtual void PutEnableUniversalAccessFromFileURLs(bool flag) = 0;
60 virtual void PutLoadImageFromNetworkDisabled(bool flag) = 0;
75 virtual void PutDatabaseAllowed(bool flag) = 0;
104 virtual void PutDomStorageEnabled(bool flag) = 0;
131 virtual void PutIsCreateWindowsByJavaScriptAllowed(bool flag) = 0;
136 virtual void PutJavaScriptEnabled(bool flag) = 0;
141 virtual void PutImageLoadingAllowed(bool flag) = 0;
[all …]
/base/sensors/miscdevice/interfaces/native/light/test/unittest/
Dlight_agent_test.cpp122 bool flag = GetLightColor(color, g_lightType); variable
123 if (!flag) {
124 ASSERT_FALSE(flag);
146 bool flag = GetLightColor(color, g_lightType); variable
147 if (!flag) {
148 ASSERT_FALSE(flag);
169 bool flag = GetLightColor(color, g_lightType); variable
170 if (!flag) {
171 ASSERT_FALSE(flag);
192 bool flag = GetLightColor(color, g_lightType); variable
[all …]
/base/startup/init/services/loopevent/utils/
Dle_utils.h26 #define LE_TEST_FLAGS(flags, flag) (((flags) & (flag)) == (flag)) argument
27 #define LE_SET_FLAGS(flags, flag) ((flags) |= (flag)) argument
28 #define LE_CLEAR_FLAGS(flags, flag) ((flags) &= ~(flag)) argument
/base/startup/init/services/param/include/
Dtrigger_checker.h38 #define LOGIC_DATA_TEST_FLAG(data, flag) (((data)->flags & flag) == (flag)) argument
39 #define LOGIC_DATA_SET_FLAG(data, flag) (data)->flags |= (flag) argument
40 #define LOGIC_DATA_CLEAR_FLAG(data, flag) (data)->flags &= ~(flag) argument
Dparam_utils.h93 #define PARAM_SET_FLAG(node, flag) ((node) |= (flag)) argument
94 #define PARAM_CLEAR_FLAG(node, flag) ((node) &= ~(flag)) argument
95 #define PARAM_TEST_FLAG(node, flag) (((node) & (flag)) == (flag)) argument
/base/telephony/cellular_call/services/control/include/
Dcellular_call_supplement.h299 void EventGetClip(const GetClipResult &getClipResult, const std::string &message, int32_t flag);
311 void EventSetClip(int32_t result, const std::string &message, int32_t flag);
323 void EventGetClir(const GetClirResult &result, const std::string &message, int32_t flag);
335 void EventSetClir(int32_t result, const std::string &message, int32_t flag);
347 void EventGetColr(const GetColrResult &result, const std::string &message, int32_t flag);
359 void EventSetColr(int32_t result, const std::string &message, int32_t flag);
371 void EventGetColp(const GetColpResult &result, const std::string &message, int32_t flag);
383 void EventSetColp(int32_t result, const std::string &message, int32_t flag);
395 …tGetCallRestriction(const CallRestrictionResult &result, const std::string &message, int32_t flag);
407 void EventSetCallRestriction(int32_t result, const std::string &message, int32_t flag);
[all …]
/base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/
Dxcollie_interface_test.cpp82 bool flag = false; variable
83 XCollieCallback callbackFunc = [&flag](void *) { in __anon7e7b32f30102()
84 flag = true; in __anon7e7b32f30102()
97 ASSERT_EQ(flag, false);
100 flag = false;
109 ASSERT_EQ(flag, true);
127 flag = false;
132 ASSERT_EQ(flag, false);
/base/startup/init/services/modules/seccomp/
Dseccomp_policy.c76 unsigned int flag = 0; in InstallSeccompPolicy() local
83 flag |= SECCOMP_FILTER_FLAG_TSYNC; in InstallSeccompPolicy()
87 flag |= SECCOMP_FILTER_FLAG_LOG; in InstallSeccompPolicy()
90 if (syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, flag, &prog) != 0) { in InstallSeccompPolicy()
105 bool flag = false; in GetFilterFileByName() local
126 flag = true; in GetFilterFileByName()
131 return flag; in GetFilterFileByName()
227 bool flag = GetFilterFileByName(filterNamePtr, filterLibRealPath, sizeof(filterLibRealPath)); in SetSeccompPolicyWithName() local
228 if (!flag) { in SetSeccompPolicyWithName()
231 flag = GetFilterFileByName(filterNamePtr, filterLibRealPath, sizeof(filterLibRealPath)); in SetSeccompPolicyWithName()
[all …]
/base/telephony/call_manager/services/call/src/
Dconference_base.cpp75 bool flag = false; in GetSubCallIdList() local
80 flag = true; in GetSubCallIdList()
85 if (!flag) { in GetSubCallIdList()
95 bool flag = false; in GetCallIdListForConference() local
100 flag = true; in GetCallIdListForConference()
106 flag = true; in GetCallIdListForConference()
109 if (!flag) { in GetCallIdListForConference()
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
Dsecurity_component_grant_test.cpp142 int32_t flag; variable
143 res = AccessTokenKit::GetPermissionFlag(tokenID, TEST_PERMISSION, flag);
145 ASSERT_NE(((static_cast<uint32_t>(flag)) & PERMISSION_COMPONENT_SET), 0);
154 res = AccessTokenKit::GetPermissionFlag(tokenID, TEST_PERMISSION, flag);
156 ASSERT_EQ(((static_cast<uint32_t>(flag)) & PERMISSION_COMPONENT_SET), 0);
181 int32_t flag; variable
182 res = AccessTokenKit::GetPermissionFlag(tokenID, TEST_PERMISSION, flag);
184 ASSERT_EQ(((static_cast<uint32_t>(flag)) & PERMISSION_COMPONENT_SET), 0);
191 res = AccessTokenKit::GetPermissionFlag(tokenID, TEST_PERMISSION, flag);
193 ASSERT_EQ(((static_cast<uint32_t>(flag)) & PERMISSION_COMPONENT_SET), 0);
[all …]
/base/notification/common_event_service/frameworks/core/test/unittest/
Dmock_message_parcel.h49 static void SetFlag(bool flag);
55 void MessageParcel::SetFlag(bool flag) in SetFlag() argument
57 flag_ = flag; in SetFlag()
/base/customization/config_policy/test/unittest/
Dconfig_policy_utils_test.cpp45 bool flag = false; in TestGetCfgFile() local
51 flag = true; in TestGetCfgFile()
59 flag = flag && true; in TestGetCfgFile()
61 return flag; in TestGetCfgFile()
122 bool flag = false; variable
127 flag = true;
131 EXPECT_TRUE(flag);
/base/telephony/core_service/frameworks/js/napi/
Dnapi_util.cpp408 bool flag = true; in CreateParameterErrorMessageForJs() local
424 flag = false; in CreateParameterErrorMessageForJs()
428 return flag; in CreateParameterErrorMessageForJs()
436 bool flag = true; in CreateNetworkSearchErrorMessageForJs() local
443 flag = false; in CreateNetworkSearchErrorMessageForJs()
447 return flag; in CreateNetworkSearchErrorMessageForJs()
455 bool flag = true; in CreateSimErrorMessageForJs() local
469 flag = false; in CreateSimErrorMessageForJs()
473 return flag; in CreateSimErrorMessageForJs()
481 bool flag = true; in CreateSmsErrorMessageForJs() local
[all …]
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_hitrace.c23 struct HksHitraceId HksHitraceBegin(const char *name, int flag) in HksHitraceBegin() argument
26 HiTraceIdStruct traceId = HiTraceChainBegin(name, flag); in HksHitraceBegin()
34 (void)flag; in HksHitraceBegin()
/base/security/code_signature/test/unittest/
Dcode_sign_utils_test.cpp234 bool flag = ReadSignatureFromFile(g_filesigEnablePath, buffer); variable
235 EXPECT_EQ(flag, true);
252 bool flag = ReadSignatureFromFile(g_fileSigEnableFailPath[i], buffer); variable
253 EXPECT_EQ(flag, true);
268 bool flag = ReadSignatureFromFile(g_filesigEnablePath, buffer); variable
269 EXPECT_EQ(flag, true);
283 bool flag = ReadSignatureFromFile(g_filesigEnablePath, buffer); variable
284 EXPECT_EQ(flag, true);
302 bool flag = ReadSignatureFromFile(g_filesigEnablePath, buffer); variable
303 EXPECT_EQ(flag, true);
/base/security/access_token/frameworks/privacy/src/
Dpermission_used_request_parcel.cpp35 RETURN_IF_FALSE(out.WriteInt32(this->request.flag)); in Marshalling()
61 int32_t flag; in Unmarshalling() local
62 RELEASE_IF_FALSE(in.ReadInt32(flag), requestParcel); in Unmarshalling()
63 requestParcel->request.flag = static_cast<PermissionUsageFlagEnum>(flag); in Unmarshalling()
/base/hiviewdfx/hitrace/frameworks/native/c_wrapper/source/
Dhitracechain_c_wrapper.c29 int HiTraceChainIsFlagEnabledWrapper(const HiTraceIdStruct* pId, int flag) in HiTraceChainIsFlagEnabledWrapper() argument
31 return HiTraceChainIsFlagEnabled(pId, flag); in HiTraceChainIsFlagEnabledWrapper()
34 void HiTraceChainEnableFlagWrapper(HiTraceIdStruct* pId, int flag) in HiTraceChainEnableFlagWrapper() argument
36 HiTraceChainEnableFlag(pId, flag); in HiTraceChainEnableFlagWrapper()
/base/hiviewdfx/hitrace/frameworks/native/
Dhitraceid.cpp48 bool HiTraceId::IsFlagEnabled(HiTraceFlag flag) const in IsFlagEnabled()
50 return HiTraceChainIsFlagEnabled(&id_, flag); in IsFlagEnabled()
53 void HiTraceId::EnableFlag(HiTraceFlag flag) in EnableFlag() argument
55 HiTraceChainEnableFlag(&id_, flag); in EnableFlag()
/base/telephony/cellular_call/services/manager/src/
Dcellular_call_handler.cpp505 postDial->callId = result->flag; in SendDtmfResponse()
901 int32_t flag = SS_FROM_MMI_CODE; in GetCallWaitingResponse() local
902 int32_t ret = ConfirmAndRemoveSsRequestCommand(result->result.index, flag); in GetCallWaitingResponse()
907 supplement.EventGetCallWaiting(*result, result->result.message, flag); in GetCallWaitingResponse()
917 int32_t flag = SS_FROM_MMI_CODE; in SetCallWaitingResponse() local
918 int32_t ret = ConfirmAndRemoveSsRequestCommand(result->index, flag); in SetCallWaitingResponse()
926 supplement.EventSetCallWaiting(result->result, result->message, flag); in SetCallWaitingResponse()
936 int32_t flag = SS_FROM_MMI_CODE; in GetClirResponse() local
937 int32_t ret = ConfirmAndRemoveSsRequestCommand(getClirResult->result.index, flag); in GetClirResponse()
942 supplement.EventGetClir(*getClirResult, getClirResult->result.message, flag); in GetClirResponse()
[all …]
/base/startup/bootstrap_lite/services/source/
Dbootstrap_service.c23 uint8 flag; member
37 bootstrap.flag = FALSE; in Init()
60 if ((bootstrap->flag & LOAD_FLAG) != LOAD_FLAG) { in MessageHandle()
63 bootstrap->flag |= LOAD_FLAG; in MessageHandle()
/base/hiviewdfx/faultloggerd/test/unittest/unwinder/
Dmaps_test.cpp89 bool flag = maps->FindMapByAddr(address, map); variable
90 EXPECT_EQ(false, flag);
92 flag = maps->FindMapByAddr(address, map);
93 EXPECT_EQ(false, flag);
/base/customization/enterprise_device_management/test/unittest/mock/include/
Dbundle_manager_mock.h35 …const int32_t &flag, const int32_t &userId, std::vector<ExtensionAbilityInfo> &extensionInfos) ove…
39 bool GetBundleInfo(const std::string &bundleName, const BundleFlag flag,
58 …const int32_t &flag, const int32_t &userId, std::vector<ExtensionAbilityInfo> &extensionInfos) ove…
62 bool GetBundleInfo(const std::string &bundleName, const BundleFlag flag,
/base/security/access_token/services/test/mock/aafwk/
Dmock_test.h23 void SetAppProxyFlag(uint32_t flag);
24 void SwitchForeOrBackGround(uint32_t tokenId, int32_t flag);
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/
Dpermission_manager.h59 int GetPermissionFlag(AccessTokenID tokenID, const std::string& permissionName, int& flag);
60 int32_t GrantPermission(AccessTokenID tokenID, const std::string& permissionName, int flag);
61 int32_t RevokePermission(AccessTokenID tokenID, const std::string& permissionName, int flag);
75 void ParamUpdate(const std::string& permissionName, uint32_t flag, bool filtered);
85 AccessTokenID tokenID, const std::string& permissionName, bool isGranted, int flag);
89 const std::vector<PermissionStateFull>& permsList, int32_t& status, uint32_t& flag);
/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/
Ddlp_credential_test.cpp120 uint32_t flag = 0; variable
121 res = DlpCredential::GetInstance().ParseDlpCertificate(cert, flag++, stub);
123 res = DlpCredential::GetInstance().ParseDlpCertificate(cert, flag++, stub);
125 res = DlpCredential::GetInstance().ParseDlpCertificate(cert, flag++, stub);
129 res = DlpCredential::GetInstance().ParseDlpCertificate(cert2, flag, stub);

12345678910>>...12