Searched refs:newData (Results 1 – 5 of 5) sorted by relevance
/system/chre/util/ |
D | dynamic_vector_base.cc | 36 void *newData = memoryAlloc(newCapacity * elementSize); in doReserve() local 37 if (newData != nullptr) { in doReserve() 38 memcpy(newData, mData, mSize * elementSize); in doReserve() 40 mData = newData; in doReserve()
|
/system/chre/apps/test/common/chre_cross_validator_sensor/src/ |
D | chre_cross_validator_sensor_manager.cc | 446 chre_cross_validation_sensor_Data newData = { in makeSensorThreeAxisData() local 453 return newData; in makeSensorThreeAxisData() 466 chre_cross_validation_sensor_Data newData = { in makeSensorFloatData() local 473 return newData; in makeSensorFloatData() 486 chre_cross_validation_sensor_Data newData = { in makeSensorProximityData() local 493 return newData; in makeSensorProximityData() 506 chre_cross_validation_sensor_Data newData = { in makeSensorStepCounterData() local 513 return newData; in makeSensorStepCounterData() 519 chre_cross_validation_sensor_Data newData = in handleSensorThreeAxisData() local 521 sendDataToHost(newData); in handleSensorThreeAxisData() [all …]
|
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/ |
D | ContextHubGeneralTestExecutor.java | 346 ByteBuffer newData = ByteBuffer.allocate(4 + origData.length); in hackMessageToNanoApp() local 347 newData.order(ByteOrder.LITTLE_ENDIAN); in hackMessageToNanoApp() 348 newData.putInt(message.getMessageType()); in hackMessageToNanoApp() 349 newData.put(origData); in hackMessageToNanoApp() 351 message.getNanoAppId(), message.getMessageType(), newData.array()); in hackMessageToNanoApp() 364 byte[] newData = new byte[origData.remaining()]; in hackMessageFromNanoApp() 365 origData.get(newData); in hackMessageFromNanoApp() 367 message.getNanoAppId(), newMessageType, newData, in hackMessageFromNanoApp()
|
/system/chre/util/include/chre/util/ |
D | dynamic_vector_impl.h | 189 ElementType *newData = static_cast<ElementType *>( in doReserve() local 191 if (newData != nullptr) { in doReserve() 192 uninitializedMoveOrCopy(data(), mSize, newData); in doReserve() 195 mData = newData; in doReserve()
|
/system/libhwbinder/ |
D | Parcel.cpp | 1757 uint8_t* newData = (uint8_t*)malloc(newCapacity); in reallocZeroFree() local 1758 if (!newData) { in reallocZeroFree() 1762 memcpy(newData, data, std::min(oldCapacity, newCapacity)); in reallocZeroFree() 1765 return newData; in reallocZeroFree()
|