Home
last modified time | relevance | path

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

12345678910>>...22

/system/core/libunwindstack/tests/
DRegsIterateTest.cpp62 result.push_back({"r0", ARM_REG_R0}); in ExpectedRegisters()
63 result.push_back({"r1", ARM_REG_R1}); in ExpectedRegisters()
64 result.push_back({"r2", ARM_REG_R2}); in ExpectedRegisters()
65 result.push_back({"r3", ARM_REG_R3}); in ExpectedRegisters()
66 result.push_back({"r4", ARM_REG_R4}); in ExpectedRegisters()
67 result.push_back({"r5", ARM_REG_R5}); in ExpectedRegisters()
68 result.push_back({"r6", ARM_REG_R6}); in ExpectedRegisters()
69 result.push_back({"r7", ARM_REG_R7}); in ExpectedRegisters()
70 result.push_back({"r8", ARM_REG_R8}); in ExpectedRegisters()
71 result.push_back({"r9", ARM_REG_R9}); in ExpectedRegisters()
[all …]
DArmExidxDecodeTest.cpp89 data_->push_back(0x00); in TEST_P()
109 data_->push_back(0x01); in TEST_P()
129 data_->push_back(0x3f); in TEST_P()
150 data_->push_back(0x40); in TEST_P()
170 data_->push_back(0x41); in TEST_P()
190 data_->push_back(0x7f); in TEST_P()
211 data_->push_back(0x80); in TEST_P()
212 data_->push_back(0x00); in TEST_P()
229 data_->push_back(0x88); in TEST_P()
230 data_->push_back(0x00); in TEST_P()
[all …]
/system/bt/vendor_libs/test_vendor_lib/test/
Dl2cap_test.cc77 test_packet.push_back(L2capSdu::L2capSduConstructor(good_sdu[0])); in TEST_F()
78 test_packet.push_back(L2capSdu::L2capSduConstructor(good_sdu[1])); in TEST_F()
79 test_packet.push_back(L2capSdu::L2capSduConstructor(good_sdu[2])); in TEST_F()
90 test_packet.push_back(L2capSdu::L2capSduConstructor(l2cap_test_packet_1)); in TEST_F()
91 test_packet.push_back(L2capSdu::L2capSduConstructor(l2cap_test_packet_2)); in TEST_F()
92 test_packet.push_back(L2capSdu::L2capSduConstructor(l2cap_test_packet_3)); in TEST_F()
93 test_packet.push_back(L2capSdu::L2capSduConstructor(l2cap_test_packet_4)); in TEST_F()
94 test_packet.push_back(L2capSdu::L2capSduConstructor(l2cap_test_packet_5)); in TEST_F()
95 test_packet.push_back(L2capSdu::L2capSduConstructor(l2cap_test_packet_6)); in TEST_F()
96 test_packet.push_back(L2capSdu::L2capSduConstructor(l2cap_test_packet_7)); in TEST_F()
[all …]
/system/chre/util/tests/
Dfixed_size_vector_test.cc54 testVector.push_back(0x1337); in TEST()
65 testVector.push_back(1000); in TEST()
66 testVector.push_back(2000); in TEST()
67 testVector.push_back(3000); in TEST()
68 testVector.push_back(4000); in TEST()
87 vector.push_back(0x1337); in TEST()
88 vector.push_back(0xcafe); in TEST()
89 vector.push_back(0xbeef); in TEST()
90 vector.push_back(0xface); in TEST()
104 vector.push_back(0x1337); in TEST()
[all …]
Ddynamic_vector_test.cc66 ASSERT_TRUE(vector.push_back(0x1337)); in TEST()
77 ASSERT_TRUE(vector.push_back(0xface)); in TEST()
79 ASSERT_TRUE(vector.push_back(std::move(x))); in TEST()
99 ASSERT_TRUE(lhs.push_back(0x1337)); in TEST()
100 ASSERT_TRUE(lhs.push_back(0xface)); in TEST()
102 ASSERT_TRUE(rhs.push_back(0x1337)); in TEST()
103 ASSERT_TRUE(rhs.push_back(0xface)); in TEST()
107 ASSERT_TRUE(lhs.push_back(0xb00c)); in TEST()
110 ASSERT_TRUE(rhs.push_back(0xc00b)); in TEST()
146 ASSERT_TRUE(vector.push_back(std::move(mbnc))); in TEST()
[all …]
/system/keymaster/key_blob_utils/
Dsoftware_keyblobs.cpp51 set->push_back(param); in UpgradeIntegerTag()
85 hidden->push_back(TAG_APPLICATION_ID, entry.data, entry.data_length); in BuildHiddenAuthorizations()
87 hidden->push_back(TAG_APPLICATION_DATA, entry.data, entry.data_length); in BuildHiddenAuthorizations()
89 hidden->push_back(TAG_ROOT_OF_TRUST, root_of_trust); in BuildHiddenAuthorizations()
102 hw_enforced->push_back(TAG_ALGORITHM, KM_ALGORITHM_RSA); in FakeKeyAuthorizations()
103 hw_enforced->push_back(TAG_DIGEST, KM_DIGEST_NONE); in FakeKeyAuthorizations()
104 hw_enforced->push_back(TAG_DIGEST, KM_DIGEST_MD5); in FakeKeyAuthorizations()
105 hw_enforced->push_back(TAG_DIGEST, KM_DIGEST_SHA1); in FakeKeyAuthorizations()
106 hw_enforced->push_back(TAG_DIGEST, KM_DIGEST_SHA_2_224); in FakeKeyAuthorizations()
107 hw_enforced->push_back(TAG_DIGEST, KM_DIGEST_SHA_2_256); in FakeKeyAuthorizations()
[all …]
/system/security/keystore/
Dkeystore_utils.cpp69 params->push_back(TAG_PURPOSE, KeyPurpose::SIGN); in add_legacy_key_authorizations()
70 params->push_back(TAG_PURPOSE, KeyPurpose::VERIFY); in add_legacy_key_authorizations()
71 params->push_back(TAG_PURPOSE, KeyPurpose::ENCRYPT); in add_legacy_key_authorizations()
72 params->push_back(TAG_PURPOSE, KeyPurpose::DECRYPT); in add_legacy_key_authorizations()
73 params->push_back(TAG_PADDING, PaddingMode::NONE); in add_legacy_key_authorizations()
75 params->push_back(TAG_PADDING, PaddingMode::RSA_PKCS1_1_5_SIGN); in add_legacy_key_authorizations()
76 params->push_back(TAG_PADDING, PaddingMode::RSA_PKCS1_1_5_ENCRYPT); in add_legacy_key_authorizations()
77 params->push_back(TAG_PADDING, PaddingMode::RSA_PSS); in add_legacy_key_authorizations()
78 params->push_back(TAG_PADDING, PaddingMode::RSA_OAEP); in add_legacy_key_authorizations()
80 params->push_back(TAG_DIGEST, Digest::NONE); in add_legacy_key_authorizations()
[all …]
/system/vold/fs/
DF2fs.cpp46 cmd.push_back(kFsckPath); in Check()
47 cmd.push_back("-a"); in Check()
48 cmd.push_back(source); in Check()
75 cmd.push_back(kMkfsPath); in Format()
77 cmd.push_back("-f"); in Format()
78 cmd.push_back("-d1"); in Format()
81 cmd.push_back("-O"); in Format()
82 cmd.push_back("quota"); in Format()
85 cmd.push_back("-O"); in Format()
86 cmd.push_back("encrypt"); in Format()
[all …]
DExt4.cpp115 cmd.push_back(kFsckPath); in Check()
116 cmd.push_back("-y"); in Check()
117 cmd.push_back(c_source); in Check()
153 cmd.push_back(kResizefsPath); in Resize()
154 cmd.push_back("-f"); in Resize()
155 cmd.push_back(source); in Resize()
156 cmd.push_back(StringPrintf("%lu", numSectors)); in Resize()
163 cmd.push_back(kMkfsPath); in Format()
165 cmd.push_back("-b"); in Format()
166 cmd.push_back("4096"); in Format()
[all …]
DVfat.cpp64 cmd.push_back(kFsckPath); in Check()
65 cmd.push_back("-p"); in Check()
66 cmd.push_back("-f"); in Check()
67 cmd.push_back("-y"); in Check()
68 cmd.push_back(source); in Check()
157 cmd.push_back(kMkfsPath); in Format()
158 cmd.push_back("-O"); in Format()
159 cmd.push_back("android"); in Format()
160 cmd.push_back("-A"); in Format()
163 cmd.push_back("-s"); in Format()
[all …]
DExfat.cpp43 cmd.push_back(kFsckPath); in Check()
44 cmd.push_back(source); in Check()
78 cmd.push_back(kMkfsPath); in Format()
79 cmd.push_back("-n"); in Format()
80 cmd.push_back("android"); in Format()
81 cmd.push_back(source); in Format()
/system/core/init/
Dservice_test.cpp81 args.push_back("exec"); in TEST()
85 args.push_back("--"); in TEST()
91 args.push_back("exec"); in TEST()
92 args.push_back("seclabel"); in TEST()
93 args.push_back("root"); // uid. in TEST()
94 args.push_back("root"); // gid. in TEST()
96 args.push_back("root"); // Supplementary gid. in TEST()
98 args.push_back("--"); in TEST()
99 args.push_back("/system/bin/id"); in TEST()
106 args.push_back("exec"); in Test_make_temporary_oneshot_service()
[all …]
/system/bt/profile/avrcp/
Davrcp_message_converter.h73 data.push_back(m->hdr.ctype); in Parse()
74 data.push_back((m->hdr.subunit_type << 3) | m->hdr.subunit_id); in Parse()
75 data.push_back(m->hdr.opcode); in Parse()
77 data.push_back((uint8_t)((msg->company_id >> i * 8) & 0xff)); in Parse()
80 data.push_back(msg->p_vendor_data[i]); in Parse()
85 data.push_back(m->hdr.ctype); in Parse()
86 data.push_back((m->hdr.subunit_type << 3) | m->hdr.subunit_id); in Parse()
87 data.push_back(m->hdr.opcode); in Parse()
88 data.push_back((msg->state << 7) | msg->op_id); in Parse()
89 data.push_back(0x00); in Parse()
[all …]
/system/vold/model/
DDisk.cpp159 list.push_back(vol->getId()); in listVolumes()
199 mVolumes.push_back(vol); in createPublicVolume()
229 mVolumes.push_back(vol); in createPrivateVolume()
339 cmd.push_back(kSgdiskPath); in readPartitions()
340 cmd.push_back("--android-dump"); in readPartitions()
341 cmd.push_back(mDevPath); in readPartitions()
450 cmd.push_back(kSgdiskPath); in partitionPublic()
451 cmd.push_back("--zap-all"); in partitionPublic()
452 cmd.push_back(mDevPath); in partitionPublic()
463 cmd.push_back(kSgdiskPath); in partitionPublic()
[all …]
/system/bt/stack/test/rfcomm/
Dstack_rfcomm_test_utils.cc68 result.push_back(static_cast<uint8_t>(dlci & 0b00111111)); in CreateMccPnFrame()
69 result.push_back(static_cast<uint8_t>((cl_bits << 4) | (i_bits & 0x0F))); in CreateMccPnFrame()
70 result.push_back(static_cast<uint8_t>(priority & 0b00111111)); in CreateMccPnFrame()
71 result.push_back(timer_value); in CreateMccPnFrame()
72 result.push_back(static_cast<uint8_t>(rfcomm_mtu)); in CreateMccPnFrame()
73 result.push_back(static_cast<uint8_t>(rfcomm_mtu >> 8)); in CreateMccPnFrame()
74 result.push_back(max_num_retransmission); in CreateMccPnFrame()
75 result.push_back(static_cast<uint8_t>(err_recovery_window_k & 0b111)); in CreateMccPnFrame()
83 result.push_back(static_cast<uint8_t>((dlci << 2) | 0b11)); in CreateMccMscFrame()
92 result.push_back(static_cast<uint8_t>(v24_signals.to_ulong())); in CreateMccMscFrame()
[all …]
/system/netd/libnetdutils/
DLog.cpp58 if (!mMsg.empty()) text.push_back(mMsg); in toString()
60 text.push_back(StringPrintf("%s(%s)", mFunc.c_str(), Join(mArgs, ", ").c_str())); in toString()
63 text.push_back("->"); in toString()
64 text.push_back(StringPrintf("(%s)", Join(mReturns, ", ").c_str())); in toString()
66 if (!mUid.empty()) text.push_back(mUid); in toString()
67 if (!mDuration.empty()) text.push_back(StringPrintf("(%s)", mDuration.c_str())); in toString()
117 mArgs.push_back(val.empty() ? "\"\"" : val); in arg()
123 mArgs.push_back(val ? "true" : "false"); in arg()
128 mArgs.push_back(StringPrintf("[%s]", Join(val, ", ").c_str())); in arg()
133 mArgs.push_back('{' + toHex(makeSlice(val)) + '}'); in arg()
[all …]
/system/core/fastboot/
Dfs.cpp124 mke2fs_args.push_back(block_size_str.c_str()); in generate_ext4_image()
136 mke2fs_args.push_back("-E"); in generate_ext4_image()
137 mke2fs_args.push_back(ext_attr.c_str()); in generate_ext4_image()
138 mke2fs_args.push_back("-O"); in generate_ext4_image()
139 mke2fs_args.push_back("uninit_bg"); in generate_ext4_image()
140 mke2fs_args.push_back(fileName); in generate_ext4_image()
143 mke2fs_args.push_back(size_str.c_str()); in generate_ext4_image()
144 mke2fs_args.push_back(nullptr); in generate_ext4_image()
172 mkf2fs_args.push_back("-S"); in generate_f2fs_image()
174 mkf2fs_args.push_back(size_str.c_str()); in generate_f2fs_image()
[all …]
/system/bt/stack/test/common/
Dstack_test_packet_utils.cc32 result.push_back(static_cast<uint8_t>(data_size)); in CreateL2capDataPacket()
33 result.push_back(static_cast<uint8_t>(data_size >> 8)); in CreateL2capDataPacket()
34 result.push_back(static_cast<uint8_t>(lcid)); in CreateL2capDataPacket()
35 result.push_back(static_cast<uint8_t>(lcid >> 8)); in CreateL2capDataPacket()
44 result.push_back(static_cast<uint8_t>(handle & 0x0F)); in CreateAclPacket()
49 result.push_back(second_byte); in CreateAclPacket()
51 result.push_back(static_cast<uint8_t>(data_size)); in CreateAclPacket()
52 result.push_back(static_cast<uint8_t>(data_size >> 8)); in CreateAclPacket()
/system/keymaster/legacy_support/
Drsa_keymaster0_key.cpp61 hw_enforced->push_back(TAG_ALGORITHM, KM_ALGORITHM_RSA); in GenerateKey()
62 hw_enforced->push_back(TAG_RSA_PUBLIC_EXPONENT, public_exponent); in GenerateKey()
63 hw_enforced->push_back(TAG_KEY_SIZE, key_size); in GenerateKey()
64 hw_enforced->push_back(TAG_ORIGIN, KM_ORIGIN_UNKNOWN); in GenerateKey()
92 hw_enforced->push_back(TAG_ALGORITHM, KM_ALGORITHM_RSA); in ImportKey()
93 hw_enforced->push_back(TAG_RSA_PUBLIC_EXPONENT, public_exponent); in ImportKey()
94 hw_enforced->push_back(TAG_KEY_SIZE, key_size); in ImportKey()
95 hw_enforced->push_back(TAG_ORIGIN, KM_ORIGIN_UNKNOWN); in ImportKey()
Dec_keymaster0_key.cpp59 hw_enforced->push_back(TAG_ALGORITHM, KM_ALGORITHM_EC); in GenerateKey()
60 hw_enforced->push_back(TAG_KEY_SIZE, key_size); in GenerateKey()
61 hw_enforced->push_back(TAG_EC_CURVE, ec_curve); in GenerateKey()
62 hw_enforced->push_back(TAG_ORIGIN, KM_ORIGIN_UNKNOWN); in GenerateKey()
92 hw_enforced->push_back(TAG_ALGORITHM, KM_ALGORITHM_EC); in ImportKey()
93 hw_enforced->push_back(TAG_KEY_SIZE, key_size); in ImportKey()
94 hw_enforced->push_back(TAG_ORIGIN, KM_ORIGIN_UNKNOWN); in ImportKey()
/system/netd/server/
DStrictController.cpp69 #define CMD_V4(...) { auto cmd = StringPrintf(__VA_ARGS__); v4.push_back(cmd); } in setupIptablesHooks()
70 #define CMD_V6(...) { auto cmd = StringPrintf(__VA_ARGS__); v6.push_back(cmd); } in setupIptablesHooks()
181 commands.push_back("*filter"); in setUidCleartextPenalty()
182 commands.push_back(StringPrintf(":%s -", perUidChain.c_str())); in setUidCleartextPenalty()
183 commands.push_back(StringPrintf("-I %s -m owner --uid-owner %d -j %s", in setUidCleartextPenalty()
185 commands.push_back(StringPrintf("-I %s -m owner --uid-owner %d -j %s", in setUidCleartextPenalty()
189 commands.push_back(StringPrintf("-A %s -j %s", perUidChain.c_str(), LOCAL_PENALTY_LOG)); in setUidCleartextPenalty()
191 commands.push_back(StringPrintf("-A %s -j %s", perUidChain.c_str(), in setUidCleartextPenalty()
195 commands.push_back("COMMIT\n"); in setUidCleartextPenalty()
/system/linkerconfig/modules/
Dnamespace.cc92 search_paths_.push_back(path); in AddSearchPath()
95 asan_search_paths_.push_back(path); in AddSearchPath()
97 asan_search_paths_.push_back(kDataAsanPath + path); in AddSearchPath()
104 permitted_paths_.push_back(path); in AddPermittedPath()
107 asan_permitted_paths_.push_back(path); in AddPermittedPath()
109 asan_permitted_paths_.push_back(kDataAsanPath + path); in AddPermittedPath()
/system/keymaster/tests/
Dandroid_keymaster_test.cpp262 crypto_params.push_back(hw_enforced()); in TEST_P()
263 non_crypto_params.push_back(sw_enforced()); in TEST_P()
267 crypto_params.push_back(sw_enforced()); in TEST_P()
304 crypto_params.push_back(hw_enforced()); in TEST_P()
305 non_crypto_params.push_back(sw_enforced()); in TEST_P()
309 crypto_params.push_back(sw_enforced()); in TEST_P()
493 begin_params.push_back(TAG_DIGEST, KM_DIGEST_NONE); in TEST_P()
494 begin_params.push_back(TAG_PADDING, KM_PAD_RSA_PKCS1_1_5_SIGN); in TEST_P()
535 begin_params.push_back(TAG_DIGEST, KM_DIGEST_NONE); in TEST_P()
536 begin_params.push_back(TAG_PADDING, KM_PAD_RSA_PKCS1_1_5_SIGN); in TEST_P()
[all …]
/system/testing/gtest_extras/
DIsolateMain.cpp78 args->push_back(nullptr); in GtestRun()
109 args.push_back(argv[i]); in IsolateMain()
121 help_args.push_back(args[gtest_color_index]); in IsolateMain()
137 initial_args.push_back(start_args[i]); in IsolateMain()
150 child_args.push_back(exec_path.c_str()); in IsolateMain()
152 child_args.push_back(args[0]); in IsolateMain()
162 child_args.push_back("--no_isolate"); in IsolateMain()
/system/tools/aidl/
Dgenerate_java_binder.cpp55 vars_.push_back(v); in Get()
120 this->interfaces.push_back(interfaceType->JavaType()); in StubClass()
126 this->elements.push_back(descriptor); in StubClass()
140 this->elements.push_back(ctor); in StubClass()
152 this->elements.push_back(asBinder); in StubClass()
162 getDefaultTransactionName->parameters.push_back(code); in StubClass()
166 this->elements.push_back(getDefaultTransactionName); in StubClass()
175 getTransactionName->parameters.push_back(code2); in StubClass()
179 this->elements.push_back(getTransactionName); in StubClass()
191 onTransact->parameters.push_back(this->transact_code); in StubClass()
[all …]

12345678910>>...22