Home
last modified time | relevance | path

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

12345

/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/bt/gd/storage/
Dmutation_test.cc40 …mutation.Add(MutationEntry::Set(MutationEntry::PropertyType::NORMAL, "AA:BB:CC:DD:EE:FF", "LinkKey… in TEST()
41 …mutation.Add(MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, "AA:BB:CC:DD:EE:FF", "Link… in TEST()
45 …mutation2.Add(MutationEntry::Set(MutationEntry::PropertyType::NORMAL, "AA:BB:CC:DD:EE:FF", "LinkKe… in TEST()
65 mutation.Add(MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, "A", "B")); in TEST()
76 mutation.Add(MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, "B")); in TEST()
87 mutation.Add(MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, "A", "C")); in TEST()
103 mutation.Add(MutationEntry::Set(MutationEntry::PropertyType::NORMAL, "A", "B", "C")); in TEST()
104 mutation.Add(MutationEntry::Remove(MutationEntry::PropertyType::NORMAL, "A", "B")); in TEST()
114 mutation.Add(MutationEntry::Set(MutationEntry::PropertyType::NORMAL, "A", "B", "C")); in TEST()
115 mutation.Add(MutationEntry::Set(MutationEntry::PropertyType::MEMORY_ONLY, "A", "D", "Hello")); in TEST()
Ddevice_test.cc115 mutation.Add(device.SetName("hello world!")); in TEST()
130 mutation.Add(device.SetDeviceType(DeviceType::BR_EDR)); in TEST()
136 mutation.Add(device.SetDeviceType(DeviceType::LE)); in TEST()
154 mutation.Add(device.SetDeviceType(DeviceType::BR_EDR)); in TEST()
164 mutation.Add(device.RemoveDeviceType()); in TEST()
170 mutation.Add(device.SetDeviceType(DeviceType::LE)); in TEST()
180 mutation.Add(device.RemoveDeviceType()); in TEST()
186 mutation.Add(device.SetDeviceType(DeviceType::DUAL)); in TEST()
232 mutation.Add(device.RemoveFromConfig()); in TEST()
Dmutation.h30 void Add(MutationEntry entry);
Dmutation.cc30 void Mutation::Add(MutationEntry entry) { in Add() function in bluetooth::storage::Mutation
/system/tools/aidl/
Dgenerate_java_binder.cpp129 ctor->statements->Add(stability); in StubClass()
135 ctor->statements->Add(attach); in StubClass()
147 asBinder->statements->Add(std::make_shared<ReturnStatement>(THIS_VALUE)); in StubClass()
161 getDefaultTransactionName->statements->Add(this->code_to_method_name_switch); in StubClass()
173 getTransactionName->statements->Add(std::make_shared<ReturnStatement>( in StubClass()
206 default_case->statements->Add(std::make_shared<ReturnStatement>(superCall)); in finish()
209 transact_statements->Add(this->transact_switch); in finish()
217 code_switch_default_case->statements->Add(std::make_shared<ReturnStatement>(NULL_VALUE)); in finish()
245 transact_statements->Add(std::make_shared<VariableDeclaration>( in get_transact_descriptor()
268 ifstatement->statements->Add(std::make_shared<ReturnStatement>(NULL_VALUE)); in make_as_interface()
[all …]
Dgenerate_java.cpp178 write_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in generate_parcel_class()
193 write_method->statements->Add(std::make_shared<LiteralStatement>(code)); in generate_parcel_class()
202 write_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in generate_parcel_class()
226 constructor->statements->Add(std::make_shared<LiteralStatement>(out.str())); in generate_parcel_class()
264 read_or_create_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in generate_parcel_class()
296 read_or_create_method->statements->Add(std::make_shared<LiteralStatement>(code)); in generate_parcel_class()
298 read_or_create_method->statements->Add(sizeCheck); in generate_parcel_class()
318 read_or_create_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in generate_parcel_class()
353 describe_contents_method->statements->Add(std::make_shared<LiteralStatement>("return 0;\n")); in generate_parcel_class()
/system/core/logd/
DLogStatistics.h142 iterator Add(const TKey& key, const LogStatisticsElement& element) { in Add() function
147 it->second.Add(element); in Add()
152 iterator Add(const TKey& key) { in Add() function
157 it->second.Add(key); in Add()
196 void Add(const LogStatisticsElement& element) { size_ += element.total_len; } in Add() function
236 void Add(const LogStatisticsElement& element) { in Add() function
238 EntryBase::Add(element); in Add()
260 void Add(const LogStatisticsElement& element) { in Add() function
264 EntryBaseDropped::Add(element); in Add()
295 void Add(pid_t new_pid) { in Add() function
[all …]
/system/extras/memory_replay/
DAlloc.cpp106 pointers->Add(entry.ptr, memory); in MallocExecute()
118 pointers->Add(entry.ptr, memory); in CallocExecute()
135 pointers->Add(entry.ptr, memory); in ReallocExecute()
147 pointers->Add(entry.ptr, memory); in MemalignExecute()
DPointers.h32 void Add(uintptr_t key_pointer, void* pointer);
/system/core/libunwindstack/tests/
DMapInfoCreateMemoryTest.cpp285 maps.Add(0x500, 0x600, 0, PROT_READ, "something_else", 0); in TEST_F()
286 maps.Add(0x1000, 0x2600, 0, PROT_READ, "/only/in/memory.so", 0); in TEST_F()
287 maps.Add(0x3000, 0x5000, 0x4000, PROT_READ | PROT_EXEC, "/only/in/memory.so", 0); in TEST_F()
325 maps.Add(0x500, 0x600, 0, PROT_READ, "something_else", 0); in TEST_F()
326 maps.Add(0x1000, 0x2000, 0, PROT_READ, "/only/in/memory.apk", 0); in TEST_F()
327 maps.Add(0x2000, 0x3000, 0x1000, PROT_READ | PROT_EXEC, "/only/in/memory.apk", 0); in TEST_F()
328 maps.Add(0x3000, 0x4000, 0xa000, PROT_READ, "/only/in/memory.apk", 0); in TEST_F()
329 maps.Add(0x4000, 0x5000, 0xb000, PROT_READ | PROT_EXEC, "/only/in/memory.apk", 0); in TEST_F()
372 maps.Add(0x500, 0x600, 0, PROT_READ, "something_else", 0); in TEST_F()
373 maps.Add(0x1000, 0x2000, 0x1000, PROT_READ, elf_at_1000_.path, 0); in TEST_F()
[all …]
/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/extras/simpleperf/demo/SimpleperfExampleOfKotlin/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/testing/gtest_extras/
DAndroid.bp34 // Add liblog as a shared library so that gtests can override liblog
53 // Add liblog as a shared library so that gtests can override liblog
/system/keymaster/include/keymaster/
Doperation_table.h36 keymaster_error_t Add(OperationPtr&& operation);
/system/sepolicy/private/compat/30.0/
D30.0.ignore.cil3 ;; previous ones. Add here to pass checkapi tests.
/system/core/libunwindstack/
DMemoryOffline.h50 void Add(MemoryOffline* memory) { memories_.push_back(memory); } in Add() function
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dtest_command_handler.cc39 SET_HANDLER("add", Add); in TestCommandHandler()
103 void TestCommandHandler::Add(const vector<std::string>& args) { in Add() function in test_vendor_lib::TestCommandHandler
119 size_t dev_index = model_.Add(new_dev); in Add()
Dtest_model.cc105 size_t TestModel::Add(std::shared_ptr<Device> new_dev) { in Add() function in test_vendor_lib::TestModel
165 int index = Add(dev); in AddLinkLayerConnection()
188 size_t index = Add(std::static_pointer_cast<Device>(dev)); in IncomingHciConnection()
/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
/system/core/libprocessgroup/
Dtask_profiles.cpp419 profile->Add(std::make_unique<SetCgroupAction>(controller, path)); in Load()
430 profile->Add(std::make_unique<SetTimerSlackAction>(slack)); in Load()
440 profile->Add( in Load()
455 profile->Add(std::make_unique<SetClampsAction>(boost, clamp)); in Load()
503 profile->Add(std::make_unique<ApplyProfileAction>(profiles)); in Load()
/system/core/libkeyutils/mini_keyctl/
Dmini_keyctl.cpp66 int Add(const std::string& type, const std::string& desc, const std::string& data, in Add() function
145 return Add(type, desc, data, keyring); in main()

12345