Home
last modified time | relevance | path

Searched refs:STAT_TYPES (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/MediaLibraryExt/entry/src/main/ets/MediaBackupExtensionAbility/
H A DMediaBackupExtensionAbility.ts61 const STAT_TYPES = [STAT_TYPE_PHOTO, STAT_TYPE_VIDEO, STAT_TYPE_AUDIO];
287 if (subCountInfos.length !== STAT_TYPES.length) {
288 console.error(TAG, `countInfo ${subCountInfos.length} != ${STAT_TYPES.length}`);
311 if (!STAT_TYPES.includes(subCountInfo[STAT_KEY_BACKUP_INFO])) {
312 …or(TAG, `SubCountInfo ${subCountInfo[STAT_KEY_BACKUP_INFO]} not in ${JSON.stringify(STAT_TYPES)}`);
322 if (jsonObject.length !== STAT_TYPES.length) {
323 console.error(TAG, `backupInfo num ${jsonObject.length} != ${STAT_TYPES.length}`);
348 if (!STAT_TYPES.includes(subBackupInfo[STAT_KEY_BACKUP_INFO])) {
349 …(TAG, `SubBackupInfo ${subBackupInfo[STAT_KEY_BACKUP_INFO]} not in ${JSON.stringify(STAT_TYPES)}`);
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/include/
H A Dbackup_const.h153 const std::vector<std::string> STAT_TYPES = { STAT_TYPE_PHOTO, STAT_TYPE_VIDEO, STAT_TYPE_AUDIO }; variable
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dbase_restore.cpp813 restoreExInfoJson[STAT_KEY_RESULT_INFO] = { GetErrorInfoJson(), GetCountInfoJson(STAT_TYPES) }; in GetRestoreExInfo()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_backup_test/src/
H A Dmedialibrary_backup_test.cpp1468 vector<string> types = STAT_TYPES;