Home
last modified time | relevance | path

Searched refs:formatter (Results 1 – 8 of 8) sorted by relevance

/system/update_engine/scripts/update_payload/
Dhistogram.py42 def __init__(self, data, scale=20, formatter=None): argument
53 self.formatter = formatter or str
58 def FromCountDict(count_dict, scale=20, formatter=None, key_names=None): argument
83 return Histogram(hist, scale, formatter)
86 def FromKeyList(key_list, scale=20, formatter=None, key_names=None): argument
106 return Histogram.FromCountDict(count_dict, scale, formatter, key_names)
119 self.formatter(count))
Dhistogram_unittest.py67 [('Yes', 5000), ('No', 1000)], formatter=self.AddHumanReadableSize))
Dchecker.py1220 formatter=_AddHumanReadableSize,
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DUtils.java79 DecimalFormat formatter = new DecimalFormat("00"); in toUtcOffsetString() local
80 return (negative ? "-" : "") + formatter.format(hours) + ":" + formatter.format(minutes); in toUtcOffsetString()
/system/extras/simpleperf/app_api/java/com/android/simpleperf/
DRecordOptions.java160 DateTimeFormatter formatter = DateTimeFormatter.ofPattern("'perf'-MM-dd-HH-mm-ss'.data'"); in getDefaultOutputFilename() local
161 return time.format(formatter); in getDefaultOutputFilename()
/system/bt/tools/scripts/
Ddump_metrics_ascii.py115 formatter = logging.Formatter(
117 log_handler.setFormatter(formatter)
/system/tools/aidl/
Daidl_to_ndk.cpp322 formatter) { in NdkArgList() argument
328 method_arguments.emplace_back(formatter(type, name, a->IsOut())); in NdkArgList()
334 method_arguments.emplace_back(formatter(type, name, true)); in NdkArgList()
Daidl_to_ndk.h58 formatter);