/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTSPConnection.cpp | 560 bool ARTSPConnection::receiveLine(AString *line) { argument 561 line->clear(); 571 line->erase(line->size() - 1, 1); 574 // some reponse line ended with '\n', instead of '\r\n'. 578 line->append(&c, 1); 580 if (c == '$' && line->size() == 1) { 671 AString line; local 674 if (!receiveLine(&line)) { 678 if (line [all...] |
/frameworks/base/cmds/incident_helper/src/ |
H A D | ih_util.cpp | 62 static void split(const std::string& line, std::vector<std::string>& words, argument 69 found = line.find_first_of(delimiters, base); 71 std::string word = (*func) (line.substr(base, found - base)); 76 if (found == line.npos) break; 81 header_t parseHeader(const std::string& line, const std::string& delimiters) { argument 84 split(line, header, f, delimiters); 88 record_t parseRecord(const std::string& line, const std::string& delimiters) { argument 91 split(line, record, f, delimiters); 95 bool getColumnIndices(std::vector<int>& indices, const char** headerNames, const std::string& line) { argument 102 lastIndex = line 115 parseRecordByColumns(const std::string& line, const std::vector<int>& indices, const std::string& delimiters) argument 169 stripPrefix(std::string* line, const char* key, bool endAtDelimiter) argument 190 stripSuffix(std::string* line, const char* key, bool endAtDelimiter) argument 211 behead(std::string* line, const char cut) argument 248 readLine(std::string* line) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | LayoutTest.java | 355 * of the first line and ends at the start of the second line. This means the selection 356 * highlight will span from the beginning of the first line to the end of the first line 357 * and will appear as a zero width line at the beginning of the second line. 359 * Hence, we expect three rectangles - one that will select the "a" on the first line, 360 * one that will extend the selection from the "a" to the end of the first line and one 361 * that will prepare the selection for the second line. 401 * of the first line an 531 getEllipsisCount(int line) argument 536 getEllipsisStart(int line) argument 541 getLineContainsTab(int line) argument 551 getLineDescent(int line) argument 556 getLineDirections(int line) argument 561 getLineStart(int line) argument 569 getLineTop(int line) argument 577 getParagraphDirection(int line) argument [all...] |
H A D | StaticLayoutTest.java | 100 * metrics and line metrics. 125 * Basic test showing effect of includePad = true with 1 line. 126 * Top and bottom padding are affected, as is the line descent and height. 141 * Ascent of top line and descent of bottom line are affected. 160 * First line ascent is top, bottom line descent is bottom. 379 * @param values values for each line where first is ascent, second is descent, and last one is 390 * @param values values for each line where first is ascent, second is descent, and last one is 413 private void assertLineMetrics(Layout l, int line, argument [all...] |
/frameworks/base/location/java/android/location/ |
H A D | Address.java | 75 * Returns the largest index currently in use to specify an address line. 83 * Returns a line of the address numbered by the given index 84 * (starting at 0), or null if no such line is present. 96 * Sets the line of the address numbered by index (starting at 0) to the 101 public void setAddressLine(int index, String line) { argument 108 mAddressLines.put(index, line); 110 if (line == null) { 111 // We've eliminated a line, recompute the max index 431 String line = mAddressLines.get(i); 432 if (line [all...] |
/frameworks/base/tools/aapt2/format/proto/ |
H A D | ProtoDeserialize.cpp | 359 out_source->line = static_cast<size_t>(pb_source.position().line_number()); 551 size_t line = 0u; local 553 line = pb_symbol.source().line_number(); 555 out_file->exported_symbols.push_back(SourcedResourceName{name_ref.ToResourceName(), line});
|
/frameworks/native/cmds/lshal/ |
H A D | ListCommand.cpp | 139 std::string line; local 141 while(getline(ifs, line)) { 142 if (std::regex_search(line, match, kContextLine)) { 151 eachLine(line); 162 return scanBinderContext(serverPid, "hwbinder", [&](const std::string& line) { 163 if (std::regex_search(line, match, kReferencePrefix)) { 172 auto pos = line.rfind(proc); 174 for (const std::string &pidStr : split(line.substr(pos + proc.size()), ' ')) { 187 if (std::regex_search(line, match, kThreadPrefix)) { 209 // not reference or thread line [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | RuimRecords.java | 927 public void setVoiceMessageWaiting(int line, int countWaiting) { argument
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardParserImpl_V21.java | 52 * Needed since "next line" may be null due to end of line. 71 final String line = super.readLine(); 74 return line; 78 * Read one line, but make this object store it in its queue. 83 final String line = super.readLine(); 87 mNextLine = line; 127 * Developers should not directly read a line from this object. Use 192 * @throws VCardException when the stream reached end of line 195 String line; 364 constructPropertyData(String line) argument 888 getPropertyNameUpperCase(String line) argument [all...] |
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeAac.cpp | 147 void ExitOnErrorFunc( SLresult result , int line) argument 150 fprintf(stderr, "Error code %u encountered at line %d, exiting\n", result, line);
|
/frameworks/opt/setupwizard/tools/docs/ |
H A D | jsilver.jar | META-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ... |
/frameworks/av/media/libstagefright/httplive/ |
H A D | M3UParser.cpp | 565 AString line; local 567 line.setTo(&data[offset], offsetLF - offset - 1); 569 line.setTo(&data[offset], offsetLF - offset); 572 // ALOGI("#%s#", line.c_str()); 574 if (line.empty()) { 579 if (lineNo == 0 && line == "#EXTM3U") { 586 if (line.startsWith("#EXT-X-TARGETDURATION")) { 590 err = parseMetaData(line, &mMeta, "target-duration"); 591 } else if (line.startsWith("#EXT-X-MEDIA-SEQUENCE")) { 595 err = parseMetaData(line, 731 parseMetaData( const AString &line, sp<AMessage> *meta, const char *key) argument 755 parseMetaDataDuration( const AString &line, sp<AMessage> *meta, const char *key) argument 781 FindNextUnquoted( const AString &line, char what, size_t offset) argument 801 parseStreamInf( const AString &line, sp<AMessage> *meta) const argument 914 parseCipherInfo( const AString &line, sp<AMessage> *meta, const AString &baseURI) argument 983 parseByteRange( const AString &line, uint64_t curOffset, uint64_t *length, uint64_t *offset) argument 1028 parseMedia(const AString &line) argument 1266 parseDiscontinuitySequence(const AString &line, size_t *seq) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | DynamicLayout.java | 143 * Set line spacing parameters. Each line will have its line spacing multiplied by 147 * @param spacingAdd the amount of line spacing addition 148 * @param spacingMult the line spacing multiplier 255 * {@link Layout#JUSTIFICATION_MODE_NONE}. If the last line is too short for justification, 256 * the last line will be displayed with the alignment set by {@link #setAlignment}. 446 // Initial state is a single line with 0 characters (0 to 0), with top at 0 and bottom at 611 // If the new layout has a blank line at the end, but it is not 612 // the very end of the buffer, then we already have a line tha 1000 getLineTop(int line) argument 1005 getLineDescent(int line) argument 1013 getLineExtra(int line) argument 1018 getLineStart(int line) argument 1023 getLineContainsTab(int line) argument 1028 getParagraphDirection(int line) argument 1033 getLineDirections(int line) argument 1051 getHyphen(int line) argument 1055 getContentMayProtrudeFromTopOrBottom(int line) argument 1118 getEllipsisStart(int line) argument 1127 getEllipsisCount(int line) argument [all...] |
H A D | Layout.java | 60 * Value for break strategy indicating simple line breaking. Automatic hyphens are not added 68 * Value for break strategy indicating high quality line breaking, including automatic 69 * hyphenation and doing whole-paragraph optimization of line breaks. 74 * Value for break strategy indicating balanced line breaking. The breaks are chosen to 93 * as suggestions for potential line breaks. 133 * Line spacing multiplier for default line spacing. 138 * Line spacing addition for default line spacing. 143 * Return how wide a layout must be in order to display the specified text with one line per 157 * line per paragraph. 169 * specified text slice with one line pe 688 getLineStartPos(int line, int left, int right) argument 840 getLineBounds(int line, Rect bounds) argument 856 getLineTop(int line) argument 861 getLineDescent(int line) argument 868 getLineStart(int line) argument 875 getParagraphDirection(int line) argument 881 getLineContainsTab(int line) argument 890 getLineDirections(int line) argument 909 getHyphen(int line) argument 918 getIndentAdjust(int line, Alignment alignment) argument 1088 primaryIsTrailingPreviousAllLineOffsets(int line) argument 1165 getHorizontal(int offset, boolean trailing, int line, boolean clamped) argument 1204 getLineHorizontals(int line, boolean clamped, boolean primary) argument 1254 getLineLeft(int line) argument 1285 getLineRight(int line) argument 1316 getLineMax(int line) argument 1326 getLineWidth(int line) argument 1339 getLineExtent(int line, boolean full) argument 1381 getLineExtent(int line, TabStops tabStops, boolean full) argument 1453 getOffsetForHorizontal(int line, float horiz) argument 1467 getOffsetForHorizontal(int line, float horiz, boolean primary) argument 1569 HorizontalMeasurementProvider(final int line, final boolean primary) argument 1597 getLineEnd(int line) argument 1605 getLineVisibleEnd(int line) argument 1609 getLineVisibleEnd(int line, int start, int end) argument 1635 getLineBottom(int line) argument 1645 getLineBottomWithoutSpacing(int line) argument 1652 getLineBaseline(int line) argument 1661 getLineAscent(int line) argument 1673 getLineExtra(@ntRangefrom = 0) int line) argument 1774 shouldClampCursor(int line) argument 1866 addSelection(int line, int start, int end, int top, int bottom, SelectionRectangleConsumer consumer) argument 1991 getParagraphAlignment(int line) argument 2012 getParagraphLeft(int line) argument 2024 getParagraphRight(int line) argument 2039 getParagraphLeadingMargin(int line) argument 2266 ellipsize(int start, int end, int line, char[] dest, int destoff, TextUtils.TruncateAt method) argument 2326 getEllipsisStart(int line) argument 2332 getEllipsisCount(int line) argument [all...] |
H A D | StaticLayout.java | 55 * First, call nInit to setup native line breaker object. Then, for each paragraph, do the 60 * - Run nComputeLineBreaks() to obtain line breaks for the paragraph. 224 * Set line spacing parameters. Each line will have its line spacing multiplied by 228 * @param spacingAdd the amount of line spacing addition 229 * @param spacingMult the line spacing multiplier 308 * ellipsizing, where it changes the layout of the last line. The default is 352 * Set indents. Arguments are arrays holding an indent amount, one per line, measured in 368 * amount of padding available, one per line, measure 1058 calculateEllipsis(int lineStart, int lineEnd, float[] widths, int widthStart, float avail, TextUtils.TruncateAt where, int line, float textWidth, TextPaint paint, boolean forceEllipsis) argument 1165 getTotalInsets(int line) argument 1207 getLineTop(int line) argument 1215 getLineExtra(int line) argument 1220 getLineDescent(int line) argument 1225 getLineStart(int line) argument 1230 getParagraphDirection(int line) argument 1235 getLineContainsTab(int line) argument 1240 getLineDirections(int line) argument 1261 getHyphen(int line) argument 1269 getIndentAdjust(int line, Alignment align) argument 1298 getEllipsisCount(int line) argument 1307 getEllipsisStart(int line) argument [all...] |
/frameworks/base/core/jni/ |
H A D | com_android_internal_os_Zygote.cpp | 93 static void RuntimeAbort(JNIEnv* env, int line, const char* msg) { argument 95 oss << __FILE__ << ":" << line << ": " << msg;
|
H A D | android_os_Debug.cpp | 248 char line[1024]; local 272 if(fgets(line, sizeof(line), fp) == 0) return; 282 len = strlen(line); 284 line[--len] = 0; 286 if (sscanf(line, "%" SCNx64 "-%" SCNx64 " %*s %*x %*x:%*x %*d%n", &start, &end, &name_pos) != 2) { 289 while (isspace(line[name_pos])) { 292 name = line + name_pos; 294 // Trim the end of the line if it is " (deleted)". 400 // isSqliteHeap, line); 612 char* line; local 698 char line[1024]; local 895 char line[1024]; local [all...] |
H A D | android_util_Process.cpp | 375 char *line = NULL; local 377 ssize_t num_read = getline(&line, &len, file); 380 parse_cpuset_cpus(line, cpu_set); 384 free(line); 1102 char line[256]; local 1104 while (fgets(line, sizeof(line), file.get())) { 1106 if (sscanf(line, "Pss: %" SCNd64 " kB", &v) == 1) {
|
/frameworks/base/tools/bit/ |
H A D | main.cpp | 37 * An entry from the command line for something that will be built, installed, 73 * Command line options. 241 ostringstream line; local 242 line << "Running"; 244 line << ": " << currentTestNum; 246 line << " of " << testCount; 249 line << ": " << m_currentAction->target->name << ':' << className << "\\#" << testName; 250 print_one_line("%s", line.str().c_str());
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | AsmAnalyzer.java | 256 // - add end-of-line match $ 696 public void visitLineNumber(int line, Label start) { argument
|
H A D | DependencyFinder.java | 574 public void visitLineNumber(int line, Label start) { argument
|
/frameworks/native/libs/vr/libpdx_default_transport/ |
H A D | pdx_benchmarks.cpp | 2 // line processing. 93 std::string line; local 94 base::ReadFileToString(base::FilePath{stats_path}, &line); 96 line, " ", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); 170 // Global command line option values. 182 // Command line option names. 1020 // Process command line options. 1075 // Setup ATRACE/systrace based on command line.
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuExecutable.cpp | 380 char line[MAXLINE]; local 409 if (strgets(line, MAXLINE, &rsInfo) == nullptr) { 412 if (sscanf(line, EXPORT_VAR_STR "%zu", &varCount) != 1) { 413 ALOGE("Invalid export var count!: %s", line); 433 if (strgets(line, MAXLINE, &rsInfo) == nullptr) { 436 char *c = strrchr(line, '\n'); 440 void* addr = dlsym(sharedObj, line); 443 line, dlerror()); 448 fieldName[i] = duplicateString(line, sizeof(line)); [all...] |
/frameworks/rs/ |
H A D | rsContext.h | 189 void setWatchdogGL(const char *cmd, uint32_t line, const char *file) const { argument 192 watchdog.line = line; 229 uint32_t line; member in struct:android::renderscript::Context::__anon2007
|
/frameworks/base/media/java/android/media/ |
H A D | MediaScanner.java | 1645 private void cachePlaylistEntry(String line, String playListDirectory) { argument 1648 int entryLength = line.length(); 1649 while (entryLength > 0 && Character.isWhitespace(line.charAt(entryLength - 1))) entryLength--; 1653 if (entryLength < line.length()) line = line.substring(0, entryLength); 1657 char ch1 = line.charAt(0); 1659 (Character.isLetter(ch1) && line.charAt(1) == ':' && line.charAt(2) == '\\')); 1662 line [all...] |