Home
last modified time | relevance | path

Searched refs:tuple (Results 1 – 25 of 99) sorted by relevance

1234

/system/teeui/libteeui/include/teeui/
Dmsg_formatting.h36 std::tuple<std::remove_reference_t<T>&&...> tuple_move_helper(std::index_sequence<idx...>, in tuple_move_helper()
37 std::tuple<T...>&& t) { in tuple_move_helper()
42 std::tuple<std::remove_reference_t<T>&&...> tuple_move(std::tuple<T...>&& t) { in tuple_move()
47 std::tuple<std::remove_reference_t<T>&&...> tuple_move(std::tuple<T...>& t) { in tuple_move()
131 std::tuple<ReadStream, ReadStream::ptr_t, uint32_t> read(ReadStream in);
133 template <typename T> std::tuple<ReadStream, T> readSimpleType(ReadStream in) { in readSimpleType()
153 template <typename... Msg> std::tuple<ReadStream, Msg...> read(Message<Msg...>, ReadStream in) { in read()
163 template <typename... T> struct msg2tuple<Message<T...>> { using type = std::tuple<T...>; };
168 std::tuple<T&&...> tuple_tail(std::index_sequence<first_idx, idx...>, std::tuple<HEAD, T...>&& t) {
173 std::tuple<const T&...> tuple_tail(std::index_sequence<first_idx, idx...>,
[all …]
Dcommon_message_types.h89 template <typename T> std::tuple<ReadStream, MsgVector<T>> readSimpleVecInPlace(ReadStream in) { in readSimpleVecInPlace()
90 std::tuple<ReadStream, MsgVector<T>> result; in readSimpleVecInPlace()
109 inline std::tuple<ReadStream, ResponseCode> read(Message<ResponseCode>, ReadStream in) { in read()
117 inline std::tuple<ReadStream, TestModeCommands> read(Message<TestModeCommands>, ReadStream in) { in read()
127 inline std::tuple<ReadStream, MsgVector<uint8_t>> read(Message<MsgVector<uint8_t>>, ReadStream in) { in read()
135 inline std::tuple<ReadStream, MsgString> read(Message<MsgString>, ReadStream in) { in read()
143 inline std::tuple<ReadStream, MsgVector<UIOption>> read(Message<MsgVector<UIOption>>, in read()
155 inline std::tuple<teeui::ReadStream, teeui::Array<uint8_t, size>>
157 std::tuple<teeui::ReadStream, teeui::Array<uint8_t, size>> result; in read()
Dgeneric_messages.h82 std::tuple<ReadStream, Fields...> read(Message<Cmd<proto, CmdT, cmd>, Fields...>, ReadStream in) { in read()
88 using type = std::tuple<T...>;
91 std::tuple<ReadStream, uint32_t> readU32(ReadStream in);
94 std::tuple<ReadStream, CmdT> readCmd(ReadStream in) {
107 std::tuple<ReadStream, Command> readCommand(ReadStream in);
109 std::tuple<ReadStream, Protocol> readProtocol(ReadStream in);
Dfont_rendering.h196 static std::tuple<Error, TextContext> create();
199 std::tuple<Error, TextFace> loadFace(const Buffer& data, signed long face_index = 0) {
200 std::tuple<Error, TextFace> result;
215 std::tuple<Error, Box<pxs>, UTF8Range<const char*>>
/system/connectivity/wifilogd/tests/
Dmain_loop_unittest.cpp50 .WillOnce(Return(std::tuple<size_t, Os::Errno>{kControlSocketFd, 0})); in MainLoopTest()
81 Return(std::tuple<size_t, Os::Errno>{sizeof(protocol::Command), 0})); in TEST_F()
90 Return(std::tuple<size_t, Os::Errno>{protocol::kMaxMessageSize, 0})); in TEST_F()
98 .WillOnce(Return(std::tuple<size_t, Os::Errno>{0, 0})); in TEST_F()
106 std::tuple<size_t, Os::Errno>{protocol::kMaxMessageSize + 1, 0})); in TEST_F()
114 .WillOnce(Return(std::tuple<size_t, Os::Errno>{0, EINTR})); in TEST_F()
129 .WillByDefault(Return(std::tuple<size_t, Os::Errno>{-1, ERANGE})); in TEST_F()
137 .WillByDefault(Return(std::tuple<size_t, Os::Errno>{0, EFAULT})); in TEST_F()
Dmock_os.h38 std::tuple<int, Errno>(const std::string& socket_name));
41 std::tuple<size_t, Errno>(int fd, void* buf, size_t buflen));
42 MOCK_METHOD3(Write, std::tuple<size_t, Os::Errno>(int fd, const void* buf,
Dos_unittest.cpp102 constexpr std::tuple<int, Os::Errno> kExpectedResult{kFakeValidFd, 0}; in TEST_F()
112 constexpr std::tuple<int, Os::Errno> kExpectedResult{Os::kInvalidFd, kError}; in TEST_F()
200 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{buffer.size(), 0}; in TEST_F()
213 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{kDatagramSize, 0}; in TEST_F()
226 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{kDatagramSize, 0}; in TEST_F()
237 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{0, 0}; in TEST_F()
249 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{0, kError}; in TEST_F()
260 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{buffer.size(), 0}; in TEST_F()
271 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{kBytesWritten, 0}; in TEST_F()
280 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{0, 0}; in TEST_F()
[all …]
/system/security/keystore/
Dkeymaster_worker.h122 using type = std::function<void(ErrorType, std::tuple<std::decay_t<Args>...>&&)>;
140 const std::tuple<Args...>& tuple, std::index_sequence<I...>) {
141 cb(((*keymasterDevice_).*kmfn)(std::get<I>(tuple)...));
146 void unwrap_tuple(KMFn kmfn, std::function<void(ErrorType, std::tuple<ReturnTypes...>&&)> cb,
147 const std::tuple<Args...>& tuple, std::index_sequence<I...>) {
148 std::tuple<ReturnTypes...> returnValue;
150 std::get<I>(tuple)...,
158 tuple = std::make_tuple(std::forward<Args>(args)...)]() {
159 unwrap_tuple(kmfn, std::move(cb), tuple, std::index_sequence_for<Args...>{});
164 void addRequest(KMFn kmfn, std::function<void(ErrorType, std::tuple<ReturnTypes...>&&)> cb,
[all …]
Dauth_token_table.h74 std::tuple<Error, HardwareAuthToken> FindAuthorization(const AuthorizationSet& key_info,
77 std::tuple<Error, HardwareAuthToken>
154 std::tuple<Error, HardwareAuthToken>
157 std::tuple<Error, HardwareAuthToken> FindTimedAuthorization(const std::vector<uint64_t>& sids,
/system/teeui/libteeui/src/
Dgeneric_messages.cpp22 std::tuple<ReadStream, uint32_t> readU32(ReadStream in) { in readU32()
29 std::tuple<ReadStream, Command> readCommand(ReadStream in) { in readCommand()
38 std::tuple<ReadStream, Protocol> readProtocol(ReadStream in) { in readProtocol()
Dfont_rendering.cpp118 std::tuple<Error, TextContext> TextContext::create() { in create()
119 std::tuple<Error, TextContext> result; in create()
130 std::tuple<Error, Box<pxs>, UTF8Range<const char*>>
133 std::tuple<Error, Box<pxs>, UTF8Range<const char*>> result; in findLongestWordSequence()
Dmsg_formatting.cpp40 std::tuple<ReadStream, ReadStream::ptr_t, uint32_t> read(ReadStream in) { in read()
/system/security/keystore/include/keystore/
Dkeystore_promises.h40 class CallbackPromise<BnInterface, std::tuple<Results...>>
41 : public BnInterface, public std::promise<std::tuple<Results...>> {
59 std::tuple<::android::security::keystore::KeystoreResponse,
67 std::tuple<::android::security::keystore::KeystoreResponse,
/system/connectivity/wifilogd/
Dos.h66 virtual std::tuple<int, Errno> GetControlSocket(
86 virtual std::tuple<size_t, Errno> ReceiveDatagram(int fd, NONNULL void* buf,
96 virtual std::tuple<size_t, Errno> Write(int fd, NONNULL const void* buf,
Dos.cpp42 std::tuple<int, Os::Errno> Os::GetControlSocket( in GetControlSocket()
93 std::tuple<size_t, Os::Errno> Os::ReceiveDatagram(int fd, void* buf, in ReceiveDatagram()
112 std::tuple<size_t, Os::Errno> Os::Write(int fd, const void* buf, in Write()
/system/tools/hidl/
DgenerateJavaImpl.cpp41 for (const auto& tuple : iface->allMethodsFromRoot()) { in generateJavaImpl() local
42 const Method* method = tuple.method(); in generateJavaImpl()
48 const Interface* superInterface = tuple.interface(); in generateJavaImpl()
DgenerateJava.cpp315 for (const auto &tuple : iface->allMethodsFromRoot()) { in generateJava() local
316 const Method *method = tuple.method(); in generateJava()
318 const Interface *superInterface = tuple.interface(); in generateJava()
500 for (const auto &tuple : iface->allMethodsFromRoot()) { in generateJava() local
501 const Method *method = tuple.method(); in generateJava()
503 const Interface *superInterface = tuple.interface(); in generateJava()
/system/libvintf/
DRuntimeInfo-target.cpp173 const static std::vector<std::tuple<F, FetchFunction, std::string>> gFetchFunctions({ in fetchAllInformation()
183 for (const auto& tuple : gFetchFunctions) in fetchAllInformation() local
184 if ((flags & std::get<0>(tuple)) && (err = (*this.*std::get<1>(tuple))()) != OK) in fetchAllInformation()
185 LOG(WARNING) << "Cannot fetch or parse " << std::get<2>(tuple) << ": " in fetchAllInformation()
/system/testing/gtest_extras/
DIsolate.h61 int ChildProcessFn(const std::tuple<std::string, std::string>& test);
77 static std::string GetTestName(const std::tuple<std::string, std::string>& test) { in GetTestName()
98 std::vector<std::tuple<std::string, std::string>> tests_;
/system/teeui/libteeui/include/secure_input/
Dsecure_input_device.h35 using HsBeginCb = std::function<std::tuple<teeui::ResponseCode, Nonce>()>;
38 std::function<std::tuple<teeui::ResponseCode, secure_input::InputResponse>(
Dsecure_input_proto.h86 inline std::tuple<teeui::ReadStream, DTupKeyEvent> read(teeui::Message<DTupKeyEvent>, in read()
95 inline std::tuple<teeui::ReadStream, InputResponse> read(teeui::Message<InputResponse>, in read()
/system/update_engine/update_manager/
Dweekly_time_unittest.cc24 using std::tuple;
43 : public testing::TestWithParam<tuple<int /* start_day_of_week */,
102 : public testing::TestWithParam<tuple<int /* day_of_week */,
146 : public testing::TestWithParam<tuple<int /* test_day_of_week */,
Dpolicy_test_utils.cc29 using std::tuple;
101 update_state.download_errors = vector<tuple<int, ErrorCode, Time>>(); in GetDefaultUpdateState()
/system/teeui/libteeui/example/
Dexample_utils.h56 Error drawElements(std::tuple<Elements...>& layout, const PixelDrawer& drawPixel) { in drawElements()
64 Error handleAllEvent(std::tuple<Elements...>& layout, const Event& event) { in handleAllEvent()
/system/libhwbinder/vts/performance/
DPerfTest.h27 using std::tuple;
36 static tuple<Pipe, Pipe> createPipePair();

1234