/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | LoggingPrintStreamTest.java | 184 protected void log(String line) { argument 185 lines.add(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/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/media/java/android/media/ |
H A D | MediaScanner.java | 1569 private void cachePlaylistEntry(String line, String playListDirectory) { argument 1572 int entryLength = line.length(); 1573 while (entryLength > 0 && Character.isWhitespace(line.charAt(entryLength - 1))) entryLength--; 1577 if (entryLength < line.length()) line = line.substring(0, entryLength); 1581 char ch1 = line.charAt(0); 1583 (Character.isLetter(ch1) && line.charAt(1) == ':' && line.charAt(2) == '\\')); 1586 line [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsBackupAgent.java | 143 String line; 146 line = in.readLine(); 147 if (line == null || line.startsWith("}")) { 150 n.rememberLine(line); 158 void rememberLine(String line) { argument 160 line = line.trim(); 161 if (line.isEmpty()) return; // only whitespace; drop the line [all...] |
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | VisualDiffUtils.java | 31 * Preprocesses the list of diffs so that new line characters appear only at the end of 36 * LinkedList of diffs where new line character appears only on the end of 69 String line = ""; 79 line = processDiff(diff, lineNums, lines, line, i, delSpan, isLastDiff); 80 if (line.equals("")) { 86 // If the line is currently empty and this insertion is the entire line, the 87 // expected line is absent, so it has no line numbe 159 processDiff(diff_match_patch.Diff diff, LinkedList<Integer> lineNums, LinkedList<String> lines, String line, int i, String begSpan, boolean forceOutputLine) argument [all...] |
/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/base/tools/aapt/ |
H A D | Resource.cpp | 2265 const char* pkg, const String8& srcName, int line) 2291 sprintf(lineno, ":%d", line); 2299 const char* pkg, const String8& srcName, int line) 2308 sprintf(lineno, ":%d", line); 2608 // Each file path is written on its own line with a terminating backslash. 2264 addProguardKeepRule(ProguardKeepSet* keep, const String8& inClassName, const char* pkg, const String8& srcName, int line) argument 2298 addProguardKeepMethodRule(ProguardKeepSet* keep, const String8& memberName, const char* pkg, const String8& srcName, int line) argument
|
H A D | SourcePos.cpp | 14 int line; member in struct:ErrorPos 20 ErrorPos(const String8& file, int line, const String8& error, bool fatal); 32 :line(-1), fatal(false) 38 line(that.line), 46 line(l), 61 if (this->line < rhs.line) return true; 62 if (this->line == rhs.line) { [all...] |
H A D | SourcePos.h | 13 int line; member in class:SourcePos
|
/frameworks/base/tools/aidl/ |
H A D | aidl.cpp | 759 char line[1024]; local 762 while (fgets(line, sizeof(line), f)) { 764 if (!line[0] || strncmp(line, "//", 2) == 0) { 768 sscanf(line, "%s %[^; \r\n\t];", type, fullname); 832 fprintf(stderr, "%s:%d: bad type in line: %s\n", 833 filename.c_str(), lineno, line); 841 fprintf(stderr, "%s:%d: error reading file, line to long.\n", 990 string line; local [all...] |
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | AsmAnalyzer.java | 208 // - add end-of-line match $ 634 public void visitLineNumber(int line, Label start) { argument
|
H A D | DelegateMethodAdapter2.java | 95 /** Array used to capture the first line number information from the original method 334 * Only writes the first line number present in the original code so that source 338 public void visitLineNumber(int line, Label start) { argument 339 // Capture the first line values for the new delegate method 341 mDelegateLineNumber = new Object[] { line, start }; 344 mOrgWriter.visitLineNumber(line, start);
|
H A D | DependencyFinder.java | 574 public void visitLineNumber(int line, Label start) { argument
|
H A D | StubMethodAdapter.java | 41 /** Flag to output the first line number. */ 235 * Only writes the first line number present in the original code so that source 239 public void visitLineNumber(int line, Label start) { argument 241 mParentVisitor.visitLineNumber(line, start);
|
/frameworks/base/tools/preload/ |
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);
|
H A D | Record.java | 18 * One line from the loaded-classes file. 93 /** Source file line# */ 97 * Parses a line from the loaded-classes file. 99 Record(String line, int lineNum) { argument 100 char typeChar = line.charAt(0); 106 default: throw new AssertionError("Bad line: " + line); 112 line = line.replace(REPLACE_CLASSES[i], REPLACE_CLASSES[i+1]); 115 line [all...] |
/frameworks/base/voip/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 86 for (String line : lines) { 88 if (line.charAt(1) != '=') { 91 if (line.charAt(0) == 'm') { 92 String[] parts = line.substring(2).split(" ", 4); 102 fields.parse(line); 105 throw new IllegalArgumentException("Invalid SDP: " + line); 516 for (String line : mLines) { 517 if (line.charAt(0) == type) { 518 buffer.append(line).append("\r\n"); 525 * Invokes {@link #set} after splitting the line int 527 parse(String line) argument [all...] |
/frameworks/compile/libbcc/runtime/lib/ |
H A D | eprintf.c | 27 const char* line, const char* file) 29 fprintf(stderr, format, assertion_expression, line, file); 26 __eprintf(const char* format, const char* assertion_expression, const char* line, const char* file) argument
|
/frameworks/compile/linkloader/utils/ |
H A D | rsl_assert.cpp | 29 unsigned line, 33 llvm::errs() << "rslAssert [" << file << ":" << line << "] " << expr << "\n"; 37 ALOGE("rslAssert [%s:%d] %s\n", file, line, expr); 28 ASSERT_FAILED(char const *file, unsigned line, char const *expr) argument
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 190 // scrolled to show the last line of chips content. 637 * Calculate the bottom of the line the chip will be located on using: 638 * 1) which line the chip appears on 642 private int calculateOffsetFromBottom(int line) { argument 644 int actualLine = getLineCount() - (line + 1); 725 * one line of recipients chips are shown when the field loses 1385 private void scrollLineIntoView(int line) { argument 1387 mScrollView.scrollBy(0, calculateOffsetFromBottom(line)); 1393 int line = getLayout().getLineForOffset(getChipStart(currentChip)); 1395 if (line [all...] |
/frameworks/ex/variablespeed/jni/ |
H A D | variablespeed.cc | 81 void CheckSLResult_Real(const char* message, SLresult result, int line) { argument 85 LOGE("slresult was %d at %s file variablespeed line %d", 86 static_cast<int>(result), message, line); 720 // Repro is to comment out all before this line, and all after enqueueing
|
/frameworks/native/libs/utils/ |
H A D | CallStack.cpp | 104 char line[MAX_BACKTRACE_LINE_LENGTH]; local 106 line, MAX_BACKTRACE_LINE_LENGTH); 107 ALOGD("%s%s", prefix, line); 118 char line[MAX_BACKTRACE_LINE_LENGTH]; local 120 line, MAX_BACKTRACE_LINE_LENGTH); 122 str.append(line);
|
/frameworks/native/opengl/libagl/ |
H A D | context.h | 132 // we group together, by cache-line, the fields most likely to be used 620 line_width_t line; member in struct:android::gl::ogles_context_t
|
/frameworks/native/opengl/libs/EGL/ |
H A D | Loader.cpp | 141 char line[256]; local 159 while (fgets(line, 256, cfg)) { 161 if (sscanf(line, "%u %u %s", &dpy, &impl, tag) == 3) {
|