Home
last modified time | relevance | path

Searched refs:Trim (Results 1 – 25 of 34) sorted by relevance

12

/hardware/google/pixel/powerstats/dataproviders/
DPowerStatsEnergyAttribution.cpp26 using android::base::Trim;
45 attrStats->uidTimeInStateNames = Split(Trim(buf), " "); in readUidTimeInState()
50 std::vector<std::string> uidInfos = Split(Trim(buf), " "); in readUidTimeInState()
DGenericStateResidencyDataProvider.cpp117 return (a.header == ::android::base::Trim(b)); in getStateData()
160 return (a.mHeader == ::android::base::Trim(b)); in getStateResidencies()
/hardware/google/pixel/rebalance_interrupts/
Drebalance_interrupts.cpp62 using android::base::Trim;
76 string policy0_trimmed = android::base::Trim(policy0_cores_unparsed); in Policy0AffectedCpus()
108 irq_actions = Trim(irq_actions); in AddEntryToIrqmap()
154 smp_affinity = Trim(smp_affinity); in FindUnassignedIrqs()
193 readback = Trim(readback); in ReportIfAffinityUpdated()
/hardware/interfaces/health/storage/impl_common/
Dimpl_common.cpp26 using ::android::base::Trim;
79 require_gc = Trim(require_gc); in GarbageCollect()
87 wb_avail = Trim(wb_avail); in GarbageCollect()
/hardware/nxp/secure_element/snxxx/libese-spi/p73/utils/
Dconfig.cpp121 line = Trim(line); in parseFromString()
129 string key(Trim(line.substr(0, search))); in parseFromString()
130 string value_string(Trim(line.substr(search + 1, string::npos))); in parseFromString()
/hardware/nxp/nfc/snxxx/halimpl/hal/
DphNxpNciHal_IoctlOperations.cc413 line = Trim(line); in phNxpNciHal_extractConfig()
421 string key(Trim(line.substr(0, search))); in phNxpNciHal_extractConfig()
429 string value_string(Trim(line.substr(search + 1, string::npos))); in phNxpNciHal_extractConfig()
440 line_append = Trim(line_append); in phNxpNciHal_extractConfig()
481 string key(Trim(line.substr(0, search))); in phNxpNciHal_IsAutonmousModeSet()
483 string value(Trim(line.substr(search + 1, string::npos))); in phNxpNciHal_IsAutonmousModeSet()
520 string key(Trim(line.substr(0, search))); in phNxpNciHal_UpdatePwrStateConfigs()
524 string value(Trim(line.substr(search + 1, string::npos))); in phNxpNciHal_UpdatePwrStateConfigs()
/hardware/nxp/secure_element/pn8x/libese-spi/p73/utils/
Dconfig.cpp102 line = Trim(line); in parseFromString()
110 string key(Trim(line.substr(0, search))); in parseFromString()
111 string value_string(Trim(line.substr(search + 1, string::npos))); in parseFromString()
/hardware/st/secure_element/ese-spi-driver/utils-lib/
Dconfig.cc97 line = Trim(line); in parseFromString()
105 string key(Trim(line.substr(0, search))); in parseFromString()
106 string value_string(Trim(line.substr(search + 1, string::npos))); in parseFromString()
/hardware/interfaces/usb/gadget/aidl/default/
DUsbGadget.cpp112 current_speed = Trim(current_speed); in getUsbSpeed()
265 current_usb_type = Trim(current_usb_type); in setCurrentUsbFunctions()
268 current_usb_power_operation_mode = Trim(current_usb_power_operation_mode); in setCurrentUsbFunctions()
DUsbGadget.h55 using ::android::base::Trim;
/hardware/google/pixel/usb/
DUsbDpUtils.cpp37 using android::base::Trim;
481 attrUsb = Trim(attrUsb); in writeDisplayPortAttribute()
582 (*svids).push_back(Trim(svid)); in queryPartnerSvids()
610 linkTrainingStatus = Trim(linkTrainingStatus); in parseLinkTrainingStatusHelper()
624 vdoString = Trim(vdoString); in isDisplayPortPlug()
671 link_status = Trim(link_status); in constructAltModeData()
/hardware/google/pixel/thermal/utils/
Dthermal_files.cpp72 *data = ::android::base::Trim(sensor_reading); in readThermalFile()
/hardware/google/pixel/health/
DLowBatteryShutdownMetrics.cpp78 voltage_avg = ::android::base::Trim(voltage_avg); in saveVoltageAvg()
DChargerDetect.cpp43 *buf = android::base::Trim(*buf); in readFromFile()
DCycleCountBackupRestore.cpp100 buffer = ::android::base::Trim(buffer); in Read()
/hardware/google/aemu/base/
DStringUtils.cpp64 std::string Trim(const std::string& s) { in Trim() function
99 return Trim(in); in trim()
/hardware/interfaces/usb/aidl/default/
DUsb.cpp42 using android::base::Trim;
302 written = Trim(written); in switchRole()
358 *accessory = Trim(*accessory); in getAccessoryConnected()
404 roleName = Trim(roleName); in getCurrentRoleHelper()
464 supportsPD = Trim(supportsPD); in canSwitchRoleHelper()
/hardware/google/pixel/powerstats/
DGenericStateResidencyDataProvider.cpp134 return (a.second.header == android::base::Trim(b)); in getStateData()
179 return (a.second.mHeader == android::base::Trim(b)); in getResults()
/hardware/interfaces/usb/gadget/1.2/default/
DUsbGadget.h49 using ::android::base::Trim;
DUsbGadget.cpp60 current_speed = Trim(current_speed); in getUsbSpeed()
/hardware/google/pixel/power-libperfmgr/libperfmgr/
DFileNode.cc117 node_value = android::base::Trim(node_value); in DumpToFd()
/hardware/google/aemu/base/include/aemu/base/misc/
DStringUtils.h118 std::string Trim(const std::string& s);
/hardware/google/pixel/pixelstats/
DMitigationDurationReporter.cpp86 str = android::base::Trim(str); in getStatFromLine()
DMmMetricsReporter.cpp194 file_contents = android::base::Trim(file_contents); in ReadFileToUint()
233 file_contents = android::base::Trim(file_contents); in ReadFileToLongs()
764 file_contents = android::base::Trim(file_contents); in findPidByProcessName()
1130 line = android::base::Trim(line); in parsePressureStallFileContent()
/hardware/google/pixel/thermal/
Dthermal-helper.cpp86 ::android::base::Trim(name), in parseThermalPathMap()
372 *type = ::android::base::Trim(tz_type); in getThermalZoneTypeById()
782 cooling_device_info_pair.second.max_state = std::stoi(::android::base::Trim(max_state)); in initializeCoolingDevices()
845 tz_policy = ::android::base::Trim(tz_policy); in initializeTrip()
1230 *temp = std::stof(::android::base::Trim(file_reading)); in readThermalSensor()

12