Home
last modified time | relevance | path

Searched refs:NUM_ZERO (Results 1 - 5 of 5) sorted by relevance

/drivers/peripheral/thermal/interfaces/hdi_service/src/
H A Dthermal_device_mitigation.cpp45 const int32_t NUM_ZERO = 0; member
52 if (recever < NUM_ZERO) { in WriteSysfsFd()
70 if (ret < NUM_ZERO) { in OpenSysfsFile()
82 if (fd < NUM_ZERO) { in WriteSysfsFile()
102 if (access(path.c_str(), 0) != NUM_ZERO) { in ExecuteCpuRequest()
112 if (WriteSysfsFile(nodeBuf, freqBuf, strlen(freqBuf)) > NUM_ZERO) { in ExecuteCpuRequest()
159 if (WriteSysfsFile(nodeBuf, freqBuf, strlen(freqBuf)) > NUM_ZERO) { in GpuRequest()
174 if (access(path.c_str(), 0) != NUM_ZERO) { in ExecuteChargerRequest()
187 if (WriteSysfsFile(nodeBuf, currentBuf, strlen(currentBuf)) > NUM_ZERO) { in ExecuteChargerRequest()
212 if (WriteSysfsFile(nodeBuf, currentBuf, strlen(currentBuf)) > NUM_ZERO) { in BatteryCurrentRequest()
[all...]
H A Dthermal_zone_manager.cpp45 const int32_t NUM_ZERO = 0; member
107 if (access(tnIter.path.c_str(), 0) == NUM_ZERO) { in UpdateThermalZoneInfo()
167 return NUM_ZERO; in GetIntervalCommonDivisor()
181 if (sensorInfo->multiple_ == NUM_ZERO) { in CollectCallbackInfo()
185 if (reportTime % (sensorInfo->multiple_) == NUM_ZERO) { in CollectCallbackInfo()
H A Dthermal_simulation_node.cpp40 const int32_t NUM_ZERO = 0; member
68 if (access(dir.c_str(), 0) != NUM_ZERO) { in CreateNodeDir()
70 if (flag == NUM_ZERO) { in CreateNodeDir()
86 if (fd < NUM_ZERO) { in CreateNodeFile()
233 if (fd < NUM_ZERO) { in WriteFile()
/drivers/peripheral/battery/interfaces/hdi_service/test/unittest/src/
H A Dhdi_service_test.cpp47 const int NUM_ZERO = 0; member
224 if (fd < NUM_ZERO) { in ReadTemperatureSysfs()
230 if (readSize < NUM_ZERO) { in ReadTemperatureSysfs()
238 if (battTemperature < NUM_ZERO) { in ReadTemperatureSysfs()
261 if (fd < NUM_ZERO) { in ReadVoltageSysfs()
275 if (battVoltage < NUM_ZERO) { in ReadVoltageSysfs()
298 if (fd < NUM_ZERO) { in ReadCapacitySysfs()
304 if (readSize < NUM_ZERO) { in ReadCapacitySysfs()
312 if (battCapacity < NUM_ZERO) { in ReadCapacitySysfs()
336 if (fd < NUM_ZERO) { in ReadTotalEnergySysfs()
[all...]
/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dpower_supply_provider.cpp39 constexpr int32_t NUM_ZERO = 0; member
300 if (fd < NUM_ZERO) { in ReadSysfsFile()
1041 if (fd < NUM_ZERO) { in SetConfigByPath()

Completed in 5 milliseconds