/base/security/huks/test/unittest/huks_standard_test/module_test/mock/common/src/ |
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()
|
/base/notification/distributed_notification_service/services/distributed/test/unittest/distributed_preferences_branch_test/ |
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…
|
/base/notification/distributed_notification_service/services/distributed/include/ |
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);
|
/base/notification/distributed_notification_service/services/distributed/src/ |
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()
|
/base/security/huks/test/unittest/huks_standard_test/module_test/mock/common/include/ |
D | huks_core_hal_mock.h | 25 void HksEnableCreateOrDestroy(bool isEnable); 27 void HksEnableSetHid(bool isEnable);
|
/base/account/os_account/test/fuzztest/appaccount/setappaccountsyncenable_fuzzer/ |
D | setappaccountsyncenable_fuzzer.cpp | 33 bool isEnable = false; in SetAppAccountSyncEnableFuzzTest() local 34 result = AppAccountManager::SetAppAccountSyncEnable(testName, isEnable); in SetAppAccountSyncEnableFuzzTest()
|
/base/account/os_account/test/fuzztest/appaccount/checkappaccountsyncenable_fuzzer/ |
D | checkappaccountsyncenable_fuzzer.cpp | 33 bool isEnable = false; in CheckAppAccountSyncEnableFuzzTest() local 34 result = AppAccountManager::CheckAppAccountSyncEnable(testName, isEnable); in CheckAppAccountSyncEnableFuzzTest()
|
/base/account/os_account/test/fuzztest/osaccount/isosaccountconstraintenable_fuzzer/ |
D | isosaccountconstraintenable_fuzzer.cpp | 33 bool isEnable = false; in IsOsAccountConstraintEnableFuzzTest() local 35 … result = OsAccountManager::IsOsAccountConstraintEnable(LOCAL_ID, testConstraint, isEnable); in IsOsAccountConstraintEnableFuzzTest()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/ |
D | mock_bundle_mgr.cpp | 34 void MockDistributedNotificationEnabled(bool isEnable) in MockDistributedNotificationEnabled() argument 36 g_isEnable = isEnable; in MockDistributedNotificationEnabled()
|
/base/customization/enterprise_device_management/test/unittest/enterprise_device_mgr_ability/enterprise_device_mgr_ability_test/ |
D | enterprise_device_mgr_ability_test.cpp | 152 bool isEnable = edmMgr_->IsAdminEnabled(admin, DEFAULT_USER_ID); variable 153 EXPECT_TRUE(!isEnable); 175 bool isEnable = edmMgr_->IsAdminEnabled(admin, DEFAULT_USER_ID); variable 176 EXPECT_TRUE(!isEnable); 207 bool isEnable = edmMgr_->IsAdminEnabled(admin, DEFAULT_USER_ID); variable 208 EXPECT_TRUE(isEnable); 233 bool isEnable = edmMgr_->IsAdminEnabled(admin, DEFAULT_USER_ID); variable 234 EXPECT_TRUE(!isEnable); 265 bool isEnable = edmMgr_->IsAdminEnabled(admin, DEFAULT_USER_ID); variable 266 EXPECT_TRUE(isEnable); [all …]
|
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
D | input_method_core_proxy.cpp | 85 bool isEnable = false; in IsEnable() local 87 …IS_ENABLE, nullptr, [&isEnable](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, isEnab… in IsEnable() 88 return isEnable; in IsEnable()
|
D | input_method_core_stub.cpp | 148 bool isEnable = IsEnable(); in IsEnableOnRemote() local 149 return ITypesUtil::Marshal(reply, ErrorCode::NO_ERROR, isEnable) ? ErrorCode::NO_ERROR in IsEnableOnRemote()
|
/base/account/os_account/frameworks/osaccount/native/test/moduletest/ |
D | os_account_manager_module_test.cpp | 575 bool isEnable = false; variable 577 …countManager::IsOsAccountConstraintEnable(osAccountInfoOne.GetLocalId(), CONSTANT_PRINT, isEnable), 579 EXPECT_EQ(isEnable, true); 593 bool isEnable = true; variable 595 …countManager::IsOsAccountConstraintEnable(osAccountInfoOne.GetLocalId(), CONSTANT_PRINT, isEnable), 597 EXPECT_EQ(isEnable, false); 1463 bool isEnable = false; variable 1465 …countManager::IsOsAccountConstraintEnable(osAccountInfoOne.GetLocalId(), CONSTANT_PRINT, isEnable), 1467 EXPECT_EQ(isEnable, true); 1468 isEnable = false; [all …]
|
/base/location/test/location_locator/include/ |
D | locator_service_test.h | 43 void ChangedLocationMode(bool isEnable);
|
/base/account/os_account/frameworks/test/unittest/ |
D | account_osaccount_proxy_mock_test.cpp | 163 bool isEnable = true; variable 165 OsAccountManager::IsOsAccountConstraintEnable(TEST_USER_ID, CONSTANT_PRINT, isEnable); 167 ASSERT_EQ(isEnable, false);
|
/base/account/os_account/services/accountmgr/test/moduletest/os_account/ |
D | os_account_manager_service_module_test.cpp | 431 bool isEnable = false; variable 433 osAccountInfoOne.GetLocalId(), CONSTANTS_STRING_WIFI, isEnable), ERR_OK); 434 EXPECT_EQ(isEnable, true); 448 bool isEnable = true; variable 450 osAccountInfoOne.GetLocalId(), CONSTANTS_STRING_WIFI, isEnable), ERR_OK); 451 EXPECT_EQ(isEnable, false); 453 osAccountInfoOne.GetLocalId(), CONSTANTS_STRING_WIFI, isEnable), ERR_OK); 454 EXPECT_EQ(isEnable, false); 458 …EQ(osAccountManagerService_->IsOsAccountConstraintEnable(localId, CONSTANTS_STRING_WIFI, isEnable), 460 …sAccountManagerService_->CheckOsAccountConstraintEnabled(localId, CONSTANTS_STRING_WIFI, isEnable),
|
/base/account/os_account/interfaces/kits/napi/osaccount/src/ |
D | napi_os_account.cpp | 1017 auto isEnable = std::make_unique<IsConEnableAsyncContext>(); in InnerIsOsAccountConstraintEnable() local 1018 isEnable->env = env; in InnerIsOsAccountConstraintEnable() 1019 isEnable->throwErr = throwErr; in InnerIsOsAccountConstraintEnable() 1021 if (!ParseParaIsEnable(env, cbInfo, isEnable.get()) && throwErr) { in InnerIsOsAccountConstraintEnable() 1026 if (isEnable->callbackRef == nullptr) { in InnerIsOsAccountConstraintEnable() 1027 napi_create_promise(env, &isEnable->deferred, &result); in InnerIsOsAccountConstraintEnable() 1036 reinterpret_cast<void *>(isEnable.get()), &isEnable->work); in InnerIsOsAccountConstraintEnable() 1038 napi_queue_async_work_with_qos(env, isEnable->work, napi_qos_default); in InnerIsOsAccountConstraintEnable() 1039 isEnable.release(); in InnerIsOsAccountConstraintEnable()
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
D | os_account_manager_service.cpp | 916 bool isEnable = true; in PermissionCheck() local 917 innerManager_.IsOsAccountConstraintEnable(callerUserId, constraintName, isEnable); in PermissionCheck() 918 if (isEnable) { in PermissionCheck()
|
/base/notification/distributed_notification_service/frameworks/js/napi/include/manager/ |
D | napi_slot.h | 154 bool isEnable = false; member
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
D | napi_slot.cpp | 749 … asynccallbackinfo->params.option, asynccallbackinfo->params.outType, asynccallbackinfo->isEnable); in NapiIsEnableNotificationSlot() 757 napi_get_boolean(env, asynccallbackinfo->isEnable, &result); in NapiIsEnableNotificationSlot()
|
/base/account/os_account/interfaces/kits/napi/appaccount/include/ |
D | napi_app_account_common.h | 79 bool isEnable = false; member
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
D | slot.cpp | 163 bool isEnable = false; member 1469 … asynccallbackinfo->params.option, asynccallbackinfo->params.outType, asynccallbackinfo->isEnable); in IsEnableNotificationSlot() 1477 napi_get_boolean(env, asynccallbackinfo->isEnable, &result); in IsEnableNotificationSlot()
|
/base/location/test/location_locator/source/ |
D | locator_service_test.cpp | 160 void LocatorServiceTest::ChangedLocationMode(bool isEnable) in ChangedLocationMode() argument 162 std::string value = isEnable ? "3" : "0"; in ChangedLocationMode()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
D | advanced_notification_service_branch_test.cpp | 54 extern void MockDistributedNotificationEnabled(bool isEnable);
|
/base/account/os_account/interfaces/kits/napi/appaccount/src/ |
D | napi_app_account_common.cpp | 727 … result = (napi_get_value_bool(env, argv, &asyncContext->isEnable) == napi_ok) ? true : false; in ParseAppAccountProperty()
|