/drivers/hdf_core/framework/core/host/src/ |
H A D | hdf_load_vdi.c | 27 char resolvedPath[PATH_MAX + 1] = {0}; in HdfLoadVdi() local 39 if (realpath(path, resolvedPath) == NULL || strncmp(resolvedPath, VDI_PATH, strlen(VDI_PATH)) != 0) { in HdfLoadVdi() 41 __func__, path, resolvedPath, errno); in HdfLoadVdi() 51 void *handler = dlopen(resolvedPath, RTLD_LAZY); in HdfLoadVdi()
|
/drivers/peripheral/audio/test/fuzztest/adm_fuzzer/audiolibaudiobindservicerender_fuzzer/ |
H A D | audiolibaudiobindservicerender_fuzzer.cpp | 26 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_render_adapter"); in AudioLibAudioBindserviceRenderFuzzTest() local 27 void *ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in AudioLibAudioBindserviceRenderFuzzTest()
|
/drivers/peripheral/audio/test/fuzztest/adm_fuzzer/audiolibaudiobindservicecapture_fuzzer/ |
H A D | audiolibaudiobindservicecapture_fuzzer.cpp | 26 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_capture_adapter"); in AudioLibAudioBindserviceCaptureFuzzTest() local 27 void *ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in AudioLibAudioBindserviceCaptureFuzzTest()
|
/drivers/peripheral/audio/test/fuzztest/adm_fuzzer/audiointerfacelibctlcapturecmdid_fuzzer/ |
H A D | audiointerfacelibctlcapturecmdid_fuzzer.cpp | 25 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_capture_adapter"); in AudioInterfacelibctlcaptureCmdidFuzzTest() local 26 void *ctlcapFuzzPtrHandle = dlopen(resolvedPath, RTLD_LAZY); in AudioInterfacelibctlcaptureCmdidFuzzTest()
|
/drivers/peripheral/audio/test/fuzztest/adm_fuzzer/audiointerfaceliboutputcapturecmdid_fuzzer/ |
H A D | audiointerfaceliboutputcapturecmdid_fuzzer.cpp | 25 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_capture_adapter"); in AudioInterfaceliboutputcaptureCmdidFuzzTest() local 26 void *outputCapPtrHandle = dlopen(resolvedPath, RTLD_LAZY); in AudioInterfaceliboutputcaptureCmdidFuzzTest()
|
/drivers/peripheral/audio/test/fuzztest/adm_fuzzer/audiointerfaceliboutputrendercmdid_fuzzer/ |
H A D | audiointerfaceliboutputrendercmdid_fuzzer.cpp | 24 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_render_adapter"); in AudioInterfaceliboutputrenderCmdidFuzzTest() local 25 void *outputRenFuzzPtrHandle = dlopen(resolvedPath, RTLD_LAZY); in AudioInterfaceliboutputrenderCmdidFuzzTest()
|
/drivers/peripheral/audio/test/fuzztest/adm_fuzzer/audiointerfacelibctlrendercmdid_fuzzer/ |
H A D | audiointerfacelibctlrendercmdid_fuzzer.cpp | 25 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_render_adapter"); in AudioInterfacelibctlrenderCmdidFuzzTest() local 26 void *ctlRenFuzzPtrHandle = dlopen(resolvedPath, RTLD_LAZY); in AudioInterfacelibctlrenderCmdidFuzzTest()
|
/drivers/peripheral/thermal/interfaces/hdi_service/src/ |
H A D | thermal_dfx.cpp | 139 char resolvedPath[PATH_MAX] = { 0 }; in CanonicalizeSpecPath() local 141 if (realpath(src, resolvedPath) == nullptr) { in CanonicalizeSpecPath() 148 if (snprintf_s(resolvedPath, PATH_MAX, sizeof(resolvedPath) - 1, src) == -1) { in CanonicalizeSpecPath() 158 std::string res(resolvedPath); in CanonicalizeSpecPath() 164 std::string resolvedPath = CanonicalizeSpecPath(dataFile.c_str()); in Compress() local 165 FILE* fp = fopen(resolvedPath.c_str(), "rb"); in Compress()
|
/drivers/hdf_core/adapter/uhdf2/manager/src/ |
H A D | devmgr_uevent.c | 324 char resolvedPath[PATH_MAX] = {0}; in DevMgrUeventParseConfig() local 325 if (realpath(path, resolvedPath) == NULL) { in DevMgrUeventParseConfig() 329 if (strncmp(resolvedPath, HDF_CONFIG_DIR, strlen(HDF_CONFIG_DIR)) != 0) { in DevMgrUeventParseConfig() 330 HDF_LOGE("%{public}s invalid path %{public}s", __func__, resolvedPath); in DevMgrUeventParseConfig() 333 FILE *file = fopen(resolvedPath, "r"); in DevMgrUeventParseConfig() 335 HDF_LOGE("%{public}s fopen %{public}s failed:%{public}d", __func__, resolvedPath, errno); in DevMgrUeventParseConfig()
|
/drivers/peripheral/audio/test/sample/ |
H A D | framework_common.h | 77 int32_t FormatLoadLibPath(char *resolvedPath, int32_t pathLen, int choice);
|
/drivers/peripheral/battery/interfaces/hdi_service/src/ |
H A D | battery_config.cpp | 331 char resolvedPath[PATH_MAX] = {}; in IsValidSysPath() local 332 if ((realpath(path.c_str(), resolvedPath) == nullptr) || in IsValidSysPath() 333 ((strncmp(resolvedPath, "/sys", SYSTEM_PATH_CHECK) != 0) && in IsValidSysPath() 334 (strncmp(resolvedPath, "/data", DATA_PATH_CHECK) != 0))) { in IsValidSysPath()
|
/drivers/peripheral/power/interfaces/hdi_service/src/ |
H A D | hibernate.cpp | 114 char resolvedPath[PATH_MAX] = {0}; in GetResumeInfo() local 115 if (realpath(me->mnt_fsname, resolvedPath) == nullptr) { in GetResumeInfo() 119 std::string fileSystemInfo = resolvedPath; in GetResumeInfo()
|
/drivers/peripheral/audio/test/systemtest/supportlibs/hardwaredependence/capture/src/ |
H A D | audio_libcapture_hardwaredependence_test.cpp | 66 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_capture_adapter");
in SetUpTestCase() local 67 ptrHandle = dlopen(resolvedPath, RTLD_LAZY);
in SetUpTestCase()
|
/drivers/peripheral/audio/test/systemtest/supportlibs/common/render/src/ |
H A D | audio_librender_test.cpp | 60 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_render_adapter");
in SetUpTestCase() local 61 ptrHandle = dlopen(resolvedPath, RTLD_LAZY);
in SetUpTestCase()
|
H A D | audio_alsa_librender_test.cpp | 56 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_render_adapter");
in SetUpTestCase() local 57 ptrHandle = dlopen(resolvedPath, RTLD_LAZY);
in SetUpTestCase()
|
/drivers/peripheral/audio/test/systemtest/supportlibs/common/capture/src/ |
H A D | audio_libcapture_test.cpp | 55 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_capture_adapter"); in SetUpTestCase() local 56 ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in SetUpTestCase()
|
H A D | audio_alsa_libcapture_test.cpp | 51 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_capture_adapter"); in SetUpTestCase() local 52 ptrHandle = dlopen(resolvedPath, RTLD_LAZY); in SetUpTestCase()
|
/drivers/peripheral/audio/test/systemtest/supportlibs/hardwaredependence/render/src/ |
H A D | audio_librender_hardwaredependence_test.cpp | 68 char resolvedPath[] = HDF_LIBRARY_FULL_PATH("libaudio_render_adapter");
in SetUpTestCase() local 69 ptrHandle = dlopen(resolvedPath, RTLD_LAZY);
in SetUpTestCase()
|