/system/connectivity/wifilogd/tests/ |
D | main_loop_unittest.cpp | 50 .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()
|
D | mock_os.h | 38 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,
|
D | os_unittest.cpp | 101 constexpr std::tuple<int, Os::Errno> kExpectedResult{kFakeValidFd, 0}; in TEST_F() 111 constexpr std::tuple<int, Os::Errno> kExpectedResult{Os::kInvalidFd, kError}; in TEST_F() 199 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{buffer.size(), 0}; in TEST_F() 212 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{kDatagramSize, 0}; in TEST_F() 225 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{kDatagramSize, 0}; in TEST_F() 236 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{0, 0}; in TEST_F() 248 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{0, kError}; in TEST_F() 259 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{buffer.size(), 0}; in TEST_F() 270 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{kBytesWritten, 0}; in TEST_F() 279 constexpr std::tuple<size_t, Os::Errno> kExpectedResult{0, 0}; in TEST_F() [all …]
|
D | message_buffer_unittest.cpp | 177 const std::tuple<const uint8_t*, size_t> expected{nullptr, 0}; in TEST_F() 185 const std::tuple<const uint8_t*, size_t> expected{nullptr, 0}; in TEST_F() 210 constexpr std::tuple<const uint8_t*, size_t> expected{nullptr, 0}; in TEST_F() 219 constexpr std::tuple<const uint8_t*, size_t> expected{nullptr, 0}; in TEST_F() 232 constexpr std::tuple<const uint8_t*, size_t> expected{nullptr, 0}; in TEST_F()
|
/system/security/keystore/ |
D | keymaster_worker.h | 129 using type = std::function<void(ErrorType, std::tuple<std::decay_t<Args>...>&&)>; 147 const std::tuple<Args...>& tuple, std::index_sequence<I...>) { 148 cb(((*keymasterDevice_).*kmfn)(std::get<I>(tuple)...)); 153 void unwrap_tuple(KMFn kmfn, std::function<void(ErrorType, std::tuple<ReturnTypes...>&&)> cb, 154 const std::tuple<Args...>& tuple, std::index_sequence<I...>) { 155 std::tuple<ReturnTypes...> returnValue; 157 std::get<I>(tuple)..., 165 tuple = std::make_tuple(std::forward<Args>(args)...)]() { 166 unwrap_tuple(kmfn, std::move(cb), tuple, std::index_sequence_for<Args...>{}); 171 void addRequest(KMFn kmfn, std::function<void(ErrorType, std::tuple<ReturnTypes...>&&)> cb, [all …]
|
D | auth_token_table.h | 76 std::tuple<Error, HardwareAuthToken> FindAuthorization(const AuthorizationSet& key_info, 152 std::tuple<Error, HardwareAuthToken> 155 std::tuple<Error, HardwareAuthToken> FindTimedAuthorization(const std::vector<uint64_t>& sids,
|
D | blob.cpp | 477 std::tuple<ResponseCode, Blob, Blob> 479 std::tuple<ResponseCode, Blob, Blob> result; in readBlobs() 525 std::tuple<bool, keystore::AuthorizationSet, keystore::AuthorizationSet> 527 std::tuple<bool, keystore::AuthorizationSet, keystore::AuthorizationSet> result; in getKeyCharacteristics() 702 static std::tuple<bool, uid_t, std::string> filename2UidAlias(const std::string& filepath) { in filename2UidAlias() 703 std::tuple<bool, uid_t, std::string> result; in filename2UidAlias() 727 std::tuple<ResponseCode, std::list<LockedKeyBlobEntry>> 742 return std::tuple<ResponseCode, std::list<LockedKeyBlobEntry>&&>{ResponseCode::SYSTEM_ERROR, in list() 771 return std::tuple<ResponseCode, std::list<LockedKeyBlobEntry>&&>{ResponseCode::NO_ERROR, in list()
|
D | blob.h | 150 std::tuple<bool, keystore::AuthorizationSet, keystore::AuthorizationSet> 264 static std::tuple<ResponseCode, std::list<LockedKeyBlobEntry>> 271 std::tuple<ResponseCode, Blob, Blob> readBlobs(const std::vector<uint8_t>& aes_key,
|
D | auth_token_table.cpp | 114 std::tuple<AuthTokenTable::Error, HardwareAuthToken> 134 std::tuple<AuthTokenTable::Error, HardwareAuthToken> AuthTokenTable::FindAuthPerOpAuthorization( in FindAuthPerOpAuthorization() 148 std::tuple<AuthTokenTable::Error, HardwareAuthToken>
|
D | KeyStore.h | 123 std::tuple<ResponseCode, Blob, Blob> get(const LockedKeyBlobEntry& blobfile); 136 std::tuple<ResponseCode, Blob, Blob, LockedKeyBlobEntry>
|
/system/security/keystore/include/keystore/ |
D | keystore_promises.h | 40 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/ |
D | os.h | 66 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,
|
D | os.cpp | 42 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()
|
D | memory_reader.h | 38 explicit MemoryReader(std::tuple<const uint8_t*, size_t> buf) in MemoryReader()
|
D | message_buffer.h | 71 std::tuple<const uint8_t*, size_t> ConsumeNextMessage();
|
D | message_buffer.cpp | 62 std::tuple<const uint8_t*, size_t> MessageBuffer::ConsumeNextMessage() { in ConsumeNextMessage()
|
/system/extras/simpleperf/ |
D | dso.cpp | 162 auto tuple = SplitUrlInApk(path); in GetPathInSymFsDir() local 163 if (std::get<0>(tuple)) { in GetPathInSymFsDir() 164 std::string apk_path = std::get<1>(tuple); in GetPathInSymFsDir() 165 std::string entry_path = std::get<2>(tuple); in GetPathInSymFsDir() 426 auto tuple = SplitUrlInApk(debug_file_path_); in LoadSymbols() local 428 if (std::get<0>(tuple)) { in LoadSymbols() 429 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(std::get<1>(tuple)); in LoadSymbols() 433 ahelper->FindEntry(std::get<2>(tuple), &entry) && ahelper->GetEntryData(entry, &data)) { in LoadSymbols() 478 auto tuple = SplitUrlInApk(debug_file_path_); in GetMinExecutableVaddr() local 479 if (std::get<0>(tuple)) { in GetMinExecutableVaddr() [all …]
|
D | OfflineUnwinder.cpp | 123 auto tuple = SplitUrlInApk(entry->dso->GetDebugFilePath()); in CreateMapInfo() local 124 if (std::get<0>(tuple)) { in CreateMapInfo() 127 EmbeddedElf* elf = ApkInspector::FindElfInApkByName(std::get<1>(tuple), std::get<2>(tuple)); in CreateMapInfo()
|
/system/libvintf/ |
D | RuntimeInfo-target.cpp | 167 const static std::vector<std::tuple<F, FetchFunction, std::string>> gFetchFunctions({ in fetchAllInformation() 177 for (const auto& tuple : gFetchFunctions) in fetchAllInformation() local 178 if ((flags & std::get<0>(tuple)) && (err = (*this.*std::get<1>(tuple))()) != OK) in fetchAllInformation() 179 LOG(WARNING) << "Cannot fetch or parse " << std::get<2>(tuple) << ": " in fetchAllInformation()
|
/system/testing/gtest_extras/ |
D | Isolate.h | 61 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/update_engine/update_manager/ |
D | weekly_time_unittest.cc | 24 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 */,
|
D | policy_test_utils.cc | 29 using std::tuple; 100 update_state.download_errors = vector<tuple<int, ErrorCode, Time>>(); in GetDefaultUpdateState()
|
/system/tools/hidl/ |
D | generateJava.cpp | 334 for (const auto &tuple : iface->allMethodsFromRoot()) { in generateJava() local 335 const Method *method = tuple.method(); in generateJava() 337 const Interface *superInterface = tuple.interface(); in generateJava() 537 for (const auto &tuple : iface->allMethodsFromRoot()) { in generateJava() local 538 const Method *method = tuple.method(); in generateJava() 540 const Interface *superInterface = tuple.interface(); in generateJava()
|
/system/libhwbinder/vts/performance/ |
D | PerfTest.h | 27 using std::tuple; 36 static tuple<Pipe, Pipe> createPipePair();
|
/system/extras/perfprofd/scripts/ |
D | perf_proto_stack.py | 92 tuple = (start, length, name) 93 self._list.insert(tuple) 97 tuple = self._list.find_le(addr) 98 if addr < tuple[0] + tuple[1]: 99 return tuple[2]
|