Home
last modified time | relevance | path

Searched refs:sep (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DVolumeDialogController.java142 if (indent > 0) sep(sb, indent); in toString()
145 sep(sb, indent); in toString()
155 sep(sb, indent); sb.append("ringerModeExternal:").append(ringerModeExternal); in toString()
156 sep(sb, indent); sb.append("ringerModeInternal:").append(ringerModeInternal); in toString()
157 sep(sb, indent); sb.append("zenMode:").append(zenMode); in toString()
158 sep(sb, indent); sb.append("effectsSuppressor:").append(effectsSuppressor); in toString()
159 sep(sb, indent); sb.append("effectsSuppressorName:").append(effectsSuppressorName); in toString()
160 sep(sb, indent); sb.append("activeStream:").append(activeStream); in toString()
161 sep(sb, indent); sb.append("disallowAlarms:").append(disallowAlarms); in toString()
162 sep(sb, indent); sb.append("disallowMedia:").append(disallowMedia); in toString()
[all …]
/frameworks/ml/nn/tools/systrace_parser/
Dparse_systrace.py39 sep = "["
41 sep = ""
50 sep = ","
53 starting_mark, sep)
64 sep = ","
65 print_stats(tracker_map, print_detail, total_times, per_execution, json, starting_mark, sep)
/frameworks/base/core/java/com/android/internal/app/procstats/
DDumpUtils.java202 public static void printMemLabel(PrintWriter pw, int offset, char sep) { in printMemLabel() argument
206 if (sep != 0) pw.print(' '); in printMemLabel()
210 if (sep != 0) pw.print(sep); in printMemLabel()
214 if (sep != 0) pw.print(sep); in printMemLabel()
218 if (sep != 0) pw.print(sep); in printMemLabel()
222 if (sep != 0) pw.print(sep); in printMemLabel()
226 if (sep != 0) pw.print(sep); in printMemLabel()
342 public static void dumpAdjTimesCheckin(PrintWriter pw, String sep, long[] durations, in dumpAdjTimesCheckin() argument
358 private static void dumpStateHeadersCsv(PrintWriter pw, String sep, int[] screenStates, in dumpStateHeadersCsv() argument
366 pw.print(sep); in dumpStateHeadersCsv()
/frameworks/base/tools/aapt/
DAaptUtil.cpp24 Vector<String8> split(const String8& str, const char sep) { in split() argument
30 q = strchr(p, sep); in split()
42 Vector<String8> splitAndLowerCase(const String8& str, const char sep) { in splitAndLowerCase() argument
48 q = strchr(p, sep); in splitAndLowerCase()
DAaptUtil.h27 android::Vector<android::String8> split(const android::String8& str, const char sep);
28 android::Vector<android::String8> splitAndLowerCase(const android::String8& str, const char sep);
/frameworks/base/tools/aapt2/util/
DUtil.h53 std::vector<std::string> Split(const android::StringPiece& str, char sep);
54 std::vector<std::string> SplitAndLowercase(const android::StringPiece& str, char sep);
127 const char* sep) { in Joiner() argument
132 return [begin_iter, end_iter, sep](::std::ostream& out) -> ::std::ostream& { in Joiner()
135 out << sep; in Joiner()
244 iterator(const android::StringPiece& s, char sep, const android::StringPiece& tok, bool end);
252 Tokenizer(const android::StringPiece& str, char sep);
267 inline Tokenizer Tokenize(const android::StringPiece& str, char sep) { in Tokenize() argument
268 return Tokenizer(str, sep); in Tokenize()
DUtil.cpp42 const StringPiece& str, char sep, const std::function<char(char)>& f) { in SplitAndTransform() argument
48 current = std::find(start, end, sep); in SplitAndTransform()
59 std::vector<std::string> Split(const StringPiece& str, char sep) { in Split() argument
60 return SplitAndTransform(str, sep, nullptr); in Split()
63 std::vector<std::string> SplitAndLowercase(const StringPiece& str, char sep) { in SplitAndLowercase() argument
64 return SplitAndTransform(str, sep, ::tolower); in SplitAndLowercase()
500 Tokenizer::iterator::iterator(const StringPiece& s, char sep, const StringPiece& tok, bool end) in iterator() argument
501 : str_(s), separator_(sep), token_(tok), end_(end) {} in iterator()
503 Tokenizer::Tokenizer(const StringPiece& str, char sep) in Tokenizer() argument
504 : begin_(++iterator(str, sep, StringPiece(str.begin() - 1, 0), false)), in Tokenizer()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DBackgroundRestrictedAlarmsTest.java54 String sep = ""; in toString() local
56 sb.append(sep); in toString()
57 sep = ", "; in toString()
72 String sep = ""; in toString() local
74 sb.append(sep); in toString()
75 sep = ", "; in toString()
/frameworks/base/libs/androidfw/
DUtil.cpp72 const StringPiece& str, char sep, const std::function<char(char)>& f) { in SplitAndTransform() argument
78 current = std::find(start, end, sep); in SplitAndTransform()
89 std::vector<std::string> SplitAndLowercase(const StringPiece& str, char sep) { in SplitAndLowercase() argument
90 return SplitAndTransform(str, sep, ::tolower); in SplitAndLowercase()
/frameworks/base/core/java/android/content/
DComponentName.java275 int sep = str.indexOf('/'); in unflattenFromString() local
276 if (sep < 0 || (sep+1) >= str.length()) { in unflattenFromString()
279 String pkg = str.substring(0, sep); in unflattenFromString()
280 String cls = str.substring(sep+1); in unflattenFromString()
DIntent.java7097 int sep = uri.indexOf('!', i);
7098 if (sep < 0 || sep > j) sep = j;
7099 if (i < sep) {
7100 intent.addCategory(uri.substring(i, sep));
7102 i = sep + 1;
7130 int sep = uri.indexOf('!', i);
7131 if (sep >= 0 && sep < j) {
7132 String pkg = uri.substring(i, sep);
7133 String cls = uri.substring(sep + 1, j);
/frameworks/base/core/java/android/util/
DKeyValueListParser.java59 int sep = pair.indexOf('='); in setString() local
60 if (sep < 0) { in setString()
65 mValues.put(pair.substring(0, sep).trim(), pair.substring(sep + 1).trim()); in setString()
/frameworks/ml/nn/tools/systrace_parser/parser/
Doutput.py13 json_output=False, starting_mark='', sep=''): argument
44 if sep:
45 print(sep)
/frameworks/av/media/codec2/tests/
DC2SampleComponent_test.cpp282 const char *sep = ""; in dumpFSV() local
284 cout << sep << get(p, t); in dumpFSV()
285 sep = ","; in dumpFSV()
360 const char *sep = ""; in dumpStruct() local
362 cout << sep << p.first << "="; in dumpStruct()
371 sep = ","; in dumpStruct()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockUtils.java155 String sep = ""; in getRestrictionsAsString() local
157 sb.append(sep); in getRestrictionsAsString()
158 sep = ","; in getRestrictionsAsString()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
DBatterySavingStatsTest.java91 String sep = ""; in toDebugString() local
93 sb.append(sep); in toDebugString()
97 sep = "\n"; in toDebugString()
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java489 final String sep = ",";
490 String[] sectionsStr = optionsStr.split(sep);
827 boolean[] sep = new boolean[1];
830 ProcessStats.ADJ_SCREEN_MOD, args[i], sep, error);
836 csvSepScreenStats = sep[0];
844 boolean[] sep = new boolean[1];
847 sep, error);
853 csvSepMemStats = sep[0];
861 boolean[] sep = new boolean[1];
864 sep, error);
[all …]
/frameworks/ml/nn/tools/test_generator/
Dtest_generator.py39 def GetJointStr(l, sep=", ", method=str): argument
40 return sep.join([method(i) for i in l])
86 def __init__(self, *args, sep="_", showZero=False, startsFrom=0, skipRenaming=False): argument
87 name = GetJointStr([i for i in args if i is not None and i != ""], sep=sep)
92 uniqueName = name if showZero is False else name + sep + str(startsFrom)
95 uniqueName = name + sep + str(startsFrom)
119 def __init__(self, *args, sep="_", showZero=False, startsFrom=0, skipRenaming=False): argument
120 NamedObject.__init__(self, *args, sep=sep, showZero=showZero,
160 NamedVariable.__init__(self, name, sep="", showZero=True, skipRenaming=skipRenaming)
196 left, sep, right = shape.partition('{')
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DUtil.h120 std::vector<std::string> SplitAndLowercase(const android::StringPiece& str, char sep);
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java766 String sep = ""; in toString() local
768 sb.append(String.format("%s0x%08x", sep, c)); in toString()
769 sep = "|"; in toString()
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp1977 uint8_t sep = buffer->data()[pos]; in bufferStartsWithWebVTTMagicSequence() local
1978 return sep == ' ' || sep == '\t' || sep == '\n' || sep == '\r'; in bufferStartsWithWebVTTMagicSequence()
/frameworks/base/services/core/java/com/android/server/
DAppStateTracker.java1298 String sep = ""; in dumpUids() local
1301 pw.print(sep); in dumpUids()
1303 sep = " "; in dumpUids()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java2289 String sep = ""; in toStringInner() local
2291 sb.append(sep); in toStringInner()
2292 sep = ", "; in toStringInner()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java768 final int sep = path.lastIndexOf(File.separatorChar); in getFileName() local
769 if (sep == -1) { in getFileName()
772 return path.substring(sep + 1); in getFileName()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java456 private static int[] tryParseDayList(String dayList, String sep) { in tryParseDayList() argument
458 final String[] tokens = dayList.split(sep); in tryParseDayList()

12