Home
last modified time | relevance | path

Searched refs:formatter (Results 1 – 22 of 22) 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/extras/libatrace_rust/src/
Dtracing_subscriber.rs106 let mut formatter = FieldFormatter::for_span(span.metadata().name()); in on_new_span() localVariable
107 attrs.record(&mut formatter); in on_new_span()
108 span.extensions_mut().insert(formatter); in on_new_span()
130 let formatter = span_extensions.get::<FieldFormatter>().unwrap(); in on_enter() localVariable
131 atrace::atrace_begin(self.tag, formatter.as_str()); in on_enter()
149 let mut formatter = FieldFormatter::for_event(); in on_event() localVariable
150 event.record(&mut formatter); in on_event()
151 atrace::atrace_instant(self.tag, formatter.as_str()); in on_event()
198 let mut formatter = FieldFormatter { is_event: false, ..FieldFormatter::new() }; in for_span() localVariable
199 formatter.s.push_str(span_name); in for_span()
[all …]
/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/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.h120 static void setNotes(Formatter* formatter);
/system/tools/aidl/
Daidl_to_ndk.cpp241 formatter) { in NdkArgList() argument
247 method_arguments.emplace_back(formatter(type, name, a->IsOut())); in NdkArgList()
253 method_arguments.emplace_back(formatter(type, name, true)); in NdkArgList()
Daidl_to_ndk.h62 formatter);
Dgenerate_java_binder.cpp726 static std::string ArgList(const AidlMethod& method, Formatter formatter) { in ArgList() argument
729 args.push_back(std::invoke(formatter, *arg)); in ArgList()
/system/tools/sysprop/
DRustGen.cpp313 std::string formatter = GetTypeFormatter(prop); in GenerateRustSource() local
329 writer.Write("let value = %s(%s);\n", formatter.c_str(), in GenerateRustSource()
/system/extras/power_profile/gps_on/gradle/wrapper/
Dgradle-wrapper.jar ... java.io.BufferedReader is java.util.Formatter stdout String line ProcessBuilder pb Process p java.io ...
/system/extras/power_profile/camera_avg/gradle/wrapper/
Dgradle-wrapper.jar ... java.io.BufferedReader is java.util.Formatter stdout String line ProcessBuilder pb Process p java.io ...
/system/extras/power_profile/camera_flashlight/gradle/wrapper/
Dgradle-wrapper.jar ... java.io.BufferedReader is java.util.Formatter stdout String line ProcessBuilder pb Process p java.io ...
/system/extras/simpleperf/scripts/purgatorio/
Dpurgatorio.py62 graph.xaxis.formatter = FuncTickFormatter(args={'range': data_range, 'graph': graph}, code="""
/system/sepolicy/private/
Dperfetto.te71 # perfetto log formatter calls isatty() on its stderr. Denial when running
/system/extras/simpleperf/demo/SimpleperfExampleCpp/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/system/extras/simpleperf/demo/JavaApi/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/system/extras/simpleperf/demo/CppApi/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/system/extras/simpleperf/demo/SimpleperfExampleKotlin/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/system/extras/simpleperf/demo/SimpleperfExampleJava/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...