/frameworks/base/media/libstagefright/codecs/aacdec/ |
D | ps_decorrelate.cpp | 171 Int32 sb; in ps_decorrelate() local 238 sb = groupBorders[gr]; in ps_decorrelate() 245 pt_rTmp = &ppRealDelayBuffer[sb][h_ps_dec->delayBufIndex]; in ps_decorrelate() 246 pt_iTmp = &ppImagDelayBuffer[sb][h_ps_dec->delayBufIndex]; in ps_decorrelate() 248 tmp1 = aLeftReal[sb]; in ps_decorrelate() 249 tmp2 = aLeftImag[sb]; in ps_decorrelate() 266 cmplx = aFractDelayPhaseFactorSubQmf[sb]; in ps_decorrelate() 268 aRightReal[sb] = cmplx_mul32_by_16(rIn, -iIn, cmplx); in ps_decorrelate() 269 aRightImag[sb] = cmplx_mul32_by_16(iIn, rIn, cmplx); in ps_decorrelate() 272 sb, in ps_decorrelate() [all …]
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 893 private final static void formatTime(StringBuilder sb, long time) { in formatTime() argument 895 formatTimeRaw(sb, sec); in formatTime() 896 sb.append((time - (sec * 100)) * 10); in formatTime() 897 sb.append("ms "); in formatTime() 900 private final static void formatTimeMs(StringBuilder sb, long time) { in formatTimeMs() argument 902 formatTimeRaw(sb, sec); in formatTimeMs() 903 sb.append(time - (sec * 1000)); in formatTimeMs() 904 sb.append("ms "); in formatTimeMs() 944 private static final String printWakeLock(StringBuilder sb, Timer timer, in printWakeLock() argument 954 sb.append(linePrefix); in printWakeLock() [all …]
|
/frameworks/base/core/java/android/content/ |
D | SyncResult.java | 251 StringBuilder sb = new StringBuilder(); in toString() local 252 sb.append("SyncResult:"); in toString() 254 sb.append(" syncAlreadyInProgress: ").append(syncAlreadyInProgress); in toString() 256 if (tooManyDeletions) sb.append(" tooManyDeletions: ").append(tooManyDeletions); in toString() 257 if (tooManyRetries) sb.append(" tooManyRetries: ").append(tooManyRetries); in toString() 258 if (databaseError) sb.append(" databaseError: ").append(databaseError); in toString() 259 if (fullSyncRequested) sb.append(" fullSyncRequested: ").append(fullSyncRequested); in toString() 261 sb.append(" partialSyncUnavailable: ").append(partialSyncUnavailable); in toString() 263 if (moreRecordsToGet) sb.append(" moreRecordsToGet: ").append(moreRecordsToGet); in toString() 264 if (delayUntil > 0) sb.append(" delayUntil: ").append(delayUntil); in toString() [all …]
|
D | SyncOperation.java | 79 StringBuilder sb = new StringBuilder(); in toString() local 80 sb.append("authority: ").append(authority); in toString() 81 sb.append(" account: ").append(account); in toString() 82 sb.append(" extras: "); in toString() 83 extrasToStringBuilder(extras, sb, false /* asKey */); in toString() 84 sb.append(" syncSource: ").append(syncSource); in toString() 85 sb.append(" when: ").append(earliestRunTime); in toString() 86 sb.append(" expedited: ").append(expedited); in toString() 87 return sb.toString(); in toString() 91 StringBuilder sb = new StringBuilder(); in toKey() local [all …]
|
D | SyncStats.java | 122 StringBuilder sb = new StringBuilder(); in toString() local 123 sb.append(" stats ["); in toString() 124 if (numAuthExceptions > 0) sb.append(" numAuthExceptions: ").append(numAuthExceptions); in toString() 125 if (numIoExceptions > 0) sb.append(" numIoExceptions: ").append(numIoExceptions); in toString() 126 if (numParseExceptions > 0) sb.append(" numParseExceptions: ").append(numParseExceptions); in toString() 128 sb.append(" numConflictDetectedExceptions: ").append(numConflictDetectedExceptions); in toString() 129 if (numInserts > 0) sb.append(" numInserts: ").append(numInserts); in toString() 130 if (numUpdates > 0) sb.append(" numUpdates: ").append(numUpdates); in toString() 131 if (numDeletes > 0) sb.append(" numDeletes: ").append(numDeletes); in toString() 132 if (numEntries > 0) sb.append(" numEntries: ").append(numEntries); in toString() [all …]
|
/frameworks/base/services/java/com/android/server/am/ |
D | TaskRecord.java | 98 StringBuilder sb = new StringBuilder(128); in dump() local 99 sb.append(prefix); sb.append("intent={"); in dump() 100 intent.toShortString(sb, true, false); in dump() 101 sb.append('}'); in dump() 102 pw.println(sb.toString()); in dump() 105 StringBuilder sb = new StringBuilder(128); in dump() local 106 sb.append(prefix); sb.append("affinityIntent={"); in dump() 107 affinityIntent.toShortString(sb, true, false); in dump() 108 sb.append('}'); in dump() 109 pw.println(sb.toString()); in dump() [all …]
|
D | UsageStatsService.java | 261 StringBuilder sb = new StringBuilder(); in getCurrentDateStr() local 265 sb.append(prefix); in getCurrentDateStr() 267 sb.append(mCal.get(Calendar.YEAR)); in getCurrentDateStr() 270 sb.append("0"); in getCurrentDateStr() 272 sb.append(mm); in getCurrentDateStr() 275 sb.append("0"); in getCurrentDateStr() 277 sb.append(dd); in getCurrentDateStr() 279 return sb.toString(); in getCurrentDateStr() 704 StringBuilder sb = new StringBuilder(512); in collectDumpInfoFromParcelFLOCK() local 706 sb.append("D:"); in collectDumpInfoFromParcelFLOCK() [all …]
|
D | ReceiverList.java | 97 StringBuilder sb = new StringBuilder(128); in toString() local 98 sb.append("ReceiverList{"); in toString() 99 sb.append(Integer.toHexString(System.identityHashCode(this))); in toString() 100 sb.append(' '); in toString() 101 sb.append(pid); in toString() 102 sb.append(' '); in toString() 103 sb.append((app != null ? app.processName : "(unknown name)")); in toString() 104 sb.append('/'); in toString() 105 sb.append(uid); in toString() 106 sb.append((receiver.asBinder() instanceof Binder) ? " local:" : " remote:"); in toString() [all …]
|
D | ConnectionRecord.java | 60 StringBuilder sb = new StringBuilder(128); in toString() local 61 sb.append("ConnectionRecord{"); in toString() 62 sb.append(Integer.toHexString(System.identityHashCode(this))); in toString() 63 sb.append(' '); in toString() 64 sb.append(binding.service.shortName); in toString() 65 sb.append(":@"); in toString() 66 sb.append(Integer.toHexString(System.identityHashCode(conn.asBinder()))); in toString() 67 sb.append('}'); in toString() 68 return stringName = sb.toString(); in toString()
|
/frameworks/base/libs/utils/ |
D | SharedBuffer.cpp | 29 SharedBuffer* sb = static_cast<SharedBuffer *>(malloc(sizeof(SharedBuffer) + size)); in alloc() local 30 if (sb) { in alloc() 31 sb->mRefs = 1; in alloc() 32 sb->mSize = size; in alloc() 34 return sb; in alloc() 50 SharedBuffer* sb = alloc(mSize); in edit() local 51 if (sb) { in edit() 52 memcpy(sb->data(), data(), size()); in edit() 55 return sb; in edit() 69 SharedBuffer* sb = alloc(newSize); in editResize() local [all …]
|
D | misc.cpp | 121 struct stat sb; in getFileType() local 123 if (stat(fileName, &sb) < 0) { in getFileType() 132 if (S_ISREG(sb.st_mode)) in getFileType() 134 else if (S_ISDIR(sb.st_mode)) in getFileType() 136 else if (S_ISCHR(sb.st_mode)) in getFileType() 138 else if (S_ISBLK(sb.st_mode)) in getFileType() 140 else if (S_ISFIFO(sb.st_mode)) in getFileType() 143 else if (S_ISLNK(sb.st_mode)) in getFileType() 145 else if (S_ISSOCK(sb.st_mode)) in getFileType() 158 struct stat sb; in getFileModDate() local [all …]
|
/frameworks/base/location/java/android/location/ |
D | Address.java | 423 StringBuilder sb = new StringBuilder(); in toString() local 424 sb.append("Address[addressLines=["); in toString() 427 sb.append(','); in toString() 429 sb.append(i); in toString() 430 sb.append(':'); in toString() 433 sb.append("null"); in toString() 435 sb.append('\"'); in toString() 436 sb.append(line); in toString() 437 sb.append('\"'); in toString() 440 sb.append(']'); in toString() [all …]
|
/frameworks/base/tests/CoreTests/android/core/ |
D | NIOTest.java | 56 ShortBuffer sb = ShortBuffer.wrap(shortArray); in testNIO() local 57 shortBufferTest(sb); in testNIO() 339 ShortBuffer sb = bb.asShortBuffer(); in byteBufferTest() local 341 checkBuffer(sb); in byteBufferTest() 342 assertEquals(2, sb.capacity()); in byteBufferTest() 343 assertEquals((short) 0xA2A1, sb.get()); in byteBufferTest() 344 assertEquals((short) 0xA4A3, sb.get()); in byteBufferTest() 347 sb = bb.asShortBuffer(); in byteBufferTest() 349 checkBuffer(sb); in byteBufferTest() 350 assertEquals(2, sb.capacity()); in byteBufferTest() [all …]
|
/frameworks/base/core/java/android/text/util/ |
D | Rfc822Token.java | 84 StringBuilder sb = new StringBuilder(); in toString() local 87 sb.append(quoteNameIfNecessary(mName)); in toString() 88 sb.append(' '); in toString() 92 sb.append('('); in toString() 93 sb.append(quoteComment(mComment)); in toString() 94 sb.append(") "); in toString() 98 sb.append('<'); in toString() 99 sb.append(mAddress); in toString() 100 sb.append('>'); in toString() 103 return sb.toString(); in toString() [all …]
|
/frameworks/base/core/java/android/view/animation/ |
D | Transformation.java | 139 StringBuilder sb = new StringBuilder(64); in toString() local 140 sb.append("Transformation"); in toString() 141 toShortString(sb); in toString() 142 return sb.toString(); in toString() 149 StringBuilder sb = new StringBuilder(64); in toShortString() local 150 toShortString(sb); in toShortString() 151 return sb.toString(); in toShortString() 157 public void toShortString(StringBuilder sb) { in toShortString() argument 158 sb.append("{alpha="); sb.append(mAlpha); in toShortString() 159 sb.append(" matrix="); mMatrix.toShortString(sb); in toShortString() [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | ObbInfo.java | 63 StringBuilder sb = new StringBuilder(); in toString() local 64 sb.append("ObbInfo{"); in toString() 65 sb.append(Integer.toHexString(System.identityHashCode(this))); in toString() 66 sb.append(" packageName="); in toString() 67 sb.append(packageName); in toString() 68 sb.append(",version="); in toString() 69 sb.append(version); in toString() 70 sb.append(",flags="); in toString() 71 sb.append(flags); in toString() 72 sb.append('}'); in toString() [all …]
|
D | Configuration.java | 247 StringBuilder sb = new StringBuilder(128); in toString() local 248 sb.append("{ scale="); in toString() 249 sb.append(fontScale); in toString() 250 sb.append(" imsi="); in toString() 251 sb.append(mcc); in toString() 252 sb.append("/"); in toString() 253 sb.append(mnc); in toString() 254 sb.append(" loc="); in toString() 255 sb.append(locale); in toString() 256 sb.append(" touch="); in toString() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Rect.java | 90 StringBuilder sb = new StringBuilder(32); in toString() local 91 sb.append("Rect("); sb.append(left); sb.append(", "); in toString() 92 sb.append(top); sb.append(" - "); sb.append(right); in toString() 93 sb.append(", "); sb.append(bottom); sb.append(")"); in toString() 94 return sb.toString(); in toString() 108 public String toShortString(StringBuilder sb) { in toShortString() argument 109 sb.setLength(0); in toShortString() 110 sb.append('['); sb.append(left); sb.append(','); in toShortString() 111 sb.append(top); sb.append("]["); sb.append(right); in toShortString() 112 sb.append(','); sb.append(bottom); sb.append(']'); in toShortString() [all …]
|
D | Matrix.java | 544 StringBuilder sb = new StringBuilder(64); in toString() local 545 sb.append("Matrix{"); in toString() 546 toShortString(sb); in toString() 547 sb.append('}'); in toString() 548 return sb.toString(); in toString() 553 StringBuilder sb = new StringBuilder(64); in toShortString() local 554 toShortString(sb); in toShortString() 555 return sb.toString(); in toShortString() 561 public void toShortString(StringBuilder sb) { in toShortString() argument 564 sb.append('['); in toShortString() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | HanziToPinyin.java | 441 final StringBuilder sb = new StringBuilder(); in get() local 450 if (sb.length() > 0) { in get() 451 addToken(sb, tokens, tokenType); in get() 454 if (tokenType != Token.LATIN && sb.length() > 0) { in get() 455 addToken(sb, tokens, tokenType); in get() 458 sb.append(character); in get() 460 if (tokenType != Token.UNKNOWN && sb.length() > 0) { in get() 461 addToken(sb, tokens, tokenType); in get() 464 sb.append(character); in get() 468 if (sb.length() > 0) { in get() [all …]
|
/frameworks/base/core/java/android/pim/ |
D | ICalendar.java | 182 StringBuilder sb = new StringBuilder(); in toString() local 183 toString(sb); in toString() 184 sb.append(NEWLINE); in toString() 185 return sb.toString(); in toString() 193 public void toString(StringBuilder sb) { in toString() argument 194 sb.append(BEGIN); in toString() 195 sb.append(":"); in toString() 196 sb.append(mName); in toString() 197 sb.append(NEWLINE); in toString() 202 property.toString(sb); in toString() [all …]
|
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_stereo_proc.cpp | 261 int32 sb; in pvmp3_stereo_proc() local 295 sb = 0; in pvmp3_stereo_proc() 300 sb = (i << 4) + (i << 1) + ss; in pvmp3_stereo_proc() 314 if (sb < 36) in pvmp3_stereo_proc() 321 if (mp3_sfBandIndex[sfreq].l[4] <= sb) in pvmp3_stereo_proc() 330 while (mp3_sfBandIndex[sfreq].l[sfb] < sb) in pvmp3_stereo_proc() 434 for (sb = 3; sb < sfbcnt; sb++) in pvmp3_stereo_proc() 436 sfbNo = mp3_sfBandIndex[sfreq].s[sb+1] - mp3_sfBandIndex[sfreq].s[sb]; in pvmp3_stereo_proc() 437 sfbStart = 3 * mp3_sfBandIndex[sfreq].s[sb] + j * sfbNo; in pvmp3_stereo_proc() 508 for (sb = 0; sb < sfbcnt; sb++) in pvmp3_stereo_proc() [all …]
|
/frameworks/base/tools/preload/ |
D | Operation.java | 124 StringBuilder sb = new StringBuilder(); in toString() local 125 sb.append(type.toString()); in toString() 126 sb.append(' '); in toString() 127 sb.append(loadedClass.toString()); in toString() 129 sb.append(" ("); in toString() 130 sb.append(subops.size()); in toString() 131 sb.append(" sub ops)"); in toString() 133 return sb.toString(); in toString()
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 516 StringBuilder sb = new StringBuilder(); in toString() local 517 sb.append("Notification(vibrate="); in toString() 520 sb.append("["); in toString() 522 sb.append(this.vibrate[i]); in toString() 523 sb.append(','); in toString() 526 sb.append(this.vibrate[N]); in toString() 528 sb.append("]"); in toString() 530 sb.append("default"); in toString() 532 sb.append("null"); in toString() 534 sb.append(",sound="); in toString() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | GsmMmiCode.java | 750 StringBuilder sb = new StringBuilder(getScString()); in handlePasswordError() local 751 sb.append("\n"); in handlePasswordError() 752 sb.append(context.getText(res)); in handlePasswordError() 753 message = sb; in handlePasswordError() 916 StringBuilder sb = new StringBuilder(getScString()); in onSetComplete() local 917 sb.append("\n"); in onSetComplete() 928 sb.append(context.getText( in onSetComplete() 931 sb.append(context.getText( in onSetComplete() 935 sb.append(context.getText( in onSetComplete() 939 sb.append(context.getText( in onSetComplete() [all …]
|