/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/ |
H A D | data_share_silent_config.cpp | 36 bool isEnable = false; in IsSilentProxyEnable() local 37 if (CheckExistEnableSilentUris(callerTokenId, uri, isEnable) == E_OK) { in IsSilentProxyEnable() 38 return isEnable; in IsSilentProxyEnable() 72 const std::string &uri, bool &isEnable) in CheckExistEnableSilentUris() argument 75 … enableSilentUris_.ComputeIfPresent(callerTokenId, [&isEnable, &status, &uri](const uint32_t &key, in CheckExistEnableSilentUris() 79 isEnable = iter->second; in CheckExistEnableSilentUris() 85 isEnable = iter->second; in CheckExistEnableSilentUris()
|
/ohos5.0/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_branch_test/ |
H A D | distributed_preferences_branch_test.cpp | 126 bool isEnable = true; variable 128 …EXPECT_EQ(distributedPreferences_->SetDistributedEnable(isEnable), ERR_ANS_DISTRIBUTED_OPERATION_F… 139 bool isEnable = true; variable 140 …EXPECT_EQ(distributedPreferences_->SetDistributedBundleEnable(bundleOption, isEnable), ERR_ANS_INV… 151 bool isEnable = true; variable 153 EXPECT_EQ(distributedPreferences_->SetDistributedBundleEnable(bundleOption, isEnable), 165 bool isEnable = true; variable 166 …EXPECT_EQ(distributedPreferences_->GetDistributedBundleEnable(bundleOption, isEnable), ERR_ANS_INV…
|
/ohos5.0/base/notification/distributed_notification_service/services/distributed/src/ |
H A D | distributed_preferences.cpp | 140 ErrCode DistributedPreferences::SetDistributedEnable(bool isEnable) in SetDistributedEnable() argument 146 if (!database_->PutToDistributedDB(key, std::to_string(isEnable))) { in SetDistributedEnable() 151 preferencesInfo_->SetDistributedEnable(isEnable); in SetDistributedEnable() 156 ErrCode DistributedPreferences::GetDistributedEnable(bool &isEnable) in GetDistributedEnable() argument 160 isEnable = preferencesInfo_->GetDistributedEnable(); in GetDistributedEnable() 166 const sptr<NotificationBundleOption> &bundleOption, bool isEnable) in SetDistributedBundleEnable() argument 177 if (!database_->PutToDistributedDB(key, std::to_string(isEnable))) { in SetDistributedBundleEnable() 182 …Info_->SetDistributedBundleEnable(bundleOption->GetBundleName(), bundleOption->GetUid(), isEnable); in SetDistributedBundleEnable() 188 const sptr<NotificationBundleOption> &bundleOption, bool &isEnable) in GetDistributedBundleEnable() argument 200 …isEnable = preferencesInfo_->GetDistributedBundleEnable(bundleOption->GetBundleName(), bundleOptio… in GetDistributedBundleEnable()
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/module_test/mock/common/src/ |
H A D | huks_core_hal_mock.c | 50 void HksEnableCreateOrDestroy(bool isEnable) in HksEnableCreateOrDestroy() argument 52 g_isEnableCreateOrDestroy = isEnable; in HksEnableCreateOrDestroy() 55 void HksEnableSetHid(bool isEnable) in HksEnableSetHid() argument 57 g_isEnableHdi = isEnable; in HksEnableSetHid()
|
/ohos5.0/foundation/distributedhardware/distributed_audio/common/dfx_utils/src/ |
H A D | daudio_hitrace.cpp | 23 void DAudioHitrace::Count(const std::string &value, int64_t count, bool isEnable) in Count() argument 25 CountTraceDebug(isEnable, HITRACE_TAG_ZAUDIO, value, count); in Count() 28 DAudioHitrace::DAudioHitrace(const std::string &value, bool isShowLog, bool isEnable) in DAudioHitrace() argument 32 isEnable_ = isEnable; in DAudioHitrace()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | swing_callback_stub.cpp | 30 int32_t SwingCallBackStub::OnUpdateStatus(bool isEnable, int triggerMode) in OnUpdateStatus() argument 43 bool isEnable = static_cast<bool>(data.ReadInt8()); in OnRemoteRequest() local 46 … ANS_LOGI("swingCallback(isEnable: %{public}d, triggerMode: %{public}d)", isEnable, triggerMode); in OnRemoteRequest() 47 swingCallback_(isEnable, triggerMode); in OnRemoteRequest()
|
/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_session_publish_test.cpp | 114 bool isEnable = false; variable 115 screenSessionPublish.PublishCastPluggedEvent(isEnable); 116 ASSERT_FALSE(isEnable); 118 isEnable = true; 121 screenSessionPublish.PublishCastPluggedEvent(isEnable); 122 ASSERT_TRUE(isEnable);
|
/ohos5.0/foundation/bundlemanager/bundle_tool/test/mock/ |
H A D | mock_bundle_mgr_host.cpp | 55 ErrCode MockBundleMgrHost::SetApplicationEnabled(const std::string &bundleName, bool isEnable, int3… in SetApplicationEnabled() argument 59 APP_LOGD("isEnable: %{public}d", isEnable); in SetApplicationEnabled() 63 ErrCode MockBundleMgrHost::SetAbilityEnabled(const AbilityInfo &abilityInfo, bool isEnable, int32_t… in SetAbilityEnabled() argument 67 APP_LOGD("isEnable: %{public}d", isEnable); in SetAbilityEnabled()
|
/ohos5.0/base/notification/distributed_notification_service/services/distributed/include/ |
H A D | distributed_preferences.h | 40 ErrCode SetDistributedEnable(bool isEnable); 48 ErrCode GetDistributedEnable(bool &isEnable); 57 …Code SetDistributedBundleEnable(const sptr<NotificationBundleOption> &bundleOption, bool isEnable); 66 …ode GetDistributedBundleEnable(const sptr<NotificationBundleOption> &bundleOption, bool &isEnable);
|
/ohos5.0/base/notification/distributed_notification_service/interfaces/ndk/src/ |
H A D | notification.cpp | 27 bool isEnable = false; in OH_Notification_IsNotificationEnabled() local 28 int32_t result = OHOS::Notification::NotificationHelper::IsAllowedNotifySelf(isEnable); in OH_Notification_IsNotificationEnabled() 33 return isEnable; in OH_Notification_IsNotificationEnabled()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/enhance/ |
H A D | container_modal_pattern_enhance.cpp | 365 RefPtr<FrameNode>& node, bool isEnable, const std::string& rowName) in EnablePanEventOnNode() argument 372 if (isEnable) { in EnablePanEventOnNode() 380 RefPtr<FrameNode>& node, bool isEnable, const std::string& rowName) in EnableTapGestureOnNode() argument 387 if (isEnable) { in EnableTapGestureOnNode() 394 void ContainerModalPatternEnhance::EnableContainerModalGesture(bool isEnable) in EnableContainerModalGesture() argument 398 enableContainerModalGesture_ = isEnable; in EnableContainerModalGesture() 403 EnableTapGestureOnNode(floatingTitleRow, isEnable, "floating title row"); in EnableContainerModalGesture() 404 EnablePanEventOnNode(customTitleRow, isEnable, "custom title row"); in EnableContainerModalGesture() 405 EnableTapGestureOnNode(customTitleRow, isEnable, "custom title row"); in EnableContainerModalGesture() 406 EnablePanEventOnNode(gestureRow, isEnable, "gesture row"); in EnableContainerModalGesture() [all …]
|
H A D | container_modal_pattern_enhance.h | 43 void EnableContainerModalGesture(bool isEnable) override; 47 RefPtr<FrameNode>& node, bool isEnable, const std::string& rowName); 49 RefPtr<FrameNode>& node, bool isEnable, const std::string& rowName);
|
/ohos5.0/foundation/communication/bluetooth_service/test/unittest/ble/ |
H A D | ble_test.cpp | 68 bool isEnable = false; in EnableBle() local 71 isEnable = true; in EnableBle() 73 EXPECT_TRUE(isEnable); in EnableBle() 80 return isEnable; in EnableBle() 87 bool isEnable = false; in DisableBle() local 90 isEnable = true; in DisableBle() 92 EXPECT_TRUE(isEnable); in DisableBle() 99 return isEnable; in DisableBle()
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/moduletest/socket/stream_encrypt_test/ |
H A D | stream_encrypt_client_mt.cpp | 239 bool isEnable = false; in WaitEnableSession() local 244 isEnable = false; in WaitEnableSession() 246 isEnable = it->second; in WaitEnableSession() 248 return isEnable; in WaitEnableSession() 250 return isEnable; in WaitEnableSession() 326 bool isEnable = SessionStateManager::GetInstance().WaitEnableSession(sessionId, 10); variable 327 ASSERT_TRUE(isEnable) << "failed to enable session, sessionId" << sessionId;
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-polymorphic-style.md | 71 @State isEnable: boolean = true 133 Text(this.isEnable == true ? "effective" : "disabled") 144 .enabled(this.isEnable) 151 this.isEnable = !this.isEnable 152 console.log(`${this.isEnable}`)
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiopolicy/test/unittest/policy_test/src/ |
H A D | audio_policy_unit_test.cpp | 756 bool isEnable = true; variable 761 isEnable = false; 774 bool isEnable = true; variable 778 EXPECT_EQ(true, isEnable); 783 EXPECT_EQ(true, isEnable); 785 isEnable = false; 794 EXPECT_EQ(false, isEnable); 804 bool isEnable = true; variable 808 EXPECT_EQ(true, isEnable); 812 EXPECT_EQ(true, isEnable); [all …]
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | event_report.cpp | 82 int32_t userId, bool isEnable, int32_t appIndex, const std::string &caller) in SendComponentStateSysEventForException() argument 88 eventInfo.isEnable = isEnable; in SendComponentStateSysEventForException() 97 int32_t userId, bool isEnable, int32_t appIndex, const std::string &caller) in SendComponentStateSysEvent() argument 103 eventInfo.isEnable = isEnable; in SendComponentStateSysEvent()
|
/ohos5.0/base/hiviewdfx/hichecker/interfaces/js/kits/napi/js_leak_watcher/ |
H A D | js_leak_watcher.js | 181 enable: (isEnable) => { 182 if (isEnable === undefined || isEnable === null) { 185 enabled = isEnable; 186 if (!isEnable) {
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | stylus_detector_default.cpp | 63 bool isEnable = true; in ExecuteCommand() local 66 isEnable = static_cast<bool>(StringUtils::StringToInt(params[PARAMS_ENABLE_INDEX])); in ExecuteCommand() 71 isEnable_ = isEnable; in ExecuteCommand()
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/base/include/ |
H A D | istream_repeat.h | 47 virtual int32_t SetCameraRotation(bool isEnable, int32_t rotation) = 0; 51 virtual int32_t EnableSecure(bool isEnable = false) = 0; 53 virtual int32_t SetMirror(bool isEnable) = 0;
|
/ohos5.0/foundation/multimedia/camera_framework/test/fuzztest/streamrepeatstub_fuzzer/ |
H A D | stream_repeat_stub_fuzzer.h | 35 int32_t SetCameraRotation(bool isEnable = false, int32_t rotation = 0) override 39 int32_t EnableSecure(bool isEnable = false) override 43 int32_t SetMirror(bool isEnable) override in SetMirror() argument
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/client/include/ |
H A D | hstream_repeat_proxy.h | 48 int32_t SetCameraRotation(bool isEnable, int32_t rotation) override; 52 int32_t EnableSecure(bool isEnable = false) override; 54 int32_t SetMirror(bool isEnable) override;
|
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/binder/client/src/ |
H A D | hstream_repeat_proxy.cpp | 208 int32_t HStreamRepeatProxy::SetCameraRotation(bool isEnable, int32_t rotation) in SetCameraRotation() argument 215 data.WriteBool(isEnable); in SetCameraRotation() 243 int32_t HStreamRepeatProxy::EnableSecure(bool isEnable) in EnableSecure() argument 250 data.WriteBool(isEnable); in EnableSecure() 259 int32_t HStreamRepeatProxy::SetMirror(bool isEnable) in SetMirror() argument 266 data.WriteBool(isEnable); in SetMirror()
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/client/src/ |
H A D | audio_policy_manager.cpp | 172 auto &[mutex, isEnable] = callbackChangeInfos_[enumIndex]; in RecoverAudioPolicyCallbackClient() 174 if (isEnable) { in RecoverAudioPolicyCallbackClient() 499 callbackChangeInfos_[CALLBACK_FOCUS_INFO_CHANGE].isEnable = true; in RegisterFocusInfoChangeCallback() 513 callbackChangeInfos_[CALLBACK_FOCUS_INFO_CHANGE].isEnable = false; in UnregisterFocusInfoChangeCallback() 595 callbackChangeInfos_[CALLBACK_SET_RINGER_MODE].isEnable = true; in SetRingerModeCallback() 609 callbackChangeInfos_[CALLBACK_SET_RINGER_MODE].isEnable = false; in UnsetRingerModeCallback() 624 callbackChangeInfos_[CALLBACK_SET_RINGER_MODE].isEnable = false; in UnsetRingerModeCallback() 667 callbackChangeInfos_[CALLBACK_SET_DEVICE_CHANGE].isEnable = true; in SetDeviceChangeCallback() 1952 callbackChangeInfos_[CALLBACK_AUDIO_SESSION].isEnable = true; in SetAudioSessionCallback() 1974 callbackChangeInfos_[CALLBACK_AUDIO_SESSION].isEnable = false; in UnsetAudioSessionCallback() [all …]
|
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
H A D | input_method_core_proxy.cpp | 91 bool isEnable = false; in IsEnable() local 93 …IS_ENABLE, nullptr, [&isEnable](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, isEnab… in IsEnable() 94 return isEnable; in IsEnable()
|