Home
last modified time | relevance | path

Searched refs:isExist (Results 1 – 23 of 23) sorted by relevance

/base/startup/init/test/unittest/modules/
Deng_unittest.cpp105 bool isExist = IsDirExist(ENG_ROOT_PATH.c_str()); variable
106 if (isExist) {
110 isExist = IsDirExist(TARGET_PATH.c_str());
111 if (isExist) {
118 isExist = IsFileExist(SRC_FILE_PATH.c_str());
119 EXPECT_EQ(isExist, true);
122 isExist = IsFileExistWithType(SRC_FILE_PATH.c_str(), TYPE_REG);
123 EXPECT_EQ(isExist, true);
133 isExist = IsFileExistWithType(TARGET_PATH.c_str(), TYPE_LINK);
134 EXPECT_EQ(isExist, true);
[all …]
/base/startup/init/services/modules/init_eng/
Dinit_eng.c33 bool isExist = false; in IsFileExistWithType() local
39 isExist = true; in IsFileExistWithType()
44 isExist = true; in IsFileExistWithType()
49 isExist = true; in IsFileExistWithType()
54 isExist = true; in IsFileExistWithType()
58 return isExist; in IsFileExistWithType()
/base/telephony/telephony_data/sim/src/
Drdb_sim_helper.cpp124 bool isExist = false; in UpdateCardStateByType() local
129 isExist = true; in UpdateCardStateByType()
135 isExist = true; in UpdateCardStateByType()
141 isExist = true; in UpdateCardStateByType()
147 isExist = true; in UpdateCardStateByType()
155 if (isExist) { in UpdateCardStateByType()
/base/account/os_account/services/accountmgr/test/unittest/os_account/
Dos_account_control_file_manager_test.cpp526 bool isExist; variable
530 INT_TEST_ERR_USER_ID, "invalid_constraint", isExist);
544 bool isExist; variable
546 100, "constraint.wifi", isExist);
548 EXPECT_EQ(isExist, true);
559 bool isExist; variable
564 100, "constraint.wifi", isExist);
566 EXPECT_EQ(isExist, true);
/base/web/webview/interfaces/kits/napi/webdatabase/
Dnapi_web_data_base.cpp75 bool isExist = false; in JsExistHttpAuthCredentials() local
80 isExist = dataBase->ExistHttpAuthCredentials(); in JsExistHttpAuthCredentials()
82 NAPI_CALL(env, napi_get_boolean(env, isExist, &result)); in JsExistHttpAuthCredentials()
/base/location/test/mock/include/
Dmock_if_system_ability_manager.h41 MOCK_METHOD(sptr<IRemoteObject>, CheckSystemAbility, (int32_t systemAbilityId, bool& isExist));
/base/theme/wallpaper_mgr/test/unittest/
Dwallpaper_test.cpp910 bool isExist = fileOperation.Mkdir("/data/test/theme/wallpaper/"); variable
911 EXPECT_EQ(isExist, true);
912 isExist = fileOperation.Mkdir("/data/test/theme/errorURI/");
913 EXPECT_EQ(isExist, true);
914 isExist = fileOperation.IsFileExist(URI);
915 EXPECT_EQ(isExist, true);
916 isExist = fileOperation.IsFileExist("/data/test/theme/wallpaper/errorURI");
917 EXPECT_EQ(isExist, false);
/base/telephony/ril_adapter/interfaces/innerkits/include/
Dhril_sms_parcel.h261 unsigned char isExist = 0; member
Dhril_vendor_sms_defs.h184 unsigned char isExist; member
/base/web/webview/test/unittest/ohos_adapter/camera_adapter_impl_test/
Dcamera_adapter_impl_test.cpp500 bool isExist = adapter.IsExistCaptureTask(); variable
501 EXPECT_TRUE(isExist);
515 isExist = adapter.IsExistCaptureTask();
516 EXPECT_FALSE(isExist);
/base/account/os_account/services/accountmgr/test/mock/src/
Dmock_service_registry.cpp62 …RemoteObject> SystemAbilityManagerProxy::CheckSystemAbility(int32_t systemAbilityId, bool& isExist) in CheckSystemAbility() argument
/base/security/access_token/services/test/mock/aafwk/
Dmock_service_registry.cpp105 …RemoteObject> SystemAbilityManagerProxy::CheckSystemAbility(int32_t systemAbilityId, bool& isExist) in CheckSystemAbility() argument
/base/location/test/mock/src/
Dmock_service_registry.cpp69 …RemoteObject> SystemAbilityManagerProxy::CheckSystemAbility(int32_t systemAbilityId, bool& isExist) in CheckSystemAbility() argument
/base/startup/init/test/unittest/ueventd/
Dueventd_event_unittest.cpp45 bool isExist = true; in SetUpTestCase() local
54 isExist = false; in SetUpTestCase()
57 if (isExist) { in SetUpTestCase()
/base/security/device_auth/services/group_manager/src/group_operation/across_account_group/
Dacross_account_group.c203 bool isExist = false; in AssertIdenticalGroupExist() local
208 isExist = true; in AssertIdenticalGroupExist()
214 if (!isExist) { in AssertIdenticalGroupExist()
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/
Dcm_type.h271 uint32_t isExist; member
/base/customization/enterprise_device_management/test/unittest/enterprise_device_mgr_ability/enterprise_device_mgr_ability_test/
Denterprise_device_mgr_ability_test.cpp654 bool isExist = edmMgr_->adminMgr_->GetAdminByUserId(ERROR_USER_ID_REMOVE, userAdmin); variable
655 EXPECT_TRUE(isExist);
659 isExist = edmMgr_->adminMgr_->GetAdminByUserId(DEFAULT_USER_ID, userAdmin);
660 EXPECT_TRUE(!isExist);
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/
Dcm_ipc_client.c498 int32_t ret = GetUint32FromBuffer(&certificateInfo->isExist, outData, &offset); in CmAppCertInfoUnpackFromService()
499 if (ret != CM_SUCCESS || certificateInfo->isExist == 0) { in CmAppCertInfoUnpackFromService()
500 …CM_LOG_E("Get certificateInfo->isExist failed ret:%d, is exist:%u", ret, certificateInfo->isExist); in CmAppCertInfoUnpackFromService()
/base/telephony/state_registry/services/src/
Dtelephony_state_registry_service.cpp412 bool isExist = false; in RegisterStateChange() local
417 isExist = true; in RegisterStateChange()
422 if (!isExist) { in RegisterStateChange()
/base/print/print_fwk/frameworks/kits/extension/src/
Djs_print_extension_context.cpp493 auto isExist = [&abilityInfo](const AppExecFwk::ExtensionAbilityInfo &info) { in CreateJsPrintExtensionContext() local
498 … std::find_if(hapModuleInfo->extensionInfos.begin(), hapModuleInfo->extensionInfos.end(), isExist); in CreateJsPrintExtensionContext()
/base/theme/wallpaper_mgr/frameworks/kits/extension/src/
Djs_wallpaper_extension_context.cpp494 auto isExist = [&abilityInfo](const AppExecFwk::ExtensionAbilityInfo &info) { in CreateJsWallpaperExtensionContext() local
499 … std::find_if(hapModuleInfo->extensionInfos.begin(), hapModuleInfo->extensionInfos.end(), isExist); in CreateJsWallpaperExtensionContext()
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_control_file_manager.cpp849 const int32_t id, const std::string constraint, bool &isExist) in IsFromBaseOAConstraintsList() argument
851 isExist = false; in IsFromBaseOAConstraintsList()
860 isExist = true; in IsFromBaseOAConstraintsList()
/base/security/device_auth/test/unittest/deviceauth/source/
Ddeviceauth_standard_test.cpp3612 … bool isExist = gm->isDeviceInGroup(DEFAULT_OS_ACCOUNT, TEST_APP_ID, TEST_GROUP_ID, TEST_AUTH_ID); variable
3613 ASSERT_EQ(isExist, true);
3618 isExist = gm->isDeviceInGroup(DEFAULT_OS_ACCOUNT, TEST_APP_ID, TEST_GROUP_ID, TEST_AUTH_ID);
3619 if (!isExist) {