Home
last modified time | relevance | path

Searched refs:second (Results 1 – 25 of 380) sorted by relevance

12345678910>>...16

/system/netd/server/
DControllersTest.cpp222 ASSERT_NE(std::string::npos, expected[7].second.find("*filter\n-S OUTPUT\n")); in TEST_F()
232 ASSERT_NE(std::string::npos, expected[9].second.find("*filter\n-S OUTPUT\n")); in TEST_F()
237 DELETE_SUBSTRING("-A OUTPUT -j oem_out\n", expected[10].second); in TEST_F()
238 DELETE_SUBSTRING("-A OUTPUT -j st_OUTPUT\n", expected[10].second); in TEST_F()
242 ASSERT_NE(std::string::npos, expected[13].second.find("*mangle\n-S POSTROUTING\n")); in TEST_F()
251 DELETE_SUBSTRING("-A POSTROUTING -j oem_mangle_post\n", expected[14].second); in TEST_F()
252 DELETE_SUBSTRING("-A POSTROUTING -j bw_mangle_POSTROUTING\n", expected[14].second); in TEST_F()
253 DELETE_SUBSTRING("-A POSTROUTING -j idletimer_mangle_POSTROUTING\n", expected[14].second); in TEST_F()
262 ASSERT_EQ(expectedCmd14, expected[14].second); in TEST_F()
DTcpSocketMonitor.cpp119 if (stats.second.nSockets == 0) { in dump()
124 stats.second.sent, in dump()
125 stats.second.lost, in dump()
126 stats.second.rttUs / 1000.0 / stats.second.nSockets, in dump()
127 stats.second.sentAckDiffMs / stats.second.nSockets); in dump()
135 dw.println("netId=%u uid=%u cookie=%" PRIu64, stats.second.mark.netId, stats.second.uid, in dump()
225 if (it->second.lastUpdate < now) { in poll()
240 int32_t nSockets = stats.second.nSockets; in poll()
245 sentPackets.push_back(stats.second.sent); in poll()
246 lostPackets.push_back(stats.second.lost); in poll()
[all …]
/system/apex/apexd/
Dapex_database.h100 CHECK(insert_it.second); in AddMountedApexLocked()
104 auto check_it = it->second.emplace( in AddMountedApexLocked()
106 CHECK(check_it.second); in AddMountedApexLocked()
129 auto& pkg_map = it->second;
153 auto& pkg_map = it->second; in SetLatestLocked()
157 pkg_it->second = true; in SetLatestLocked()
161 reset_it->second = false; in SetLatestLocked()
180 for (auto& pair : it->second) {
182 handler(pair.first, pair.second);
193 for (const auto& pair : pkg.second) {
[all …]
Dapex_file_repository.cpp139 } else if (it->second.GetPath() != apex_file->GetPath()) { in ScanBuiltInDir()
151 LOG(level) << "Found two apex packages " << it->second.GetPath() in ScanBuiltInDir()
154 } else if (it->second.GetBundledPublicKey() != in ScanBuiltInDir()
156 LOG(FATAL) << "Public key of apex package " << it->second.GetPath() in ScanBuiltInDir()
291 << it->second.GetPath(); in AddBlockApex()
361 const auto& existing_version = it->second.GetManifest().version(); in AddDataApex()
367 it->second = std::move(*apex_file); in AddDataApex()
384 if (it != data_store_.end() && IsBlockApex(it->second)) { in GetPublicKey()
385 return it->second.GetBundledPublicKey(); in GetPublicKey()
389 return it->second.GetBundledPublicKey(); in GetPublicKey()
[all …]
/system/core/storaged/
Dstoraged_service.cpp51 rec.second.bytes[READ][FOREGROUND][CHARGER_OFF], in dumpUidRecords()
52 rec.second.bytes[WRITE][FOREGROUND][CHARGER_OFF], in dumpUidRecords()
53 rec.second.bytes[READ][BACKGROUND][CHARGER_OFF], in dumpUidRecords()
54 rec.second.bytes[WRITE][BACKGROUND][CHARGER_OFF], in dumpUidRecords()
55 rec.second.bytes[READ][FOREGROUND][CHARGER_ON], in dumpUidRecords()
56 rec.second.bytes[WRITE][FOREGROUND][CHARGER_ON], in dumpUidRecords()
57 rec.second.bytes[READ][BACKGROUND][CHARGER_ON], in dumpUidRecords()
58 rec.second.bytes[WRITE][BACKGROUND][CHARGER_ON]); in dumpUidRecords()
78 const io_usage& task_usage = task_it.second; in dumpUidRecordsDebug()
147 if (last_ts != it.second.start_ts) { in dump()
[all …]
/system/extras/tests/lib/testUtil/
DtestUtil.c101 const struct timespec *second) in tsDelta() argument
106 assert(second != NULL); in tsDelta()
108 assert(second->tv_nsec >= 0 && second->tv_nsec < nSecsPerSec); in tsDelta()
109 rv.tv_sec = second->tv_sec - first->tv_sec; in tsDelta()
110 if (second->tv_nsec >= first->tv_nsec) { in tsDelta()
111 rv.tv_nsec = second->tv_nsec - first->tv_nsec; in tsDelta()
113 rv.tv_nsec = (second->tv_nsec + nSecsPerSec) - first->tv_nsec; in tsDelta()
124 const struct timeval *second) in tvDelta() argument
129 assert(second != NULL); in tvDelta()
131 assert(second->tv_usec >= 0 && second->tv_usec < uSecsPerSec); in tvDelta()
[all …]
/system/core/libcutils/
Dfs_config_test.cpp84 size_t second; in check_unique() local
87 for (second = idx + 1; second < paths.size(); ++second) { in check_unique()
88 if (path == paths[second]) { in check_unique()
99 for (second = 0; second < paths.size(); ++second) { in check_unique()
100 if (path == paths[second]) { in check_unique()
102 << paths[idx] << " and " << paths[second] in check_unique()
115 for (second = 0; second < paths.size(); ++second) { in check_unique()
116 if (path == paths[second]) break; in check_unique()
118 if (second >= paths.size()) { in check_unique()
/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/unions/
DUnionInUnion.java8 public final static int second = 1; // int second; field in UnionInUnion
49 public static UnionInUnion second(int _value) { in second() method in UnionInUnion
50 return new UnionInUnion(second, _value); in second()
54 _assertTag(second); in getSecond()
59 _set(second, _value); in setSecond()
80 case second: in writeToParcel()
95 case second: { in readFromParcel()
126 case second: return "android.aidl.tests.unions.UnionInUnion.second(" + (getSecond()) + ")"; in toString()
155 case second: return "second"; in _tagString()
166 public static final int second = 1; field
/system/linkerconfig/modules/
Dsection.cc80 iter->second, in Resolve()
128 ns.GetLink(it->second).AddSharedLib(lib); in Resolve()
130 ns.GetLink(it->second.namespace_name).AddSharedLib(lib); in Resolve()
132 add_namespace(it->second.namespace_name, [&]() { in Resolve()
133 return ctx.BuildApexNamespace(it->second, false); in Resolve()
138 ns.GetLink(it->second.ns).AddSharedLib(it->second.shared_libs); in Resolve()
140 add_namespace(it->second.ns, it->second.ns_builder); in Resolve()
/system/extras/simpleperf/
DETMRecorder.cpp122 if (p.second.GetMajorVersion() < 4) { in CheckEtmSupport()
125 if (!p.second.IsContextIDSupported()) { in CheckEtmSupport()
128 if (!p.second.IsEnabled()) { in CheckEtmSupport()
214 ts_supported &= p.second.IsTimestampSupported(); in BuildEtmConfig()
235 if (p.second.trcdevarch == 0) { in CreateAuxTraceInfoRecord()
245 e.trcidr0 = p.second.trcidr0; in CreateAuxTraceInfoRecord()
246 e.trcidr1 = p.second.trcidr1; in CreateAuxTraceInfoRecord()
247 e.trcidr2 = p.second.trcidr2; in CreateAuxTraceInfoRecord()
248 e.trcidr8 = p.second.trcidr8; in CreateAuxTraceInfoRecord()
249 e.trcauthstatus = p.second.trcauthstatus; in CreateAuxTraceInfoRecord()
[all …]
Dthread_tree_test.cpp45 prev_end = pair.second->get_end_addr(); in CheckMaps()
46 ASSERT_EQ(pair.second->start_addr, pair.first); in CheckMaps()
47 ASSERT_GT(pair.second->len, 0u); in CheckMaps()
48 ASSERT_EQ(pair.second->pgoff, pair.first); in CheckMaps()
49 if (names.size() < pair.second->get_end_addr()) { in CheckMaps()
50 names.resize(pair.second->get_end_addr()); in CheckMaps()
52 for (uint64_t i = pair.first; i < pair.second->get_end_addr(); ++i) { in CheckMaps()
53 names[i] = pair.second->dso->Path(); in CheckMaps()
Dthread_tree.cpp63 InsertMap(*child->maps, *pair.second); in ForkThread()
71 return it->second.get(); in FindThread()
78 if (it != thread_tree_.end() && pid == it->second.get()->pid) { in FindThreadOrNew()
79 return it->second.get(); in FindThreadOrNew()
82 ExitThread(it->second.get()->pid, tid); in FindThreadOrNew()
106 CHECK(pair.second); in CreateThread()
112 AddThreadMapsForDsoSymbols(thread, it->second.get()); in CreateThread()
120 if (it != thread_tree_.end() && pid == it->second.get()->pid) { in ExitThread()
155 return it->second.get(); in FindKernelModuleDsoOrNew()
201 CHECK(pair.second); in FindUserDsoOrNew()
[all …]
Dcmd_inject.cpp69 HashCombine(seed, ap.second); in operator ()()
144 auto res = range_count_map.emplace(p.first, p.second); in Merge()
145 if (!res.second) { in Merge()
146 OverflowSafeAdd(res.first->second, p.second); in Merge()
150 auto res = branch_count_map.emplace(p.first, p.second); in Merge()
151 if (!res.second) { in Merge()
152 OverflowSafeAdd(res.first->second, p.second); in Merge()
169 branch_map[other_p.first] = std::move(other_p.second); in Merge()
171 auto& map2 = it->second; in Merge()
172 for (auto& other_p2 : other_p.second) { in Merge()
[all …]
/system/nvram/messages/
Dblob.cpp43 void swap(Blob& first, Blob& second) { in swap() argument
48 first.data_ = second.data_; in swap()
49 first.size_ = second.size_; in swap()
50 second.data_ = data_tmp; in swap()
51 second.size_ = size_tmp; in swap()
/system/unwinding/libunwindstack/tests/
DDwarfCfaTest.cpp113 ASSERT_EQ(DWARF_LOCATION_OFFSET, location->second.type); in TYPED_TEST_P()
114 ASSERT_EQ(32U, location->second.values[0]); in TYPED_TEST_P()
128 ASSERT_EQ(DWARF_LOCATION_OFFSET, location->second.type); in TYPED_TEST_P()
129 ASSERT_EQ(1056U, location->second.values[0]); in TYPED_TEST_P()
144 ASSERT_EQ(DWARF_LOCATION_OFFSET, location->second.type); in TYPED_TEST_P()
145 ASSERT_EQ(2U, location->second.values[0]); in TYPED_TEST_P()
159 ASSERT_EQ(DWARF_LOCATION_OFFSET, location->second.type); in TYPED_TEST_P()
160 ASSERT_EQ(2306U, location->second.values[0]); in TYPED_TEST_P()
175 ASSERT_EQ(DWARF_LOCATION_OFFSET, location->second.type); in TYPED_TEST_P()
176 ASSERT_EQ(0x80U, location->second.values[0]); in TYPED_TEST_P()
[all …]
/system/logging/logcat/tests/
Dlogcat_benchmark.cpp41 int second; in BM_logcat_sorted_order() member in BM_logcat_sorted_order::timestamp
50 &minute, &second, &millisecond) == 6; in BM_logcat_sorted_order()
67 ((second < T.second) || in BM_logcat_sorted_order()
68 ((second == T.second) && in BM_logcat_sorted_order()
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/android/aidl/tests/unions/
DUnionInUnion.cpp22 case second: { in readFromParcel()
26 set<second>(_aidl_value); in readFromParcel()
29 set<second>(std::move(_aidl_value)); in readFromParcel()
40 case second: return _aidl_parcel->writeInt32(get<second>()); in writeToParcel()
/system/tools/aidl/tests/golden_output/aidl-test-interface-ndk-source/gen/android/aidl/tests/unions/
DUnionInUnion.cpp27 case second: { in readFromParcel()
31 set<second>(_aidl_value); in readFromParcel()
34 set<second>(std::move(_aidl_value)); in readFromParcel()
45 case second: return ::ndk::AParcel_writeData(_parcel, get<second>()); in writeToParcel()
/system/logging/logd/
DLogTags.cpp94 if (!stat(filename, &sb) && ((size_t)sb.st_size >= iwater->second)) { in RebuildFileEventLogTags()
170 } else if (ut->second.find(uid) == ut->second.end()) { in AddEventLogTags()
171 const_cast<uid_list&>(ut->second).emplace(uid); in AddEventLogTags()
373 if ((it == tag2name.end()) || (it->second.length() == 0)) return nullptr; in tagToName()
375 return it->second.c_str(); in tagToName()
406 return iform->second.c_str(); in tagToFormat()
420 if (ik != key2tag.end()) ret = ik->second; in nameToTag()
442 return ik->second; in nameToTag_locked()
451 return ik->second; in nameToTag_locked()
460 std::string localKey(it->second); in nameToTag_locked()
[all …]
/system/extras/memtrack/
Dmemtrack.cpp168 it->second.pids.clear(); in scan()
207 if (it->second.pids.size() > all_[it->first].max_num_pids) { in scan()
208 all_[it->first].max_num_pids = it->second.pids.size(); in scan()
211 all_[it->first].pids = it->second.pids; in scan()
213 if (it->second.pss_kb > all_[it->first].max_pss_kb) { in scan()
214 all_[it->first].max_pss_kb = it->second.pss_kb; in scan()
218 it->second.pss_kb < all_[it->first].min_pss_kb) { in scan()
219 all_[it->first].min_pss_kb = it->second.pss_kb; in scan()
222 all_[it->first].last_pss_kb = it->second.pss_kb; in scan()
224 computeAvg(&all_[it->first].avg_pss_kb, it->second.pss_kb, in scan()
[all …]
/system/logging/liblog/
Devent_tag_map.cpp88 fprintf(stderr, errorFormat, it->first, (int)it->second.first.length(), in emplaceUnique()
89 it->second.first.data(), (int)it->second.second.length(), in emplaceUnique()
90 it->second.second.data(), tag, (int)tagfmt.first.length(), in emplaceUnique()
91 tagfmt.first.data(), (int)tagfmt.second.length(), in emplaceUnique()
92 tagfmt.second.data()); in emplaceUnique()
102 if (!tagfmt.second.length() && (it != Tag2Idx.end())) { in emplaceUnique()
118 return &(it->second); in find()
125 return it->second; in find()
381 if (len) *len = str->second.length(); in android_lookupEventFormat_len()
382 return str->second.data(); in android_lookupEventFormat_len()
/system/media/audio_utils/include/audio_utils/
DLogPlot.h61 const T maxVal = (*result.second).first; in audio_utils_log_plot()
95 const bool start = it->second; in audio_utils_log_plot()
147 int maxCount = it->second;
153 if (it->second > maxCount) {
154 maxCount = it->second;
171 ss << std::setw(colWidth) << x.second;
190 (x.second < value ? " " : "|");
/system/incremental_delivery/incfs/include/
Dpath.h116 std::string join(std::string&& first, std::string_view second, Paths&&... paths) { in join() argument
120 result.reserve(first.size() + second.size() + 1 + (sizeof...(paths) + ... + size(paths))); in join()
122 (details::appendNextPath(result, second), ..., in join()
128 std::string join(std::string_view first, std::string_view second, Paths&&... paths) { in join() argument
129 return join(std::string(), first, second, std::forward<Paths>(paths)...); in join()
132 std::string join(const char* first, std::string_view second, Paths&&... paths) { in join() argument
133 return path::join(std::string_view(first), second, std::forward<Paths>(paths)...); in join()
/system/tools/aidl/tests/golden_output/aidl-test-interface-ndk-source/gen/include/aidl/android/aidl/tests/unions/
DUnionInUnion.h38 second = 1, enumerator
43 static const inline Tag second = Tag::second; variable
118 case second: os << "second: " << ::android::internal::ToString(get<second>()); break; in toString()
140 case UnionInUnion::Tag::second: in toString()
158 aidl::android::aidl::tests::unions::UnionInUnion::Tag::second,
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/unions/
DUnionInUnion.h29 second = 1, enumerator
33 static const inline Tag second = Tag::second; variable
110 case second: os << "second: " << ::android::internal::ToString(get<second>()); break; in toString()
130 case UnionInUnion::Tag::second: in toString()
147 ::android::aidl::tests::unions::UnionInUnion::Tag::second,

12345678910>>...16