/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageUsage.java | 121 // package-timestamp pair per line. 122 // Note that the first line has already been read from the InputStream. 123 for (String line = firstLine; line != null; line = readLine(in, sb)) { 124 String[] tokens = line.split(" "); 126 throw new IOException("Failed to parse " + line + 148 // number and then stored a package name and eight timestamps per line. 149 String line; 150 while ((line [all...] |
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
H A D | ProxyServer.java | 180 * Sends HTTP request-line (i.e. the first line in the request) 187 * @throws IOException if the request-line cannot be sent. 240 private void sendLine(Socket socket, String line) throws IOException { argument 242 os.write(line.getBytes()); 249 * Reads from socket until an empty line is read which indicates the end of HTTP headers. 280 // Sends and empty line that indicates termination of the header section. 292 String line; 294 line = getLine(src.getInputStream()); 295 if (line 307 shouldRemoveHeaderLine(String line) argument [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | UploadedTexture.java | 240 Bitmap line = getBorderLine(true, config, texHeight); 241 canvas.texSubImage2D(this, 0, 0, line, format, type); 244 line = getBorderLine(false, config, texWidth); 245 canvas.texSubImage2D(this, 0, 0, line, format, type); 250 Bitmap line = getBorderLine(true, config, texHeight); 251 canvas.texSubImage2D(this, mBorder + bWidth, 0, line, format, type); 256 Bitmap line = getBorderLine(false, config, texWidth); 257 canvas.texSubImage2D(this, 0, mBorder + bHeight, line, format, type);
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | KMLFormatter.java | 76 public void addLine(String line) { argument 77 mBuilder.append(line);
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardParserImpl_V30.java | 84 * vCard 3.0 requires that the line with space at the beginning of the line 85 * must be combined with previous line. 89 String line; 91 while ((line = mReader.readLine()) != null) { 93 // send line termination variations such as \r\r\n. 94 if (line.length() == 0) { 96 } else if (line.charAt(0) == ' ' || line.charAt(0) == '\t') { 97 // RFC 2425 describes line continuatio [all...] |
/frameworks/rs/tests/lldb/tests/testcases/ |
H A D | reduce_common.py | 58 for line in output.splitlines(): 59 match = re.search(funcs_match, line)
|
/frameworks/base/tools/aapt2/jni/ |
H A D | aapt2_jni.cpp | 105 jlong line = -1; variable 106 if (actual_msg.source.line) { 107 line = actual_msg.source.line.value(); 113 env_->CallVoidMethod(diagnostics_obj_, mid_, level_value, path, line, message);
|
/frameworks/base/tools/preload/ |
H A D | PrintHtmlDiff.java | 61 String line; 62 while ((line = oldClasses.readLine()) != null) { 63 line = line.trim(); 64 LoadedClass clazz = root.loadedClasses.get(line);
|
H A D | MemoryUsage.java | 52 public MemoryUsage(String line) { argument 53 String[] parsed = line.split(","); 248 String line = in.readLine(); 249 if (line == null || !line.startsWith("DECAFBAD,")) { 251 + ": " + line + "; command was " + Arrays.toString(commands)); 260 return new MemoryUsage(line);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | ModelInterpreter.java | 71 * Note: doesn't return the last incomplete line read on EOF, since 230 String line; 232 line = mLineReader.getNextLine(); 234 //System.out.println("MI<< " + line); 236 if (line == null) { 252 processLine(line); 525 processLine (String line) throws InterpreterEx argument 529 commands = splitCommands(line); 569 splitCommands(String line) throws InterpreterEx argument 571 if (!line [all...] |
/frameworks/base/tools/fonts/ |
H A D | fontchain_lint.py | 361 for line in datafile: 362 if '#' in line: 363 line = line[:line.index('#')] 364 line = line.strip() 365 if not line: 368 chars, prop = line.split(';')[:2] 395 for line i [all...] |
/frameworks/base/media/java/android/media/ |
H A D | SRTRenderer.java | 96 for (String line : lines) { 98 new TextTrackCueSpan(line, -1) 138 for (String line : paragraph) { 140 new TextTrackCueSpan(line, -1) 142 cue.mStrings[i] = line; 178 for (String line : ttc.mStrings) { 179 sb.append(line).append('\n');
|
H A D | WebVttRenderer.java | 152 // for politeness, finish last cue-line if it ends abruptly 323 /* we are finished with a line unless we are in the middle of a tag */ 444 for (int line = 0; line < mLines.length; line++) { 445 if (!Arrays.equals(mLines[line], cue.mLines[line])) { 555 for (TextTrackCueSpan[] line: mLines) { 556 for (TextTrackCueSpan span: line) { 578 mBuffer = ""; /* mBuffer contains up to 1 incomplete line */ 689 parse(String line) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | ListOfEditTexts.java | 93 String getBody(String line) { argument 94 StringBuilder sb = new StringBuilder((line.length() + 5) * mLinesPerEditText); 96 sb.append(i + 1).append(' ').append(line); 98 sb.append('\n'); // all but last line
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | DriverCall.java | 56 fromCLCCLine(String line) { argument 61 ATResponseParser p = new ATResponseParser(line); 76 // like "NOT AVAILABLE" in the CLCC line 93 Rlog.e(LOG_TAG,"Invalid CLCC line: '" + line + "'");
|
H A D | ATResponseParser.java | 33 ATResponseParser (String line) argument 35 mLine = line;
|
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
H A D | accessorychat.c | 60 char *line = fgets(buffer, sizeof(buffer), stdin); local 61 if (!line || !sDevice) 63 ret = usb_device_bulk_transfer(sDevice, endpoint, line, strlen(line), 1000);
|
/frameworks/minikin/include/minikin/ |
H A D | LineBreaker.h | 46 // TODO: want to generalize to be able to handle array of line widths 61 float getLineWidth(int line) const { 62 float width = (line < mFirstWidthLineCount) ? mFirstWidth : mRestWidth; 64 if ((size_t)line < mIndents.size()) { 65 width -= mIndents[line]; 198 size_t lineNumber; // only updated for non-constant line widths 238 // result of line breaking 252 uint32_t mLastHyphenation; // hyphen edit of last break kept for next line
|
/frameworks/base/core/java/android/text/ |
H A D | StaticLayout.java | 201 * Set line spacing parameters. The default is 0.0 for {@code spacingAdd} 204 * @param spacingAdd line spacing add 205 * @param spacingMult line spacing multiplier 262 * ellipsizing, where it changes the layout of the last line. The default is 301 * Set indents. Arguments are arrays holding an indent amount, one per line, measured in 325 * {@link Layout#JUSTIFICATION_MODE_NONE}. If the last line is too short for justification, 326 * the last line will be displayed with the alignment set by {@link #setAlignment}. 340 * For each paragraph, do a nSetupParagraph, which sets paragraph text, line width, tab 352 * Run nComputeLineBreaks() to obtain line breaks for the paragraph. 716 // measurement has to be done before performing line breakin 1032 calculateEllipsis(int lineStart, int lineEnd, float[] widths, int widthStart, float avail, TextUtils.TruncateAt where, int line, float textWidth, TextPaint paint, boolean forceEllipsis) argument 1141 getTotalInsets(int line) argument 1183 getLineTop(int line) argument 1188 getLineDescent(int line) argument 1193 getLineStart(int line) argument 1198 getParagraphDirection(int line) argument 1203 getLineContainsTab(int line) argument 1208 getLineDirections(int line) argument 1226 getHyphen(int line) argument 1234 getIndentAdjust(int line, Alignment align) argument 1263 getEllipsisCount(int line) argument 1272 getEllipsisStart(int line) argument [all...] |
H A D | DynamicLayout.java | 151 // Initial state is a single line with 0 characters (0 to 0), 309 // If the new layout has a blank line at the end, but it is not 310 // the very end of the buffer, then we already have a line that 311 // starts there, so disregard the blank line. 401 // Spans other than ReplacementSpan can be ignored because line top and bottom are 462 * A block will actually be created only if has at least one line, i.e. this offset is 463 * not on the end line of the previous block. 466 final int line = getLineForOffset(offset); 468 // Initial creation of the array, no test on previous block ending line 470 mBlockEndLines[mNumberOfBlocks] = line; 684 getLineTop(int line) argument 689 getLineDescent(int line) argument 694 getLineStart(int line) argument 699 getLineContainsTab(int line) argument 704 getParagraphDirection(int line) argument 709 getLineDirections(int line) argument 727 getHyphen(int line) argument 731 getContentMayProtrudeFromTopOrBottom(int line) argument 788 getEllipsisStart(int line) argument 797 getEllipsisCount(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/support/development/checkstyle/prebuilt/ |
H A D | com.android.support.checkstyle.jar | ... puppycrawl.tools.checkstyle.api.DetailAST) String line
com.puppycrawl.tools.checkstyle.api. ... |
/frameworks/base/core/java/android/util/ |
H A D | EventLog.java | 341 String line; 345 while ((line = reader.readLine()) != null) { 346 if (comment.matcher(line).matches()) continue; 348 Matcher m = tag.matcher(line); 350 Log.wtf(TAG, "Bad entry in " + TAGS_FILE + ": " + line); 360 Log.wtf(TAG, "Error in " + TAGS_FILE + ": " + line, e);
|
/frameworks/base/test-runner/src/junit/runner/ |
H A D | BaseTestRunner.java | 151 * Processes the command line arguments and 302 String line; 304 while ((line= br.readLine()) != null) { 305 if (!filterLine(line)) 306 pw.println(line); 318 static boolean filterLine(String line) { argument 330 if (line.indexOf(patterns[i]) > 0)
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZoneData.java | 326 String line; 328 while ((line = reader.readLine()) != null) { 330 if (!line.startsWith("#") && line.length() > 0) { 334 String[] fields = line.split("\t+"); 377 String line; 378 while ((line = reader.readLine()) != null) { 379 if (!line.startsWith("#")) { // Skip comment lines 384 final String[] fields = line.split("\t");
|