/frameworks/base/core/java/android/provider/ |
D | SearchIndexableData.java | 146 final StringBuilder sb = new StringBuilder(); in toString() local 147 sb.append("SearchIndexableData[context: "); in toString() 148 sb.append(context); in toString() 149 sb.append(", "); in toString() 150 sb.append("locale: "); in toString() 151 sb.append(locale); in toString() 152 sb.append(", "); in toString() 153 sb.append("enabled: "); in toString() 154 sb.append(enabled); in toString() 155 sb.append(", "); in toString() [all …]
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 980 public abstract void getDeferredJobsCheckinLineLocked(StringBuilder sb, int which); in getDeferredJobsCheckinLineLocked() argument 987 public abstract void getDeferredJobsLineLocked(StringBuilder sb, int which); in getDeferredJobsLineLocked() argument 3320 public final static void formatTimeMs(StringBuilder sb, long time) { in formatTimeMs() argument 3322 formatTimeRaw(sb, sec); in formatTimeMs() 3323 sb.append(time - (sec * 1000)); in formatTimeMs() 3324 sb.append("ms "); in formatTimeMs() 3327 public final static void formatTimeMsNoSpace(StringBuilder sb, long time) { in formatTimeMsNoSpace() argument 3329 formatTimeRaw(sb, sec); in formatTimeMsNoSpace() 3330 sb.append(time - (sec * 1000)); in formatTimeMsNoSpace() 3331 sb.append("ms"); in formatTimeMsNoSpace() [all …]
|
/frameworks/base/core/java/android/content/ |
D | SyncResult.java | 266 StringBuilder sb = new StringBuilder(); in toString() local 267 sb.append("SyncResult:"); in toString() 269 sb.append(" syncAlreadyInProgress: ").append(syncAlreadyInProgress); in toString() 271 if (tooManyDeletions) sb.append(" tooManyDeletions: ").append(tooManyDeletions); in toString() 272 if (tooManyRetries) sb.append(" tooManyRetries: ").append(tooManyRetries); in toString() 273 if (databaseError) sb.append(" databaseError: ").append(databaseError); in toString() 274 if (fullSyncRequested) sb.append(" fullSyncRequested: ").append(fullSyncRequested); in toString() 276 sb.append(" partialSyncUnavailable: ").append(partialSyncUnavailable); in toString() 278 if (moreRecordsToGet) sb.append(" moreRecordsToGet: ").append(moreRecordsToGet); in toString() 279 if (delayUntil > 0) sb.append(" delayUntil: ").append(delayUntil); in toString() [all …]
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | ReusableBitmap.java | 97 final StringBuilder sb = new StringBuilder("["); in toString() local 98 sb.append(super.toString()); in toString() 99 sb.append(" refCount="); in toString() 100 sb.append(mRefCount); in toString() 101 sb.append(" mReusable="); in toString() 102 sb.append(mReusable); in toString() 103 sb.append(" bmp="); in toString() 104 sb.append(bmp); in toString() 105 sb.append(" logicalW/H="); in toString() 106 sb.append(mWidth); in toString() [all …]
|
D | UnrefedPooledCache.java | 172 final StringBuilder sb = new StringBuilder("["); in toDebugString() local 173 sb.append(super.toString()); in toDebugString() 176 sb.append(" poolCount="); in toDebugString() 177 sb.append(mPool.size()); in toDebugString() 178 sb.append(" cacheSize="); in toDebugString() 179 sb.append(mCache.size()); in toDebugString() 181 sb.append(" nonPooledCacheSize="); in toDebugString() 182 sb.append(mNonPooledCache.size()); in toDebugString() 184 sb.append("\n---------------------"); in toDebugString() 187 sb.append("\n\tpool item: "); in toDebugString() [all …]
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
D | VolumeDialogController.java | 141 final StringBuilder sb = new StringBuilder("{"); in toString() local 142 if (indent > 0) sep(sb, indent); in toString() 145 sep(sb, indent); in toString() 149 sb.append(AudioSystem.streamToString(stream)).append(":").append(ss.level) in toString() 152 if (ss.muted) sb.append(" [MUTED]"); in toString() 153 if (ss.dynamic) sb.append(" [DYNAMIC]"); in toString() 155 sep(sb, indent); sb.append("ringerModeExternal:").append(ringerModeExternal); in toString() 156 sep(sb, indent); sb.append("ringerModeInternal:").append(ringerModeInternal); in toString() 157 sep(sb, indent); sb.append("zenMode:").append(zenMode); in toString() 158 sep(sb, indent); sb.append("effectsSuppressor:").append(effectsSuppressor); in toString() [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/core/java/android/view/ |
D | DisplayInfo.java | 714 StringBuilder sb = new StringBuilder(); in toString() local 715 sb.append("DisplayInfo{\""); in toString() 716 sb.append(name); in toString() 717 sb.append("\", displayId "); in toString() 718 sb.append(displayId); in toString() 719 sb.append("\", displayGroupId "); in toString() 720 sb.append(displayGroupId); in toString() 721 sb.append(flagsToString(flags)); in toString() 722 sb.append(", real "); in toString() 723 sb.append(logicalWidth); in toString() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ContentProviderConnection.java | 119 StringBuilder sb = new StringBuilder(128); in toString() local 120 sb.append("ContentProviderConnection{"); in toString() 121 toShortString(sb); in toString() 122 sb.append('}'); in toString() 123 return sb.toString(); in toString() 127 StringBuilder sb = new StringBuilder(128); in toShortString() local 128 toShortString(sb); in toShortString() 129 return sb.toString(); in toShortString() 133 StringBuilder sb = new StringBuilder(128); in toClientString() local 134 toClientString(sb); in toClientString() [all …]
|
D | UidRecord.java | 351 StringBuilder sb = new StringBuilder(128); in toString() local 352 sb.append("UidRecord{"); in toString() 353 sb.append(Integer.toHexString(System.identityHashCode(this))); in toString() 354 sb.append(' '); in toString() 355 UserHandle.formatUid(sb, mUid); in toString() 356 sb.append(' '); in toString() 357 sb.append(ProcessList.makeProcStateString(mCurProcState)); in toString() 359 sb.append(" ephemeral"); in toString() 362 sb.append(" fgServices"); in toString() 365 sb.append(" allowlist"); in toString() [all …]
|
D | ConnectionRecord.java | 172 StringBuilder sb = new StringBuilder(128); in toString() local 173 sb.append("ConnectionRecord{"); in toString() 174 sb.append(Integer.toHexString(System.identityHashCode(this))); in toString() 175 sb.append(" u"); in toString() 176 sb.append(binding.client.userId); in toString() 177 sb.append(' '); in toString() 179 sb.append("CR "); in toString() 182 sb.append("DBG "); in toString() 185 sb.append("!FG "); in toString() 188 sb.append("IMPB "); in toString() [all …]
|
/frameworks/base/libs/androidfw/ |
D | misc.cpp | 38 struct stat sb; in getFileType() local 40 if (stat(fileName, &sb) < 0) { in getFileType() 49 if (S_ISREG(sb.st_mode)) in getFileType() 51 else if (S_ISDIR(sb.st_mode)) in getFileType() 53 else if (S_ISCHR(sb.st_mode)) in getFileType() 55 else if (S_ISBLK(sb.st_mode)) in getFileType() 57 else if (S_ISFIFO(sb.st_mode)) in getFileType() 60 else if (S_ISLNK(sb.st_mode)) in getFileType() 64 else if (S_ISSOCK(sb.st_mode)) in getFileType() 77 struct stat sb; in getFileModDate() local [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageUsage.java | 64 StringBuilder sb = new StringBuilder(); in writeInternal() local 66 sb.append(USAGE_FILE_MAGIC_VERSION_1); in writeInternal() 67 sb.append('\n'); in writeInternal() 68 out.write(sb.toString().getBytes(StandardCharsets.US_ASCII)); in writeInternal() 74 sb.setLength(0); in writeInternal() 75 sb.append(pkgSetting.name); in writeInternal() 78 sb.append(' '); in writeInternal() 79 sb.append(usageTimeInMillis); in writeInternal() 81 sb.append('\n'); in writeInternal() 82 out.write(sb.toString().getBytes(StandardCharsets.US_ASCII)); in writeInternal() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageStats.java | 95 final StringBuilder sb = new StringBuilder("PackageStats{"); in toString() local 96 sb.append(Integer.toHexString(System.identityHashCode(this))); in toString() 97 sb.append(" "); in toString() 98 sb.append(packageName); in toString() 100 sb.append(" code="); in toString() 101 sb.append(codeSize); in toString() 104 sb.append(" data="); in toString() 105 sb.append(dataSize); in toString() 108 sb.append(" cache="); in toString() 109 sb.append(cacheSize); in toString() [all …]
|
D | ShortcutInfo.java | 2278 private void addIndentOrComma(StringBuilder sb, String indent) { in addIndentOrComma() argument 2280 sb.append("\n "); in addIndentOrComma() 2281 sb.append(indent); in addIndentOrComma() 2283 sb.append(", "); in addIndentOrComma() 2288 final StringBuilder sb = new StringBuilder(); in toStringInner() local 2291 sb.append(indent); in toStringInner() 2294 sb.append("ShortcutInfo {"); in toStringInner() 2296 sb.append("id="); in toStringInner() 2297 sb.append(secure ? "***" : mId); in toStringInner() 2299 sb.append(", flags=0x"); in toStringInner() [all …]
|
/frameworks/base/core/java/android/text/util/ |
D | Rfc822Token.java | 90 StringBuilder sb = new StringBuilder(); in toString() local 93 sb.append(quoteNameIfNecessary(mName)); in toString() 94 sb.append(' '); in toString() 98 sb.append('('); in toString() 99 sb.append(quoteComment(mComment)); in toString() 100 sb.append(") "); in toString() 104 sb.append('<'); in toString() 105 sb.append(mAddress); in toString() 106 sb.append('>'); in toString() 109 return sb.toString(); in toString() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceInfo.java | 460 StringBuilder sb = new StringBuilder(); in toString() local 461 sb.append("DisplayDeviceInfo{\""); in toString() 462 sb.append(name).append("\": uniqueId=\"").append(uniqueId).append("\", "); in toString() 463 sb.append(width).append(" x ").append(height); in toString() 464 sb.append(", modeId ").append(modeId); in toString() 465 sb.append(", defaultModeId ").append(defaultModeId); in toString() 466 sb.append(", supportedModes ").append(Arrays.toString(supportedModes)); in toString() 467 sb.append(", colorMode ").append(colorMode); in toString() 468 sb.append(", supportedColorModes ").append(Arrays.toString(supportedColorModes)); in toString() 469 sb.append(", hdrCapabilities ").append(hdrCapabilities); in toString() [all …]
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZoneInfo.java | 195 StringBuilder sb = new StringBuilder(); in toString() local 200 sb.append(mTzId); in toString() 201 sb.append(SEPARATOR); in toString() 202 sb.append(tz.getDisplayName(false /* daylightTime */, TimeZone.LONG)); in toString() 203 sb.append(SEPARATOR); in toString() 204 sb.append(tz.getDisplayName(false /* daylightTime */, TimeZone.SHORT)); in toString() 205 sb.append(SEPARATOR); in toString() 207 sb.append(tz.getDisplayName(true, TimeZone.LONG)); in toString() 208 sb.append(SEPARATOR); in toString() 209 sb.append(tz.getDisplayName(true, TimeZone.SHORT)); in toString() [all …]
|
D | TimeZonePickerUtils.java | 86 StringBuilder sb = new StringBuilder(); in buildGmtDisplayName() local 89 sb.append(displayName); in buildGmtDisplayName() 91 sb.append(" "); in buildGmtDisplayName() 93 int gmtStart = sb.length(); in buildGmtDisplayName() 94 appendGmtOffset(sb, gmtOffset); in buildGmtDisplayName() 95 int gmtEnd = sb.length(); in buildGmtDisplayName() 100 sb.append(" "); in buildGmtDisplayName() 101 symbolStart = sb.length(); in buildGmtDisplayName() 102 sb.append(getDstSymbol()); // Sun symbol in buildGmtDisplayName() 103 symbolEnd = sb.length(); in buildGmtDisplayName() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | FileMetadata.java | 45 StringBuilder sb = new StringBuilder(128); in toString() local 46 sb.append("FileMetadata{"); in toString() 47 sb.append(packageName); in toString() 48 sb.append(','); in toString() 49 sb.append(type); in toString() 50 sb.append(','); in toString() 51 sb.append(domain); in toString() 52 sb.append(':'); in toString() 53 sb.append(path); in toString() 54 sb.append(','); in toString() [all …]
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncOperation.java | 372 StringBuilder sb = new StringBuilder(); in toKey() local 373 sb.append("provider: ").append(target.provider); in toKey() 374 sb.append(" account {name=" + target.account.name in toKey() 380 sb.append(" isPeriodic: ").append(isPeriodic); in toKey() 381 sb.append(" period: ").append(periodMillis); in toKey() 382 sb.append(" flex: ").append(flexMillis); in toKey() 383 sb.append(" extras: "); in toKey() 384 extrasToStringBuilder(extras, sb); in toKey() 385 return sb.toString(); in toKey() 400 StringBuilder sb = new StringBuilder(); in dump() local [all …]
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | SparseMappingTable.java | 442 StringBuilder sb = new StringBuilder(); in dumpInternalState() local 443 sb.append("SparseMappingTable.Table{mSequence="); in dumpInternalState() 444 sb.append(mSequence); in dumpInternalState() 445 sb.append(" mParent.mSequence="); in dumpInternalState() 446 sb.append(mParent.mSequence); in dumpInternalState() 447 sb.append(" mParent.mLongs.size()="); in dumpInternalState() 448 sb.append(mParent.mLongs.size()); in dumpInternalState() 449 sb.append(" mSize="); in dumpInternalState() 450 sb.append(mSize); in dumpInternalState() 451 sb.append(" mTable="); in dumpInternalState() [all …]
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoUtils.java | 88 StringBuilder sb = new StringBuilder(); in currentFieldToString() local 94 sb.append("Offset : 0x" + Integer.toHexString(proto.getOffset())); in currentFieldToString() 95 sb.append("\nField Number : 0x" + Integer.toHexString(proto.getFieldNumber())); in currentFieldToString() 96 sb.append("\nWire Type : "); in currentFieldToString() 99 sb.append("varint"); in currentFieldToString() 102 sb.append("\nField Value : 0x" + Long.toHexString(proto.readLong(fieldConstant))); in currentFieldToString() 105 sb.append("fixed64"); in currentFieldToString() 108 sb.append("\nField Value : 0x" + Long.toHexString(proto.readLong(fieldConstant))); in currentFieldToString() 111 sb.append("length delimited"); in currentFieldToString() 114 sb.append("\nField Bytes : " + proto.readBytes(fieldConstant)); in currentFieldToString() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | TonemapCurve.java | 297 StringBuilder sb = new StringBuilder("TonemapCurve{"); in toString() local 298 sb.append("R:"); in toString() 299 sb.append(curveToString(CHANNEL_RED)); in toString() 300 sb.append(", G:"); in toString() 301 sb.append(curveToString(CHANNEL_GREEN)); in toString() 302 sb.append(", B:"); in toString() 303 sb.append(curveToString(CHANNEL_BLUE)); in toString() 304 sb.append("}"); in toString() 305 return sb.toString(); in toString() 310 StringBuilder sb = new StringBuilder("["); in curveToString() local [all …]
|
/frameworks/base/lowpan/java/android/net/lowpan/ |
D | LowpanCredential.java | 88 StringBuffer sb = new StringBuffer(); in toSensitiveString() local 90 sb.append("<LowpanCredential"); in toSensitiveString() 93 sb.append(" MasterKey:").append(HexDump.toHexString(mMasterKey)); in toSensitiveString() 95 sb.append(", Index:").append(mMasterKeyIndex); in toSensitiveString() 98 sb.append(" empty"); in toSensitiveString() 101 sb.append(">"); in toSensitiveString() 103 return sb.toString(); in toSensitiveString() 108 StringBuffer sb = new StringBuffer(); in toString() local 110 sb.append("<LowpanCredential"); in toString() 115 sb.append(" MasterKey"); in toString() [all …]
|