/ohos5.0/foundation/multimedia/media_foundation/test/scenetest/ |
H A D | test_single_audio_recorder_fast_start_pause.h | 63 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 81 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 101 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 122 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 142 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 162 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 201 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 230 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 248 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 267 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local [all …]
|
H A D | test_single_audio_recorder_fast_prepare.h | 70 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 86 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 104 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 129 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 156 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 184 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 210 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 251 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 282 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 299 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local [all …]
|
H A D | test_single_audio_recorder_fast_audio_function.h | 104 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 123 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 143 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 164 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 185 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 206 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 228 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 251 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 280 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 307 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local [all …]
|
H A D | test_single_audio_recorder_fast_stop_reset.h | 110 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 128 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 147 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 167 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 188 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 208 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 256 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 286 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 304 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 323 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local [all …]
|
H A D | test_single_audio_recorder_fast.h | 93 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 121 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 149 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 210 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 227 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 245 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 264 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 284 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 303 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 322 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local
|
H A D | test_single_audio_recorder_fast_codec_aac.h | 111 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 142 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 173 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 204 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 235 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 266 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 297 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 328 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 359 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 390 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local [all …]
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/ |
H A D | b_json_cached_entity_test.cpp | 53 std::string filePath = path + ".json"; variable 78 std::string filePath = path + ""; variable 103 std::string filePath = path + ".json"; variable 128 std::string filePath = path + ".json"; variable 153 std::string filePath = path + ""; variable 178 std::string filePath = path + ""; variable 203 std::string filePath = path + ""; variable 228 std::string filePath = path + ".json"; variable 254 std::string filePath = path + ".json"; variable 280 std::string filePath = path + ".json"; variable [all …]
|
H A D | b_json_service_disposal_config_test.cpp | 71 string filePath = PATH + CONFIG_NAME; variable 96 string filePath = PATH + CONFIG_NAME; variable 119 string filePath = PATH + CONFIG_NAME; variable 145 string filePath = PATH + CONFIG_NAME; variable 173 string filePath = PATH + CONFIG_NAME; variable 201 string filePath = PATH + CONFIG_NAME; variable 231 string filePath = PATH + CONFIG_NAME; variable 259 string filePath = PATH + CONFIG_NAME; variable 289 string filePath = PATH + CONFIG_NAME; variable 321 string filePath = PATH + CONFIG_NAME; variable [all …]
|
/ohos5.0/foundation/multimedia/ringtone_library/test/unittest/ringtone_utils_test/src/ |
H A D | ringtone_file_utils_test.cpp | 80 string filePath = string(count, 'a') + ".ogg"; variable 112 const string filePath = "/data/test/isfileexists_001"; variable 118 const string filePath = "/data/local/tmp/test/createfile_001.ogg"; variable 124 string filePath = DEFAULT_STR; variable 133 const string filePath = "/data/local/tmp/test/createfile_003.ogg"; variable 140 const string filePath = "/data/local/tmp/test/test/test/test/createfile_004.ogg"; variable 146 string filePath = "/ringtoneFileUtils_GetFileNameFromPath_Test_001/createfile_001.ogg"; variable 159 string filePath = "data/createfile_001."; variable 180 const string filePath = "/data/local/tmp/test/createfile_003.ogg"; variable 229 const string filePath("a", 5200); variable
|
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
H A D | CodecTest.java | 96 public static int getDuration(String filePath) { in getDuration() 112 public static boolean getCurrentPosition(String filePath){ in getCurrentPosition() 147 public static boolean seekTo(String filePath){ in seekTo() 171 public static boolean setLooping(String filePath){ in setLooping() 384 public static boolean seekToEnd(String filePath){ in seekToEnd() 411 public static boolean shortMediaStop(String filePath){ in shortMediaStop() 438 public static boolean playToEnd(String filePath){ in playToEnd() 469 public static boolean seektoBeforeStart(String filePath){ in seektoBeforeStart() 492 public static boolean mediaRecorderRecord(String filePath){ in mediaRecorderRecord() 597 public static boolean prepareAsyncReset(String filePath){ in prepareAsyncReset() [all …]
|
/ohos5.0/base/security/code_signature/test/unittest/ |
H A D | enable_verity_test.cpp | 179 static void CleanFile(const std::string &filePath) in CleanFile() 231 static bool TamperFileTail(const std::string &filePath) in TamperFileTail() 253 static bool TamperFileHead(const std::string &filePath) in TamperFileHead() 390 std::string filePath = TEST_DEFAULT_FILE; variable 466 std::string filePath = TEST_DEFAULT_FILE; variable 494 std::string filePath = TEST_DEFAULT_FILE; variable 518 std::string filePath = TEST_DEFAULT_FILE; variable 536 std::string filePath = TEST_DEFAULT_FILE; variable 569 std::string filePath = TEST_DEFAULT_FILE; variable 600 std::string filePath = TEST_FILES_DIR + "elf/elf"; variable [all …]
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_helper_test/src/ |
H A D | media_file_utils_test.cpp | 70 string filePath = ""; variable 384 string filePath = ""; variable 390 string filePath = "test"; variable 396 string filePath = "test/"; variable 402 string filePath = "test/test"; variable 408 string filePath = ""; variable 420 string filePath = ROOT_MEDIA_DIR; variable 434 string filePath = ""; variable 578 string filePath; variable 807 std::string filePath; variable [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/test/scenetest/audio_recorder/ |
H A D | TestFastRecorder.cpp | 74 void CheckAudio(std::string filePath) in CheckAudio() 87 std::string filePath = std::string(std::string(HST_WORKING_DIR) + "/test.m4a"); variable 116 std::string filePath = std::string(std::string(HST_WORKING_DIR) + "/test.m4a"); variable 147 std::string filePath = std::string(std::string(HST_WORKING_DIR) + "/test.m4a"); variable 178 std::string filePath = std::string(std::string(HST_WORKING_DIR) + "/test.m4a"); variable 211 std::string filePath = std::string(std::string(HST_WORKING_DIR) + "/test.m4a"); variable
|
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
H A D | file_utils.cpp | 31 /* static */ int FileUtils::getFileSize(const char *const filePath) { in getFileSize() 75 char filePath[filePathBufSize]; in removeDirAndFiles() local 97 /* static */ int FileUtils::getFilePathWithSuffixBufSize(const char *const filePath, in getFilePathWithSuffixBufSize() 102 /* static */ void FileUtils::getFilePathWithSuffix(const char *const filePath, in getFilePathWithSuffix() 117 /* static */ bool FileUtils::getFilePathWithoutSuffix(const char *const filePath, in getFilePathWithoutSuffix() 140 /* static */ void FileUtils::getDirPath(const char *const filePath, const int outDirPathBufSize, in getDirPath() 156 /* static */ void FileUtils::getBasename(const char *const filePath, in getBasename()
|
/ohos5.0/base/sensors/miscdevice/utils/common/src/ |
H A D | file_utils.cpp | 38 std::string ReadJsonFile(const std::string &filePath) in ReadJsonFile() 78 int32_t GetFileSize(const std::string &filePath) in GetFileSize() 109 char filePath[FILE_PATH_MAX] = {'\0'}; in GetFileName() local 148 bool CheckFileDir(const std::string &filePath, const std::string &dir) in CheckFileDir() 157 bool CheckFileSize(const std::string &filePath) in CheckFileSize() 167 bool CheckFileExtendName(const std::string &filePath, const std::string &checkExtension) in CheckFileExtendName() 224 char filePath[FILE_PATH_MAX + 1] = { '\0' }; in GetFileSuffix() local
|
/ohos5.0/foundation/filemanagement/app_file_service/utils/src/b_json/ |
H A D | b_json_clear_data_config.cpp | 37 string filePath = PATH_BUNDLE_BACKUP_HOME + CONFIG_NAME; in BJsonClearDataConfig() local 84 string filePath = PATH_BUNDLE_BACKUP_HOME + CONFIG_NAME; in HasClearBundleRecord() local 115 string filePath = PATH_BUNDLE_BACKUP_HOME + CONFIG_NAME; in FindClearBundleRecord() local 154 string filePath = PATH_BUNDLE_BACKUP_HOME + CONFIG_NAME; in InsertClearBundleRecord() local 202 string filePath = PATH_BUNDLE_BACKUP_HOME + CONFIG_NAME; in DeleteClearBundleRecord() local 256 string filePath = PATH_BUNDLE_BACKUP_HOME + CONFIG_NAME; in GetAllClearBundleRecords() local 291 string filePath = PATH_BUNDLE_BACKUP_HOME + CONFIG_NAME; in DeleteConfigFile() local 306 string filePath = PATH_BUNDLE_BACKUP_HOME + CONFIG_NAME; in WriteClearBundleRecord() local
|
H A D | b_json_service_disposal_config.cpp | 34 string filePath = PATH_BUNDLE_BACKUP_HOME + CONFIG_NAME; in BJsonDisposalConfig() local 80 string filePath = PATH_BUNDLE_BACKUP_HOME + CONFIG_NAME; in AppendIntoDisposalConfigFile() local 134 string filePath = PATH_BUNDLE_BACKUP_HOME + CONFIG_NAME; in DeleteFromDisposalConfigFile() local 188 string filePath = PATH_BUNDLE_BACKUP_HOME + CONFIG_NAME; in IfBundleNameInDisposalConfigFile() local 232 string filePath = PATH_BUNDLE_BACKUP_HOME + CONFIG_NAME; in GetBundleNameFromConfigFile() local 267 string filePath = PATH_BUNDLE_BACKUP_HOME + CONFIG_NAME; in DeleteConfigFile() local
|
/ohos5.0/base/security/device_auth/services/frameworks/src/security_label_adapter/ |
H A D | security_label_adapter.c | 25 static int32_t GetSecurityLabel(const char *filePath, char **returnLabel) in GetSecurityLabel() 47 static bool IsSetLabelNeeded(const char *filePath, const char *labelToSet) in IsSetLabelNeeded() 62 void SetSecurityLabel(const char *filePath, const char *labelToSet) in SetSecurityLabel()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | StorageManagerIntegrationTest.java | 39 String filePath = file.getAbsolutePath(); in testMountSingleObb() local 91 String filePath = file.getAbsolutePath(); in testMountSingleEncryptedObb() local 103 String filePath = file.getAbsolutePath(); in testMountSingleEncryptedObbInvalidPassword() local 143 String filePath = file.getAbsolutePath(); in testMountUnsignedObb() local 158 String filePath = file.getAbsolutePath(); in testMountBadPackageNameObb() local 169 String filePath = file.getAbsolutePath(); in testRemountObb() local
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_multistages_capture_test/src/ |
H A D | medialibrary_multistages_video_capture_test.cpp | 56 string GetTempFilePath(const string &filePath) in GetTempFilePath() 105 string ReadFileContent(const string &filePath) in ReadFileContent() 234 string filePath = GetFilePath(fileId); variable 261 string filePath = GetFilePath(fileId); variable 305 string filePath = "/a/b/c/d.mp4"; variable 325 string filePath = GetFilePath(fileId); variable 354 string filePath = GetFilePath(fileId); variable 392 string filePath = GetFilePath(fileId); variable 426 string filePath = GetFilePath(fileId); variable 463 string filePath = GetFilePath(fileId); variable [all …]
|
/aosp12/frameworks/base/core/java/com/android/internal/security/ |
H A D | VerityUtils.java | 73 public static String getFsveritySignatureFilePath(String filePath) { in getFsveritySignatureFilePath() 78 public static void setUpFsverity(@NonNull String filePath, @NonNull String signaturePath) in setUpFsverity() 87 public static void setUpFsverity(@NonNull String filePath, @NonNull byte[] pkcs7Signature) in setUpFsverity() 98 public static boolean hasFsverity(@NonNull String filePath) { in hasFsverity() 109 public static byte[] getFsverityRootHash(@NonNull String filePath) { in getFsverityRootHash() 121 private static native int enableFsverityNative(@NonNull String filePath, in enableFsverityNative() 123 private static native int measureFsverityNative(@NonNull String filePath, in measureFsverityNative() 125 private static native int statxForFsverityNative(@NonNull String filePath); in statxForFsverityNative()
|
/ohos5.0/base/global/i18n/frameworks/intl/test/unittest/mock/src/ |
H A D | generate_ics_file.cpp | 34 std::string filePath = "/data/log/TR.ics"; in GenerateFile() local 75 std::string filePath = "/data/log/" + fileName + ".txt"; in WriteVersionFile() local 89 std::string filePath = "/data/log/" + fileName; in WriteManifest() local 104 std::string filePath = "/data/log/" + fileName; in WriteBinaryFile() local
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/platform/include/ |
H A D | preferences_file_operation.h | 71 static UNUSED_FUNCTION int Mkdir(const std::string &filePath) in Mkdir() 80 static UNUSED_FUNCTION int Access(const std::string &filePath) in Access() 89 static UNUSED_FUNCTION bool Fsync(const std::string &filePath) in Fsync()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
H A D | distributeddb_kv_backup_test.cpp | 206 std::string filePath = exportPath + "/bkpDB1.bin"; variable 276 std::string filePath = exportPath + "/bkpDB.bin"; variable 377 std::string filePath = exportPath + "/bkpDB.bin"; variable 427 std::string filePath = exportPath + "/bkpDB.bin"; variable 486 std::string filePath = exportPath + "/bkpDB1.bin"; variable 547 std::string filePath = importPath + "/bkpDB1.bin"; variable 646 std::string filePath = importPath + "/bkpDB.bin"; variable 690 std::string filePath = importPath + "/bkpDB1.bin"; variable 845 std::string filePath = importPath + "/bkpDB.bin"; variable 897 std::string filePath = importPath + "/bkpDB.bin"; variable [all …]
|
/aosp12/frameworks/av/drm/common/ |
H A D | ReadWriteUtils.cpp | 35 String8 ReadWriteUtils::readBytes(const String8& filePath) { in readBytes() 57 int ReadWriteUtils::readBytes(const String8& filePath, char** buffer) { in readBytes() 78 void ReadWriteUtils::writeToFile(const String8& filePath, const String8& data) { in writeToFile() 95 void ReadWriteUtils::appendToFile(const String8& filePath, const String8& data) { in appendToFile()
|