Home
last modified time | relevance | path

Searched refs:formatted (Results 1 – 16 of 16) sorted by relevance

/aosp14/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberFormattingTextWatcher.java111 String formatted = reformat(s, Selection.getSelectionEnd(s)); in afterTextChanged() local
112 if (formatted != null) { in afterTextChanged()
115 s.replace(0, s.length(), formatted, 0, formatted.length()); in afterTextChanged()
118 if (formatted.equals(s.toString())) { in afterTextChanged()
141 String formatted = null; in reformat() local
150 formatted = getFormattedNumber(lastNonSeparator, hasCursor); in reformat()
160 formatted = getFormattedNumber(lastNonSeparator, hasCursor); in reformat()
162 return formatted; in reformat()
/aosp14/frameworks/base/test-base/src/junit/framework/
H A DAssert.java273 String formatted= ""; in failSame() local
275 formatted= message+" "; in failSame()
276 fail(formatted+"expected not same"); in failSame()
280 String formatted= ""; in failNotSame() local
282 formatted= message+" "; in failNotSame()
283 fail(formatted+"expected same:<"+expected+"> was not:<"+actual+">"); in failNotSame()
291 String formatted= ""; in format() local
293 formatted= message+" "; in format()
294 return formatted+"expected:<"+expected+"> but was:<"+actual+">"; in format()
H A DComparisonCompactor.java82 String formatted= ""; in format() local
84 formatted= message+" "; in format()
85 return formatted+"expected:<"+expected+"> but was:<"+actual+">"; in format()
/aosp14/frameworks/base/services/core/java/com/android/server/recoverysystem/hal/
H A DBootControlHIDL.java119 "isSlotBootable() failed, Slot %d might be invalid.".formatted(slot)); in isSlotBootable()
129 "isSlotMarkedSuccessful() failed, Slot %d might be invalid.".formatted(slot)); in isSlotMarkedSuccessful()
146 throw new RemoteException("Error setActiveBootSlot(%d) %s".formatted(slot, res.errMsg)); in setActiveBootSlot()
155 "Error setSlotAsUnbootable(%d) %s".formatted(slot, res.errMsg)); in setSlotAsUnbootable()
165 throw new RemoteException("Error setSnapshotMergeStatus(%d)".formatted(status)); in setSnapshotMergeStatus()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DClock.java490 SpannableStringBuilder formatted = new SpannableStringBuilder(result); in getSmallTime() local
492 formatted.delete(magic1, magic2+1); in getSmallTime()
496 formatted.setSpan(style, magic1, magic2, in getSmallTime()
499 formatted.delete(magic2, magic2 + 1); in getSmallTime()
500 formatted.delete(magic1, magic1 + 1); in getSmallTime()
502 return formatted; in getSmallTime()
/aosp14/frameworks/base/core/java/android/view/displayhash/
H A DDisplayHash.java172 String formatted = String.format("%02X", byteArray[i] & 0xFF); in byteArrayToString() local
173 b.append(formatted); in byteArrayToString()
H A DVerifiedDisplayHash.java72 String formatted = String.format("%02X", byteArray[i] & 0xFF); in byteArrayToString() local
73 b.append(formatted); in byteArrayToString()
/aosp14/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
H A DLogParser.kt77 val formatted = format.format(*(args.toTypedArray())) regex
78 ps.print("${configEntry.level} ${configEntry.tag}: $formatted\n")
/aosp14/system/core/init/
H A Dinit.cpp293 char* formatted; in ErrorHandler() local
294 if (vasprintf(&formatted, msg, args) >= 0) { in ErrorHandler()
295 LOG(ERROR) << formatted; in ErrorHandler()
297 free(formatted); in ErrorHandler()
H A DREADME.md1035 1) Well formatted action, service and import sections, e.g. no actions without a preceding 'on'
/aosp14/frameworks/base/tools/aapt2/
H A DResourceParser.cpp835 bool formatted = true; in ParseString() local
843 formatted = maybe_formatted.value(); in ParseString()
867 if (formatted && translatable) { in ParseString()
/aosp14/system/core/fastboot/
H A DREADME.md67 a. INFO -> display the formatted remaining 252 bytes and return to #4
/aosp14/frameworks/base/tools/aapt/
H A DResourceTable.cpp1358 String16 formatted; in compileResourceFile() local
1369 formatted.setTo(block.getAttributeStringValue(i, &length)); in compileResourceFile()
1400 if (formatted == false16) { in compileResourceFile()
/aosp14/frameworks/base/media/native/midi/include/
H A DDoxyfile283 # FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran:
285 # or free formatted code, this is the default for Fortran type files), VHDL. For
2028 # formatted so it can be parsed by a human reader. This is useful if you want to
/aosp14/frameworks/base/core/proto/android/providers/settings/
H A Dglobal.proto753 // The value is a specially formatted string that describes the size and
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt27068 HSPLjava/text/DontCareFieldPosition$1;->formatted(ILjava/text/Format$Field;Ljava/lang/Object;IILjav…
27071 HSPLjava/text/FieldPosition$Delegate;->formatted(ILjava/text/Format$Field;Ljava/lang/Object;IILjava…