Home
last modified time | relevance | path

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

/system/update_engine/scripts/update_payload/
Dhistogram.py45 def __init__(self, data, scale=20, formatter=None): argument
56 self.formatter = formatter or str
61 def FromCountDict(count_dict, scale=20, formatter=None, key_names=None): argument
86 return Histogram(hist, scale, formatter)
89 def FromKeyList(key_list, scale=20, formatter=None, key_names=None): argument
109 return Histogram.FromCountDict(count_dict, scale, formatter, key_names)
122 self.formatter(count))
Dhistogram_unittest.py72 [('Yes', 5000), ('No', 1000)], formatter=self.AddHumanReadableSize))
Dchecker.py1094 formatter=_AddHumanReadableSize,
/system/timezone/input_tools/android/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.java174 DateTimeFormatter formatter = DateTimeFormatter.ofPattern("'perf'-MM-dd-HH-mm-ss'.data'"); in getDefaultOutputFilename() local
175 return time.format(formatter); in getDefaultOutputFilename()
/system/bt/tools/scripts/
Ddump_metrics_ascii.py115 formatter = logging.Formatter("%(asctime)s %(levelname)s %(message)s")
116 log_handler.setFormatter(formatter)
/system/tools/hidl/hidl2aidl/
DAidlHelper.cpp49 void AidlHelper::setNotes(Formatter* formatter) { in setNotes() argument
50 CHECK(formatter != nullptr); in setNotes()
51 notesFormatter = formatter; in setNotes()
DAidlHelper.h111 static void setNotes(Formatter* formatter);
/system/tools/aidl/
Daidl_to_ndk.h66 formatter);
Daidl_to_ndk.cpp476 formatter) { in NdkArgList() argument
482 method_arguments.emplace_back(formatter(type, name, a->IsOut())); in NdkArgList()
488 method_arguments.emplace_back(formatter(type, name, true)); in NdkArgList()
/system/sepolicy/prebuilts/api/30.0/private/
Dperfetto.te50 # perfetto log formatter calls isatty() on its stderr. Denial when running
/system/sepolicy/private/
Dperfetto.te55 # perfetto log formatter calls isatty() on its stderr. Denial when running
/system/sepolicy/prebuilts/api/31.0/private/
Dperfetto.te55 # perfetto log formatter calls isatty() on its stderr. Denial when running
/system/extras/simpleperf/scripts/purgatorio/
Dpurgatorio.py61 graph.xaxis.formatter = FuncTickFormatter(args={'range': data_range, 'graph': graph}, code="""