Home
last modified time | relevance | path

Searched refs:isEnable (Results 1 – 25 of 116) sorted by relevance

12345

/foundation/communication/dsoftbus/sdk/transmission/session/src/
Dclient_trans_message_service.c61 bool isEnable = false; in SendBytes() local
62 if (ClientGetChannelBySessionId(sessionId, &channelId, &channelType, &isEnable) != SOFTBUS_OK) { in SendBytes()
65 if (isEnable != true) { in SendBytes()
101 bool isEnable = false; in SendMessage() local
102 if (ClientGetChannelBySessionId(sessionId, &channelId, &channelType, &isEnable) != SOFTBUS_OK) { in SendMessage()
105 if (isEnable != true) { in SendMessage()
140 bool isEnable = false; in SendStream() local
141 if (ClientGetChannelBySessionId(sessionId, &channelId, &type, &isEnable) != SOFTBUS_OK) { in SendStream()
147 if (isEnable != true) { in SendStream()
189 bool isEnable = false; in SendFile() local
[all …]
/foundation/bundlemanager/bundle_tool/test/mock/
Dmock_bundle_mgr_host.cpp55 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()
Dmock_bundle_mgr_host.h33 ErrCode SetApplicationEnabled(const std::string &bundleName, bool isEnable,
35 ErrCode SetAbilityEnabled(const AbilityInfo &abilityInfo, bool isEnable,
/foundation/bundlemanager/bundle_framework/test/fuzztest/bundlemgrproxy_fuzzer/
Dbundlemgrproxy_fuzzer.cpp47 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()
123 bundleMgrProxy.IsModuleRemovable(bundleName, moduleName, isEnable); in DoSomethingInterestingWithMyAPI()
124 bundleMgrProxy.SetModuleRemovable(bundleName, moduleName, isEnable); in DoSomethingInterestingWithMyAPI()
/foundation/communication/bluetooth_service/test/unittest/ble/
Dble_test.cpp68 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/benchmarktest/accessibility_system_ability_client_test/
Daccessibility_system_ability_client_test.cpp33 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/
Drsoverdrawcontroller_fuzzer.cpp67 bool isEnable = GetData<bool>(); in DoSomethingInterestingWithMyAPI() local
68 RSOverdrawController::GetInstance().SetEnable(isEnable); in DoSomethingInterestingWithMyAPI()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
Drs_animation_fraction.h51 void SetRepeatCallbackEnable(bool isEnable) in SetRepeatCallbackEnable() argument
53 isRepeatCallbackEnable_ = isEnable; in SetRepeatCallbackEnable()
Drs_render_animation.h188 void SetRepeatCallbackEnable(bool isEnable) in SetRepeatCallbackEnable() argument
190 animationFraction_.SetRepeatCallbackEnable(isEnable); in SetRepeatCallbackEnable()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/lowlatency/
Dlow_latency_listener.cpp66 bool isEnable = jsonObj[LOW_LATENCY_ENABLE]; in OnMessage() local
67 if (isEnable) { in OnMessage()
/foundation/multimedia/audio_framework/frameworks/native/audioutils/test/unittest/
Daudio_utils_unit_test.cpp86 bool isEnable = true; variable
87 std::shared_ptr<Trace> trace = std::make_shared<Trace>(value, isShowLog, isEnable);
90 Trace::Count(value, count, isEnable);
91 EXPECT_EQ(isEnable, isShowLog);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
Devent_report.h108 bool isEnable = false; member
134 isEnable = false; in Reset()
171 const std::string &abilityName, int32_t userId, bool isEnable, bool exception);
/foundation/communication/nfc/services/src/
Dnfc_polling_params.cpp72 void NfcPollingParams::SetEnableReaderMode(bool isEnable) in SetEnableReaderMode() argument
74 enableReaderMode_ = isEnable; in SetEnableReaderMode()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
Devent_report.cpp84 const std::string &abilityName, int32_t userId, bool isEnable, bool exception) in SendComponentStateSysEvent() argument
90 eventInfo.isEnable = isEnable; in SendComponentStateSysEvent()
/foundation/multimedia/audio_framework/frameworks/native/audioutils/include/
Daudio_utils.h28 static void Count(const std::string &value, int64_t count, bool isEnable = true);
29 Trace(const std::string &value, bool isShowLog = false, bool isEnable = true);
/foundation/multimedia/audio_framework/frameworks/native/audioutils/src/
Daudio_utils.cpp90 void Trace::Count(const std::string &value, int64_t count, bool isEnable) in Count() argument
93 CountTraceDebug(isEnable, HITRACE_TAG_ZAUDIO, value, count); in Count()
97 Trace::Trace(const std::string &value, bool isShowLog, bool isEnable) in Trace() argument
101 isEnable_ = isEnable; in Trace()
/foundation/ability/form_fwk/services/src/
Dform_refresh_limiter.cpp80 bool isEnable = false; in IsEnableRefresh() local
85 isEnable = true; in IsEnableRefresh()
94 return isEnable; in IsEnableRefresh()
/foundation/communication/dsoftbus/core/connection/wifi_direct/channel/
Dfast_connect_bcast_channel.h28 bool (*isEnable)(void); member
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
Dble_advertiser_impl.h258 int SetAdvEnableToGap(bool isEnable) const;
265 int SetExAdvEnableToGap(uint8_t advHandle, bool isEnable) const;
273 int SetExAdvBatchEnableToGap(bool isEnable) const;
/foundation/communication/nfc/services/include/
Dnfc_polling_params.h32 void SetEnableReaderMode(bool isEnable);
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/common/src/
Dclient_trans_udp_manager.c123 static int32_t TransSetUdpChannelEnable(int32_t channelId, bool isEnable) in TransSetUdpChannelEnable() argument
138 channelNode->isEnable = isEnable; in TransSetUdpChannelEnable()
201 newChannel->isEnable = false; in ConvertChannelInfoToUdpChannel()
296 if ((isFind) && (channel.isEnable)) { in TransOnUdpChannelOpenFailed()
379 if (!channel.isEnable) { in TransUdpChannelSendStream()
491 if (!channel.isEnable || channel.dfileId < 0) { in TransUdpChannelSendFile()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/
Dbundle_manager_sync.cpp73 bool isEnable = false; in SetApplicationEnabledSync() local
79 if (!CommonFunc::ParseBool(env, args[ARGS_POS_ONE], isEnable)) { in SetApplicationEnabledSync()
90 … ErrCode ret = CommonFunc::ConvertErrCode(iBundleMgr->SetApplicationEnabled(bundleName, isEnable)); in SetApplicationEnabledSync()
114 bool isEnable = false; in SetAbilityEnabledSync() local
120 if (!CommonFunc::ParseBool(env, args[ARGS_POS_ONE], isEnable)) { in SetAbilityEnabledSync()
131 ErrCode ret = CommonFunc::ConvertErrCode(iBundleMgr->SetAbilityEnabled(abilityInfo, isEnable)); in SetAbilityEnabledSync()
166 bool isEnable = false; in IsApplicationEnabledSync() local
167 … ErrCode ret = CommonFunc::ConvertErrCode(iBundleMgr->IsApplicationEnabled(bundleName, isEnable)); in IsApplicationEnabledSync()
175 NAPI_CALL(env, napi_get_boolean(env, isEnable, &nIsEnabled)); in IsApplicationEnabledSync()
201 bool isEnable = false; in IsAbilityEnabledSync() local
[all …]
/foundation/communication/dsoftbus/tests/sdk/transmission/session/
Dclient_trans_message_service_test.cpp152 session->isEnable = false; in TestGenerateSession()
164 bool isServer, bool isEnable) in AddSessionServerAndSession() argument
186 session->isEnable = isEnable; in AddSessionServerAndSession()
/foundation/communication/dsoftbus/sdk/transmission/session/include/
Dclient_trans_session_manager.h45 bool isEnable; member
98 … ClientGetChannelBySessionId(int32_t sessionId, int32_t *channelId, int32_t *type, bool *isEnable);
/foundation/multimodalinput/input/service/libinput_adapter/include/
Dlibinput_adapter.h32 static int32_t DeviceLedUpdate(struct libinput_device *device, int32_t funcKey, bool isEnable);

12345