/frameworks/base/tools/aapt/ |
H A D | SourcePos.h | 13 int line; member in class:SourcePos
|
/frameworks/native/cmds/installd/ |
H A D | file_parsing.h | 35 // Read the next line. 36 std::string line; local 37 getline(input_stream, line); 39 // Is the line empty? Simplifies the next check. 40 if (line.empty()) { 45 if (line[0] == '#') { 49 if (!parse(line)) {
|
/frameworks/support/v17/leanback/ |
H A D | generatev4.py | 33 for line in file: 34 line = line.replace('IS_FRAMEWORK_FRAGMENT = true', 'IS_FRAMEWORK_FRAGMENT = false'); variable 36 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w)) variable 37 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment') variable 38 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity') variable 39 line variable 40 line = line.replace('Activity activity', 'FragmentActivity activity') variable 41 line = line.replace('(Activity', '(FragmentActivity') variable 50 line = line.replace('PlaybackControlGlue', 'PlaybackControlSupportGlue'); variable 51 line = line.replace('PlaybackOverlayFragment', 'PlaybackOverlaySupportFragment'); variable [all...] |
/frameworks/wilhelm/src/ |
H A D | assert.c | 24 void __assert(const char *file, int line, const char *failedexpr) argument 26 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d", failedexpr, file, line); 30 void __assert2(const char *file, int line, const char *func, const char *failedexpr) argument 32 LOG_ALWAYS_FATAL("assertion \"%s\" failed: file \"%s\", line %d, function \"%s\"", 33 failedexpr, file, line, func);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | AndroidPrintStream.java | 46 protected void log(String line) { argument 47 Log.println(priority, tag, line);
|
/frameworks/support/v17/tests/ |
H A D | generatev4.py | 35 for line in file: 37 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w)) variable 38 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment') variable 39 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity') variable 40 outfile.write(line) 54 for line in file: 56 line variable 58 line = line.replace('{}FragmentTest'.format(w), '{}SupportFragmentTest'.format(w)) variable 59 line = line.replace('{}FragmentTestActivity'.format(w), '{}SupportFragmentTestActivity'.format(w)) variable 60 line = line.replace('{}TestFragment'.format(w), '{}TestSupportFragment'.format(w)) variable 71 line = line.replace('BrowseTestFragment', 'BrowseTestSupportFragment') variable 72 line = line.replace('BrowseFragmentTestActivity', 'BrowseSupportFragmentTestActivity') variable 73 line = line.replace('android.app.Fragment', 'android.support.v4.app.Fragment') variable 74 line = line.replace('android.app.Activity', 'android.support.v4.app.FragmentActivity') variable 75 line = line.replace('extends Activity', 'extends FragmentActivity') variable 76 line = line.replace('getFragmentManager', 'getSupportFragmentManager') variable [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | hexdump.cpp | 47 AString line; local 49 appendIndent(&line, indent); 54 line.append(tmp); 58 line.append(' '); 61 line.append(" "); 64 line.append(tmp); 68 line.append(' '); 76 line.append((char)data[offset + i]); 78 line.append('.'); 83 appendTo->append(line); [all...] |
/frameworks/base/core/java/com/android/internal/alsa/ |
H A D | LineTokenizer.java | 32 int nextToken(String line, int startIndex) { argument 33 int len = line.length(); 36 if (mDelimiters.indexOf(line.charAt(offset)) == -1) { 45 int nextDelimiter(String line, int startIndex) { argument 46 int len = line.length(); 49 if (mDelimiters.indexOf(line.charAt(offset)) != -1) {
|
/frameworks/base/services/tests/servicestests/src/android/net/apf/ |
H A D | Bpf2Apf.java | 39 private static int parseImm(String line, String arg) { argument 41 throw new IllegalArgumentException("Unhandled instruction: " + line); 45 throw new IllegalArgumentException("Unhandled instruction: " + line); 51 * Convert a single line of "tcpdump -d" (human readable BPF program dump) {@code line} into 52 * APF instruction(s) and append them to {@code gen}. Here's an example line: 55 private static void convertLine(String line, ApfGenerator gen) argument 57 if (line.indexOf("(") != 0 || line.indexOf(")") != 4 || line [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/aapt2/ |
H A D | Source.h | 34 Maybe<size_t> line; member in struct:aapt::Source 41 inline Source(const StringPiece& path, size_t line) : path(path.toString()), line(line) { argument 44 inline Source withLine(size_t line) const { 45 return Source(path, line); 55 if (source.line) { 56 out << ":" << source.line.value(); 62 return lhs.path == rhs.path && lhs.line == rhs.line; [all...] |
H A D | Diagnostics.h | 50 DiagMessage(size_t line) : mSource(Source().withLine(line)) { argument
|
H A D | Flags.cpp | 102 // the first line) followed by the description line. This will make sure that multiline 104 for (StringPiece line : util::tokenize<char>(flag.description, '\n')) { 105 *out << " " << std::setw(kWidth) << std::left << argLine << line << "\n"; local
|
/frameworks/base/tools/aapt2/java/ |
H A D | AnnotationProcessor.cpp | 51 // We need to process line by line to clean-up whitespace and append prefixes. 52 for (StringPiece16 line : util::tokenize(comment, u'\n')) { 53 line = util::trimWhitespace(line); 54 if (!line.empty()) { 55 std::string utf8Line = util::utf16ToUtf8(line); 62 for (StringPiece line : util::tokenize(comment, '\n')) { 63 line = util::trimWhitespace(line); 79 *out << prefix << line << "\\n"; local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
H A D | LineWidth.java | 32 public float getLineWidth(int line) { argument 33 return (line < mFirstWidthLineCount) ? mFirstWidth : mRestWidth;
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_tls.h | 44 const char* caller, int line, EGLint error, bool quiet); 58 int line, EGLint error, T returnValue, bool quiet = false) { 59 setErrorEtcImpl(caller, line, error, quiet); 57 setErrorEtc(const char* caller, int line, EGLint error, T returnValue, bool quiet = false) argument
|
H A D | egl_tls.cpp | 71 const char* caller, int line, EGLint error, bool quiet) { 77 caller, line, error, egl_strerror(error)); 70 setErrorEtcImpl( const char* caller, int line, EGLint error, bool quiet) argument
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | LineVerifierElem.java | 36 public LineVerifierElem addExpected(final String line) { argument 37 if (!TextUtils.isEmpty(line)) { 38 mExpectedLineList.add(line); 51 final String line = lineArray[i]; 52 if (TextUtils.isEmpty(line)) { 56 if ("BEGIN:VCARD".equalsIgnoreCase(line)) { 58 TestCase.fail("Multiple \"BEGIN:VCARD\" line found"); 63 } else if ("END:VCARD".equalsIgnoreCase(line)) { 65 TestCase.fail("Multiple \"END:VCARD\" line found"); 72 "VERSION:4.0")).equalsIgnoreCase(line)) { [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 | ATResponseParser.java | 33 ATResponseParser (String line) argument 35 mLine = line;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | grp_data.c | 51 Word32 line; local 65 for (line=(sfbOffset[sfb + 1] - 1); line>=sfbOffset[sfb]; line--) { 67 if (mdctSpectrum[wnd*FRAME_LEN_SHORT+line] != 0) break; 70 if (line >= sfbOffset[sfb]) break; 172 for (line = lineOffset + sfbOffset[sfb]; line < lineOffset + sfbOffset[sfb+1]; line++) { 173 tmpSpectrum[i] = mdctSpectrum[line]; [all...] |
/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/tools/preload/ |
H A D | Record.java | 18 * One line from the loaded-classes file. 103 /** Source file line# */ 107 * Parses a line from the loaded-classes file. 109 Record(String line, int lineNum) { argument 110 char typeChar = line.charAt(0); 116 default: throw new AssertionError("Bad line: " + line); 122 line = line.replace(REPLACE_CLASSES[i], REPLACE_CLASSES[i+1]); 125 line [all...] |
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestEffectCapabilities.cpp | 37 void ExitOnErrorFunc( SLresult result , int line) argument 40 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line);
|
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTest_playStates.cpp | 35 void ExitOnErrorFunc( SLresult result , int line) argument 38 fprintf(stdout, "%u error code encountered at line %d, exiting\n", result, line);
|