Searched refs:UINT8_MAX (Results 1 – 4 of 4) sorted by relevance
44 private static final int UINT8_MAX = (1 << Byte.SIZE) - 1; field in MarshalQueryableEnum45 private static final int UINT8_MASK = UINT8_MAX;65 if (enumValue < UINT8_MIN || enumValue > UINT8_MAX) { in marshal()
58 static_cast<float>(mAmplitude) / UINT8_MAX); in doMain()
44 std::uniform_int_distribution<int> uniDist(0, UINT8_MAX - 1); in generateColorJpegBuffer()
300 … = hal->call(&aidl::IVibrator::IVibrator::setAmplitude, static_cast<float>(amplitude) / UINT8_MAX); in vibratorSetAmplitude()