/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
H A D | RuimRecords.java | 334 public void setVoiceMessageWaiting(int line, int countWaiting) { argument 335 if (line != 1) {
|
H A D | SmsMessage.java | 119 public static SmsMessage newFromCMTI(String line) { argument 127 public static SmsMessage newFromCDS(String line) { argument
|
/frameworks/base/test-runner/src/junit/runner/ |
H A D | BaseTestRunner.java | 136 * Processes the command line arguments and 288 String line; 290 while ((line= br.readLine()) != null) { 291 if (!filterLine(line)) 292 pw.println(line); 304 static boolean filterLine(String line) { argument 316 if (line.indexOf(patterns[i]) > 0)
|
/frameworks/base/core/java/android/pim/ |
H A D | ICalendar.java | 397 public String line; // TODO: just point to original text field in class:ICalendar.ParserState 412 // we deal with line folding, by replacing all "\n " strings 423 * case, expects a BEGIN as the first line. Returns the provided or newly 438 // each line is of the format: 440 for (String line : lines) { 442 current = parseLine(line, state, current); 444 // NOTE: in this case, if the first line is not a BEGIN, a 451 Log.v(TAG, "Cannot parse " + line, fe); 462 * Parses a line into the provided component. Creates a new component if 463 * the line i 467 parseLine(String line, ParserState state, Component component) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | DynamicLayout.java | 119 // Initial state is a single line with 0 characters (0 to 0), 268 // If the new layout has a blank line at the end, but it is not 269 // the very end of the buffer, then we already have a line that 270 // starts there, so disregard the blank line. 349 System.out.print("line " + i + ": " + getLineStart(i) + " to " + getLineEnd(i) + " "); 366 public int getLineTop(int line) { argument 367 return mInts.getValue(line, TOP); 370 public int getLineDescent(int line) { argument 371 return mInts.getValue(line, DESCENT); 374 public int getLineStart(int line) { argument 378 getLineContainsTab(int line) argument 382 getParagraphDirection(int line) argument 386 getLineDirections(int line) argument 454 getEllipsisStart(int line) argument 462 getEllipsisCount(int line) argument [all...] |
H A D | StaticLayout.java | 611 * the char dirs in chInfo and the base line direction of the first 985 // Log.e("text", "line " + start + " to " + end + (last ? "===" : "")); 1112 // If ellipsize is in marquee mode, do not apply ellipsis on the first line 1127 int line, float textwidth, TextPaint paint) { 1132 mLines[mColumns * line + ELLIPSIS_START] = 0; 1133 mLines[mColumns * line + ELLIPSIS_COUNT] = 0; 1202 mLines[mColumns * line + ELLIPSIS_START] = ellipsisStart; 1203 mLines[mColumns * line + ELLIPSIS_COUNT] = ellipsisCount; 1234 public int getLineTop(int line) { argument 1235 return mLines[mColumns * line 1124 calculateEllipsis(int linestart, int lineend, float[] widths, int widstart, int widoff, float avail, TextUtils.TruncateAt where, int line, float textwidth, TextPaint paint) argument 1238 getLineDescent(int line) argument 1242 getLineStart(int line) argument 1246 getParagraphDirection(int line) argument 1250 getLineContainsTab(int line) argument 1254 getLineDirections(int line) argument 1267 getEllipsisCount(int line) argument 1276 getEllipsisStart(int line) argument [all...] |
H A D | Layout.java | 63 * specified text with one line per paragraph. 72 * specified text slice with one line per paragraph. 110 * default line spacing 111 * @param spacingAdd amount to add to the default line spacing 206 // the layout or line. XXX: Should they? 260 // the baseline is the top of the following line minus the current 261 // line's descent. 301 // to the paragraph direction of the line. 436 * Return what the text height is multiplied by to get the line height. 443 * Return the number of units of leading that are added to each line 462 getLineBounds(int line, Rect bounds) argument 478 getLineTop(int line) argument 483 getLineDescent(int line) argument 490 getLineStart(int line) argument 497 getParagraphDirection(int line) argument 504 getLineContainsTab(int line) argument 513 getLineDirections(int line) argument 551 getHorizontal(int offset, boolean trailing, boolean alt, int line) argument 608 getLineLeft(int line) argument 635 getLineRight(int line) argument 662 getLineMax(int line) argument 670 getLineWidth(int line) argument 674 getLineMax(int line, Object[] tabs, boolean full) argument 744 getOffsetForHorizontal(int line, float horiz) argument 822 getLineEnd(int line) argument 830 getLineVisibleEnd(int line) argument 834 getLineVisibleEnd(int line, int start, int end) argument 864 getLineBottom(int line) argument 871 getLineBaseline(int line) argument 880 getLineAscent(int line) argument 1198 addSelection(int line, int start, int end, int top, int bottom, Path dest) argument 1291 getParagraphAlignment(int line) argument 1312 getParagraphLeft(int line) argument 1347 getParagraphRight(int line) argument 1777 ellipsize(int start, int end, int line, char[] dest, int destoff) argument 1833 getEllipsisStart(int line) argument 1838 getEllipsisCount(int line) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_bluetooth_HeadsetBase.cpp | 67 static inline int write_error_check(int fd, const char* line, int len) { argument 70 ret = write(fd, line, len); 83 static int send_line(int fd, const char* line) { argument 85 int len = strlen(line); 89 snprintf(buffer, llen, "%s%s%s", CRLF, line, CRLF); 99 static int is_ascii(char *line) { argument 100 for (;;line++) { 101 if (*line == 0) return 1; 102 if (*line >> 7) return 0;
|
H A D | android_bluetooth_ScoSocket.cpp | 46 * These are used by consumers of the blacklist file to see if the line is 165 char line[MAX_LINE]; local 178 while (fgets(line, MAX_LINE, fp) != NULL) { 179 if ((COMPARE_STRING(line, "//")) || (!strcmp(line, ""))) 181 char *module = strtok(line,":"); 188 // parse line
|
H A D | android_util_Process.cpp | 833 char line[256]; local 835 while (fgets(line, sizeof(line), file)) { 837 if (sscanf(line, "Pss: %lld kB", &v) == 1) {
|
/frameworks/base/libs/utils/ |
H A D | CallStack.cpp | 138 mapinfo *parse_maps_line(char *line) { argument 140 int len = strlen(line); 142 line[--len] = 0; 144 if (line[20] != 'x') return 0; 147 mi->start = strtoull(line, 0, 16); 148 mi->end = strtoull(line + 9, 0, 16); 150 strcpy(mi->name, line + 49);
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | SmsMessage.java | 158 protected static SmsMessage newFromCMTI(String line) { argument 163 wrappedMessage = com.android.internal.telephony.cdma.SmsMessage.newFromCMTI(line); 165 wrappedMessage = com.android.internal.telephony.gsm.SmsMessage.newFromCMTI(line); 172 public static SmsMessage newFromCDS(String line) { argument 177 wrappedMessage = com.android.internal.telephony.cdma.SmsMessage.newFromCDS(line); 179 wrappedMessage = com.android.internal.telephony.gsm.SmsMessage.newFromCDS(line); 501 * Unofficial convention of a subject line enclosed in parens empty string
|
/frameworks/base/telephony/java/android/telephony/gsm/ |
H A D | SmsMessage.java | 194 protected static SmsMessage newFromCMTI(String line) { argument 199 wrappedMessage = com.android.internal.telephony.cdma.SmsMessage.newFromCMTI(line); 201 wrappedMessage = com.android.internal.telephony.gsm.SmsMessage.newFromCMTI(line); 210 public static SmsMessage newFromCDS(String line) { argument 215 wrappedMessage = com.android.internal.telephony.cdma.SmsMessage.newFromCDS(line); 217 wrappedMessage = com.android.internal.telephony.gsm.SmsMessage.newFromCDS(line); 504 * Unofficial convention of a subject line enclosed in parens empty string
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | IccRecords.java | 185 * @param line GSM Subscriber Profile Number, one-based. Only '1' is supported 190 public abstract void setVoiceMessageWaiting(int line, int countWaiting); argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | SmsMessage.java | 134 public static SmsMessage newFromCMTI(String line) { argument 142 public static SmsMessage newFromCDS(String line) { argument 145 msg.parsePdu(IccUtils.hexStringToBytes(line));
|
H A D | SIMRecords.java | 322 * @param line GSM Subscriber Profile Number, one-based. Only '1' is supported 328 setVoiceMessageWaiting(int line, int countWaiting) { argument 329 if (line != 1) { 388 public void setVoiceCallForwardingFlag(int line, boolean enable) { argument 390 if (line != 1) return; // only line 1 is supported 1202 // to determine which is the voice/data/fax line
|
/frameworks/base/telephony/java/com/android/internal/telephony/test/ |
H A D | ModelInterpreter.java | 72 * Note: doesn't return the last incomplete line read on EOF, since 230 String line; 232 line = lineReader.getNextLine(); 234 //System.out.println("MI<< " + line); 236 if (line == null) { 252 processLine(line); 571 processLine (String line) throws InterpreterEx argument 575 commands = splitCommands(line); 615 splitCommands(String line) throws InterpreterEx argument 617 if (!line [all...] |
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | StubMethodAdapter.java | 41 /** Flag to output the first line number. */ 227 * Only writes the first line number present in the original code so that source 230 public void visitLineNumber(int line, Label start) { argument 232 mParentVisitor.visitLineNumber(line, start);
|
H A D | AsmAnalyzer.java | 207 // - add end-of-line match $ 581 public void visitLineNumber(int line, Label start) { argument
|
/frameworks/base/core/java/android/pim/vcard/ |
H A D | VCardParser_V21.java | 86 // Should not directly read a line from this object. Use getLine() instead. 192 * @throws VCardException when the stream reached end of line 195 String line; 197 line = getLine(); 198 if (line == null) { 200 } else if (line.trim().length() > 0) { 201 return line; 246 * @return True when successful. False when reaching the end of line 251 String line; 254 line 429 separateLineAndHandleGroup(String 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/aidl/ |
H A D | aidl.cpp | 682 char line[1024]; local 685 while (fgets(line, sizeof(line), f)) { 687 if (!line[0] || strncmp(line, "//", 2) == 0) { 691 sscanf(line, "%s %[^; \r\n\t];", type, fullname); 739 fprintf(stderr, "%s:%d: bad type in line: %s\n", 740 filename.c_str(), lineno, line); 748 fprintf(stderr, "%s:%d: error reading file, line to long.\n", 894 string line; local [all...] |
/frameworks/base/camera/tests/CameraServiceTest/ |
H A D | CameraServiceTest.cpp | 37 void assert_fail(const char *file, int line, const char *func, const char *expr) { argument 38 INFO("assertion failed at file %s, line %d, function %s:", 39 file, line, func); 44 void assert_eq_fail(const char *file, int line, const char *func, argument 46 INFO("assertion failed at file %s, line %d, function %s:", 47 file, line, func);
|
/frameworks/base/opengl/libs/EGL/ |
H A D | egl.cpp | 301 T setErrorEtc(const char* caller, int line, EGLint error, T returnValue) { argument 310 LOGE("%s:%d error %x (%s)", caller, line, error, egl_strerror(error));
|
/frameworks/base/services/java/com/android/server/ |
H A D | WifiService.java | 816 * such as the wpa_cli command line program. 826 // Skip the first line, which is a header 1378 // Parse the result string, keeping in mind that the last line does 1384 * Skip the first line, which is a header 1391 String line = reply.substring(lineBeg, lineEnd); 1392 ScanResult scanResult = parseScanResult(line); 1396 Slog.w(TAG, "misformatted scan result for: " + line); 1407 * Parse the scan result line passed to us by wpa_supplicant (helper). 1408 * @param line the line t 1411 parseScanResult(String line) argument [all...] |