Lines Matching refs:bytes
60 const uint8_t *bytes = (const uint8_t *) data; in AppendBytes() local
62 buffer.push_back(bytes[i]); in AppendBytes()
67 sp<JSONObject> json, std::vector<uint8_t>& bytes) { in CopyInt32Array() argument
73 AppendBytes(&val, sizeof(uint32_t), bytes); in CopyInt32Array()
82 sp<JSONObject> json, std::vector<uint8_t>& bytes) { in CopyFloatArray() argument
88 AppendBytes(&val, sizeof(float), bytes); in CopyFloatArray()
97 std::vector<uint8_t>& bytes) { in GetCalibrationBytes() argument
108 success = CopyInt32Array(key, json, bytes); in GetCalibrationBytes()
112 success = CopyFloatArray(key, json, bytes); in GetCalibrationBytes()
120 AppendBytes(&value, sizeof(float), bytes); in GetCalibrationBytes()
128 success = CopyInt32Array(key, json, bytes); in GetCalibrationBytes()
133 AppendBytes(&value, sizeof(int32_t), bytes); in GetCalibrationBytes()
279 bool AndroidContextHub::FlashSensorHub(const std::vector<uint8_t>& bytes) { in FlashSensorHub() argument
280 (void)bytes; in FlashSensorHub()