/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/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/ |
D | DisplayProtoUtils.java | 27 … public static void displayLogReport(StringBuilder sb, StatsLog.ConfigMetricsReportList reports) { in displayLogReport() argument 28 sb.append("******************** Report ********************\n"); in displayLogReport() 30 sb.append("ConfigKey: "); in displayLogReport() 32 sb.append("\tuid: ").append(key.getUid()).append(" id: ").append(key.getId()) in displayLogReport() 38 sb.append("StatsLogReport size: ").append(report.getMetricsCount()).append("\n"); in displayLogReport() 39 sb.append("Last report time:").append(getDateStr(report.getLastReportElapsedNanos())). in displayLogReport() 41 … sb.append("Current report time:").append(getDateStr(report.getCurrentReportElapsedNanos())). in displayLogReport() 46 sb.append("... output truncated\n"); in displayLogReport() 47 sb.append("************************************************"); in displayLogReport() 50 sb.append("\n"); in displayLogReport() [all …]
|
/frameworks/base/cmds/statsd/tools/dogfood/src/com/android/statsd/dogfood/ |
D | DisplayProtoUtils.java | 25 … public static void displayLogReport(StringBuilder sb, StatsLog.ConfigMetricsReportList reports) { in displayLogReport() argument 26 sb.append("ConfigKey: "); in displayLogReport() 29 sb.append("\tuid: ").append(key.getUid()).append(" name: ").append(key.getId()) in displayLogReport() 34 sb.append("StatsLogReport size: ").append(report.getMetricsCount()).append("\n"); in displayLogReport() 35 sb.append("Last report time:").append(getDateStr(report.getLastReportElapsedNanos())). in displayLogReport() 37 … sb.append("Current report time:").append(getDateStr(report.getCurrentReportElapsedNanos())). in displayLogReport() 40 sb.append("\n\n"); in displayLogReport() 41 sb.append("metric id: ").append(log.getMetricId()).append("\n"); in displayLogReport() 45 sb.append("Duration metric data\n"); in displayLogReport() 46 displayDurationMetricData(sb, log); in displayLogReport() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ContentProviderConnection.java | 96 StringBuilder sb = new StringBuilder(128); in toString() local 97 sb.append("ContentProviderConnection{"); in toString() 98 toShortString(sb); in toString() 99 sb.append('}'); in toString() 100 return sb.toString(); in toString() 104 StringBuilder sb = new StringBuilder(128); in toShortString() local 105 toShortString(sb); in toShortString() 106 return sb.toString(); in toShortString() 110 StringBuilder sb = new StringBuilder(128); in toClientString() local 111 toClientString(sb); in toClientString() [all …]
|
D | UidRecord.java | 181 StringBuilder sb = new StringBuilder(128); in toString() local 182 sb.append("UidRecord{"); in toString() 183 sb.append(Integer.toHexString(System.identityHashCode(this))); in toString() 184 sb.append(' '); in toString() 185 UserHandle.formatUid(sb, uid); in toString() 186 sb.append(' '); in toString() 187 sb.append(ProcessList.makeProcStateString(mCurProcState)); in toString() 189 sb.append(" ephemeral"); in toString() 192 sb.append(" fgServices"); in toString() 195 sb.append(" whitelist"); in toString() [all …]
|
D | ConnectionRecord.java | 165 StringBuilder sb = new StringBuilder(128); in toString() local 166 sb.append("ConnectionRecord{"); in toString() 167 sb.append(Integer.toHexString(System.identityHashCode(this))); in toString() 168 sb.append(" u"); in toString() 169 sb.append(binding.client.userId); in toString() 170 sb.append(' '); in toString() 172 sb.append("CR "); in toString() 175 sb.append("DBG "); in toString() 178 sb.append("!FG "); in toString() 181 sb.append("IMPB "); in toString() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pMetrics.java | 166 StringBuilder sb = new StringBuilder(); in dump() local 169 sb.append("startTime="); in dump() 170 sb.append(event.startTimeMillis == 0 ? " <null>" : in dump() 172 sb.append(", connectionType="); in dump() 175 sb.append("FRESH"); in dump() 178 sb.append("REINVOKE"); in dump() 181 sb.append("LOCAL"); in dump() 184 sb.append("FAST"); in dump() 187 sb.append("UNKNOWN"); in dump() 190 sb.append(", wpsMethod="); in dump() [all …]
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 962 public abstract void getDeferredJobsCheckinLineLocked(StringBuilder sb, int which); in getDeferredJobsCheckinLineLocked() argument 969 public abstract void getDeferredJobsLineLocked(StringBuilder sb, int which); in getDeferredJobsLineLocked() argument 3159 public final static void formatTimeMs(StringBuilder sb, long time) { in formatTimeMs() argument 3161 formatTimeRaw(sb, sec); in formatTimeMs() 3162 sb.append(time - (sec * 1000)); in formatTimeMs() 3163 sb.append("ms "); in formatTimeMs() 3166 public final static void formatTimeMsNoSpace(StringBuilder sb, long time) { in formatTimeMsNoSpace() argument 3168 formatTimeRaw(sb, sec); in formatTimeMsNoSpace() 3169 sb.append(time - (sec * 1000)); in formatTimeMsNoSpace() 3170 sb.append("ms"); in formatTimeMsNoSpace() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
D | WifiP2pDnsSdServiceInfo.java | 126 StringBuffer sb = new StringBuffer(); in createPtrServiceQuery() local 127 sb.append("bonjour "); in createPtrServiceQuery() 128 sb.append(createRequest(serviceType + ".local.", DNS_TYPE_PTR, VERSION_1)); in createPtrServiceQuery() 129 sb.append(" "); in createPtrServiceQuery() 132 sb.append(String.format(Locale.US, "%02x", data.length)); in createPtrServiceQuery() 133 sb.append(WifiP2pServiceInfo.bin2HexStr(data)); in createPtrServiceQuery() 136 sb.append("c027"); in createPtrServiceQuery() 137 return sb.toString(); in createPtrServiceQuery() 155 StringBuffer sb = new StringBuffer(); in createTxtServiceQuery() local 156 sb.append("bonjour "); in createTxtServiceQuery() [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/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 …]
|
D | GnssCapabilities.java | 171 StringBuilder sb = new StringBuilder("GnssCapabilities: ( "); in toString() local 172 if (hasLowPowerMode()) sb.append("LOW_POWER_MODE "); in toString() 173 if (hasSatelliteBlacklist()) sb.append("SATELLITE_BLACKLIST "); in toString() 174 if (hasGeofencing()) sb.append("GEOFENCING "); in toString() 175 if (hasMeasurements()) sb.append("MEASUREMENTS "); in toString() 176 if (hasNavMessages()) sb.append("NAV_MESSAGES "); in toString() 177 if (hasMeasurementCorrections()) sb.append("MEASUREMENT_CORRECTIONS "); in toString() 178 if (hasMeasurementCorrectionsLosSats()) sb.append("MEASUREMENT_CORRECTIONS_LOS_SATS "); in toString() 180 sb.append("MEASUREMENT_CORRECTIONS_EXCESS_PATH_LENGTH "); in toString() 183 sb.append("MEASUREMENT_CORRECTIONS_REFLECTING_PLANE "); 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/core/java/android/view/ |
D | DisplayInfo.java | 619 StringBuilder sb = new StringBuilder(); in toString() local 620 sb.append("DisplayInfo{\""); in toString() 621 sb.append(name); in toString() 622 sb.append(", displayId "); in toString() 623 sb.append(displayId); in toString() 624 sb.append("\", uniqueId \""); in toString() 625 sb.append(uniqueId); in toString() 626 sb.append("\", app "); in toString() 627 sb.append(appWidth); in toString() 628 sb.append(" x "); in toString() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageUsage.java | 63 StringBuilder sb = new StringBuilder(); in writeInternal() local 65 sb.append(USAGE_FILE_MAGIC_VERSION_1); in writeInternal() 66 sb.append('\n'); in writeInternal() 67 out.write(sb.toString().getBytes(StandardCharsets.US_ASCII)); in writeInternal() 73 sb.setLength(0); in writeInternal() 74 sb.append(pkg.packageName); in writeInternal() 76 sb.append(' '); in writeInternal() 77 sb.append(usageTimeInMillis); in writeInternal() 79 sb.append('\n'); in writeInternal() 80 out.write(sb.toString().getBytes(StandardCharsets.US_ASCII)); in writeInternal() [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/core/java/android/content/pm/ |
D | PackageStats.java | 94 final StringBuilder sb = new StringBuilder("PackageStats{"); in toString() local 95 sb.append(Integer.toHexString(System.identityHashCode(this))); in toString() 96 sb.append(" "); in toString() 97 sb.append(packageName); in toString() 99 sb.append(" code="); in toString() 100 sb.append(codeSize); in toString() 103 sb.append(" data="); in toString() 104 sb.append(dataSize); in toString() 107 sb.append(" cache="); in toString() 108 sb.append(cacheSize); in toString() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | RttManager.java | 217 StringBuffer sb = new StringBuffer(); in toString() local 218 sb.append("oneSidedRtt "). in toString() 228 sb.append("Legacy "); in toString() 232 sb.append("HT "); in toString() 236 sb.append("VHT "); in toString() 239 sb.append("is supported. "); in toString() 242 sb.append("5 MHz "); in toString() 246 sb.append("10 MHz "); in toString() 250 sb.append("20 MHz "); in toString() 254 sb.append("40 MHz "); in toString() [all …]
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncOperation.java | 348 StringBuilder sb = new StringBuilder(); in toKey() local 349 sb.append("provider: ").append(target.provider); in toKey() 350 sb.append(" account {name=" + target.account.name in toKey() 356 sb.append(" isPeriodic: ").append(isPeriodic); in toKey() 357 sb.append(" period: ").append(periodMillis); in toKey() 358 sb.append(" flex: ").append(flexMillis); in toKey() 359 sb.append(" extras: "); in toKey() 360 extrasToStringBuilder(extras, sb); in toKey() 361 return sb.toString(); in toKey() 375 StringBuilder sb = new StringBuilder(); in dump() local [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/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/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WlanWakeReasonAndCounts.java | 65 StringBuffer sb = new StringBuffer(); in toString() local 66 sb.append(" totalCmdEventWake ").append(totalCmdEventWake); in toString() 67 sb.append(" totalDriverFwLocalWake ").append(totalDriverFwLocalWake); in toString() 68 sb.append(" totalRxDataWake ").append(totalRxDataWake); in toString() 70 sb.append(" rxUnicast ").append(rxUnicast); in toString() 71 sb.append(" rxMulticast ").append(rxMulticast); in toString() 72 sb.append(" rxBroadcast ").append(rxBroadcast); in toString() 74 sb.append(" icmp ").append(icmp); in toString() 75 sb.append(" icmp6 ").append(icmp6); in toString() 76 sb.append(" icmp6Ra ").append(icmp6Ra); in toString() [all …]
|