Home
last modified time | relevance | path

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

12

/system/tools/aidl/
Dtype_java.cpp65 addTo->Add(new LiteralExpression("/* WriteToParcel error " + m_javaType + in WriteToParcel()
73 addTo->Add(new LiteralExpression("/* CreateFromParcel error " + in CreateFromParcel()
81 addTo->Add(new LiteralExpression("/* ReadFromParcel error " + in ReadFromParcel()
113 addTo->Add(new MethodCall(parcel, m_marshallParcel, 1, v)); in WriteToParcel()
118 addTo->Add(new Assignment(v, new MethodCall(parcel, m_unmarshallParcel))); in CreateFromParcel()
134 addTo->Add(new MethodCall(parcel, m_writeArrayParcel, 1, v)); in WriteToParcel()
139 addTo->Add(new Assignment(v, new MethodCall(parcel, m_createArrayParcel))); in CreateFromParcel()
144 addTo->Add(new MethodCall(parcel, m_readArrayParcel, 1, v)); in ReadFromParcel()
157 addTo->Add(new MethodCall(parcel, "writeRawFileDescriptor", 1, v)); in WriteToParcel()
162 addTo->Add(new Assignment(v, new MethodCall(parcel, "readRawFileDescriptor"))); in CreateFromParcel()
[all …]
Dgenerate_java_binder.cpp82 ctor->statements->Add(attach); in StubClass()
94 asBinder->statements->Add(new ReturnStatement(THIS_VALUE)); in StubClass()
115 onTransact->statements->Add(this->transact_switch); in StubClass()
119 onTransact->statements->Add(new ReturnStatement(superCall)); in StubClass()
140 ifstatement->statements->Add(new ReturnStatement(NULL_VALUE)); in make_as_interface()
141 m->statements->Add(ifstatement); in make_as_interface()
150 m->statements->Add(iinVd); in make_as_interface()
165 instOfStatement->statements->Add( in make_as_interface()
167 m->statements->Add(instOfStatement); in make_as_interface()
171 m->statements->Add(new ReturnStatement(ne)); in make_as_interface()
[all …]
Dtype_cpp.cpp409 Add(new ByteType()); in Init()
410 Add(new PrimitiveType( in Init()
414 Add(new PrimitiveType( in Init()
418 Add(new PrimitiveType( in Init()
422 Add(new PrimitiveType( in Init()
426 Add(new PrimitiveType( in Init()
431 Add(new PrimitiveType( in Init()
459 Add(string_type_); in Init()
484 Add(new Type( in Init()
494 Add(ibinder_type_); in Init()
[all …]
Dtype_namespace.h172 bool Add(const T* type);
193 bool LanguageTypeNamespace<T>::Add(const T* type) { in Add() function
/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 …]
DActionTest.cpp55 pointers.Add(0x1234, malloc(10)); in TEST()
105 pointers.Add(0xabcd, malloc(10)); in TEST()
/system/connectivity/shill/
Dhook_table_unittest.cc71 hook_table_.Add(kName, start_callback); in TEST_F()
100 hook_table_.Add(kName, start_callback); in TEST_F()
101 hook_table_.Add(kName2, start2_callback); in TEST_F()
117 hook_table_.Add(kName, start_callback); in TEST_F()
134 hook_table_.Add(kName, start_callback); in TEST_F()
160 hook_table_.Add(kName1, start2_callback); in TEST_F()
161 hook_table_.Add(kName2, start_callback); in TEST_F()
162 hook_table_.Add(kName3, start_callback); in TEST_F()
178 hook_table_.Add(kName1, start_callback); in TEST_F()
179 hook_table_.Add(kName2, start_callback); in TEST_F()
[all …]
Dhook_table.h66 void Add(const std::string& name, const base::Closure& start);
Dhook_table.cc46 void HookTable::Add(const string& name, const Closure& start_callback) { in Add() function in shill::HookTable
/system/core/metricsd/
Dmetrics_collector.cc320 any_crashes_daily_count_->Add(1); in ProcessUserCrash()
321 any_crashes_weekly_count_->Add(1); in ProcessUserCrash()
322 user_crashes_daily_count_->Add(1); in ProcessUserCrash()
323 user_crashes_weekly_count_->Add(1); in ProcessUserCrash()
333 any_crashes_daily_count_->Add(1); in ProcessKernelCrash()
334 any_crashes_weekly_count_->Add(1); in ProcessKernelCrash()
335 kernel_crashes_daily_count_->Add(1); in ProcessKernelCrash()
336 kernel_crashes_weekly_count_->Add(1); in ProcessKernelCrash()
338 kernel_crashes_version_count_->Add(1); in ProcessKernelCrash()
348 unclean_shutdowns_daily_count_->Add(1); in ProcessUncleanShutdown()
[all …]
Dpersistent_integer_mock.h33 MOCK_METHOD1(Add, void(int64_t count));
Dpersistent_integer.h53 virtual void Add(int64_t x);
Dpersistent_integer_test.cc51 pi->Add(3); in TEST_F()
Dpersistent_integer.cc56 void PersistentInteger::Add(int64_t x) { in Add() function in chromeos_metrics::PersistentInteger
/system/core/metricsd/uploader/
Dbn_metricsd_impl.cc47 histogram->Add(sample); in recordHistogram()
62 histogram->Add(sample); in recordLinearHistogram()
75 histogram->Add(sample); in recordSparseHistogram()
Dupload_service_test.cc70 histogram->Add(sample); in SendSparseHistogram()
77 histogram->Add(sample); in SendHistogram()
/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);
DPointers.cpp52 void Pointers::Add(uintptr_t key_pointer, void* pointer) { in Add() function in Pointers
/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/sepolicy/
Dupdate_verifier.te8 # TODO: Add rules to allow update_verifier to read system_block_device.
Dsu.te22 # Add su to various domains
/system/keymaster/
Doperation_table.h42 keymaster_error_t Add(Operation* operation, keymaster_operation_handle_t* op_handle);
Doperation_table.cpp34 keymaster_error_t OperationTable::Add(Operation* operation, in Add() function in keymaster::OperationTable
/system/extras/tests/sdcard/
Dplot_sdcard.py63 def Add(self, time, value): member in DataSet
170 dataset.Add(float(time), float(value))

12