Home
last modified time | relevance | path

Searched refs:access (Results 1 - 23 of 23) sorted by relevance

/drivers/peripheral/usb/test/moduletest/common/
H A Dusb_device_performance_test.cpp77 ASSERT_EQ(access(script.c_str(), F_OK), 0) << "ErrInfo: shell script not exists"; in HWTEST_F()
78 if (access(script.c_str(), X_OK) == -1) { in HWTEST_F()
H A Dusb_host_performance_test.cpp78 ASSERT_EQ(access(script.c_str(), F_OK), 0) << "ErrInfo: shell script not exists"; in HWTEST_F()
79 if (access(script.c_str(), X_OK) == -1) { in HWTEST_F()
/drivers/hdf_core/adapter/uhdf2/shared/src/
H A Dhcb_config_entry.c53 if (access(configPath, F_OK | R_OK) == 0) { in GetConfigFilePath()
/drivers/peripheral/codec/utils/src/
H A Dcodec_hcb_util.c44 if (access(configPath, F_OK | R_OK) == 0) { in GetConfigFilePath()
/drivers/hdf_core/framework/tools/hc-gen/test/
H A Dhcgen_test.py84 if hcgen_path.find('hc-gen') >= 0 and os.access(hcgen_path, os.X_OK):
97 if not os.access(hcgen, os.X_OK):
99 if not os.access(hcgen, os.X_OK):
H A Dupdate_case.py52 if hcgen_path.find('hc-gen') >= 0 and os.access(hcgen_path, os.X_OK):
64 if not os.access(hcgen_path, os.X_OK):
66 if not os.access(hcgen_path, os.X_OK):
/drivers/hdf_core/framework/tools/hc-gen/src/
H A Dfile.cpp21 if (p != nullptr && access(p, F_OK) != 0) { in AbsPath()
/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dpower_supply_provider.cpp549 if (access(path.c_str(), F_OK) == 0) { in CreateFile()
566 if (access(sysLowercaseBatteryPath.c_str(), F_OK) == 0) { in InitBatteryPath()
571 if (access(sysCapitalBatteryPath.c_str(), F_OK) == 0) { in InitBatteryPath()
627 if (access(mockCurrentLimitPath.c_str(), 0) == -1) { in InitChargerSysfs()
632 if (access(mockVoltageLimitPath.c_str(), 0) == -1) { in InitChargerSysfs()
637 if (access(mockChargeTypePath.c_str(), 0) == -1) { in InitChargerSysfs()
982 if (access(mockBatteryPath.c_str(), 0) == -1) { in InitDefaultSysfs()
987 if (access(mockChargerPath.c_str(), 0) == -1) { in InitDefaultSysfs()
992 if (access(mockTechPath.c_str(), 0) == -1) { in InitDefaultSysfs()
1089 result = access(pat in CheckPathExists()
[all...]
/drivers/peripheral/audio/supportlibs/alsa_adapter/src/
H A Dalsa_snd_render.c87 snd_pcm_t *handle, snd_pcm_hw_params_t *params, const struct AudioPcmHwParams *hwParams, snd_pcm_access_t access) in SetHWParamsSub()
100 ret = snd_pcm_hw_params_set_access(handle, params, access); in SetHWParamsSub()
156 static int32_t SetHWParams(struct AlsaSoundCard *cardIns, snd_pcm_access_t access) in SetHWParams() argument
169 if (SetHWParamsSub(cardIns->pcmHandle, hwParams, &cardIns->hwParams, access) != HDF_SUCCESS) { in SetHWParams()
265 static int32_t ResetRenderParams(struct AlsaSoundCard *cardIns, snd_pcm_access_t access) in ResetRenderParams() argument
269 int32_t ret = SetHWParams(cardIns, access); in ResetRenderParams()
86 SetHWParamsSub( snd_pcm_t *handle, snd_pcm_hw_params_t *params, const struct AudioPcmHwParams *hwParams, snd_pcm_access_t access) SetHWParamsSub() argument
H A Dalsa_snd_capture.c67 struct AlsaSoundCard *cardIns, snd_pcm_hw_params_t *params, snd_pcm_access_t access) in SetHWParamsSub()
82 ret = snd_pcm_hw_params_set_access(handle, params, access); in SetHWParamsSub()
190 static int32_t SetHWParams(struct AlsaSoundCard *cardIns, snd_pcm_access_t access) in SetHWParams() argument
205 ret = SetHWParamsSub(cardIns, hwParams, access); in SetHWParams()
297 static int32_t ResetCaptureParams(struct AlsaSoundCard *cardIns, snd_pcm_access_t access) in ResetCaptureParams() argument
302 int32_t ret = SetHWParams(cardIns, access); in ResetCaptureParams()
66 SetHWParamsSub( struct AlsaSoundCard *cardIns, snd_pcm_hw_params_t *params, snd_pcm_access_t access) SetHWParamsSub() argument
/drivers/peripheral/audio/hal/hdi_passthrough/src/
H A Daudio_common.c154 if (access(folderName, 0) == -1) { in AudioLogRecord()
/drivers/hdf_core/framework/tools/hdi-gen/util/
H A Dfile.cpp196 if (access(path.c_str(), F_OK | R_OK | W_OK) == 0) { in CreateParentDir()
276 if (access(path.c_str(), F_OK | R_OK | W_OK) != 0) { in CreateParentDir()
/drivers/peripheral/thermal/interfaces/hdi_service/src/
H A Dthermal_device_mitigation.cpp102 if (access(path.c_str(), 0) != NUM_ZERO) { in ExecuteCpuRequest()
174 if (access(path.c_str(), 0) != NUM_ZERO) { in ExecuteChargerRequest()
H A Dthermal_simulation_node.cpp68 if (access(dir.c_str(), 0) != NUM_ZERO) { in CreateNodeDir()
84 if (access(filePath.c_str(), 0) != 0) { in CreateNodeFile()
H A Dthermal_dfx.cpp140 if (access(src, F_OK) == 0) { in CanonicalizeSpecPath()
283 if (access(g_outPath.c_str(), 0) == -1) { in CreateLogFile()
H A Dthermal_zone_manager.cpp107 if (access(tnIter.path.c_str(), 0) == NUM_ZERO) { in UpdateThermalZoneInfo()
118 // Multi-thread access to pollingMap_ require lock in UpdateThermalZoneData()
/drivers/hdf_core/framework/core/manager/test/unittest/common/
H A Ddevmgr_uevent_test.cpp47 if (access(TEST_DEV_NODE, F_OK) == 0) { in SetUpTestCase()
/drivers/peripheral/power/interfaces/hdi_service/src/
H A Dhibernate.cpp247 return access(SWAP_FILE_PATH, F_OK) == 0; in IsSwapFileExist()
273 if (access(SWAP_DIR_PATH, F_OK) != 0) { in CreateSwapFile()
/drivers/peripheral/display/composer/vdi_base/src/
H A Dhdi_layer.cpp216 if (access("/data/hdi_dump_layer", F_OK) != -1) { in SetLayerBuffer()
/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/
H A Dhdi_service_test.cpp786 bool rootExist = access(SYSTEM_BATTERY_PATH.c_str(), F_OK) == 0; in IsNotMock()
787 bool lowerExist = access((SYSTEM_BATTERY_PATH + "/battery").c_str(), F_OK) == 0; in IsNotMock()
788 bool upperExist = access((SYSTEM_BATTERY_PATH + "/Battery").c_str(), F_OK) == 0; in IsNotMock()
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
H A Daudio_adapter_info_common.cpp429 if (access(fpath, F_OK | R_OK)) { in AudioAdaptersGetConfig()
/drivers/hdf_core/framework/core/adapter/syscall/src/
H A Dhdf_syscall_adapter.c747 if (access(DEV_NODE_PATH, F_OK) != 0) { in HdfIoServiceAdapterObtain()
/drivers/peripheral/audio/test/audio_utils/audio_mixer/
H A Daudio_mixer.c220 if (access(file, F_OK)) { in CheckMixerDevFile()

Completed in 22 milliseconds