Home
last modified time | relevance | path

Searched refs:isEnable (Results 1 - 25 of 46) sorted by relevance

12

/base/security/huks/test/unittest/huks_standard_test/module_test/mock/common/src/
H A Dhuks_core_hal_mock.c50 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()
/base/notification/distributed_notification_service/interfaces/ndk/src/
H A Dnotification.cpp27 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()
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dswing_callback_stub.cpp30 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()
H A Dswing_callback_proxy.cpp27 int32_t SwingCallBackProxy::OnUpdateStatus(bool isEnable, int triggerMode) in OnUpdateStatus() argument
37 if (!data.WriteInt8(static_cast<int8_t>(isEnable))) { in OnUpdateStatus()
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_branch_test/
H A Ddistributed_preferences_branch_test.cpp126 bool isEnable = true; in HWTEST_F() local
128 EXPECT_EQ(distributedPreferences_->SetDistributedEnable(isEnable), ERR_ANS_DISTRIBUTED_OPERATION_FAILED); in HWTEST_F()
139 bool isEnable = true; in HWTEST_F() local
140 EXPECT_EQ(distributedPreferences_->SetDistributedBundleEnable(bundleOption, isEnable), ERR_ANS_INVALID_PARAM); in HWTEST_F()
151 bool isEnable = true; in HWTEST_F() local
153 EXPECT_EQ(distributedPreferences_->SetDistributedBundleEnable(bundleOption, isEnable), in HWTEST_F()
165 bool isEnable = true; in HWTEST_F() local
166 EXPECT_EQ(distributedPreferences_->GetDistributedBundleEnable(bundleOption, isEnable), ERR_ANS_INVALID_PARAM); in HWTEST_F()
/base/notification/distributed_notification_service/services/distributed/include/
H A Ddistributed_preferences.h37 * @param isEnable Specifies whether to enable the device to support distributed notification.
40 ErrCode SetDistributedEnable(bool isEnable);
45 * @param isEnable True if the device supports distributed notification; false otherwise.
48 ErrCode GetDistributedEnable(bool &isEnable);
54 * @param isEnable Specifies whether to enable an application to support distributed notification.
57 ErrCode SetDistributedBundleEnable(const sptr<NotificationBundleOption> &bundleOption, bool isEnable);
63 * @param isEnable True if the application supports distributed notification; false otherwise.
66 ErrCode GetDistributedBundleEnable(const sptr<NotificationBundleOption> &bundleOption, bool &isEnable);
/base/security/huks/test/unittest/huks_standard_test/module_test/mock/common/include/
H A Dhuks_core_hal_mock.h25 void HksEnableCreateOrDestroy(bool isEnable);
27 void HksEnableSetHid(bool isEnable);
/base/account/os_account/test/fuzztest/appaccount/checkappaccountsyncenable_fuzzer/
H A Dcheckappaccountsyncenable_fuzzer.cpp35 bool isEnable = false; in CheckAppAccountSyncEnableFuzzTest() local
36 result = AppAccountManager::CheckAppAccountSyncEnable(testName, isEnable); in CheckAppAccountSyncEnableFuzzTest()
/base/account/os_account/test/fuzztest/appaccount/setappaccountsyncenable_fuzzer/
H A Dsetappaccountsyncenable_fuzzer.cpp35 bool isEnable = false; in SetAppAccountSyncEnableFuzzTest() local
36 result = AppAccountManager::SetAppAccountSyncEnable(testName, isEnable); in SetAppAccountSyncEnableFuzzTest()
/base/notification/distributed_notification_service/services/distributed/src/
H A Ddistributed_preferences.cpp140 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()
177 if (!database_->PutToDistributedDB(key, std::to_string(isEnable))) { in SetDistributedBundleEnable()
182 preferencesInfo_->SetDistributedBundleEnable(bundleOption->GetBundleName(), bundleOption->GetUid(), isEnable); in SetDistributedBundleEnable()
188 const sptr<NotificationBundleOption> &bundleOption, bool &isEnable) in GetDistributedBundleEnable()
200 isEnable in GetDistributedBundleEnable()
165 SetDistributedBundleEnable( const sptr<NotificationBundleOption> &bundleOption, bool isEnable) SetDistributedBundleEnable() argument
187 GetDistributedBundleEnable( const sptr<NotificationBundleOption> &bundleOption, bool &isEnable) GetDistributedBundleEnable() argument
[all...]
/base/account/os_account/test/fuzztest/osaccount/isosaccountconstraintenable_fuzzer/
H A Disosaccountconstraintenable_fuzzer.cpp35 bool isEnable = false; in IsOsAccountConstraintEnableFuzzTest() local
37 result = OsAccountManager::IsOsAccountConstraintEnable(LOCAL_ID, testConstraint, isEnable); in IsOsAccountConstraintEnableFuzzTest()
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
H A Dmock_bundle_mgr.cpp34 void MockDistributedNotificationEnabled(bool isEnable) in MockDistributedNotificationEnabled() argument
36 g_isEnable = isEnable; in MockDistributedNotificationEnabled()
H A Dmock_swing_callback_stub.cpp21 int32_t MockSwingCallBackStub::OnUpdateStatus(bool isEnable, int triggerMode) in OnUpdateStatus() argument
/base/hiviewdfx/hichecker/interfaces/js/kits/napi/js_leak_watcher/
H A Djs_leak_watcher.js181 enable: (isEnable) => {
182 if (isEnable === undefined || isEnable === null) {
185 enabled = isEnable;
186 if (!isEnable) {
/base/hiviewdfx/hiview/plugins/unified_collector/include/
H A Dunified_collector.h37 static void SetRecordTraceStatus(bool isEnable) { isEnableRecordTrace_ = isEnable; } in SetRecordTraceStatus() argument
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_core_proxy.cpp97 bool isEnable = false;
99 [&isEnable](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, isEnable); });
100 return isEnable;
/base/notification/distributed_notification_service/frameworks/core/include/
H A Dswing_callback_interface.h32 * @param isEnable, triggerMode param.
35 virtual int32_t OnUpdateStatus(bool isEnable, int triggerMode) = 0;
H A Dswing_callback_proxy.h40 * @param isEnable enable swing.
44 int32_t OnUpdateStatus(bool isEnable, int triggerMode) override;
H A Dswing_callback_stub.h41 * @param isEnable enable swing.
45 int32_t OnUpdateStatus(bool isEnable, int triggerMode) override;
50 * @param isEnable enable swing.
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/include/
H A Dmock_swing_callback_stub.h29 virtual int32_t OnUpdateStatus(bool isEnable, int triggerMode) override;
/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dvirtual_listener_test.cpp209 bool isEnable = VirtualListenerTest::engineListener_->IsEnable(); in HWTEST_F() local
210 EXPECT_FALSE(isEnable); in HWTEST_F()
225 bool isEnable = VirtualListenerTest::engineListener_->IsEnable(); in HWTEST_F() local
226 EXPECT_FALSE(isEnable); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/src/
H A Dreminder_swing_decision_center.cpp112 void ReminderSwingDecisionCenter::UpdateCrossDeviceNotificationStatus(bool isEnable) in UpdateCrossDeviceNotificationStatus() argument
114 isCrossDeviceNotificationEnable_ = isEnable; in UpdateCrossDeviceNotificationStatus()
115 ANS_LOGD("UpdateCrossDeviceNotificationStatus %{public}d", isEnable); in UpdateCrossDeviceNotificationStatus()
/base/location/test/location_locator/include/
H A Dlocator_service_test.h43 void ChangedLocationMode(bool isEnable);
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp609 bool isEnable = false; in HWTEST_F() local
611 OsAccountManager::IsOsAccountConstraintEnable(osAccountInfoOne.GetLocalId(), CONSTANT_PRINT, isEnable), in HWTEST_F()
613 EXPECT_EQ(isEnable, true); in HWTEST_F()
627 bool isEnable = true; in HWTEST_F() local
629 OsAccountManager::IsOsAccountConstraintEnable(osAccountInfoOne.GetLocalId(), CONSTANT_PRINT, isEnable), in HWTEST_F()
631 EXPECT_EQ(isEnable, false); in HWTEST_F()
1528 bool isEnable = false; in HWTEST_F() local
1530 OsAccountManager::IsOsAccountConstraintEnable(osAccountInfoOne.GetLocalId(), CONSTANT_PRINT, isEnable), in HWTEST_F()
1532 EXPECT_EQ(isEnable, true); in HWTEST_F()
1533 isEnable in HWTEST_F()
1570 bool isEnable = false; HWTEST_F() local
1613 bool isEnable = false; HWTEST_F() local
1644 bool isEnable = false; HWTEST_F() local
1688 bool isEnable = false; HWTEST_F() local
[all...]
/base/customization/enterprise_device_management/tools/edm/include/
H A Dedm_command.h62 ErrCode ReportMessage(int32_t code, bool isEnable);

Completed in 10 milliseconds

12