/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | LoggingPrintStreamTest.java | 46 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/ |
D | genapi.py | 348 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/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/ |
D | XmlEditor.java | 70 ArrayList<String> lines = new ArrayList<>(); in strip() local 71 lines.addAll(FileUtils.readLines(f, "utf-8")); in strip() 74 replace(lines, toPosition(it.getStart()), toEndPosition(it.getStop()), ""); in strip() 88 recurseReplace(layoutNode, lines, noTag, newTag, 0); in strip() 93 replace(lines, rootStartTag, rootEndTag, ""); in strip() 96 ImmutablePair<Position, Position> endLayoutPositions = findTerminalPositions(root, lines); in strip() 97 replace(lines, endLayoutPositions.left, endLayoutPositions.right, ""); in strip() 139 fixPosition(lines, endTagPosition); in strip() 140 String line = lines.get(endTagPosition.line); in strip() 143 lines.set(endTagPosition.line, newLine); in strip() [all …]
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3IOStreamBase.cpp | 69 String8 lines; in dump() local 75 lines.appendFormat(" State: %d\n", mState); in dump() 76 lines.appendFormat(" Dims: %d x %d, format 0x%x, dataspace 0x%x\n", in dump() 79 lines.appendFormat(" Max size: %zu\n", mMaxSize); in dump() 80 lines.appendFormat(" Combined usage: %d, max HAL buffers: %d\n", in dump() 82 lines.appendFormat(" Frames produced: %d, last timestamp: %" PRId64 " ns\n", in dump() 84 lines.appendFormat(" Total buffers: %zu, currently dequeued: %zu\n", in dump() 86 write(fd, lines.string(), lines.size()); in dump()
|
D | Camera3DummyStream.cpp | 66 String8 lines; in dump() local 67 lines.appendFormat(" Stream[%d]: Dummy\n", mId); in dump() 68 write(fd, lines.string(), lines.size()); in dump()
|
D | Camera3ZslStream.cpp | 273 String8 lines; in dump() local 274 lines.appendFormat(" Stream[%d]: ZSL\n", mId); in dump() 275 write(fd, lines.string(), lines.size()); in dump() 279 lines = String8(); in dump() 280 lines.appendFormat(" Input buffers pending: %zu, in flight %zu\n", in dump() 282 write(fd, lines.string(), lines.size()); in dump()
|
D | Camera3InputStream.cpp | 203 String8 lines; in dump() local 204 lines.appendFormat(" Stream[%d]: Input\n", mId); in dump() 205 write(fd, lines.string(), lines.size()); in dump()
|
D | Camera3OutputStream.cpp | 230 String8 lines; in dump() local 231 lines.appendFormat(" Stream[%d]: Output\n", mId); in dump() 232 lines.appendFormat(" Consumer name: %s\n", mConsumerName.string()); in dump() 233 write(fd, lines.string(), lines.size()); in dump()
|
D | Camera3Device.cpp | 433 String8 lines; in dump() local 443 lines.appendFormat(" Device status: %s\n", status); in dump() 445 lines.appendFormat(" Error cause: %s\n", mErrorCause.string()); in dump() 447 lines.appendFormat(" Stream configuration:\n"); in dump() 448 lines.appendFormat(" Operation mode: %s \n", mIsConstrainedHighSpeedConfiguration ? in dump() 452 write(fd, lines.string(), lines.size()); in dump() 455 lines.appendFormat(" No input stream.\n"); in dump() 456 write(fd, lines.string(), lines.size()); in dump() 462 lines = String8(" In-flight requests:\n"); in dump() 464 lines.append(" None\n"); in dump() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SMSDispatcherTest.java.broken | 40 String[] lines = new String[2]; 42 lines[0] = "+CMT: ,158"; 43 lines[1] = "07914140279510F6440A8111110301003BF56080426101748A8C0B05040B" 50 sms = SmsMessage.newFromCMT(lines); 70 String[] lines = new String[2]; 72 lines[0] = "+CMT: ,77"; 73 lines[1] = "07914140279510F6440A8111110301003BF56080426101848A3B0B05040B8423F" 77 sms = SmsMessage.newFromCMT(lines);
|
/frameworks/base/core/jni/ |
D | com_android_internal_net_NetworkStatsFactory.cpp | 122 Vector<stats_line> lines; in readNetworkStatsDetail() local 215 lines.push_back(s); in readNetworkStatsDetail() 226 int size = lines.size(); in readNetworkStatsDetail() 258 ScopedLocalRef<jstring> ifaceString(env, env->NewStringUTF(lines[i].iface)); in readNetworkStatsDetail() 261 uid[i] = lines[i].uid; in readNetworkStatsDetail() 262 set[i] = lines[i].set; in readNetworkStatsDetail() 263 tag[i] = lines[i].tag; in readNetworkStatsDetail() 264 rxBytes[i] = lines[i].rxBytes; in readNetworkStatsDetail() 265 rxPackets[i] = lines[i].rxPackets; in readNetworkStatsDetail() 266 txBytes[i] = lines[i].txBytes; in readNetworkStatsDetail() [all …]
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_stereo_proc.cpp | 405 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 …]
|
D | pvmp3_mpeg2_stereo_proc.cpp | 383 … 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/tools/layoutlib/bridge/src/android/text/ |
D | OptimizingLineBreaker.java | 72 int lines = opt[pos].mPrevCount; in computeBreaks() local 73 float maxWidth = mLineWidth.getLineWidth(lines); in computeBreaks() 110 int lines = opt[lastBreak].mPrevCount; in computeBreaks() local 111 float maxWidth = mLineWidth.getLineWidth(lines); in computeBreaks() 113 opt[breakIndex] = new Node(lastBreak, lines + 1, 0 /*doesn't matter*/, in computeBreaks()
|
/frameworks/base/cmds/settings/src/com/android/commands/settings/ |
D | SettingsCmd.java | 189 final ArrayList<String> lines = new ArrayList<String>(); in listForUser() local 191 return lines; in listForUser() 198 lines.add(cursor.getString(1) + "=" + cursor.getString(2)); in listForUser() 205 Collections.sort(lines); in listForUser() 209 return lines; in listForUser()
|
/frameworks/base/core/java/android/text/ |
D | StaticLayout.java | 874 int[] lines = mLines; 876 if (want >= lines.length) { 884 System.arraycopy(lines, 0, grow, 0, lines.length); 886 lines = grow; 949 lines[off + START] = start; 950 lines[off + TOP] = v; 951 lines[off + DESCENT] = below + extra; 954 lines[off + mColumns + START] = end; 955 lines[off + mColumns + TOP] = v; 959 lines[off + TAB] |= flags & TAB_MASK; [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
D | ModelInterpreter.java | 504 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/ |
D | SRTRenderer.java | 92 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()
|
D | WebVttRenderer.java | 156 TextTrackCueSpan[][] lines = new TextTrackCueSpan[mLines.size()][]; in getText() local 157 mLines.toArray(lines); in getText() 159 return lines; in getText() 656 String[] lines = mBuffer.split("[\r\n]"); in parse() local 657 for (int i = 0; i < lines.length - 1; i++) { in parse() 658 mPhase.parse(lines[i]); in parse() 661 mBuffer = lines[lines.length - 1]; in parse() 1741 final TextTrackCueSpan[][] lines = mCue.mLines; in update() local 1742 final int lineCount = lines.length; in update() 1744 final SpanLayout lineBox = new SpanLayout(getContext(), lines[i]); in update()
|
/frameworks/native/services/surfaceflinger/EventLog/ |
D | EventLogTags.logtags | 11 # Tag numbers and names are separated by whitespace. Blank lines and lines
|
/frameworks/base/docs/html/training/camera/ |
D | index.jd | 56 <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/docs/html/tools/help/ |
D | draw9patch.jd | 26 <p>The left pane is your drawing area, in which you can edit the lines for the 30 <li>Click within the 1-pixel perimeter to draw the lines that define the stretchable 32 previously drawn lines.
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | StaticLayoutTest.java | 296 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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | SupplicantBridge.java | 64 public static Map<Constants.ANQPElementType, ANQPElement> parseANQPLines(List<String> lines) { in parseANQPLines() argument 65 if (lines == null) { in parseANQPLines() 68 Map<Constants.ANQPElementType, ANQPElement> elements = new HashMap<>(lines.size()); in parseANQPLines() 69 for (String line : lines) { in parseANQPLines()
|
/frameworks/native/cmds/flatland/ |
D | GLHelper.cpp | 361 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()
|