Home
last modified time | relevance | path

Searched refs:ifs (Results 1 – 12 of 12) sorted by relevance

/hardware/interfaces/automotive/remoteaccess/hal/default/src/
DRemoteAccessImpl.cpp36 std::ifstream ifs(GRPC_SERVICE_CONFIG_FILE); in maybeGetGrpcServiceInfo() local
37 if (!ifs) { in maybeGetGrpcServiceInfo()
43 while (ifs.good()) { in maybeGetGrpcServiceInfo()
45 ifs >> line; in maybeGetGrpcServiceInfo()
55 ifs.close(); in maybeGetGrpcServiceInfo()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DJsonFakeValueGenerator.cpp38 std::ifstream ifs(file); in JsonFakeValueGenerator() local
39 if (!ifs) { in JsonFakeValueGenerator()
50 .events = parseFakeValueJson(ifs), in JsonFakeValueGenerator()
58 std::ifstream ifs(file); in JsonFakeValueGenerator() local
59 if (!ifs) { in JsonFakeValueGenerator()
70 .events = parseFakeValueJson(ifs), in JsonFakeValueGenerator()
77 std::ifstream ifs(path); in JsonFakeValueGenerator() local
78 if (!ifs) { in JsonFakeValueGenerator()
89 .events = parseFakeValueJson(ifs), in JsonFakeValueGenerator()
/hardware/google/graphics/common/libion/test/
Dion_test_fixture.cpp99 ifstream ifs; in getCmaUsed() local
100 ifs.open(pathname); in getCmaUsed()
102 if (!ifs) in getCmaUsed()
106 ifs >> len; in getCmaUsed()
119 ifstream ifs; in SetUp() local
120 ifs.open("/proc/meminfo"); in SetUp()
125 ifs >> title >> size >> kb; in SetUp()
/hardware/interfaces/automotive/vehicle/aidl/impl/default_config/test/
DDefaultConfigTest.cpp51 std::ifstream ifs(configPath.c_str()); in loadConfig() local
52 if (!ifs) { in loadConfig()
56 return loader.loadPropConfig(ifs); in loadConfig()
/hardware/google/graphics/common/libhwc2.1/libvrr/
DFileNode.cpp55 std::ifstream ifs(fullPath); in readString() local
56 if (ifs) { in readString()
58 os << ifs.rdbuf(); // reading data in readString()
/hardware/google/graphics/common/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplay.cpp86 std::ifstream ifs(file); in loadPanelGammaCalibration() local
88 if (!ifs.is_open()) { in loadPanelGammaCalibration()
95 while (std::getline(ifs, raw_data, '\r')) { in loadPanelGammaCalibration()
98 ifs.get(ch); in loadPanelGammaCalibration()
103 ifs.close(); in loadPanelGammaCalibration()
726 std::ifstream ifs; in SetCurrentPanelGammaSource() local
728 ifs.open(path, std::ifstream::in); in SetCurrentPanelGammaSource()
729 if (!ifs.is_open()) { in SetCurrentPanelGammaSource()
734 std::getline(ifs, panel_name); in SetCurrentPanelGammaSource()
735 ifs.close(); in SetCurrentPanelGammaSource()
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/GeneratorHub/src/
DJsonFakeValueGenerator.cpp198 std::ifstream ifs(path); in initWithPath() local
199 if (!ifs) { in initWithPath()
203 initWithStream(ifs, iteration); in initWithPath()
/hardware/qcom/sm7250/display/composer/
Dhwc_display_builtin.cpp98 std::ifstream ifs(file); in LoadPanelGammaCalibration() local
100 if (!ifs.is_open()) { in LoadPanelGammaCalibration()
106 while (std::getline(ifs, raw_data, '\r')) { in LoadPanelGammaCalibration()
109 std::getline(ifs, raw_data); in LoadPanelGammaCalibration()
111 ifs.close(); in LoadPanelGammaCalibration()
/hardware/interfaces/automotive/vehicle/aidl/impl/default_config/JsonConfigLoader/src/
DJsonConfigLoader.cpp713 std::ifstream ifs(configPath.c_str()); in loadPropConfig() local
714 if (!ifs) { in loadPropConfig()
718 return loadPropConfig(ifs); in loadPropConfig()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/src/
DFakeVehicleHardware.cpp274 std::ifstream ifs(GRPC_SERVICE_CONFIG_FILE); in maybeGetGrpcServiceInfo() local
275 if (!ifs) { in maybeGetGrpcServiceInfo()
280 ifs >> *address; in maybeGetGrpcServiceInfo()
281 ifs.close(); in maybeGetGrpcServiceInfo()
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterface.cpp3025 std::ifstream ifs(kDpHotplugErrorCodeSysfsPath); in readHotplugErrorCode() local
3026 if (ifs.is_open()) ifs >> hotplug_error_code; in readHotplugErrorCode()
/hardware/interfaces/security/keymint/aidl/vts/functional/
DKeyMintAidlTestBase.cpp1751 std::ifstream ifs("/system/system_ext/etc/init/init.gsi.rc"); in is_gsi_image() local
1752 return ifs.good(); in is_gsi_image()