/system/core/libunwindstack/tests/ |
D | RegsIterateTest.cpp | 62 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 …]
|
D | ArmExidxDecodeTest.cpp | 89 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/ |
D | l2cap_test.cc | 77 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/vold/fs/ |
D | F2fs.cpp | 46 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 …]
|
D | Ext4.cpp | 115 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 …]
|
D | Vfat.cpp | 64 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 …]
|
D | Exfat.cpp | 43 cmd.push_back(kFsckPath); in Check() 44 cmd.push_back("-a"); in Check() 45 cmd.push_back(source); in Check() 79 cmd.push_back(kMkfsPath); in Format() 80 cmd.push_back("-n"); in Format() 81 cmd.push_back("android"); in Format() 82 cmd.push_back(source); in Format()
|
/system/chre/util/tests/ |
D | fixed_size_vector_test.cc | 54 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 …]
|
D | dynamic_vector_test.cc | 66 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/core/fs_mgr/ |
D | fs_mgr_format.cpp | 81 mke2fs_args.push_back("-I"); in format_ext4() 82 mke2fs_args.push_back("512"); in format_ext4() 87 mke2fs_args.push_back("-O"); in format_ext4() 88 mke2fs_args.push_back("metadata_csum"); in format_ext4() 95 mke2fs_args.push_back("-O"); in format_ext4() 96 mke2fs_args.push_back("64bit"); in format_ext4() 97 mke2fs_args.push_back("-O"); in format_ext4() 98 mke2fs_args.push_back("extent"); in format_ext4() 101 mke2fs_args.push_back(fs_blkdev.c_str()); in format_ext4() 102 mke2fs_args.push_back(size_str.c_str()); in format_ext4() [all …]
|
/system/keymaster/key_blob_utils/ |
D | software_keyblobs.cpp | 51 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/ |
D | keystore_utils.cpp | 110 params->push_back(TAG_PURPOSE, KeyPurpose::SIGN); in add_legacy_key_authorizations() 111 params->push_back(TAG_PURPOSE, KeyPurpose::VERIFY); in add_legacy_key_authorizations() 112 params->push_back(TAG_PURPOSE, KeyPurpose::ENCRYPT); in add_legacy_key_authorizations() 113 params->push_back(TAG_PURPOSE, KeyPurpose::DECRYPT); in add_legacy_key_authorizations() 114 params->push_back(TAG_PADDING, PaddingMode::NONE); in add_legacy_key_authorizations() 116 params->push_back(TAG_PADDING, PaddingMode::RSA_PKCS1_1_5_SIGN); in add_legacy_key_authorizations() 117 params->push_back(TAG_PADDING, PaddingMode::RSA_PKCS1_1_5_ENCRYPT); in add_legacy_key_authorizations() 118 params->push_back(TAG_PADDING, PaddingMode::RSA_PSS); in add_legacy_key_authorizations() 119 params->push_back(TAG_PADDING, PaddingMode::RSA_OAEP); in add_legacy_key_authorizations() 121 params->push_back(TAG_DIGEST, Digest::NONE); in add_legacy_key_authorizations() [all …]
|
/system/core/init/ |
D | service_test.cpp | 82 args.push_back("exec"); in TEST() 86 args.push_back("--"); in TEST() 92 args.push_back("exec"); in TEST() 93 args.push_back("seclabel"); in TEST() 94 args.push_back("root"); // uid. in TEST() 95 args.push_back("root"); // gid. in TEST() 97 args.push_back("root"); // Supplementary gid. in TEST() 99 args.push_back("--"); in TEST() 100 args.push_back("/system/bin/id"); in TEST() 107 args.push_back("exec"); in Test_make_temporary_oneshot_service() [all …]
|
/system/bt/profile/avrcp/ |
D | avrcp_message_converter.h | 73 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/ |
D | Disk.cpp | 129 list.push_back(vol->getId()); in listVolumes() 169 mVolumes.push_back(vol); in createPublicVolume() 200 mVolumes.push_back(vol); in createPrivateVolume() 310 cmd.push_back(kSgdiskPath); in readPartitions() 311 cmd.push_back("--android-dump"); in readPartitions() 312 cmd.push_back(mDevPath); in readPartitions() 421 cmd.push_back(kSgdiskPath); in partitionPublic() 422 cmd.push_back("--zap-all"); in partitionPublic() 423 cmd.push_back(mDevPath); in partitionPublic() 434 cmd.push_back(kSgdiskPath); in partitionPublic() [all …]
|
/system/bt/stack/test/rfcomm/ |
D | stack_rfcomm_test_utils.cc | 68 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/ |
D | Log.cpp | 58 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/tools/hidl/lint/lints/ |
D | methodDocComment.cpp | 102 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments() 109 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments() 116 errors->push_back( in methodDocComments() 121 dcReturns.push_back(returnName); in methodDocComments() 131 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments() 137 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments() 144 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments() 150 errors->push_back( in methodDocComments() 155 dcArgs.push_back(returnName); in methodDocComments() 162 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments() [all …]
|
/system/core/fastboot/ |
D | fs.cpp | 124 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/linkerconfig/modules/ |
D | namespace.cc | 68 link_list.push_back(link.To()); in WriteConfig() 79 search_paths_.push_back(path); in AddSearchPath() 82 asan_search_paths_.push_back(CreateAsanPath(path)); in AddSearchPath() 84 asan_search_paths_.push_back(path); in AddSearchPath() 88 permitted_paths_.push_back(path); in AddPermittedPath() 91 asan_permitted_paths_.push_back(CreateAsanPath(path)); in AddPermittedPath() 93 asan_permitted_paths_.push_back(path); in AddPermittedPath() 97 whitelisted_.push_back(path); in AddWhitelisted()
|
/system/bt/stack/test/common/ |
D | stack_test_packet_utils.cc | 32 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/ |
D | rsa_keymaster0_key.cpp | 61 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()
|
D | ec_keymaster0_key.cpp | 59 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/ |
D | StrictController.cpp | 69 #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/keymaster/tests/ |
D | android_keymaster_test.cpp | 262 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 …]
|