Home
last modified time | relevance | path

Searched refs:intVal (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
DSharedPreferencesLogger.java118 final int intVal; in logValue() local
122 intVal = Integer.MAX_VALUE; in logValue()
124 intVal = Integer.MIN_VALUE; in logValue()
126 intVal = longVal.intValue(); in logValue()
129 intVal = (int) value; in logValue()
131 intVal = (Boolean) value ? 1 : 0; in logValue()
135 intVal = Integer.MAX_VALUE; in logValue()
137 intVal = Integer.MIN_VALUE; in logValue()
139 intVal = (int) floatValue; in logValue()
150 intVal); in logValue()
/frameworks/ml/nn/common/include/
DCpuOperationUtils.h91 int32_t intVal = std::round(input[i] / scale + zeroPoint); in convertFloat32ToQuant() local
92 intVal = std::min<int32_t>(std::max<int32_t>(intVal, std::numeric_limits<T>::min()), in convertFloat32ToQuant()
94 output[i] = static_cast<T>(intVal); in convertFloat32ToQuant()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DTetheringConfiguration.java329 final int intVal = Settings.Global.getInt(cr, TETHER_ENABLE_LEGACY_DHCP_SERVER, 0); in getEnableLegacyDhcpServer() local
330 return intVal != 0; in getEnableLegacyDhcpServer()
/frameworks/ml/nn/common/operations/
DGenerateProposals.cpp503 int32_t intVal = std::round(val / shape.scale + shape.offset); in castTo() local
504 intVal = std::min<int32_t>(std::max<int32_t>(intVal, std::numeric_limits<uint8_t>::min()), in castTo()
506 return static_cast<uint8_t>(intVal); in castTo()