/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/ |
H A D | testcasefactory.cpp | 69 std::unordered_map<std::string, std::function<std::shared_ptr<TestBase>()>> FunctionalCpuMap = { 71 { "aarectmodes", []() -> std::shared_ptr<TestBase> { return std::make_shared<AARectModes>(); } }, 72 { "blurcircles", []() -> std::shared_ptr<TestBase> { return std::make_shared<BlurCircles>(); } }, 73 { "blur_large_rrects", []() -> std::shared_ptr<TestBase> { return std [all...] |
/foundation/multimedia/media_library/interfaces/kits/js/include/napi/ |
H A D | medialibrary_napi_enum_comm.h | 31 const std::vector<std::string> deliveryModeEnum { 35 const std::vector<std::string> sourceModeEnum { 39 const std::vector<std::string> privateAlbumTypeNameEnum { 43 const std::vector<std::string> AuthorizationModeEnum { 47 const std::vector<std [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_mgr_service_event_handler.h | 70 std::string bundleName; 71 std::string hmpName; 72 std::string bundleDir; 73 std::string hspDir; 86 static void GetPreInstallRootDirList(std::vector<std::string> &rootDirList); 108 static bool CheckExtensionTypeInConfig(const std::string &extensionTypeName); 120 static void ProcessRebootQuickFixBundleInstall(const std::string &path, bool isOta); 122 static void ProcessRebootQuickFixUnInstallAndRecover(const std::string &path); 124 static void SavePreInstallException(const std [all...] |
H A D | base_bundle_installer.h | 74 std::vector<std::string> newDirs; // record newly created directories, delete when rollback 75 std::vector<std::string> newBundles; // record newly installed bundle, uninstall when rollback 76 std::unordered_map<std::string, InnerBundleInfo> backupBundles; // record initial InnerBundleInfo 88 const std::string &bundlePath, const InstallParam &installParam, const Constants::AppType appType); 97 ErrCode InstallBundle(const std::vector<std::string> &bundlePaths, const InstallParam &installParam, 105 ErrCode UninstallBundle(const std [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/declaration/common/ |
H A D | declaration_constants.cpp | 21 const std::vector<AttributeTag> DeclarationConstants::DEFAULT_ATTRS { AttributeTag::COMMON_ATTR, 25 const std::vector<StyleTag> DeclarationConstants::DEFAULT_STYLES { StyleTag::COMMON_STYLE, StyleTag::COMMON_SIZE_STYLE, 33 const std::vector<EventTag> DeclarationConstants::DEFAULT_EVENTS { EventTag::COMMON_RAW_EVENT, 38 const std::vector<MethodTag> DeclarationConstants::DEFAULT_METHODS { MethodTag::COMMON_METHOD }; 41 const std::shared_ptr<CommonAttribute> DeclarationConstants::DEFAULT_COMMON_ATTR = std::make_shared<CommonAttribute>(); 42 const std::shared_ptr<CommonDisabledAttribute> DeclarationConstants::DEFAULT_DISABLED_ATTR = 43 std::make_shared<CommonDisabledAttribute>(); 44 const std::shared_ptr<CommonFocusableAttribute> DeclarationConstants::DEFAULT_FOCUSABLE_ATTR = 45 std [all...] |
/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/ |
H A D | backup_const.h | 54 const std::string RESTORE_FILES_CLOUD_DIR = "/storage/cloud/files/"; 55 const std::string RESTORE_FILES_LOCAL_DIR = "/storage/media/local/files/"; 56 const std::string RESTORE_CLOUD_DIR = "/storage/cloud/files/Photo"; 57 const std::string RESTORE_AUDIO_CLOUD_DIR = "/storage/cloud/files/Audio"; 58 const std::string RESTORE_LOCAL_DIR = "/storage/media/local/files/Photo"; 59 const std::string RESTORE_AUDIO_LOCAL_DIR = "/storage/media/local/files/Audio"; 60 const std::string RESTORE_MUSIC_LOCAL_DIR = "/storage/media/local/files/Docs/Music/"; 61 const std::string UPGRADE_FILE_DIR = "/storage/media/local/files/data"; 62 const std::string GARBLE_DUAL_FRAME_CLONE_DIR = "/storage/media/local/files/data/storage/emulated"; 63 const std [all...] |
H A D | clone_restore.h | 43 void StartRestore(const std::string &backupRestorePath, const std::string &upgradePath) override; 44 int32_t Init(const std::string &backupRestoreDir, const std::string &upgradeFilePath, bool isUpgrade) override; 45 NativeRdb::ValuesBucket GetInsertValue(const FileInfo &fileInfo, const std::string &newPath, 47 std::string GetBackupInfo() override; 49 using CoverUriInfo = std::pair<std::string, std::pair<std [all...] |
H A D | backup_database_utils.h | 33 using FileIdPair = std::pair<int32_t, int32_t>; 34 using TagPairOpt = std::pair<std::optional<std::string>, std::optional<std::string>>; 37 static int32_t InitDb(std::shared_ptr<NativeRdb::RdbStore> &rdbStore, const std::string &dbName, 38 const std::string &dbPath, const std [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/val/ |
H A D | val_capability_test.cpp | 42 // Parameter for validation test fixtures. The first std::string is a 44 // remainder assembly, and the std::vector at the end determines whether the 64 // std::vector of capabilities that make the remainder assembly succeed. So if 65 // the first-line capability exists in that std::vector, success is expected; 74 std::tuple<std::string, std::pair<std::string, std::vector<std [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/ |
H A D | val_capability_test.cpp | 42 // Parameter for validation test fixtures. The first std::string is a 44 // remainder assembly, and the std::vector at the end determines whether the 64 // std::vector of capabilities that make the remainder assembly succeed. So if 65 // the first-line capability exists in that std::vector, success is expected; 74 std::tuple<std::string, std::pair<std::string, std::vector<std [all...] |
/third_party/spirv-tools/test/val/ |
H A D | val_capability_test.cpp | 42 // Parameter for validation test fixtures. The first std::string is a 44 // remainder assembly, and the std::vector at the end determines whether the 64 // std::vector of capabilities that make the remainder assembly succeed. So if 65 // the first-line capability exists in that std::vector, success is expected; 74 std::tuple<std::string, std::pair<std::string, std::vector<std [all...] |
H A D | val_version_test.cpp | 28 std::tuple<spv_target_env, spv_target_env, std::string, bool>>; 30 const std::string vulkan_spirv = R"( 43 const std::string opencl_spirv = R"( 50 std::string version(spv_target_env env) { in version() 89 CompileSuccessfully(std::get<2>(GetParam()), std::get<0>(GetParam())); in TEST_P() 90 spv_result_t res = ValidateInstructions(std::get<1>(GetParam())); in TEST_P() 91 if (std::get<3>(GetParam())) { in TEST_P() 96 std in TEST_P() [all...] |
/foundation/multimedia/media_foundation/test/scenetest/ |
H A D | test_single_player_slow_1.h | 29 DATA_GROUP(std::string(RESOURCE_DIR "/MP3/MP3_LONG_48000_32.mp3")), in FIXTURE() 30 DATA_GROUP(std::string(RESOURCE_DIR "/M4A/MPEG-4_48000_32_LONG.m4a")), in FIXTURE() 31 DATA_GROUP(std::string(RESOURCE_DIR "/../../../../resource_ext/WAV/02-400Hz Stereo 0dB.wav")), in FIXTURE() 32 DATA_GROUP(std::string(RESOURCE_DIR "/../../../../resource_ext/WAV/03-500Hz Stereo 0dB.wav")), in FIXTURE() 33 DATA_GROUP(std::string(RESOURCE_DIR "/../../../../resource_ext/WAV/04-600Hz Stereo 0dB.wav")), in FIXTURE() 34 DATA_GROUP(std::string(RESOURCE_DIR "/../../../../resource_ext/WAV/05-700Hz Stereo 0dB.wav")), in FIXTURE() 35 DATA_GROUP(std::string(RESOURCE_DIR "/../../../../resource_ext/WAV/06-800Hz Stereo 0dB.wav")), in FIXTURE() 36 DATA_GROUP(std::string(RESOURCE_DIR "/../../../../resource_ext/WAV/07-900Hz Stereo 0dB.wav")), in FIXTURE() 37 DATA_GROUP(std::string(RESOURCE_DIR "/../../../../resource_ext/WAV/08-1kHz Stereo 0dB.wav")), in FIXTURE() 38 DATA_GROUP(std in FIXTURE() [all...] |
H A D | test_single_player_slow_2.h | 30 DATA_GROUP(std::string(RESOURCE_DIR "/../../../../resource_ext/FLAC/00-200Hz Stereo 0dB.flac")), in FIXTURE() 31 DATA_GROUP(std::string(RESOURCE_DIR "/../../../../resource_ext/FLAC/01-300Hz Stereo 0dB.flac")), in FIXTURE() 32 DATA_GROUP(std::string(RESOURCE_DIR "/../../../../resource_ext/FLAC/02-400Hz Stereo 0dB.flac")), in FIXTURE() 33 DATA_GROUP(std::string(RESOURCE_DIR "/../../../../resource_ext/FLAC/03-500Hz Stereo 0dB.flac")), in FIXTURE() 34 DATA_GROUP(std::string(RESOURCE_DIR "/../../../../resource_ext/FLAC/04-600Hz Stereo 0dB.flac")), in FIXTURE() 35 DATA_GROUP(std::string(RESOURCE_DIR "/../../../../resource_ext/FLAC/05-700Hz Stereo 0dB.flac")), in FIXTURE() 36 DATA_GROUP(std::string(RESOURCE_DIR "/../../../../resource_ext/FLAC/06-800Hz Stereo 0dB.flac")), in FIXTURE() 37 DATA_GROUP(std::string(RESOURCE_DIR "/../../../../resource_ext/FLAC/07-900Hz Stereo 0dB.flac")), in FIXTURE() 38 DATA_GROUP(std::string(RESOURCE_DIR "/../../../../resource_ext/FLAC/08-1kHz Stereo 0dB.flac")), in FIXTURE() 39 DATA_GROUP(std in FIXTURE() [all...] |
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include/notify/ |
H A D | device_manager_notify.h | 41 void RegisterDeathRecipientCallback(const std::string &pkgName, std::shared_ptr<DmInitCallback> dmInitCallback); 42 void UnRegisterDeathRecipientCallback(const std::string &pkgName); 43 void RegisterDeviceStateCallback(const std::string &pkgName, std::shared_ptr<DeviceStateCallback> callback); 44 void UnRegisterDeviceStateCallback(const std::string &pkgName); 45 void UnRegisterDeviceStatusCallback(const std::string &pkgName); 46 void RegisterDeviceStatusCallback(const std::string &pkgName, std::shared_ptr<DeviceStatusCallback> callback); 47 void RegisterDiscoveryCallback(const std [all...] |
/foundation/multimedia/media_library/interfaces/inner_api/media_library_helper/include/ |
H A D | userfilemgr_uri.h | 23 const std::string MEDIALIBRARY_DATA_URI = "datashare:///media"; 24 const std::string MEDIA_OPERN_KEYWORD = "operation"; 25 const std::string MEDIA_MOVING_PHOTO_OPRN_KEYWORD = "moving_photo_operation"; 26 const std::string MEDIA_QUERYOPRN = "query_operation"; 27 const std::string OPRN_CREATE = "create"; 28 const std::string OPRN_CREATE_COMPONENT = "create_component"; 29 const std::string OPRN_CLOSE = "close"; 30 const std::string OPRN_DELETE = "delete"; 31 const std::string OPRN_QUERY = "query"; 32 const std [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/include/ |
H A D | distributeddb_schema_test_tools.h | 35 // the valid std::string of schema field 36 const static std::string VALID_VERSION_1 = "1.0"; 37 const std::vector<std::string> VALID_VERSION = {VALID_VERSION_1}; 38 const static std::string VALID_MODE_1 = "STRICT"; 39 const static std::string VALID_MODE_2 = "COMPATIBLE"; 40 const std::vector<std::string> VALID_MODE = {VALID_MODE_1, VALID_MODE_2}; 41 const static std::string VALID_DEFINE_1 = "{\"field1\":\"STRING,NOT NULL,DEFAULT 'fxy'\"," \ 50 const static std [all...] |
/foundation/ability/idl_tool/test/ts/common/ |
H A D | idl_file.h | 24 const std::string LICENSE_CONTENT =
40 const std::string UNKNOW_TYPE_IDL_NAME = "IIdlTest.idl";
42 const std::string UNKNOW_TYPE_CASE1_IDL_CONTENT =
47 const std::string UNKNOW_TYPE_CASE2_IDL_CONTENT =
52 const std::string UNKNOW_TYPE_CASE3_IDL_CONTENT =
57 const std::string UNKNOW_TYPE_CASE4_IDL_CONTENT =
62 const std::string UNKNOW_TYPE_CASE5_IDL_CONTENT =
67 const std::string UNKNOW_TYPE_CASE6_IDL_CONTENT =
72 const std::string UNKNOW_TYPE_CASE7_IDL_CONTENT =
77 const std [all...] |
/foundation/ability/idl_tool/test/rust/common/ |
H A D | idl_file.h | 24 const std::string LICENSE_CONTENT =
40 const std::string UNKNOW_TYPE_IDL_NAME = "IIdlTest.idl";
42 const std::string UNKNOW_TYPE_CASE1_IDL_CONTENT =
47 const std::string UNKNOW_TYPE_CASE2_IDL_CONTENT =
52 const std::string UNKNOW_TYPE_CASE3_IDL_CONTENT =
57 const std::string UNKNOW_TYPE_CASE4_IDL_CONTENT =
62 const std::string UNKNOW_TYPE_CASE5_IDL_CONTENT =
67 const std::string UNKNOW_TYPE_CASE6_IDL_CONTENT =
72 const std::string UNKNOW_TYPE_CASE7_IDL_CONTENT =
77 const std [all...] |
/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/input/ |
H A D | camera_napi.h | 44 static const std::int32_t PHOTO_DEFAULT_WIDTH = 1280; 45 static const std::int32_t PHOTO_DEFAULT_HEIGHT = 960; 48 static const std::int32_t SURFACE_DEFAULT_WIDTH = 640; 49 static const std::int32_t SURFACE_DEFAULT_HEIGHT = 480; 52 static const std::int32_t PREVIEW_DEFAULT_WIDTH = 640; 53 static const std::int32_t PREVIEW_DEFAULT_HEIGHT = 480; 56 static const std::int32_t VIDEO_DEFAULT_WIDTH = 640; 57 static const std::int32_t VIDEO_DEFAULT_HEIGHT = 360; 59 static const std::int32_t SURFACE_QUEUE_SIZE = 10; 61 static const std [all...] |
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include/ |
H A D | device_manager.h | 42 virtual int32_t InitDeviceManager(const std::string &pkgName, std::shared_ptr<DmInitCallback> dmInitCallback) = 0;
48 virtual int32_t UnInitDeviceManager(const std::string &pkgName) = 0;
56 virtual int32_t GetTrustedDeviceList(const std::string &pkgName, const std::string &extra,
57 std::vector<DmDeviceInfo> &deviceList) = 0;
66 virtual int32_t GetTrustedDeviceList(const std::string &pkgName, const std::string &extra,
67 bool isRefresh, std::vector<DmDeviceInfo> &deviceList) = 0;
75 virtual int32_t GetAvailableDeviceList(const std [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/ |
H A D | installd_operator.h | 35 using EnforceMetadataProcessForApp = int32_t (*)(const std::unordered_map<std::string, std::string> &, 45 static bool IsExistFile(const std::string &path); 51 static bool IsExistApFile(const std::string &path); 57 static bool IsExistDir(const std::string &path); 63 static bool IsDirEmpty(const std::string &dir); 70 static bool MkRecursiveDir(const std::string &path, bool isReadByOthers); 76 static bool DeleteDir(const std::string &path); 84 static bool ExtractFiles(const std [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/ |
H A D | adapter_device_config.h | 30 const std::string SECTION_HOST = "Host"; 31 const std::string PROPERTY_DEVICE_ADDR = "Address"; 32 const std::string PROPERTY_DEVICE_NAME = "DeviceName"; 33 const std::string PROPERTY_CLASS_OF_DEVICE = "ClassOfDevice"; 34 const std::string PROPERTY_IO_CAPABILITY = "IOCapability"; 35 const std::string PROPERTY_DEVICE_TYPE = "DeviceType"; 36 const std::string PROPERTY_SCAN_MODE = "ScanMode"; 37 const std::string PROPERTY_BONDABLE_MODE = "BondableMode"; 38 const std::string PROPERTY_DISCOVERABLE_TIMEOUT = "DiscoverableTimeout"; 39 const std [all...] |
/foundation/bundlemanager/bundle_tool/frameworks/include/ |
H A D | bundle_command.h | 26 const std::string TOOL_NAME = "bm"; 28 const std::string HELP_MSG = "usage: bm <command> <options>\n" 43 const std::string ENABLE_DISABLE_HELP_MSG = " enable enable the bundle\n" 46 const std::string CLEAN_HELP_MSG = " clean clean the bundle data\n"; 48 const std::string HELP_MSG_COMPILE = 56 const std::string HELP_MSG_COPY_AP = 63 const std::string HELP_MSG_INSTALL = 79 const std::string HELP_MSG_UNINSTALL = 90 const std::string HELP_MSG_UNINSTALL_SHARE = 97 const std [all...] |
/third_party/gn/src/base/strings/ |
H A D | string_util.h | 74 std::string ToLowerASCII(std::string_view str); 75 std::u16string ToLowerASCII(std::u16string_view str); 78 std::string ToUpperASCII(std::string_view str); 79 std::u16string ToUpperASCII(std::u16string_view str); 82 // std::search. 104 int CompareCaseInsensitiveASCII(std [all...] |