Home
last modified time | relevance | path

Searched refs:push_back (Results 1 – 25 of 36) sorted by relevance

12

/system/keymaster/include/keymaster/
Dauthorization_set.h196 bool push_back(keymaster_key_param_t elem);
210 bool push_back(const AuthorizationSet& set);
213 bool push_back(TypedEnumTag<Type, Tag, KeymasterEnum> tag, KeymasterEnum val) { in push_back() function
214 return push_back(Authorization(tag, val)); in push_back()
217 template <keymaster_tag_t Tag> bool push_back(TypedTag<KM_BOOL, Tag> tag) { in push_back() function
218 return push_back(Authorization(tag)); in push_back()
222 bool push_back(TypedTag<KM_BYTES, Tag> tag, const void* bytes, size_t bytes_len) { in push_back() function
223 return push_back(keymaster_param_blob(tag, static_cast<const uint8_t*>(bytes), bytes_len)); in push_back()
227 bool push_back(TypedTag<KM_BIGNUM, Tag> tag, const void* bytes, size_t bytes_len) { in push_back() function
228 return push_back(keymaster_param_blob(tag, static_cast<const uint8_t*>(bytes), bytes_len)); in push_back()
[all …]
/system/extras/tests/memtest/
Dbandwidth.cpp165 cpu_list->push_back(i); in getAvailCpus()
425 bench_objs.push_back(new CopyLdrdStrdBenchmark()); in copy_bandwidth()
426 bench_objs.push_back(new CopyLdmiaStmiaBenchmark()); in copy_bandwidth()
427 bench_objs.push_back(new CopyVld1Vst1Benchmark()); in copy_bandwidth()
428 bench_objs.push_back(new CopyVldrVstrBenchmark()); in copy_bandwidth()
429 bench_objs.push_back(new CopyVldmiaVstmiaBenchmark()); in copy_bandwidth()
430 bench_objs.push_back(new MemcpyBenchmark()); in copy_bandwidth()
440 bench_objs.push_back(new WriteStrdBenchmark()); in write_bandwidth()
441 bench_objs.push_back(new WriteStmiaBenchmark()); in write_bandwidth()
442 bench_objs.push_back(new WriteVst1Benchmark()); in write_bandwidth()
[all …]
/system/keymaster/
Dkey_blob_test.cpp54 enforced_.push_back(TAG_ALGORITHM, KM_ALGORITHM_RSA); in KeyBlobTest()
55 enforced_.push_back(TAG_KEY_SIZE, 256); in KeyBlobTest()
56 enforced_.push_back(TAG_BLOB_USAGE_REQUIREMENTS, KM_BLOB_STANDALONE); in KeyBlobTest()
57 enforced_.push_back(TAG_MIN_SECONDS_BETWEEN_OPS, 10); in KeyBlobTest()
58 enforced_.push_back(TAG_ALL_USERS); in KeyBlobTest()
59 enforced_.push_back(TAG_NO_AUTH_REQUIRED); in KeyBlobTest()
60 enforced_.push_back(TAG_ORIGIN, KM_ORIGIN_HARDWARE); in KeyBlobTest()
62 unenforced_.push_back(TAG_ACTIVE_DATETIME, 10); in KeyBlobTest()
63 unenforced_.push_back(TAG_ORIGINATION_EXPIRE_DATETIME, 100); in KeyBlobTest()
64 unenforced_.push_back(TAG_CREATION_DATETIME, 10); in KeyBlobTest()
[all …]
Dasymmetric_key.cpp134 authorizations.push_back(Authorization(TAG_RSA_PUBLIC_EXPONENT, public_exponent)); in GenerateKey()
138 authorizations.push_back(Authorization(TAG_KEY_SIZE, key_size)); in GenerateKey()
189 authorizations.push_back(TAG_RSA_PUBLIC_EXPONENT, public_exponent); in ImportKey()
201 authorizations.push_back(TAG_KEY_SIZE, key_size); in ImportKey()
211 authorizations.push_back(TAG_ALGORITHM, KM_ALGORITHM_RSA); in ImportKey()
266 auths->push_back(Authorization(tag, blob)); in SetDsaParamData()
288 authorizations.push_back(Authorization(TAG_KEY_SIZE, key_size)); in GenerateKey()
351 auths->push_back(tag, data.get(), BN_num_bytes(bn)); in GetOrCheckDsaParam()
405 authorizations.push_back(TAG_KEY_SIZE, extracted_key_size_bits); in ImportKey()
415 authorizations.push_back(TAG_ALGORITHM, KM_ALGORITHM_DSA); in ImportKey()
[all …]
Dauthorization_set_test.cpp346 EXPECT_TRUE(growable.push_back(Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA))); in TEST()
349 EXPECT_TRUE(growable.push_back(Authorization(TAG_PURPOSE, KM_PURPOSE_VERIFY))); in TEST()
352 EXPECT_TRUE(growable.push_back(Authorization(TAG_PURPOSE, KM_PURPOSE_SIGN))); in TEST()
355 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_ID, "data", 4))); in TEST()
358 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_DATA, "some more data", 14))); in TEST()
378 EXPECT_TRUE(growable.push_back(Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA))); in TEST()
383 EXPECT_TRUE(growable.push_back(Authorization(TAG_RSA_PUBLIC_EXPONENT, 3))); in TEST()
394 EXPECT_TRUE(growable.push_back(Authorization(TAG_ALGORITHM, KM_ALGORITHM_RSA))); in TEST()
398 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_ID, "1234567890", 10))); in TEST()
402 EXPECT_TRUE(growable.push_back(Authorization(TAG_APPLICATION_DATA, "1", 1))); in TEST()
[all …]
Dkey.cpp33 authorizations_.push_back(blob.unenforced()); in Key()
34 authorizations_.push_back(blob.enforced()); in Key()
Dgoogle_keymaster.cpp421 hidden->push_back(TAG_APPLICATION_ID, entry.data, entry.data_length); in BuildHiddenAuthorizations()
423 hidden->push_back(TAG_APPLICATION_DATA, entry.data, entry.data_length); in BuildHiddenAuthorizations()
424 hidden->push_back(RootOfTrustTag()); in BuildHiddenAuthorizations()
432 enforced->push_back(auth); in AddAuthorization()
434 unenforced->push_back(auth); in AddAuthorization()
Dauthorization_set.cpp182 bool AuthorizationSet::push_back(const AuthorizationSet& set) { in push_back() function in keymaster::AuthorizationSet
193 if (!push_back(set[i])) in push_back()
199 bool AuthorizationSet::push_back(keymaster_key_param_t elem) { in push_back() function in keymaster::AuthorizationSet
/system/core/libsysutils/src/
DSocketListener.cpp95 mClients->push_back(new SocketClient(mSock, false, mUseCmdNum)); in startListener()
216 mClients->push_back(new SocketClient(c, true, mUseCmdNum)); in runListener()
228 pendingList.push_back(c); in runListener()
288 safeList.push_back(c); in sendBroadcast()
316 safeList.push_back(c); in runOnEachSocket()
DFrameworkListener.cpp82 mCommands->push_back(cmd); in registerCmd()
/system/core/adf/libadfhwc/
Dadfhwc.cpp101 unique_configs.push_back(&data.current_mode); in adf_getDisplayConfigs()
105 unique_configs.push_back(&data.available_modes[i]); in adf_getDisplayConfigs()
109 dev->display_configs.push_back(*unique_configs[i]); in adf_getDisplayConfigs()
256 dev_ret->intf_fds.push_back(dup_intf_fd); in adf_hwc_open()
/system/core/libion/tests/
Dion_test_fixture.cpp57 m_allHeaps.push_back(i); in SetUp()
/system/core/logd/
DFlushCommand.cpp75 times.push_back(entry); in runSocketCommand()
DLogStatistics.cpp149 Pids.push_back(p); in add()
171 Pids.push_back(p); in subtract()
176 Pids.push_back(p); in subtract()
299 Uids.push_back(u); in add()
627 pids.push_back(p); in format()
DLogBuffer.cpp175 mLogElements.push_back(elem); in log()
201 mLogElements.push_back(elem); in log()
DLogWhiteBlackList.cpp164 list->push_back(new Prune(uid,pid)); in init()
/system/core/libutils/
DCallStack.cpp48 mFrameLines.push_back(String8(backtrace->FormatFrameData(i).c_str())); in update()
/system/netd/server/
DNetdConstants.cpp73 argsList.push_back(NULL); in execIptables()
77 argsList.push_back(arg); in execIptables()
DUidRanges.cpp68 mRanges.push_back(Range(uidStart, uidEnd)); in parseFrom()
DTetherController.cpp236 mDnsForwarders->push_back(a); in setDnsForwarders()
295 mInterfaces->push_back(strdup(interface)); in tetherInterface()
DPppController.cpp144 mTtys->push_back(strdup(de->d_name)); in updateTtyList()
/system/core/libbacktrace/
DBacktraceMap.cpp125 maps_.push_back(map);
/system/core/libsync/tests/
Dsync_test.cpp182 fenceInfo.push_back(SyncPointInfo{ in getInfo()
513 threads.push_back(thread{threadMain, i}); in TEST_P()
521 fences.push_back(SyncFence(timeline, i)); in TEST_P()
/system/extras/memtrack/
Dmemtrack.cpp158 cur_[cmd_name_].pids.push_back(pid); in getInformation()
241 list_.push_back(&it->second); in dumpToLog()
/system/vold/
DVolumeManager.cpp236 mVolumes->push_back(v); in addVolume()
585 mActiveContainers->push_back(new ContainerData(strdup(id), ASEC)); in createAsec()
1356 mActiveContainers->push_back(new ContainerData(strdup(id), ASEC)); in mountAsec()
1450 mActiveContainers->push_back(new ContainerData(strdup(img), OBB)); in mountObb()
1849 removeAsec.push_back(cd); in cleanupAsec()
1854 removeAsec.push_back(cd); in cleanupAsec()
1859 removeObb.push_back(cd); in cleanupAsec()

12