Searched refs:second (Results 1 - 25 of 35) sorted by relevance

12

/system/core/logcat/tests/
H A Dlogcat_benchmark.cpp38 int second; member in class:timestamp
48 &month, &day, &hour, &minute, &second, &millisecond) == 6;
68 && ((second < T.second)
69 || ((second == T.second)
/system/core/fastboot/
H A Dbootimg_utils.h41 void *second, unsigned second_size, unsigned second_offset,
H A Dbootimg_utils.cpp42 void *second, unsigned second_size, unsigned second_offset,
83 second, second_size);
40 mkbootimg(void *kernel, unsigned kernel_size, unsigned kernel_offset, void *ramdisk, unsigned ramdisk_size, unsigned ramdisk_offset, void *second, unsigned second_size, unsigned second_offset, unsigned page_size, unsigned base, unsigned tags_offset, unsigned *bootimg_size) argument
/system/extras/tests/lib/testUtil/
H A DtestUtil.c102 // second, is later than the time pointed to by first.
104 const struct timespec *second)
109 assert(second != NULL);
111 assert(second->tv_nsec >= 0 && second->tv_nsec < nSecsPerSec);
112 rv.tv_sec = second->tv_sec - first->tv_sec;
113 if (second->tv_nsec >= first->tv_nsec) {
114 rv.tv_nsec = second->tv_nsec - first->tv_nsec;
116 rv.tv_nsec = (second->tv_nsec + nSecsPerSec) - first->tv_nsec;
125 // second, i
103 tsDelta(const struct timespec *first, const struct timespec *second) argument
126 tvDelta(const struct timeval *first, const struct timeval *second) argument
[all...]
/system/security/keystore/
H A Doperation.cpp58 *outHandle = entry->second.handle;
59 *outKeyid = entry->second.keyid;
60 *outPurpose = entry->second.purpose;
61 *outDevice = entry->second.device;
63 *outCharacteristics = entry->second.characteristics.get();
81 sp<IBinder> appToken = entry->second.appToken;
97 auto tokenEntry = std::find(appEntry->second.begin(), appEntry->second.end(), token);
98 appEntry->second.erase(tokenEntry);
100 if (appEntry->second
[all...]
/system/bt/btcore/include/
H A Dbdaddr.h37 // Returns true if |first| and |second| refer to the same address. Neither
39 bool bdaddr_equals(const bt_bdaddr_t *first, const bt_bdaddr_t *second);
H A Duuid.h59 // |first| and |second| may not be NULL.
60 bool uuid_is_equal(const bt_uuid_t *first, const bt_uuid_t *second);
/system/extras/perfprofd/
H A Dperf_data_converter.cc81 for (const auto &module_profile : program_profile.second) {
87 iter->second = current_index++;
98 const std::string &build_id = nbmi->second;
109 for (const auto &module_profile : program_profile.second) {
113 for (const auto &addr_count : module_profile.second.address_count_map) {
116 address_samples->set_count(addr_count.second);
118 for (const auto &range_count : module_profile.second.range_count_map) {
123 range_samples->set_count(range_count.second);
H A Dperfprofdcore.cc256 return it->second;
264 return it->second;
288 vals = iit->second;
297 uit->second = uvalue;
309 sit->second = std::string(value);
/system/extras/tests/include/
H A DtestUtil.h33 const struct timespec *second);
35 const struct timeval *second);
/system/extras/memtrack/
H A Dmemtrack.cpp172 it->second.pids.clear();
211 if (it->second.pids.size() > all_[it->first].max_num_pids) {
212 all_[it->first].max_num_pids = it->second.pids.size();
215 all_[it->first].pids = it->second.pids;
217 if (it->second.pss_kb > all_[it->first].max_pss_kb) {
218 all_[it->first].max_pss_kb = it->second.pss_kb;
222 it->second.pss_kb < all_[it->first].min_pss_kb) {
223 all_[it->first].min_pss_kb = it->second.pss_kb;
226 all_[it->first].last_pss_kb = it->second.pss_kb;
228 computeAvg(&all_[it->first].avg_pss_kb, it->second
234 comparePss(const process_info_t *first, const process_info_t *second) argument
[all...]
/system/bt/btcore/src/
H A Dbdaddr.c33 bool bdaddr_equals(const bt_bdaddr_t *first, const bt_bdaddr_t *second) { argument
35 assert(second != NULL);
37 return memcmp(first, second, sizeof(bt_bdaddr_t)) == 0;
H A Duuid.c96 bool uuid_is_equal(const bt_uuid_t *first, const bt_uuid_t *second) { argument
98 assert(second != NULL);
99 return !memcmp(first, second, sizeof(bt_uuid_t));
/system/extras/tests/sdcard/
H A Dstopwatch.cpp136 long second = mData[i * 2].mTime.tv_sec - mStart.tv_sec; local
139 SNPRINTF_OR_RETURN(*str, *size, "%f %f\n", double(second) + double(nano) / 1.0e9, mDeltas[i]);
172 long second = mData[i + 1].mTime.tv_sec - mData[i].mTime.tv_sec; local
175 mDeltas[i / 2] = double(second) + double(nano) / 1.0e9;
/system/vold/
H A DExt4Crypt.cpp244 = reinterpret_cast<const unsigned char*>(&mki->second.master_key[0]);
431 if (i->second.expiry_time < now.tv_sec) {
436 return i->second.password.c_str();
448 memset(&i->second.password[0], 0, i->second.password.size());
449 i->second.password = std::string();
/system/netd/server/
H A DClatdController.cpp48 return (it == mClatdPids.end() ? 0 : it->second);
H A DUidRanges.cpp26 (iter != mRanges.begin() && (--iter)->second >= uid);
H A DNetworkController.cpp125 if (entry.second->getType() == Network::VIRTUAL) {
267 if (entry.second->hasInterface(interface)) {
500 return iter == mNetworks.end() ? NULL : iter->second;
505 if (entry.second->getType() == Network::VIRTUAL) {
506 VirtualNetwork* virtualNetwork = static_cast<VirtualNetwork*>(entry.second);
518 return iter->second;
/system/core/logd/
H A DLogStatistics.h52 const TEntry &entry = it->second;
84 it->second.add(e);
94 it->second.add(key);
101 if ((it != map.end()) && it->second.subtract(e)) {
109 it->second.drop(e);
/system/keymaster/
H A Docb.c1396 int second = first;
1397 int third = i - (first + second);
1415 ae_encrypt(&ctx,NULL,pt+first,second,pt+first,second,ct+first,NULL,AE_PENDING);
1416 ae_encrypt(&ctx,NULL,pt+first+second,third,pt+first+second,third,ct+first+second,NULL,AE_FINALIZE);
1421 ae_encrypt(&ctx,NULL,pt+first,second,pt,0,ct+first,NULL,AE_PENDING);
1422 ae_encrypt(&ctx,NULL,pt+first+second,third,pt,0,ct+first+second,NUL
[all...]
/system/extras/perfprofd/quipper/
H A Dperf_parser.cc260 parsed_event->set_command(comm_iter->second);
533 return std::make_pair(search->second.get(), false);
539 mapper.reset(new AddressMapper(*parent_mapper->second));
545 return std::make_pair(inserted->second.get(), true);
569 if (!GetOrCreateProcessMapper(pid, &ppid).second) {
/system/bt/doc/
H A Dpower_management.md126 the same check is done against the second action and it is used
176 with timeout set to FALSE to re-attempt with a second action (if the
/system/extras/simpleperf/
H A Devent_attr.cpp38 result += p.second;
/system/media/camera/docs/
H A Dmetadata_helpers.py594 second = first # for when we have only 1 element in iterable
598 second = next(it)
601 first = second
604 yield (second, True)
/system/core/include/log/
H A Dlog.h449 * The second argument may be NULL or "" to indicate the "global" tag.
547 #define __android_second(dummy, second, ...) second

Completed in 1575 milliseconds

12