/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/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/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...] |
/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/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/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_const_column.h | 26 const std::string DEFAULT_BACKUP_VERSION = "backup1.0"; 27 const std::string GALLERY_TABLE_MERGE_FACE = "merge_face"; 28 const std::string GALLERY_TABLE_MERGE_TAG = "merge_tag"; 29 const std::string GALLERY_TABLE_MEDIA = "gallery_media"; 30 const std::string GALLERY_TABLE_FACE = "face"; 31 const std::string GALLERY_TAG_ID = "tag_id"; 32 const std::string GALLERY_FACE_ID = "face_id"; 33 const std::string GALLERY_GROUP_TAG = "merge_tag.group_tag"; 34 const std::string GALLERY_TAG_NAME = "merge_tag.tag_name"; 35 const std [all...] |
/foundation/multimedia/ringtone_library/interfaces/inner_api/native/ |
H A D | ringtone_db_const.h | 24 const std::string RINGTONE_BUNDLE_NAME = "com.ohos.ringtonelibrary.ringtonelibrarydata"; 26 const std::string RINGTONE_URI_SCHEME = "datashare"; 27 const std::string RINGTONE_URI_AUTHORITY = "ringtone"; 28 const std::string RINGTONE_URI_PATH = "ringtone"; 29 const std::string RINGTONE_URI = RINGTONE_URI_SCHEME + ":///" + RINGTONE_URI_AUTHORITY; 30 const std::string RINGTONE_PATH_URI = RINGTONE_URI + "/" + RINGTONE_URI_PATH; 32 const std::string VIBRATE_URI_PATH = "vibrate"; 33 const std::string VIBRATE_PATH_URI = RINGTONE_URI + "/" + VIBRATE_URI_PATH; 36 const std::string RINGTONE_CUSTOMIZED_BASE_PATH = "/storage/media/local/files"; 37 const std [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/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/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...] |
/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/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/multimedia/media_library/frameworks/services/media_mtp/include/ |
H A D | mtp_data_utils.h | 35 std::string outStrVal; 37 const std::string MTP_FORMAT_ALL = ".all"; // Undefined 38 const std::string MTP_FORMAT_UNDEFINED = ".undefined"; // Undefined 39 const std::string MTP_FORMAT_ASSOCIATION = ".floader"; // associations (folders and directories) 40 const std::string MTP_FORMAT_SCRIPT = ".js"; // script files 41 const std::string MTP_FORMAT_EXECUTABLE = ".exe"; // executable files 42 const std::string MTP_FORMAT_TEXT = ".txt"; // text files 43 const std::string MTP_FORMAT_HTML = ".html"; // HTML files 44 const std::string MTP_FORMAT_DPOF = ".dp"; // DPOF files 45 const std [all...] |
/foundation/deviceprofile/device_info_manager/common/include/utils/ |
H A D | profile_utils.h | 38 static std::string GetDbKeyAnonyString(const std::string& value); 39 static std::string GetAnonyString(const std::string& value); 40 static std::vector<std::string> GetOnlineDevices(); 41 static std::string GetLocalUdidFromDM(); 42 static bool FilterAndGroupOnlineDevices(const std::vector<std::string>& deviceList, 43 std [all...] |
/foundation/filemanagement/app_file_service/tests/mock/utils_mock/include/ |
H A D | b_jsonutil_mock.h | 26 virtual BJsonUtil::BundleDetailInfo ParseBundleNameIndexStr (const std::string&) = 0; 27 virtual std::map<std::string, std::vector<BJsonUtil::BundleDetailInfo>> BuildBundleInfos( 28 const std::vector<std::string>&, const std::vector<std::string>&, std::vector<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...] |
H A D | adapter_config.h | 26 const std::string SECTION_CLASSIC_ADAPTER = "ClassicAdapter"; 27 const std::string SECTION_BLE_ADAPTER = "BleAdapter"; 28 const std::string SECTION_A2DP_SRC_SERVICE = "A2dpSrcService"; 29 const std::string SECTION_A2DP_SNK_SERVICE = "A2dpSnkService"; 30 const std::string SECTION_HFP_HF_SERVICE = "HfpHfService"; 31 const std::string SECTION_HFP_AG_SERVICE = "HfpAgService"; 32 const std::string SECTION_GATT_CLIENT_SERVICE = "GattClientService"; 33 const std::string SECTION_GATT_SERVICE = "GattService"; 34 const std::string SECTION_AVRCP_CT_SERVICE = "AvrcpCtService"; 35 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/multimedia/audio_framework/services/audio_policy/server/include/service/common/ |
H A D | audio_module_info.h | 29 static const std::string PRIMARY_CLASS = "primary"; 30 static const std::string A2DP_CLASS = "a2dp"; 31 static const std::string USB_CLASS = "usb"; 32 static const std::string DP_CLASS = "dp"; 33 static const std::string FILE_CLASS = "file_io"; 34 static const std::string REMOTE_CLASS = "remote"; 35 static const std::string OFFLOAD_CLASS = "offload"; 36 static const std::string MCH_CLASS = "multichannel"; 37 static const std::string INVALID_CLASS = "invalid"; 38 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...] |