Home
last modified time | relevance | path

Searched refs:kToken (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/neuralnetworks/aidl/utils/test/
DBufferTest.cpp44 constexpr auto kToken = nn::Request::MemoryDomainToken{1};
63 const auto result = Buffer::create(kInvalidBuffer, kToken); in TEST()
85 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
91 EXPECT_EQ(token, kToken); in TEST()
97 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
110 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
124 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
140 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
154 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
167 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
[all …]
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DBufferTest.cpp42 constexpr auto kToken = nn::Request::MemoryDomainToken{1};
61 const auto result = Buffer::create(kInvalidBuffer, kToken); in TEST()
83 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
89 EXPECT_EQ(token, kToken); in TEST()
95 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
108 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
122 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
138 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
152 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
165 const auto buffer = Buffer::create(mockBuffer, kToken).value(); in TEST()
[all …]
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DBuffer.cpp49 : kBuffer(std::move(buffer)), kToken(token) { in Buffer()
51 CHECK(kToken != static_cast<nn::Request::MemoryDomainToken>(0)); in Buffer()
55 return kToken; in getToken()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DBuffer.cpp55 : kBuffer(std::move(buffer)), kToken(token) { in Buffer()
57 CHECK(kToken != static_cast<nn::Request::MemoryDomainToken>(0)); in Buffer()
61 return kToken; in getToken()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DBuffer.h51 const nn::Request::MemoryDomainToken kToken; variable
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DBuffer.h51 const nn::Request::MemoryDomainToken kToken; variable
/hardware/interfaces/neuralnetworks/utils/common/test/
DResilientBufferTest.cpp34 constexpr auto kToken = nn::Request::MemoryDomainToken{1};
103 EXPECT_CALL(*mockBuffer, getToken()).Times(1).WillOnce(Return(kToken)); in TEST()
109 EXPECT_EQ(token, kToken); in TEST()