/base/web/webview/ohos_nweb/include/ |
D | nweb_preference.h | 33 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/ |
D | light_agent_test.cpp | 122 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/ |
D | le_utils.h | 26 #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/ |
D | trigger_checker.h | 38 #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
|
D | param_utils.h | 93 #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/ |
D | cellular_call_supplement.h | 299 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/ |
D | xcollie_interface_test.cpp | 82 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/ |
D | seccomp_policy.c | 76 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/ |
D | conference_base.cpp | 75 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/ |
D | security_component_grant_test.cpp | 142 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/ |
D | mock_message_parcel.h | 49 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/ |
D | config_policy_utils_test.cpp | 45 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/ |
D | napi_util.cpp | 408 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/ |
D | hks_hitrace.c | 23 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/ |
D | code_sign_utils_test.cpp | 234 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/ |
D | permission_used_request_parcel.cpp | 35 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/ |
D | hitracechain_c_wrapper.c | 29 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/ |
D | hitraceid.cpp | 48 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/ |
D | cellular_call_handler.cpp | 505 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/ |
D | bootstrap_service.c | 23 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/ |
D | maps_test.cpp | 89 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/ |
D | bundle_manager_mock.h | 35 …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/ |
D | mock_test.h | 23 void SetAppProxyFlag(uint32_t flag); 24 void SwitchForeOrBackGround(uint32_t tokenId, int32_t flag);
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/ |
D | permission_manager.h | 59 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/ |
D | dlp_credential_test.cpp | 120 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);
|