/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() 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() 71 CheckExistEnableSilentUris(uint32_t callerTokenId, const std::string &uri, bool &isEnable) CheckExistEnableSilentUris() argument
|
/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()
|
/foundation/bundlemanager/bundle_tool/test/mock/ |
H A D | mock_bundle_mgr_host.cpp | 55 ErrCode MockBundleMgrHost::SetApplicationEnabled(const std::string &bundleName, bool isEnable, int32_t userId) in SetApplicationEnabled() argument 59 APP_LOGD("isEnable: %{public}d", isEnable); in SetApplicationEnabled() 63 ErrCode MockBundleMgrHost::SetAbilityEnabled(const AbilityInfo &abilityInfo, bool isEnable, int32_t userId) in SetAbilityEnabled() argument 67 APP_LOGD("isEnable: %{public}d", isEnable); in SetAbilityEnabled()
|
H A D | mock_bundle_mgr_host.h | 33 ErrCode SetApplicationEnabled(const std::string &bundleName, bool isEnable, 35 ErrCode SetAbilityEnabled(const AbilityInfo &abilityInfo, bool isEnable,
|
/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_session_publish_test.cpp | 114 bool isEnable = false; in HWTEST_F() local 115 screenSessionPublish.PublishCastPluggedEvent(isEnable); in HWTEST_F() 116 ASSERT_FALSE(isEnable); in HWTEST_F() 118 isEnable = true; in HWTEST_F() 121 screenSessionPublish.PublishCastPluggedEvent(isEnable); in HWTEST_F() 122 ASSERT_TRUE(isEnable); in HWTEST_F()
|
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | stylus_detector_default.cpp | 62 bool isEnable = true; in ExecuteCommand() local 65 isEnable = static_cast<bool>(StringUtils::StringToInt(params[PARAMS_ENABLE_INDEX])); in ExecuteCommand() 70 isEnable_ = isEnable; in ExecuteCommand()
|
/foundation/multimedia/camera_framework/services/camera_service/binder/base/include/ |
H A D | istream_repeat.h | 47 virtual int32_t EnableSecure(bool isEnable = false) = 0; 49 virtual int32_t SetMirror(bool isEnable) = 0; 53 virtual int32_t SetCameraRotation(bool isEnable, int32_t rotation) = 0;
|
/foundation/multimedia/camera_framework/services/camera_service/binder/client/include/ |
H A D | hstream_repeat_proxy.h | 48 int32_t EnableSecure(bool isEnable = false) override; 50 int32_t SetMirror(bool isEnable) override; 54 int32_t SetCameraRotation(bool isEnable, int32_t rotation) override;
|
/foundation/distributedhardware/distributed_audio/common/dfx_utils/include/ |
H A D | daudio_hitrace.h | 28 static void Count(const std::string &value, int64_t count, bool isEnable = true); 29 DAudioHitrace(const std::string &value, bool isShowLog = false, bool isEnable = true);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | event_report.cpp | 91 const std::string &abilityName, int32_t userId, bool isEnable, int32_t appIndex) in SendComponentStateSysEventForException() 97 eventInfo.isEnable = isEnable; in SendComponentStateSysEventForException() 105 const std::string &abilityName, int32_t userId, bool isEnable, int32_t appIndex) in SendComponentStateSysEvent() 111 eventInfo.isEnable = isEnable; in SendComponentStateSysEvent() 90 SendComponentStateSysEventForException(const std::string &bundleName, const std::string &abilityName, int32_t userId, bool isEnable, int32_t appIndex) SendComponentStateSysEventForException() argument 104 SendComponentStateSysEvent(const std::string &bundleName, const std::string &abilityName, int32_t userId, bool isEnable, int32_t appIndex) SendComponentStateSysEvent() argument
|
/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()
|
/foundation/barrierfree/accessibility/interfaces/innerkits/test/mock/ |
H A D | mock_a11y_system_ability_client_test.cpp | 33 bool isEnable = false; in BenchmarkTestForIsEnabled() local 36 (void)asaClient->IsEnabled(isEnable); in BenchmarkTestForIsEnabled()
|
/foundation/barrierfree/accessibility/interfaces/innerkits/test/benchmarktest/accessibility_system_ability_client_test/ |
H A D | accessibility_system_ability_client_test.cpp | 33 bool isEnable = false; in BenchmarkTestForIsEnabled() local 36 (void)asaClient->IsEnabled(isEnable); in BenchmarkTestForIsEnabled()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsoverdrawcontroller_fuzzer/ |
H A D | rsoverdrawcontroller_fuzzer.cpp | 67 bool isEnable = GetData<bool>(); in DoSomethingInterestingWithMyAPI() local 68 RSOverdrawController::GetInstance().SetEnable(isEnable); in DoSomethingInterestingWithMyAPI()
|
/foundation/window/window_manager/wm/src/ |
H A D | extension_window_impl.cpp | 49 WMError ExtensionWindowImpl::SetWaterMarkFlag(bool isEnable)
in SetWaterMarkFlag() argument 52 return windowExtensionSessionImpl_->SetWaterMarkFlag(isEnable);
in SetWaterMarkFlag()
|
/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); in HWTEST_F() local 327 ASSERT_TRUE(isEnable) << "failed to enable session, sessionId" << sessionId; in HWTEST_F()
|
/foundation/multimedia/camera_framework/services/camera_service/include/ |
H A D | hstream_repeat.h | 71 int32_t EnableSecure(bool isEnable = false) override; 80 int32_t SetMirror(bool isEnable) override; 81 void SetMirrorForLivePhoto(bool isEnable, int32_t mode); 86 int32_t SetCameraRotation(bool isEnable, int32_t rotation) override;
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_animation_fraction.h | 57 void SetRepeatCallbackEnable(bool isEnable) in SetRepeatCallbackEnable() argument 59 isRepeatCallbackEnable_ = isEnable; in SetRepeatCallbackEnable()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/ |
H A D | rs_render_node_gc.h | 66 inline void SetGCTaskEnable(bool isEnable) in SetGCTaskEnable() argument 68 isEnable_.store(isEnable); in SetGCTaskEnable()
|
/foundation/communication/nfc/services/src/ |
H A D | nfc_polling_params.cpp | 72 void NfcPollingParams::SetEnableReaderMode(bool isEnable)
in SetEnableReaderMode() argument 74 enableReaderMode_ = isEnable;
in SetEnableReaderMode()
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/lowlatency/ |
H A D | low_latency_listener.cpp | 67 cJSON *isEnable = cJSON_GetObjectItem(jsonObj, LOW_LATENCY_ENABLE.c_str()); in OnMessage() local 68 if (cJSON_IsTrue(isEnable)) { in OnMessage()
|
/foundation/multimedia/camera_framework/services/camera_service/binder/client/src/ |
H A D | hstream_repeat_proxy.cpp | 208 int32_t HStreamRepeatProxy::EnableSecure(bool isEnable) in EnableSecure() argument 215 data.WriteBool(isEnable); in EnableSecure() 224 int32_t HStreamRepeatProxy::SetMirror(bool isEnable) in SetMirror() argument 231 data.WriteBool(isEnable); in SetMirror() 260 int32_t HStreamRepeatProxy::SetCameraRotation(bool isEnable, int32_t rotation) in SetCameraRotation() argument 267 data.WriteBool(isEnable); in SetCameraRotation()
|
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/ |
H A D | bundlemgrproxy_fuzzer.cpp | 47 bool isEnable = false; in DoSomethingInterestingWithMyAPI() local 49 isEnable = true; in DoSomethingInterestingWithMyAPI() 51 bundleMgrProxy.IsApplicationEnabled(bundleName, isEnable); in DoSomethingInterestingWithMyAPI() 52 bundleMgrProxy.SetApplicationEnabled(bundleName, isEnable, reinterpret_cast<uintptr_t>(data)); in DoSomethingInterestingWithMyAPI() 55 bundleMgrProxy.IsAbilityEnabled(abilityInfo, isEnable); in DoSomethingInterestingWithMyAPI() 56 bundleMgrProxy.SetAbilityEnabled(abilityInfo, isEnable, reinterpret_cast<uintptr_t>(data)); in DoSomethingInterestingWithMyAPI() 124 bundleMgrProxy.IsModuleRemovable(bundleName, moduleName, isEnable); in DoSomethingInterestingWithMyAPI() 125 bundleMgrProxy.SetModuleRemovable(bundleName, moduleName, isEnable); in DoSomethingInterestingWithMyAPI() 244 bundleMgrProxy.IsCloneApplicationEnabled(bundleName, 0, isEnable); in DoSomethingInterestingWithMyAPI() 246 bundleMgrProxy.IsCloneAbilityEnabled(abilityInfo, 0, isEnable); in DoSomethingInterestingWithMyAPI() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | event_report.h | 116 bool isEnable = false; member 169 isEnable = false; in Reset() 220 * @param isEnable Indicates the isEnable. 224 const std::string &abilityName, int32_t userId, bool isEnable, int32_t appIndex); 230 * @param isEnable Indicates the isEnable. 234 const std::string &abilityName, int32_t userId, bool isEnable, int32_t appIndex);
|
/foundation/multimedia/camera_framework/services/camera_service/binder/server/src/ |
H A D | hstream_repeat_stub.cpp | 153 bool isEnable = data.ReadBool(); in HandleSetMirror() local 155 int ret = SetMirror(isEnable); in HandleSetMirror() 180 bool isEnable = data.ReadBool(); in HandleSetCameraRotation() local 183 int ret = SetCameraRotation(isEnable, rotation); in HandleSetCameraRotation()
|