Home
last modified time | relevance | path

Searched refs:valueToString (Results 1 – 24 of 24) sorted by relevance

/frameworks/native/include/input/
DPrintTools.h91 std::string (*valueToString)(const typename T::mapped_type&) = constToString) {
97 out += keyToString(k) + ":" + valueToString(v);
119 std::string (*valueToString)(const T&) = constToString) {
123 out += valueToString(value);
/frameworks/libs/systemui/tracinglib/core/common/src/
DFlowTracing.kt29 crossinline valueToString: (T) -> String = { it.toString() } in traceEach()
33 return baseFlow.onEach { stateLogger.log(valueToString(it)) } in <lambda>()
/frameworks/native/libs/battery/
DMultiStateCounter.h116 std::string valueToString(const T& value) const;
253 str << "updateValue is called with a value " << valueToString(value) in updateValue()
254 << ", which is lower than the previous value " << valueToString(lastValue) in updateValue()
322 str << i << ": " << valueToString(states[i].counter); in toString()
DLongArrayMultiStateCounter.cpp63 std::string LongArrayMultiStateCounter::valueToString(const std::vector<uint64_t>& v) const { in valueToString() function in android::battery::LongArrayMultiStateCounter
DMultiStateCounterTest.cpp45 std::string DoubleMultiStateCounter::valueToString(const double& v) const { in valueToString() function in android::battery::DoubleMultiStateCounter
/frameworks/opt/telephony/src/java/com/android/internal/telephony/d2d/
DCommunicator.java100 + valueToString(mType, mValue) + '}'; in toString()
275 public static String valueToString(int messageType, int value) { in valueToString() method in Communicator
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkManagementServiceTest.java32 import static android.util.DebugUtils.valueToString;
431 valueToString(INetd.class, "FIREWALL_CHAIN_", chain), in testFirewallChains()
432 valueToString(INetd.class, "FIREWALL_RULE_", state)); in testFirewallChains()
/frameworks/base/core/jni/
Dcom_android_internal_os_LongMultiStateCounter.cpp52 std::string LongMultiStateCounter::valueToString(const int64_t &v) const { in valueToString() function in android::battery::LongMultiStateCounter
/frameworks/base/tools/aapt/
DAaptXml.cpp135 const char16_t* str = resTable.valueToString(&value, static_cast<size_t>(block), NULL, &len); in getResolvedAttribute()
/frameworks/base/core/java/android/os/storage/
DVolumeRecord.java127 pw.printPair("type", DebugUtils.valueToString(VolumeInfo.class, "TYPE_", type)); in dump()
DVolumeInfo.java531 pw.printPair("type", DebugUtils.valueToString(getClass(), "TYPE_", type)); in dump()
536 pw.printPair("state", DebugUtils.valueToString(getClass(), "STATE_", state)); in dump()
/frameworks/base/core/java/android/util/
DDebugUtils.java224 public static String valueToString(Class<?> clazz, String prefix, int value) { in valueToString() method in DebugUtils
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/restrictions/
DThermalStatusRestrictionTest.java234 + DebugUtils.valueToString(PowerManager.class, "THERMAL_STATUS_", status); in debugTag()
360 String msg = "Thermal Status = " + DebugUtils.valueToString( in testIsJobRestrictedBiasTopApp()
400 String msg = "Thermal Status = " + DebugUtils.valueToString( in testIsJobRestrictedBiasFgs_flagThermalRestrictionsToFgsJobsDisabled()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActivityManagerServiceTest.java34 import static android.util.DebugUtils.valueToString;
737 valueToString(ActivityManagerService.class, "NETWORK_STATE_", blockState), in testBlockStateForUid()
738 valueToString(ActivityManager.class, "PROCESS_STATE_", in testBlockStateForUid()
740 valueToString(ActivityManager.class, "PROCESS_STATE_", uidRec.getCurProcState()) in testBlockStateForUid()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DWindowMagnificationGestureHandlerTest.java426 return DebugUtils.valueToString(WindowMagnificationGestureHandlerTest.class, "STATE_", in stateToString()
DFullScreenMagnificationGestureHandlerTest.java314 return DebugUtils.valueToString( in newInstance()
1663 return DebugUtils.valueToString(FullScreenMagnificationGestureHandlerTest.class, "STATE_", in stateToString()
/frameworks/base/core/java/com/android/internal/power/
DEnergyConsumerStats.java212 return DebugUtils.valueToString(EnergyConsumerStats.class, "POWER_BUCKET_", index); in getBucketName()
/frameworks/base/services/core/java/com/android/server/wm/
DBackgroundActivityStartController.java504 sb.append("; callingUidProcState: ").append(DebugUtils.valueToString( in toString()
531 sb.append("; realCallingUidProcState: ").append(DebugUtils.valueToString( in toString()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBstatsCpuTimesValidationTest.java626 return DebugUtils.valueToString(clazz, "PROCESS_STATE_", procState); in getStateName()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h2042 const char16_t* valueToString(const Res_value* value, size_t stringBlock,
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java542 DebugUtils.valueToString(Zygote.class, "MOUNT_EXTERNAL_", mMountMode)); in dump()
DActivityManagerShellCommand.java2717 pw.printf(DebugUtils.valueToString(ActivityManager.class, "PROCESS_STATE_", state));
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4697 const char16_t* ResTable::valueToString( in valueToString() function in android::ResTable
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt56985 Landroid/util/DebugUtils;->valueToString(Ljava/lang/Class;Ljava/lang/String;I)Ljava/lang/String;