Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/procstats/
DDumpUtils.java123 public static void printMemLabel(PrintWriter pw, int offset, char sep) { in printMemLabel() argument
127 if (sep != 0) pw.print(' '); in printMemLabel()
131 if (sep != 0) pw.print(sep); in printMemLabel()
135 if (sep != 0) pw.print(sep); in printMemLabel()
139 if (sep != 0) pw.print(sep); in printMemLabel()
143 if (sep != 0) pw.print(sep); in printMemLabel()
147 if (sep != 0) pw.print(sep); in printMemLabel()
239 public static void dumpAdjTimesCheckin(PrintWriter pw, String sep, long[] durations, in dumpAdjTimesCheckin() argument
255 private static void dumpStateHeadersCsv(PrintWriter pw, String sep, int[] screenStates, in dumpStateHeadersCsv() argument
263 pw.print(sep); in dumpStateHeadersCsv()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DVolumeDialogController.java126 if (indent > 0) sep(sb, indent); in toString()
129 sep(sb, indent); in toString()
139 sep(sb, indent); sb.append("ringerModeExternal:").append(ringerModeExternal); in toString()
140 sep(sb, indent); sb.append("ringerModeInternal:").append(ringerModeInternal); in toString()
141 sep(sb, indent); sb.append("zenMode:").append(zenMode); in toString()
142 sep(sb, indent); sb.append("effectsSuppressor:").append(effectsSuppressor); in toString()
143 sep(sb, indent); sb.append("effectsSuppressorName:").append(effectsSuppressorName); in toString()
144 sep(sb, indent); sb.append("activeStream:").append(activeStream); in toString()
145 if (indent > 0) sep(sb, indent); in toString()
149 private static void sep(StringBuilder sb, int indent) { in sep() method in VolumeDialogController.State
/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 Container& container, 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()
249 iterator(android::StringPiece s, char sep, android::StringPiece tok, bool end);
257 Tokenizer(android::StringPiece str, char sep);
272 inline Tokenizer Tokenize(const android::StringPiece& str, char sep) { return Tokenizer(str, sep); } in Tokenize() argument
DUtil.cpp39 const StringPiece& str, char sep, const std::function<char(char)>& f) { in SplitAndTransform() argument
45 current = std::find(start, end, sep); in SplitAndTransform()
56 std::vector<std::string> Split(const StringPiece& str, char sep) { in Split() argument
57 return SplitAndTransform(str, sep, nullptr); in Split()
60 std::vector<std::string> SplitAndLowercase(const StringPiece& str, char sep) { in SplitAndLowercase() argument
61 return SplitAndTransform(str, sep, ::tolower); in SplitAndLowercase()
523 Tokenizer::iterator::iterator(StringPiece s, char sep, StringPiece tok, in iterator() argument
525 : str_(s), separator_(sep), token_(tok), end_(end) {} in iterator()
527 Tokenizer::Tokenizer(StringPiece str, char sep) in Tokenizer() argument
528 : begin_(++iterator(str, sep, StringPiece(str.begin() - 1, 0), false)), in Tokenizer()
[all …]
/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);
DResourceTable.cpp1544 ssize_t sep = ident.findLast('.'); in compileResourceFile() local
1545 if (sep >= 0) { in compileResourceFile()
1546 parentIdent.setTo(ident, sep); in compileResourceFile()
/frameworks/base/core/java/android/util/
DKeyValueListParser.java54 int sep = pair.indexOf('='); in setString() local
55 if (sep < 0) { in setString()
60 mValues.put(pair.substring(0, sep).trim(), pair.substring(sep + 1).trim()); in setString()
/frameworks/base/tools/aapt2/java/
DManifestClassGenerator.cpp34 const StringPiece sep = "."; in ExtractJavaIdentifier() local
35 auto iter = std::find_end(value.begin(), value.end(), sep.begin(), sep.end()); in ExtractJavaIdentifier()
39 result.assign(iter + sep.size(), value.end() - (iter + sep.size())); in ExtractJavaIdentifier()
/frameworks/base/core/java/android/content/
DComponentName.java261 int sep = str.indexOf('/'); in unflattenFromString() local
262 if (sep < 0 || (sep+1) >= str.length()) { in unflattenFromString()
265 String pkg = str.substring(0, sep); in unflattenFromString()
266 String cls = str.substring(sep+1); in unflattenFromString()
DIntent.java6167 int sep = uri.indexOf('!', i);
6168 if (sep < 0 || sep > j) sep = j;
6169 if (i < sep) {
6170 intent.addCategory(uri.substring(i, sep));
6172 i = sep + 1;
6200 int sep = uri.indexOf('!', i);
6201 if (sep >= 0 && sep < j) {
6202 String pkg = uri.substring(i, sep);
6203 String cls = uri.substring(sep + 1, j);
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockUtils.java123 String sep = ""; in getRestrictionsAsString() local
125 sb.append(sep); in getRestrictionsAsString()
126 sep = ","; in getRestrictionsAsString()
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java669 boolean[] sep = new boolean[1];
672 ProcessStats.ADJ_SCREEN_MOD, args[i], sep, error);
678 csvSepScreenStats = sep[0];
686 boolean[] sep = new boolean[1];
689 sep, error);
695 csvSepMemStats = sep[0];
703 boolean[] sep = new boolean[1];
706 sep, error);
712 csvSepProcStats = sep[0];
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java707 String sep = ""; in toString() local
709 sb.append(String.format("%s0x%08x", sep, c)); in toString()
710 sep = "|"; in toString()
/frameworks/ml/nn/tools/test_generator/
Dtest_generator.py177 left, sep, right = self.__shape.partition('{')
178 real_shape, sep, right = right.partition('}')
181 scale, sep, zero_point = right.rpartition(',')
186 left, sep, scale = scale.partition(',')
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp1949 uint8_t sep = buffer->data()[pos]; in bufferStartsWithWebVTTMagicSequence() local
1950 return sep == ' ' || sep == '\t' || sep == '\n' || sep == '\r'; in bufferStartsWithWebVTTMagicSequence()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java1876 String sep = ""; in toStringInner() local
1878 sb.append(sep); in toStringInner()
1879 sep = ", "; in toStringInner()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java584 final int sep = path.lastIndexOf(File.separatorChar); in getFileName() local
585 if (sep == -1) { in getFileName()
588 return path.substring(sep + 1); in getFileName()
/frameworks/av/media/libstagefright/codec2/tests/
DC2Param_test.cpp2400 const char *sep = ""; in dumpFSV() local
2402 cout << sep << get(p, t); in dumpFSV()
2403 sep = ","; in dumpFSV()
2478 const char *sep = ""; in dumpStruct() local
2480 cout << sep << p.first << "="; in dumpStruct()
2489 sep = ","; in dumpStruct()
/frameworks/base/core/java/android/service/notification/
DZenModeConfig.java370 private static int[] tryParseDayList(String dayList, String sep) { in tryParseDayList() argument
372 final String[] tokens = dayList.split(sep); in tryParseDayList()