/system/security/keystore/ |
D | operation.cpp | 58 *outHandle = entry->second.handle; in getOperation() 59 *outKeyid = entry->second.keyid; in getOperation() 60 *outPurpose = entry->second.purpose; in getOperation() 61 *outDevice = entry->second.device; in getOperation() 63 *outCharacteristics = entry->second.characteristics.get(); in getOperation() 81 sp<IBinder> appToken = entry->second.appToken; in removeOperation() 97 auto tokenEntry = std::find(appEntry->second.begin(), appEntry->second.end(), token); in removeOperationTracking() 98 appEntry->second.erase(tokenEntry); in removeOperationTracking() 100 if (appEntry->second.size() == 0) { in removeOperationTracking() 126 *outToken = entry->second.authToken.get(); in getOperationAuthToken() [all …]
|
/system/extras/tests/lib/testUtil/ |
D | testUtil.c | 104 const struct timespec *second) in tsDelta() argument 109 assert(second != NULL); in tsDelta() 111 assert(second->tv_nsec >= 0 && second->tv_nsec < nSecsPerSec); in tsDelta() 112 rv.tv_sec = second->tv_sec - first->tv_sec; in tsDelta() 113 if (second->tv_nsec >= first->tv_nsec) { in tsDelta() 114 rv.tv_nsec = second->tv_nsec - first->tv_nsec; in tsDelta() 116 rv.tv_nsec = (second->tv_nsec + nSecsPerSec) - first->tv_nsec; in tsDelta() 127 const struct timeval *second) in tvDelta() argument 132 assert(second != NULL); in tvDelta() 134 assert(second->tv_usec >= 0 && second->tv_usec < uSecsPerSec); in tvDelta() [all …]
|
/system/core/logcat/tests/ |
D | logcat_benchmark.cpp | 38 int second; in TEST() member in TEST::timestamp 48 &month, &day, &hour, &minute, &second, &millisecond) == 6; in TEST() 68 && ((second < T.second) in TEST() 69 || ((second == T.second) in TEST()
|
/system/extras/memtrack/ |
D | memtrack.cpp | 172 it->second.pids.clear(); in scan() 211 if (it->second.pids.size() > all_[it->first].max_num_pids) { in scan() 212 all_[it->first].max_num_pids = it->second.pids.size(); in scan() 215 all_[it->first].pids = it->second.pids; in scan() 217 if (it->second.pss_kb > all_[it->first].max_pss_kb) { in scan() 218 all_[it->first].max_pss_kb = it->second.pss_kb; in scan() 222 it->second.pss_kb < all_[it->first].min_pss_kb) { in scan() 223 all_[it->first].min_pss_kb = it->second.pss_kb; in scan() 226 all_[it->first].last_pss_kb = it->second.pss_kb; in scan() 228 computeAvg(&all_[it->first].avg_pss_kb, it->second.pss_kb, in scan() [all …]
|
/system/extras/perfprofd/ |
D | perf_data_converter.cc | 81 for (const auto &module_profile : program_profile.second) { in RawPerfDataToAndroidPerfProfile() 87 iter->second = current_index++; in RawPerfDataToAndroidPerfProfile() 98 const std::string &build_id = nbmi->second; in RawPerfDataToAndroidPerfProfile() 109 for (const auto &module_profile : program_profile.second) { in RawPerfDataToAndroidPerfProfile() 113 for (const auto &addr_count : module_profile.second.address_count_map) { in RawPerfDataToAndroidPerfProfile() 116 address_samples->set_count(addr_count.second); in RawPerfDataToAndroidPerfProfile() 118 for (const auto &range_count : module_profile.second.range_count_map) { in RawPerfDataToAndroidPerfProfile() 123 range_samples->set_count(range_count.second); in RawPerfDataToAndroidPerfProfile()
|
D | perfprofdcore.cc | 256 return it->second; in getUnsignedValue() 264 return it->second; in getStringValue() 288 vals = iit->second; in parseLine() 297 uit->second = uvalue; in parseLine() 309 sit->second = std::string(value); in parseLine()
|
/system/bt/btcore/src/ |
D | bdaddr.c | 33 bool bdaddr_equals(const bt_bdaddr_t *first, const bt_bdaddr_t *second) { in bdaddr_equals() argument 35 assert(second != NULL); in bdaddr_equals() 37 return memcmp(first, second, sizeof(bt_bdaddr_t)) == 0; in bdaddr_equals()
|
D | uuid.c | 96 bool uuid_is_equal(const bt_uuid_t *first, const bt_uuid_t *second) { in uuid_is_equal() argument 98 assert(second != NULL); in uuid_is_equal() 99 return !memcmp(first, second, sizeof(bt_uuid_t)); in uuid_is_equal()
|
/system/extras/tests/include/ |
D | testUtil.h | 33 const struct timespec *second); 35 const struct timeval *second);
|
/system/extras/tests/sdcard/ |
D | stopwatch.cpp | 136 long second = mData[i * 2].mTime.tv_sec - mStart.tv_sec; in sprint() local 139 … SNPRINTF_OR_RETURN(*str, *size, "%f %f\n", double(second) + double(nano) / 1.0e9, mDeltas[i]); in sprint() 172 long second = mData[i + 1].mTime.tv_sec - mData[i].mTime.tv_sec; in processSamples() local 175 mDeltas[i / 2] = double(second) + double(nano) / 1.0e9; in processSamples()
|
/system/core/fastboot/ |
D | bootimg_utils.cpp | 42 void *second, unsigned second_size, unsigned second_offset, in mkbootimg() argument 83 second, second_size); in mkbootimg()
|
D | bootimg_utils.h | 41 void *second, unsigned second_size, unsigned second_offset,
|
/system/vold/ |
D | Ext4Crypt.cpp | 244 = reinterpret_cast<const unsigned char*>(&mki->second.master_key[0]); in e4crypt_change_password() 431 if (i->second.expiry_time < now.tv_sec) { in e4crypt_get_password() 436 return i->second.password.c_str(); in e4crypt_get_password() 448 memset(&i->second.password[0], 0, i->second.password.size()); in e4crypt_clear_password() 449 i->second.password = std::string(); in e4crypt_clear_password()
|
/system/core/logd/ |
D | LogStatistics.h | 52 const TEntry &entry = it->second; in sort() 84 it->second.add(e); in add() 94 it->second.add(key); in add() 101 if ((it != map.end()) && it->second.subtract(e)) { in subtract() 109 it->second.drop(e); in drop()
|
D | LogStatistics.cpp | 165 const PidEntry &entry = it->second; in uidToName() 522 return pidTable.add(pid)->second.getUid(); in pidToUid() 527 const char *name = pidTable.add(pid)->second.getName(); in pidToName()
|
/system/bt/btcore/include/ |
D | bdaddr.h | 39 bool bdaddr_equals(const bt_bdaddr_t *first, const bt_bdaddr_t *second);
|
D | uuid.h | 60 bool uuid_is_equal(const bt_uuid_t *first, const bt_uuid_t *second);
|
/system/keymaster/ |
D | ocb.c | 1396 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,NULL,AE_FINALIZE); 1427 ae_encrypt(&ctx,NULL,pt,0,pt+first,second,ct,NULL,AE_PENDING); 1428 ae_encrypt(&ctx,NULL,pt,0,pt+first+second,third,ct,NULL,AE_FINALIZE); 1442 int second = first; 1443 int third = i - (first + second); [all …]
|
/system/netd/server/ |
D | NetworkController.cpp | 125 if (entry.second->getType() == Network::VIRTUAL) { in modifyFallthrough() 267 if (entry.second->hasInterface(interface)) { in getNetworkForInterface() 500 return iter == mNetworks.end() ? NULL : iter->second; in getNetworkLocked() 505 if (entry.second->getType() == Network::VIRTUAL) { in getVirtualNetworkForUserLocked() 506 VirtualNetwork* virtualNetwork = static_cast<VirtualNetwork*>(entry.second); in getVirtualNetworkForUserLocked() 518 return iter->second; in getPermissionForUserLocked()
|
D | UidRanges.cpp | 26 (iter != mRanges.begin() && (--iter)->second >= uid); in hasUid()
|
D | ClatdController.cpp | 48 return (it == mClatdPids.end() ? 0 : it->second); in getClatdPid()
|
D | RouteController.cpp | 146 return iter->second; in getRouteTableForInterface() 170 addTableName(entry.second, entry.first, &contents); in updateTableNamesFile() 766 if (int ret = modifyVpnUidRangeRule(table, range.first, range.second, secure, add)) { in modifyVirtualNetwork() 770 range.second, add)) { in modifyVirtualNetwork() 774 range.second, add)) { in modifyVirtualNetwork()
|
/system/extras/perfprofd/quipper/ |
D | perf_parser.cc | 260 parsed_event->set_command(comm_iter->second); in MapSampleEvent() 533 return std::make_pair(search->second.get(), false); in GetOrCreateProcessMapper() 539 mapper.reset(new AddressMapper(*parent_mapper->second)); in GetOrCreateProcessMapper() 545 return std::make_pair(inserted->second.get(), true); in GetOrCreateProcessMapper() 569 if (!GetOrCreateProcessMapper(pid, &ppid).second) { in MapForkEvent()
|
/system/media/camera/docs/ |
D | metadata_helpers.py | 594 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/ |
D | log.h | 547 #define __android_second(dummy, second, ...) second argument
|