Home
last modified time | relevance | path

Searched refs:ResultStatus (Results 1 – 25 of 37) 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.cpp63 ResultStatus flush();
65 ResultStatus allocate(const std::vector<uint8_t> &params,
69 ResultStatus receive(
98 ResultStatus allocateBufferHandle(
102 ResultStatus fetchBufferHandle(
267 ResultStatus status = accessor->connect( in Impl()
271 if (status == ResultStatus::OK) { in Impl()
297 (ResultStatus status, sp<IConnection> connection, in Impl()
301 if (status == ResultStatus::OK) { in Impl()
338 ResultStatus BufferPoolClient::Impl::flush() { in flush()
[all …]
DAccessor.cpp130 ResultStatus status = connect( in connect()
132 if (status == ResultStatus::OK) { in connect()
156 ResultStatus Accessor::flush() { in flush()
159 return ResultStatus::OK; in flush()
161 return ResultStatus::CRITICAL_ERROR; in flush()
164 ResultStatus Accessor::allocate( in allocate()
171 return ResultStatus::CRITICAL_ERROR; in allocate()
174 ResultStatus Accessor::fetch( in fetch()
180 return ResultStatus::CRITICAL_ERROR; in fetch()
183 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()
DAccessorImpl.cpp147 ResultStatus Accessor::Impl::connect( in connect()
155 ResultStatus status = ResultStatus::CRITICAL_ERROR; in connect()
161 if (status == ResultStatus::OK) { in connect()
179 ResultStatus Accessor::Impl::close(ConnectionId connectionId) { in close()
189 return ResultStatus::OK; in close()
192 ResultStatus Accessor::Impl::allocate( in allocate()
197 ResultStatus status = ResultStatus::OK; in allocate()
204 if (status == ResultStatus::OK) { in allocate()
208 status == ResultStatus::OK, *bufferId, *handle); in allocate()
210 if (status == ResultStatus::OK) { in allocate()
[all …]
DAccessorImpl.h44 ResultStatus connect(
52 ResultStatus close(ConnectionId connectionId);
54 ResultStatus allocate(ConnectionId connectionId,
59 ResultStatus fetch(ConnectionId connectionId,
350 ResultStatus addNewBuffer(
/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()
150 if (status == ResultStatus::OK) { in connect()
164 ResultStatus Accessor::Impl::close(ConnectionId connectionId) { in close()
172 return ResultStatus::OK; in close()
175 ResultStatus Accessor::Impl::allocate( in allocate()
180 ResultStatus status = ResultStatus::OK; in allocate()
187 if (status == ResultStatus::OK) { in allocate()
191 status == ResultStatus::OK, *bufferId, *handle); in allocate()
193 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,
274 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()
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::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()
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/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(
297 ResultStatus rs);

12