/system/extras/memory_replay/tests/ |
D | PointersTest.cpp | 24 pointers.Add(0x1234, reinterpret_cast<void*>(0xabcd)); in TEST() 32 pointers.Add(0x1234, reinterpret_cast<void*>(0xabcd)); in TEST() 35 pointers.Add(0x1234, reinterpret_cast<void*>(0x5555)); in TEST() 46 pointers.Add(0x1234, reinterpret_cast<void*>(0xabcd)); in TEST() 47 pointers.Add(0x11234, reinterpret_cast<void*>(0xabcf)); in TEST() 57 pointers.Add(0x1234, reinterpret_cast<void*>(0xabcd)); in TEST() 58 pointers.Add(0x1235, reinterpret_cast<void*>(0xabcf)); in TEST() 59 pointers.Add(0x1236, reinterpret_cast<void*>(0xabc1)); in TEST() 60 pointers.Add(0x1237, reinterpret_cast<void*>(0xabc2)); in TEST() 65 pointers.Add(0x2349, reinterpret_cast<void*>(0x2abcd)); in TEST() [all …]
|
/system/tools/aidl/ |
D | generate_java_binder.cpp | 139 ctor->statements->Add(attach); in StubClass() 151 asBinder->statements->Add(new ReturnStatement(THIS_VALUE)); in StubClass() 165 getDefaultTransactionName->statements->Add(this->code_to_method_name_switch); in StubClass() 177 getTransactionName->statements->Add( in StubClass() 208 default_case->statements->Add(new ReturnStatement(superCall)); in finish() 211 transact_statements->Add(this->transact_switch); in finish() 219 code_switch_default_case->statements->Add(new ReturnStatement(NULL_VALUE)); in finish() 248 transact_statements->Add( in get_transact_descriptor() 273 ifstatement->statements->Add(new ReturnStatement(NULL_VALUE)); in make_as_interface() 274 m->statements->Add(ifstatement); in make_as_interface() [all …]
|
D | type_java.cpp | 249 Add(std::make_unique<BasicType>(this, "void", "XXX", "XXX", "XXX", "XXX", "XXX")); in Init() 253 Add(std::make_unique<BasicType>(this, "byte", "writeByte", "readByte", "writeByteArray", in Init() 256 Add(std::make_unique<CharType>(this)); in Init() 262 Add(std::make_unique<BasicType>(this, "long", "writeLong", "readLong", "writeLongArray", in Init() 265 Add(std::make_unique<BasicType>(this, "float", "writeFloat", "readFloat", "writeFloatArray", in Init() 268 Add(std::make_unique<BasicType>(this, "double", "writeDouble", "readDouble", "writeDoubleArray", in Init() 272 Add(std::make_unique<class StringType>(this, ::android::aidl::kAidlReservedTypePackage, in Init() 275 Add(std::make_unique<Type>(this, "java.lang", "Object", ValidatableType::KIND_BUILT_IN, false)); in Init() 277 Add(std::make_unique<FileDescriptorType>(this)); in Init() 279 Add(std::make_unique<ParcelFileDescriptorType>(this)); in Init() [all …]
|
D | type_cpp.cpp | 368 Add(std::make_unique<ByteType>()); in Init() 369 Add(std::make_unique<PrimitiveType>("int", "cstdint", "int32_t", "readInt32", "writeInt32", in Init() 371 Add(std::make_unique<PrimitiveType>("long", "cstdint", "int64_t", "readInt64", "writeInt64", in Init() 373 Add(std::make_unique<PrimitiveType>("float", kNoHeader, "float", "readFloat", "writeFloat", in Init() 375 Add(std::make_unique<PrimitiveType>("double", kNoHeader, "double", "readDouble", "writeDouble", in Init() 377 Add(std::make_unique<PrimitiveType>("boolean", kNoHeader, "bool", "readBool", "writeBool", in Init() 380 Add(std::make_unique<PrimitiveType>("char", kNoHeader, "char16_t", "readChar", "writeChar", in Init() 415 Add(std::make_unique<Type>(ValidatableType::KIND_BUILT_IN, kAidlReservedTypePackage, in Init() 431 Add(std::make_unique<MapType>()); in Init() 433 Add(std::make_unique<BinderListType>()); in Init() [all …]
|
D | generate_java.cpp | 154 write_method->statements->Add(new LiteralStatement(out.str())); in generate_parcel_class() 169 write_method->statements->Add(new LiteralStatement(code)); in generate_parcel_class() 178 write_method->statements->Add(new LiteralStatement(out.str())); in generate_parcel_class() 195 read_method->statements->Add(new LiteralStatement(out.str())); in generate_parcel_class() 218 read_method->statements->Add(new LiteralStatement(code)); in generate_parcel_class() 220 read_method->statements->Add(sizeCheck); in generate_parcel_class() 228 read_method->statements->Add(new LiteralStatement(out.str())); in generate_parcel_class() 237 describe_contents_method->statements->Add(new LiteralStatement("return 0;\n")); in generate_parcel_class()
|
/system/bt/vendor_libs/test_vendor_lib/packets/test/ |
D | counted_builder_test.cc | 63 count_builder->Add(std::move(raw1)); in TEST() 64 count_builder->Add(std::move(raw2)); in TEST() 65 count_builder->Add(std::move(raw3)); in TEST() 66 count_builder->Add(std::move(raw4)); in TEST() 67 count_builder->Add(std::move(raw5)); in TEST() 68 count_builder->Add(std::move(raw6)); in TEST() 69 count_builder->Add(std::move(raw7)); in TEST()
|
/system/core/init/ |
D | test_function_map.h | 33 void Add(const std::string& name, const BuiltinFunctionNoArgs function) { in Add() function 34 Add(name, 0, 0, false, [function](const BuiltinArguments&) { in Add() 40 void Add(const std::string& name, std::size_t min_parameters, std::size_t max_parameters, in Add() function
|
D | subcontext_test.cpp | 177 test_function_map.Add("return_pids_as_error", 0, 0, true, in BuildTestFunctionMap() 183 test_function_map.Add("setprop", 2, 2, true, [](const BuiltinArguments& args) { in BuildTestFunctionMap() 191 test_function_map.Add("add_word", 1, 1, true, [words](const BuiltinArguments& args) { in BuildTestFunctionMap() 195 test_function_map.Add("return_words_as_error", 0, 0, true, in BuildTestFunctionMap() 201 test_function_map.Add("cause_log_fatal", 0, 0, true, in BuildTestFunctionMap() 205 test_function_map.Add( in BuildTestFunctionMap() 210 test_function_map.Add( in BuildTestFunctionMap()
|
D | init_test.cpp | 77 test_function_map.Add("pass_test", [&expect_true]() { expect_true = true; }); in TEST() 104 test_function_map.Add("execute_first", [&num_executed]() { EXPECT_EQ(0, num_executed++); }); in TEST() 105 test_function_map.Add("execute_second", [&num_executed]() { EXPECT_EQ(1, num_executed++); }); in TEST() 106 test_function_map.Add("execute_third", [&num_executed]() { EXPECT_EQ(2, num_executed++); }); in TEST() 187 test_function_map.Add("execute", 1, 1, false, execute_command); in TEST()
|
D | subcontext_benchmark.cpp | 55 test_function_map.Add("return_success", 0, 0, true, in BuildTestFunctionMap()
|
/system/extras/memory_replay/ |
D | Action.cpp | 71 pointers->Add(key_pointer_, memory); in Execute() 91 pointers->Add(key_pointer_, memory); in Execute() 121 pointers->Add(key_pointer_, memory); in Execute() 144 pointers->Add(key_pointer_, memory); in Execute()
|
D | Pointers.h | 33 void Add(uintptr_t key_pointer, void* pointer);
|
/system/core/libunwindstack/tests/ |
D | MapInfoCreateMemoryTest.cpp | 290 maps.Add(0x500, 0x600, 0, PROT_READ, "something_else", 0); in TEST_F() 291 maps.Add(0x1000, 0x2600, 0, PROT_READ, "/only/in/memory.so", 0); in TEST_F() 292 maps.Add(0x3000, 0x5000, 0x4000, PROT_READ | PROT_EXEC, "/only/in/memory.so", 0); in TEST_F() 330 maps.Add(0x500, 0x600, 0, PROT_READ, "something_else", 0); in TEST_F() 331 maps.Add(0x1000, 0x2000, 0, PROT_READ, "/only/in/memory.apk", 0); in TEST_F() 332 maps.Add(0x2000, 0x3000, 0x1000, PROT_READ | PROT_EXEC, "/only/in/memory.apk", 0); in TEST_F() 333 maps.Add(0x3000, 0x4000, 0xa000, PROT_READ, "/only/in/memory.apk", 0); in TEST_F() 334 maps.Add(0x4000, 0x5000, 0xb000, PROT_READ | PROT_EXEC, "/only/in/memory.apk", 0); in TEST_F() 377 maps.Add(0x500, 0x600, 0, PROT_READ, "something_else", 0); in TEST_F() 378 maps.Add(0x1000, 0x2000, 0x1000, PROT_READ, elf_at_1000_.path, 0); in TEST_F() [all …]
|
/system/extras/simpleperf/demo/SimpleperfExampleOfKotlin/app/ |
D | proguard-rules.pro | 1 # Add project specific ProGuard rules here. 10 # Add any project specific keep options here:
|
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/ |
D | proguard-rules.pro | 1 # Add project specific ProGuard rules here. 10 # Add any project specific keep options here:
|
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/app/ |
D | proguard-rules.pro | 1 # Add project specific ProGuard rules here. 10 # Add any project specific keep options here:
|
/system/update_engine/payload_generator/ |
D | extent_utils_unittest.cc | 68 *extents.Add() = ExtentForRange(0, 1); in TEST() 70 *extents.Add() = ExtentForRange(23, 55); in TEST() 72 *extents.Add() = ExtentForRange(1, 2); in TEST()
|
/system/keymaster/include/keymaster/ |
D | operation_table.h | 36 keymaster_error_t Add(OperationPtr&& operation);
|
/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | test_model.cc | 92 size_t TestModel::Add(std::shared_ptr<Device> new_dev) { in Add() function in test_vendor_lib::TestModel 144 int index = Add(dev); in AddLinkLayerConnection() 169 int index = Add(std::static_pointer_cast<Device>(dev)); in IncomingHciConnection()
|
D | test_command_handler.cc | 42 SET_HANDLER("add", Add); in TestCommandHandler() 105 void TestCommandHandler::Add(const vector<std::string>& args) { in Add() function in test_vendor_lib::TestCommandHandler 121 size_t dev_index = model_.Add(new_dev); in Add()
|
/system/core/libkeyutils/ |
D | mini_keyctl_utils.h | 22 int Add(const std::string& type, const std::string& desc, const std::string& data,
|
/system/bt/vendor_libs/test_vendor_lib/packets/ |
D | counted_builder.h | 40 void Add(std::unique_ptr<BasePacketBuilder> builder);
|
D | counted_builder.cc | 39 void CountedBuilder::Add(std::unique_ptr<BasePacketBuilder> builder) { in Add() function in test_vendor_lib::packets::CountedBuilder
|
/system/core/debuggerd/libdebuggerd/test/ |
D | UnwinderMock.h | 30 GetMaps()->Add(start, end, offset, flags, name, load_bias); in MockAddMap()
|
/system/keymaster/android_keymaster/ |
D | operation_table.cpp | 25 keymaster_error_t OperationTable::Add(OperationPtr&& operation) { in Add() function in keymaster::OperationTable
|