Home
last modified time | relevance | path

Searched refs:ResultStatus (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/av/media/bufferpool/2.0/
DClientManager.cpp98 ResultStatus registerSender(const sp<IAccessor> &accessor,
102 ResultStatus registerSender(const sp<IClientManager> &receiver,
106 ResultStatus create(const std::shared_ptr<BufferPoolAllocator> &allocator,
109 ResultStatus close(ConnectionId connectionId);
111 ResultStatus flush(ConnectionId connectionId);
113 ResultStatus allocate(ConnectionId connectionId,
118 ResultStatus receive(ConnectionId connectionId,
125 ResultStatus postSend(ConnectionId receiverId,
130 ResultStatus getAccessor(ConnectionId connectionId,
168 ResultStatus ClientManager::Impl::registerSender( in registerSender()
[all …]
DBufferPoolClient.cpp65 ResultStatus flush();
67 ResultStatus allocate(const std::vector<uint8_t> &params,
71 ResultStatus receive(
100 ResultStatus allocateBufferHandle(
104 ResultStatus fetchBufferHandle(
273 ResultStatus status = accessor->connect( in Impl()
277 if (status == ResultStatus::OK) { in Impl()
303 (ResultStatus status, sp<IConnection> connection, in Impl()
307 if (status == ResultStatus::OK) { in Impl()
344 ResultStatus BufferPoolClient::Impl::flush() { in flush()
[all …]
DAccessor.cpp134 ResultStatus status = connect( in connect()
136 if (status == ResultStatus::OK) { in connect()
160 ResultStatus Accessor::flush() { in flush()
163 return ResultStatus::OK; in flush()
165 return ResultStatus::CRITICAL_ERROR; in flush()
168 ResultStatus Accessor::allocate( in allocate()
175 return ResultStatus::CRITICAL_ERROR; in allocate()
178 ResultStatus Accessor::fetch( in fetch()
184 return ResultStatus::CRITICAL_ERROR; in fetch()
187 ResultStatus Accessor::connect( in connect()
[all …]
DConnection.cpp28 ResultStatus status = ResultStatus::CRITICAL_ERROR; in fetch()
34 if (status == ResultStatus::OK) { in fetch()
71 ResultStatus Connection::flush() { in flush()
75 return ResultStatus::CRITICAL_ERROR; in flush()
78 ResultStatus Connection::allocate( in allocate()
84 return ResultStatus::CRITICAL_ERROR; in allocate()
DBufferPoolClient.h38 using ::android::hardware::media::bufferpool::V2_0::ResultStatus;
76 ResultStatus getAccessor(sp<IAccessor> *accessor);
80 ResultStatus flush();
82 ResultStatus allocate(const std::vector<uint8_t> &params,
86 ResultStatus receive(TransactionId transactionId,
92 ResultStatus postSend(ConnectionId receiver,
DAccessor.h99 ResultStatus flush();
112 ResultStatus allocate(
130 ResultStatus fetch(
156 ResultStatus connect(
172 ResultStatus close(ConnectionId connectionId);
DBufferStatus.cpp56 ResultStatus BufferStatusObserver::open( in open()
60 return ResultStatus::CRITICAL_ERROR; in open()
66 return ResultStatus::NO_MEMORY; in open()
74 return ResultStatus::NO_MEMORY; in open()
76 return ResultStatus::OK; in open()
79 ResultStatus BufferStatusObserver::close(ConnectionId id) { in close()
81 return ResultStatus::CRITICAL_ERROR; in close()
84 return ResultStatus::OK; in close()
/frameworks/av/media/bufferpool/1.0/
DClientManager.cpp96 ResultStatus registerSender(const sp<IAccessor> &accessor,
100 ResultStatus registerSender(const sp<IClientManager> &receiver,
104 ResultStatus create(const std::shared_ptr<BufferPoolAllocator> &allocator,
107 ResultStatus close(ConnectionId connectionId);
109 ResultStatus allocate(ConnectionId connectionId,
114 ResultStatus receive(ConnectionId connectionId,
121 ResultStatus postSend(ConnectionId receiverId,
126 ResultStatus getAccessor(ConnectionId connectionId,
161 ResultStatus ClientManager::Impl::registerSender( in registerSender()
176 return ResultStatus::ALREADY_EXISTS; in registerSender()
[all …]
DBufferPoolClient.cpp61 ResultStatus allocate(const std::vector<uint8_t> &params,
65 ResultStatus receive(
90 ResultStatus allocateBufferHandle(
94 ResultStatus fetchBufferHandle(
251 ResultStatus status = accessor->connect( in Impl()
253 if (status == ResultStatus::OK) { in Impl()
271 (ResultStatus status, sp<IConnection> connection, in Impl()
273 if (status == ResultStatus::OK) { in Impl()
301 ResultStatus BufferPoolClient::Impl::allocate( in allocate()
306 return ResultStatus::CRITICAL_ERROR; in allocate()
[all …]
DAccessor.cpp122 ResultStatus status = connect(&connection, &connectionId, &fmqDesc, false); in connect()
123 if (status == ResultStatus::OK) { in connect()
144 ResultStatus Accessor::allocate( in allocate()
151 return ResultStatus::CRITICAL_ERROR; in allocate()
154 ResultStatus Accessor::fetch( in fetch()
160 return ResultStatus::CRITICAL_ERROR; in fetch()
163 ResultStatus Accessor::connect( in connect()
167 ResultStatus status = mImpl->connect(this, connection, pConnectionId, fmqDescPtr); in connect()
168 if (!local && status == ResultStatus::OK) { in connect()
174 return ResultStatus::CRITICAL_ERROR; in connect()
[all …]
DBufferStatus.cpp43 ResultStatus BufferStatusObserver::open( in open()
47 return ResultStatus::CRITICAL_ERROR; in open()
53 return ResultStatus::NO_MEMORY; in open()
61 return ResultStatus::NO_MEMORY; in open()
63 return ResultStatus::OK; in open()
66 ResultStatus BufferStatusObserver::close(ConnectionId id) { in close()
68 return ResultStatus::CRITICAL_ERROR; in close()
71 return ResultStatus::OK; in close()
DBufferPoolClient.h36 using ::android::hardware::media::bufferpool::V1_0::ResultStatus;
72 ResultStatus getAccessor(sp<IAccessor> *accessor);
74 ResultStatus allocate(const std::vector<uint8_t> &params,
78 ResultStatus receive(TransactionId transactionId,
84 ResultStatus postSend(ConnectionId receiver,
DConnection.cpp28 ResultStatus status = ResultStatus::CRITICAL_ERROR; in fetch()
34 if (status == ResultStatus::OK) { in fetch()
71 ResultStatus Connection::allocate( in allocate()
77 return ResultStatus::CRITICAL_ERROR; in allocate()
DAccessorImpl.cpp140 ResultStatus Accessor::Impl::connect( in connect()
144 ResultStatus status = ResultStatus::CRITICAL_ERROR; in connect()
151 if (status == ResultStatus::OK) { in connect()
169 ResultStatus Accessor::Impl::close(ConnectionId connectionId) { in close()
177 return ResultStatus::OK; in close()
180 ResultStatus Accessor::Impl::allocate( in allocate()
185 ResultStatus status = ResultStatus::OK; in allocate()
192 if (status == ResultStatus::OK) { in allocate()
196 status == ResultStatus::OK, *bufferId, *handle); in allocate()
198 if (status == ResultStatus::OK) { in allocate()
[all …]
DAccessor.h108 ResultStatus allocate(
126 ResultStatus fetch(
148 ResultStatus connect(
160 ResultStatus close(ConnectionId connectionId);
DAccessorImpl.h42 ResultStatus connect(
46 ResultStatus close(ConnectionId connectionId);
48 ResultStatus allocate(ConnectionId connectionId,
53 ResultStatus fetch(ConnectionId connectionId,
273 ResultStatus addNewBuffer(
/frameworks/av/media/bufferpool/1.0/vts/
Dsingle.cpp35 using android::hardware::media::bufferpool::V1_0::ResultStatus;
54 ResultStatus status; in SetUp()
64 ASSERT_TRUE(status == ResultStatus::OK); in SetUp()
69 ASSERT_TRUE(status == ResultStatus::ALREADY_EXISTS && in SetUp()
96 ResultStatus status; in TEST_F()
104 ASSERT_TRUE(status == ResultStatus::OK); in TEST_F()
117 ResultStatus status; in TEST_F()
126 ASSERT_TRUE(status == ResultStatus::OK); in TEST_F()
138 ResultStatus status; in TEST_F()
149 ASSERT_TRUE(status == ResultStatus::OK); in TEST_F()
[all …]
Dmulti.cpp40 using android::hardware::media::bufferpool::V1_0::ResultStatus;
74 ResultStatus status; in SetUp()
98 ASSERT_TRUE(status == ResultStatus::OK); in SetUp()
159 ResultStatus status = mManager->receive( in doReceiver()
163 if (status != ResultStatus::OK) { in doReceiver()
178 ResultStatus status; in TEST_F()
188 ASSERT_TRUE(status == ResultStatus::OK); in TEST_F()
198 ASSERT_TRUE(status == ResultStatus::OK); in TEST_F()
203 ASSERT_TRUE(status == ResultStatus::OK); in TEST_F()
/frameworks/av/media/bufferpool/2.0/tests/
Dsingle.cpp35 using android::hardware::media::bufferpool::V2_0::ResultStatus;
54 ResultStatus status; in SetUp()
64 ASSERT_TRUE(status == ResultStatus::OK); in SetUp()
69 ASSERT_TRUE(status == ResultStatus::ALREADY_EXISTS && in SetUp()
96 ResultStatus status; in TEST_F()
104 ASSERT_TRUE(status == ResultStatus::OK); in TEST_F()
121 ResultStatus status; in TEST_F()
130 ASSERT_TRUE(status == ResultStatus::OK); in TEST_F()
146 ResultStatus status; in TEST_F()
157 ASSERT_TRUE(status == ResultStatus::OK); in TEST_F()
[all …]
DBufferpoolUnitTest.cpp34 using android::hardware::media::bufferpool::V2_0::ResultStatus;
104 ResultStatus status = mManager->create(mAllocator, &mConnectionId); in setupBufferpoolManager()
105 ASSERT_EQ(status, ResultStatus::OK) in setupBufferpoolManager()
169 ResultStatus err = ResultStatus::OK; in doReceiver()
196 if (err != ResultStatus::OK) { in doReceiver()
218 if (err != ResultStatus::OK) { in doReceiver()
243 ResultStatus status; in TEST_F()
248 ASSERT_EQ(status, ResultStatus::OK) << "allocate failed for " << i << "iteration"; in TEST_F()
277 ResultStatus status; in TEST_F()
284 ASSERT_EQ(status, ResultStatus::OK) << "allocate failed for " << i << "iteration"; in TEST_F()
[all …]
Dmulti.cpp40 using android::hardware::media::bufferpool::V2_0::ResultStatus;
74 ResultStatus status; in SetUp()
98 ASSERT_TRUE(status == ResultStatus::OK); in SetUp()
159 ResultStatus status = mManager->receive( in doReceiver()
163 if (status != ResultStatus::OK) { in doReceiver()
185 ResultStatus status; in TEST_F()
195 ASSERT_TRUE(status == ResultStatus::OK); in TEST_F()
205 ASSERT_TRUE(status == ResultStatus::OK); in TEST_F()
214 ASSERT_TRUE(status == ResultStatus::OK); in TEST_F()
Dcond.cpp41 using android::hardware::media::bufferpool::V2_0::ResultStatus;
77 ResultStatus status; in SetUp()
101 ASSERT_TRUE(status == ResultStatus::OK); in SetUp()
165 ResultStatus status = mManager->receive( in doReceiver()
169 if (status != ResultStatus::OK) { in doReceiver()
204 ResultStatus status; in TEST_F()
214 ASSERT_TRUE(status == ResultStatus::OK); in TEST_F()
226 ASSERT_TRUE(status == ResultStatus::OK); in TEST_F()
234 ASSERT_TRUE(status == ResultStatus::OK); in TEST_F()
/frameworks/av/media/bufferpool/2.0/include/bufferpool/
DClientManager.h38 using ::android::hardware::media::bufferpool::V2_0::ResultStatus;
62 ResultStatus create(const std::shared_ptr<BufferPoolAllocator> &allocator,
79 ResultStatus registerSender(const sp<IClientManager> &receiver,
92 ResultStatus close(ConnectionId connectionId);
104 ResultStatus flush(ConnectionId connectionId);
122 ResultStatus allocate(ConnectionId connectionId,
145 ResultStatus receive(ConnectionId connectionId,
166 ResultStatus postSend(ConnectionId receiverId,
/frameworks/av/media/bufferpool/1.0/include/bufferpool/
DClientManager.h38 using ::android::hardware::media::bufferpool::V1_0::ResultStatus;
62 ResultStatus create(const std::shared_ptr<BufferPoolAllocator> &allocator,
79 ResultStatus registerSender(const sp<IClientManager> &receiver,
92 ResultStatus close(ConnectionId connectionId);
108 ResultStatus allocate(ConnectionId connectionId,
129 ResultStatus receive(ConnectionId connectionId,
150 ResultStatus postSend(ConnectionId receiverId,
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
Dtypes.h141 ResultStatus ResultStatus; typedef
162 virtual ResultStatus send(
201 virtual ResultStatus send(
310 ResultStatus rs);

12