Searched refs:unique_path (Results 1 – 3 of 3) sorted by relevance
/system/core/fs_mgr/libdm/ |
D | dm.cpp | 108 std::string unique_path; in DeleteDevice() local 109 if (!GetDeviceUniquePath(name, &unique_path)) { in DeleteDevice() 114 bool need_uevent = !unique_path.empty() && access(unique_path.c_str(), F_OK) == 0; in DeleteDevice() 134 if (unique_path.empty()) { in DeleteDevice() 137 if (!WaitForFileDeleted(unique_path, timeout_ms)) { in DeleteDevice() 138 LOG(ERROR) << "Failed waiting for " << unique_path << " to be deleted"; in DeleteDevice() 191 std::string unique_path; in WaitForDevice() local 192 if (!GetDeviceUniquePath(name, &unique_path) || !GetDmDevicePathByName(name, path)) { in WaitForDevice() 206 unique_path = *path; in WaitForDevice() 210 if (!WaitForFile(unique_path, timeout_ms)) { in WaitForDevice() [all …]
|
D | dm_test.cpp | 592 std::string unique_path; in TEST_F() local 593 ASSERT_TRUE(dm.GetDeviceUniquePath("libdm-test-dm-linear", &unique_path)); in TEST_F() 594 ASSERT_EQ(0, access(unique_path.c_str(), F_OK)); in TEST_F() 603 ASSERT_NE(0, access(unique_path.c_str(), F_OK)); in TEST_F()
|
/system/media/audio_utils/fuzz/sndfile_fuzzer/ |
D | sndfile_fuzzer.cpp | 44 std::string unique_path = TEMP_DATA_PATH + std::to_string(pid); in getUniquePath() local 45 return unique_path; in getUniquePath()
|