Home
last modified time | relevance | path

Searched refs:lines (Results 1 – 25 of 75) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLoggingPrintStreamTest.java46 String[] lines = sout.toString().split("\\n"); in testPrintException() local
47 assertEquals(Arrays.asList(lines), out.lines); in testPrintException()
56 assertEquals(Arrays.asList("4" + o + "2"), out.lines); in testPrintObject()
65 assertEquals(Arrays.asList("4" + o, "2"), out.lines); in testPrintlnObject()
70 assertEquals(Arrays.asList("Name: Bob"), out.lines); in testPrintf()
72 assertEquals(Arrays.asList("Name: Bob", "Employer: Google"), out.lines); in testPrintf()
78 assertTrue(out.lines.isEmpty()); in testPrintInt()
80 assertEquals(Collections.singletonList("42"), out.lines); in testPrintInt()
86 assertEquals(Arrays.asList("4", "2"), out.lines); in testPrintlnInt()
91 assertEquals(Arrays.asList("Foo", "Bar"), out.lines); in testPrintCharArray()
[all …]
/frameworks/native/opengl/libs/GLES_trace/tools/
Dgenapi.py348 lines = open(apiEntryFile).readlines()
351 for i in range(0, len(lines)/3):
352 apis.append(ApiCall(prefix, lines[i*3], lines[i*3+1]))
380 lines = []
381 lines.append(HEADER_LICENSE)
382 lines.append(HEADER_NAMESPACE_START)
386 lines.append("\n// Declarations for %s APIs\n\n" % api.prefix)
388 lines.append(api.genDeclaration())
389 lines.append("\n")
390 lines.append(FOOTER_TEXT)
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSMSDispatcherTest.java40 String[] lines = new String[2]; in testCMT1() local
42 lines[0] = "+CMT: ,158"; in testCMT1()
43 lines[1] = "07914140279510F6440A8111110301003BF56080426101748A8C0B05040B" in testCMT1()
50 sms = SmsMessage.newFromCMT(lines); in testCMT1()
70 String[] lines = new String[2]; in testCMT2() local
72 lines[0] = "+CMT: ,77"; in testCMT2()
73 lines[1] = "07914140279510F6440A8111110301003BF56080426101848A3B0B05040B8423F" in testCMT2()
77 sms = SmsMessage.newFromCMT(lines); in testCMT2()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3IOStreamBase.cpp68 String8 lines; in dump() local
69 lines.appendFormat(" State: %d\n", mState); in dump()
70 lines.appendFormat(" Dims: %d x %d, format 0x%x\n", in dump()
73 lines.appendFormat(" Max size: %zu\n", mMaxSize); in dump()
74 lines.appendFormat(" Usage: %d, max HAL buffers: %d\n", in dump()
76 lines.appendFormat(" Frames produced: %d, last timestamp: %" PRId64 " ns\n", in dump()
78 lines.appendFormat(" Total buffers: %zu, currently dequeued: %zu\n", in dump()
80 write(fd, lines.string(), lines.size()); in dump()
DCamera3DummyStream.cpp66 String8 lines; in dump() local
67 lines.appendFormat(" Stream[%d]: Dummy\n", mId); in dump()
68 write(fd, lines.string(), lines.size()); in dump()
DCamera3ZslStream.cpp271 String8 lines; in dump() local
272 lines.appendFormat(" Stream[%d]: ZSL\n", mId); in dump()
273 write(fd, lines.string(), lines.size()); in dump()
277 lines = String8(); in dump()
278 lines.appendFormat(" Input buffers pending: %zu, in flight %zu\n", in dump()
280 write(fd, lines.string(), lines.size()); in dump()
DCamera3InputStream.cpp185 String8 lines; in dump() local
186 lines.appendFormat(" Stream[%d]: Input\n", mId); in dump()
187 write(fd, lines.string(), lines.size()); in dump()
DCamera3OutputStream.cpp236 String8 lines; in dump() local
237 lines.appendFormat(" Stream[%d]: Output\n", mId); in dump()
238 write(fd, lines.string(), lines.size()); in dump()
DCamera3Device.cpp395 String8 lines; in dump() local
405 lines.appendFormat(" Device status: %s\n", status); in dump()
407 lines.appendFormat(" Error cause: %s\n", mErrorCause.string()); in dump()
409 lines.appendFormat(" Stream configuration:\n"); in dump()
412 write(fd, lines.string(), lines.size()); in dump()
415 lines.appendFormat(" No input stream.\n"); in dump()
416 write(fd, lines.string(), lines.size()); in dump()
422 lines = String8(" In-flight requests:\n"); in dump()
424 lines.append(" None\n"); in dump()
428 lines.appendFormat(" Frame %d | Timestamp: %" PRId64 ", metadata" in dump()
[all …]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_stereo_proc.cpp405 int32 lines; in pvmp3_stereo_proc() local
406 lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; in pvmp3_stereo_proc()
407 i = 3 * mp3_sfBandIndex[sfreq].s[sfb] + (j + 1) * lines - 1; in pvmp3_stereo_proc()
409 while (lines > 0) in pvmp3_stereo_proc()
415 lines = -10; in pvmp3_stereo_proc()
417 lines--; in pvmp3_stereo_proc()
488 … int32 lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; in pvmp3_stereo_proc() local
489 i = 3 * mp3_sfBandIndex[sfreq].s[sfb] + (j + 1) * lines - 1; in pvmp3_stereo_proc()
491 while (lines > 0) in pvmp3_stereo_proc()
497 lines = -10; in pvmp3_stereo_proc()
[all …]
Dpvmp3_mpeg2_stereo_proc.cpp383 … int32 lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; in pvmp3_mpeg2_stereo_proc() local
385 i = 3 * mp3_sfBandIndex[sfreq].s[sfb] + (j + 1) * lines - 1; in pvmp3_mpeg2_stereo_proc()
387 while (lines > 0) in pvmp3_mpeg2_stereo_proc()
393 lines = -10; in pvmp3_mpeg2_stereo_proc()
395 lines--; in pvmp3_mpeg2_stereo_proc()
485 … int32 lines = mp3_sfBandIndex[sfreq].s[sfb+1] - mp3_sfBandIndex[sfreq].s[sfb]; in pvmp3_mpeg2_stereo_proc() local
486 i = 3 * mp3_sfBandIndex[sfreq].s[sfb] + (j + 1) * lines - 1; in pvmp3_mpeg2_stereo_proc()
488 while (lines > 0) in pvmp3_mpeg2_stereo_proc()
494 lines = -10; in pvmp3_mpeg2_stereo_proc()
496 lines--; in pvmp3_mpeg2_stereo_proc()
/frameworks/base/core/jni/
Dcom_android_internal_net_NetworkStatsFactory.cpp121 Vector<stats_line> lines; in readNetworkStatsDetail() local
214 lines.push_back(s); in readNetworkStatsDetail()
225 int size = lines.size(); in readNetworkStatsDetail()
257 ScopedLocalRef<jstring> ifaceString(env, env->NewStringUTF(lines[i].iface)); in readNetworkStatsDetail()
260 uid[i] = lines[i].uid; in readNetworkStatsDetail()
261 set[i] = lines[i].set; in readNetworkStatsDetail()
262 tag[i] = lines[i].tag; in readNetworkStatsDetail()
263 rxBytes[i] = lines[i].rxBytes; in readNetworkStatsDetail()
264 rxPackets[i] = lines[i].rxPackets; in readNetworkStatsDetail()
265 txBytes[i] = lines[i].txBytes; in readNetworkStatsDetail()
[all …]
/frameworks/base/core/java/android/text/
DStaticLayout.java522 int[] lines = mLines;
524 if (want >= lines.length) {
532 System.arraycopy(lines, 0, grow, 0, lines.length);
534 lines = grow;
597 lines[off + START] = start;
598 lines[off + TOP] = v;
599 lines[off + DESCENT] = below + extra;
602 lines[off + mColumns + START] = end;
603 lines[off + mColumns + TOP] = v;
606 lines[off + TAB] |= TAB_MASK;
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DModelInterpreter.java504 List<String> lines; in onCLCC() local
506 lines = mSimulatedCallState.getClccLines(); in onCLCC()
508 for (int i = 0, s = lines.size() ; i < s ; i++) { in onCLCC()
509 println (lines.get(i)); in onCLCC()
/frameworks/base/media/java/android/media/
DSRTRenderer.java92 String[] lines = paragraph.split("\\r?\\n"); in onData() local
93 cue.mLines = new TextTrackCueSpan[lines.length][]; in onData()
96 for (String line : lines) { in onData()
DWebVttRenderer.java156 TextTrackCueSpan[][] lines = new TextTrackCueSpan[mLines.size()][]; in getText() local
157 mLines.toArray(lines); in getText()
159 return lines; in getText()
654 String[] lines = mBuffer.split("[\r\n]"); in parse() local
655 for (int i = 0; i < lines.length - 1; i++) { in parse()
656 mPhase.parse(lines[i]); in parse()
659 mBuffer = lines[lines.length - 1]; in parse()
1739 final TextTrackCueSpan[][] lines = mCue.mLines; in update() local
1740 final int lineCount = lines.length; in update()
1742 final SpanLayout lineBox = new SpanLayout(getContext(), lines[i]); in update()
/frameworks/native/services/surfaceflinger/EventLog/
DEventLogTags.logtags11 # Tag numbers and names are separated by whitespace. Blank lines and lines
/frameworks/base/docs/html/tools/help/
Ddraw9patch.jd25 <p>The left pane is your drawing area, in which you can edit the lines for the
29 <li>Click within the 1-pixel perimeter to draw the lines that define the stretchable
31 previously drawn lines.
/frameworks/base/docs/html/training/camera/
Dindex.jd56 <dd>Leverage other applications and capture photos with just a few lines of code.</dd>
58 <dd>Leverage other applications and record videos with just a few lines of code.</dd>
/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTest.java296 int lines = values.length >> 1; in assertLinesMetrics() local
297 assertEquals(lines, l.getLineCount()); in assertLinesMetrics()
300 for (int i = 0, n = 0; i < lines; ++i, n += 2) { in assertLinesMetrics()
/frameworks/native/cmds/flatland/
DGLHelper.cpp361 static bool compileShaderLines(GLenum shaderType, const char* const* lines, in compileShaderLines() argument
363 const char* src = makeShaderString(lines); in compileShaderLines()
367 printShaderSource(lines); in compileShaderLines()
/frameworks/compile/mclinker/lib/Script/
DScriptScanner.ll271 /* gobble up end-of-lines */
273 yylloc->lines(1);
303 pLocation.lines(1);
324 pLocation.lines(1);
/frameworks/base/docs/html/training/notify-user/
Ddisplay-progress.jd154 …ow continuing activity indicators work, refer to the preceding snippet. Locate the following lines:
164 Replace the lines you've found with the following lines. Notice that the third parameter
/frameworks/opt/vcard/java/com/android/vcard/
DVCardUtils.java750 String[] lines; in parseQuotedPrintable() local
752 lines = quotedPrintable.split("\r\n"); in parseQuotedPrintable()
779 lines = list.toArray(new String[0]); in parseQuotedPrintable()
783 for (String line : lines) { in parseQuotedPrintable()
/frameworks/base/docs/html/guide/topics/graphics/
D2d-graphics.jd453 the padding lines) by drawing a line on the right and bottom lines.
456 the area designated by the right and bottom lines (if included). If the
457 padding lines are not included, Android uses the left and top lines to
460 <p>To clarify the difference between the different lines, the left and top lines define
462 The bottom and right lines define the relative area within the image that the contents
469 <p>This NinePatch defines one stretchable area with the left and top lines
470 and the drawable area with the bottom and right lines. In the top image, the dotted grey
471 lines identify the regions of the image that will be replicated in order to stretch the

123