Home
last modified time | relevance | path

Searched refs:Add (Results 1 – 25 of 95) sorted by relevance

1234

/system/extras/memory_replay/tests/
DPointersTest.cpp24 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/
Dgenerate_java_binder.cpp139 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 …]
Dtype_java.cpp249 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 …]
Dtype_cpp.cpp368 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 …]
Dgenerate_java.cpp154 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/
Dcounted_builder_test.cc63 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/
Dtest_function_map.h33 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
Dsubcontext_test.cpp177 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()
Dinit_test.cpp77 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()
Dsubcontext_benchmark.cpp55 test_function_map.Add("return_success", 0, 0, true, in BuildTestFunctionMap()
/system/extras/memory_replay/
DAction.cpp71 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()
DPointers.h33 void Add(uintptr_t key_pointer, void* pointer);
/system/core/libunwindstack/tests/
DMapInfoCreateMemoryTest.cpp290 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/
Dproguard-rules.pro1 # Add project specific ProGuard rules here.
10 # Add any project specific keep options here:
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/
Dproguard-rules.pro1 # Add project specific ProGuard rules here.
10 # Add any project specific keep options here:
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/app/
Dproguard-rules.pro1 # Add project specific ProGuard rules here.
10 # Add any project specific keep options here:
/system/update_engine/payload_generator/
Dextent_utils_unittest.cc68 *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/
Doperation_table.h36 keymaster_error_t Add(OperationPtr&& operation);
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dtest_model.cc92 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()
Dtest_command_handler.cc42 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/
Dmini_keyctl_utils.h22 int Add(const std::string& type, const std::string& desc, const std::string& data,
/system/bt/vendor_libs/test_vendor_lib/packets/
Dcounted_builder.h40 void Add(std::unique_ptr<BasePacketBuilder> builder);
Dcounted_builder.cc39 void CountedBuilder::Add(std::unique_ptr<BasePacketBuilder> builder) { in Add() function in test_vendor_lib::packets::CountedBuilder
/system/core/debuggerd/libdebuggerd/test/
DUnwinderMock.h30 GetMaps()->Add(start, end, offset, flags, name, load_bias); in MockAddMap()
/system/keymaster/android_keymaster/
Doperation_table.cpp25 keymaster_error_t OperationTable::Add(OperationPtr&& operation) { in Add() function in keymaster::OperationTable

1234