::android::hardware::Return<void> IDevice::getHashChain(getHashChain_cb _hidl_cb){
_hidl_cb({
- (uint8_t[32]){147,235,55,87,206,175,33,89,15,164,205,29,74,125,254,59,55,148,175,83,150,16,10,109,37,99,8,121,53,42,188,233} /* 93eb3757ceaf21590fa4cd1d4a7dfe3b3794af5396100a6d25630879352abce9 */,
- (uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217} /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
+ std::move((uint8_t[32]){147,235,55,87,206,175,33,89,15,164,205,29,74,125,254,59,55,148,175,83,150,16,10,109,37,99,8,121,53,42,188,233}) /* 93eb3757ceaf21590fa4cd1d4a7dfe3b3794af5396100a6d25630879352abce9 */,
+ std::move((uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217}) /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
return ::android::hardware::Void();
}
::android::hardware::Return<void> IExecutionCallback::getHashChain(getHashChain_cb _hidl_cb){
_hidl_cb({
- (uint8_t[32]){246,111,154,56,84,27,249,32,1,211,173,204,230,120,205,126,61,162,38,33,36,190,251,70,11,28,154,234,148,146,129,59} /* f66f9a38541bf92001d3adcce678cd7e3da2262124befb460b1c9aea9492813b */,
- (uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217} /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
+ std::move((uint8_t[32]){246,111,154,56,84,27,249,32,1,211,173,204,230,120,205,126,61,162,38,33,36,190,251,70,11,28,154,234,148,146,129,59}) /* f66f9a38541bf92001d3adcce678cd7e3da2262124befb460b1c9aea9492813b */,
+ std::move((uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217}) /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
return ::android::hardware::Void();
}
::android::hardware::Return<void> IPreparedModel::getHashChain(getHashChain_cb _hidl_cb){
_hidl_cb({
- (uint8_t[32]){149,54,7,130,41,84,67,88,116,244,184,22,134,68,10,96,78,42,136,205,210,217,22,76,98,147,243,213,119,37,16,215} /* 953607822954435874f4b81686440a604e2a88cdd2d9164c6293f3d5772510d7 */,
- (uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217} /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
+ std::move((uint8_t[32]){149,54,7,130,41,84,67,88,116,244,184,22,134,68,10,96,78,42,136,205,210,217,22,76,98,147,243,213,119,37,16,215}) /* 953607822954435874f4b81686440a604e2a88cdd2d9164c6293f3d5772510d7 */,
+ std::move((uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217}) /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
return ::android::hardware::Void();
}
::android::hardware::Return<void> IPreparedModelCallback::getHashChain(getHashChain_cb _hidl_cb){
_hidl_cb({
- (uint8_t[32]){115,224,53,115,73,75,169,111,14,113,26,183,241,149,108,91,45,84,195,218,105,12,215,236,244,214,208,242,135,68,119,48} /* 73e03573494ba96f0e711ab7f1956c5b2d54c3da690cd7ecf4d6d0f287447730 */,
- (uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217} /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
+ std::move((uint8_t[32]){115,224,53,115,73,75,169,111,14,113,26,183,241,149,108,91,45,84,195,218,105,12,215,236,244,214,208,242,135,68,119,48}) /* 73e03573494ba96f0e711ab7f1956c5b2d54c3da690cd7ecf4d6d0f287447730 */,
+ std::move((uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217}) /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
return ::android::hardware::Void();
}
::android::hardware::Return<void> IAllocator::getHashChain(getHashChain_cb _hidl_cb){
_hidl_cb({
- (uint8_t[32]){252,108,187,200,162,46,218,189,75,88,248,148,158,89,19,89,211,19,141,22,168,37,6,5,46,37,172,67,225,219,218,104} /* fc6cbbc8a22edabd4b58f8949e591359d3138d16a82506052e25ac43e1dbda68 */,
- (uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217} /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
+ std::move((uint8_t[32]){252,108,187,200,162,46,218,189,75,88,248,148,158,89,19,89,211,19,141,22,168,37,6,5,46,37,172,67,225,219,218,104}) /* fc6cbbc8a22edabd4b58f8949e591359d3138d16a82506052e25ac43e1dbda68 */,
+ std::move((uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217}) /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
return ::android::hardware::Void();
}
::android::hardware::Return<void> IBase::getHashChain(getHashChain_cb _hidl_cb){
_hidl_cb({
- (uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217} /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
+ std::move((uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217}) /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
return ::android::hardware::Void();
}
::android::hardware::Return<void> IServiceManager::getHashChain(getHashChain_cb _hidl_cb){
_hidl_cb({
- (uint8_t[32]){77,4,106,89,142,133,241,194,211,131,195,169,9,108,60,5,120,233,116,88,7,46,231,230,127,112,78,153,213,251,13,63} /* 4d046a598e85f1c2d383c3a9096c3c0578e97458072ee7e67f704e99d5fb0d3f */,
- (uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217} /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
+ std::move((uint8_t[32]){77,4,106,89,142,133,241,194,211,131,195,169,9,108,60,5,120,233,116,88,7,46,231,230,127,112,78,153,213,251,13,63}) /* 4d046a598e85f1c2d383c3a9096c3c0578e97458072ee7e67f704e99d5fb0d3f */,
+ std::move((uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217}) /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
return ::android::hardware::Void();
}
::android::hardware::Return<void> IServiceNotification::getHashChain(getHashChain_cb _hidl_cb){
_hidl_cb({
- (uint8_t[32]){80,85,43,112,14,246,124,126,216,200,215,118,211,35,248,198,41,169,180,59,150,94,16,169,22,166,111,60,148,108,80,251} /* 50552b700ef67c7ed8c8d776d323f8c629a9b43b965e10a916a66f3c946c50fb */,
- (uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217} /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
+ std::move((uint8_t[32]){80,85,43,112,14,246,124,126,216,200,215,118,211,35,248,198,41,169,180,59,150,94,16,169,22,166,111,60,148,108,80,251}) /* 50552b700ef67c7ed8c8d776d323f8c629a9b43b965e10a916a66f3c946c50fb */,
+ std::move((uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217}) /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
return ::android::hardware::Void();
}
::android::hardware::Return<void> IServiceManager::getHashChain(getHashChain_cb _hidl_cb){
_hidl_cb({
- (uint8_t[32]){11,148,220,135,111,116,158,210,74,152,246,28,65,212,106,215,90,39,81,17,99,241,150,138,8,66,19,163,60,104,78,246} /* 0b94dc876f749ed24a98f61c41d46ad75a27511163f1968a084213a33c684ef6 */,
- (uint8_t[32]){77,4,106,89,142,133,241,194,211,131,195,169,9,108,60,5,120,233,116,88,7,46,231,230,127,112,78,153,213,251,13,63} /* 4d046a598e85f1c2d383c3a9096c3c0578e97458072ee7e67f704e99d5fb0d3f */,
- (uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217} /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
+ std::move((uint8_t[32]){11,148,220,135,111,116,158,210,74,152,246,28,65,212,106,215,90,39,81,17,99,241,150,138,8,66,19,163,60,104,78,246}) /* 0b94dc876f749ed24a98f61c41d46ad75a27511163f1968a084213a33c684ef6 */,
+ std::move((uint8_t[32]){77,4,106,89,142,133,241,194,211,131,195,169,9,108,60,5,120,233,116,88,7,46,231,230,127,112,78,153,213,251,13,63}) /* 4d046a598e85f1c2d383c3a9096c3c0578e97458072ee7e67f704e99d5fb0d3f */,
+ std::move((uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217}) /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
return ::android::hardware::Void();
}
::android::hardware::Return<void> IMapper::getHashChain(getHashChain_cb _hidl_cb){
_hidl_cb({
- (uint8_t[32]){43,136,91,93,236,151,57,28,130,243,94,100,24,6,134,220,76,143,120,178,176,160,23,50,248,83,99,133,101,79,39,200} /* 2b885b5dec97391c82f35e64180686dc4c8f78b2b0a01732f8536385654f27c8 */,
- (uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217} /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
+ std::move((uint8_t[32]){43,136,91,93,236,151,57,28,130,243,94,100,24,6,134,220,76,143,120,178,176,160,23,50,248,83,99,133,101,79,39,200}) /* 2b885b5dec97391c82f35e64180686dc4c8f78b2b0a01732f8536385654f27c8 */,
+ std::move((uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217}) /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
return ::android::hardware::Void();
}
::android::hardware::Return<void> IMemory::getHashChain(getHashChain_cb _hidl_cb){
_hidl_cb({
- (uint8_t[32]){70,50,36,96,23,1,62,117,83,111,166,238,71,219,40,107,36,163,35,251,146,195,124,107,20,187,10,183,150,183,161,107} /* 4632246017013e75536fa6ee47db286b24a323fb92c37c6b14bb0ab796b7a16b */,
- (uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217} /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
+ std::move((uint8_t[32]){70,50,36,96,23,1,62,117,83,111,166,238,71,219,40,107,36,163,35,251,146,195,124,107,20,187,10,183,150,183,161,107}) /* 4632246017013e75536fa6ee47db286b24a323fb92c37c6b14bb0ab796b7a16b */,
+ std::move((uint8_t[32]){189,218,182,24,77,122,52,109,166,160,125,192,130,140,241,154,105,111,76,170,54,17,197,31,46,20,86,90,20,180,15,217}) /* bddab6184d7a346da6a07dc0828cf19a696f4caa3611c51f2e14565a14b40fd9 */});
return ::android::hardware::Void();
}
}
// move constructor.
-hidl_handle::hidl_handle(hidl_handle &&other) {
+hidl_handle::hidl_handle(hidl_handle &&other) noexcept {
mOwnsHandle = false;
*this = std::move(other);
}
return *this;
}
-hidl_handle &hidl_handle::operator=(hidl_handle &&other) {
+hidl_handle &hidl_handle::operator=(hidl_handle &&other) noexcept {
if (this != &other) {
freeHandle();
mHandle = other.mHandle;
copyFrom(s.c_str(), s.size());
}
-hidl_string::hidl_string(hidl_string &&other): hidl_string() {
+hidl_string::hidl_string(hidl_string &&other) noexcept : hidl_string() {
moveFrom(std::forward<hidl_string>(other));
}
-hidl_string &hidl_string::operator=(hidl_string &&other) {
+hidl_string &hidl_string::operator=(hidl_string &&other) noexcept {
if (this != &other) {
clear();
moveFrom(std::forward<hidl_string>(other));
}
// offsetof(hidl_string, mBuffer) exposed since mBuffer is private.
- static const size_t kOffsetOfBuffer;
+ static const size_t kOffsetOfBuffer = offsetof(hidl_vec<T>, mBuffer);
private:
// Define std interator interface for walking the array contents
}
};
-template <typename T>
-const size_t hidl_vec<T>::kOffsetOfBuffer = offsetof(hidl_vec<T>, mBuffer);
////////////////////////////////////////////////////////////////////////////////
if (!implName.empty()) instanceName += " ("s + implName + ")"s;
map.emplace(path + lib, InstanceDebugInfo{.interfaceName = matchedName,
.instanceName = instanceName,
+ .pid = getpid(),
.clientPids = {},
.arch = arch});
}
reply_sent = true;
if ((tr.flags & TF_ONE_WAY) == 0) {
replyParcel.setError(NO_ERROR);
- sendReply(replyParcel, 0);
+ this->sendReply(replyParcel, 0);
} else {
ALOGE("Not sending reply in one-way transaction");
}
auto fixPointerArguments = [&requestPoolInfos](std::vector<ModelArgumentInfo>& argumentInfos) {
for (ModelArgumentInfo& argumentInfo : argumentInfos) {
if (argumentInfo.state == ModelArgumentInfo::POINTER) {
- RunTimePoolInfo runTimeInfo = {
- .buffer = static_cast<uint8_t*>(argumentInfo.buffer)};
+ //RunTimePoolInfo runTimeInfo = {
+ // .buffer = static_cast<uint8_t*>(argumentInfo.buffer)};
+ RunTimePoolInfo runTimeInfo = {};
+ runTimeInfo.buffer = static_cast<uint8_t*>(argumentInfo.buffer);
argumentInfo.locationAndLength.poolIndex =
static_cast<uint32_t>(requestPoolInfos.size());
argumentInfo.locationAndLength.offset = 0;