Searched refs:add (Results 1 - 25 of 120) sorted by relevance

12345

/system/core/libutils/tests/
H A DVector_test.cpp47 vector.add(1);
48 vector.add(2);
49 vector.add(3);
58 // add an element to the first vector
59 vector.add(4);
65 // add an element to the copy
66 other.add(5);
84 vector.add(1);
85 vector.add(2);
86 vector.add(
[all...]
/system/libvintf/include/vintf/
H A DCompatibilityMatrix.h58 bool add(MatrixHal &&hal);
59 bool add(MatrixKernel &&kernel);
H A DHalGroup.h36 if (!add(std::move(pair.second))) {
44 bool add(Hal&& hal) { function in struct:android::vintf::HalGroup
58 // override this to filter for add.
/system/netd/server/
H A DNatController.cpp152 // add this if we are the first added nat
201 int NatController::setForwardRules(bool add, const char *intIface, const char *extIface) { argument
202 const char *op = add ? "-A" : "-D";
208 if (iptablesRestoreFunction(V6, rpfilterCmd) == -1 && add) {
226 /* We only ever add tethering quota rules so that they stick. */
228 if (add && !checkTetherCountingRuleExist(pair1)) {
233 if (add && !checkTetherCountingRuleExist(pair2)) {
241 if (add) {
249 // We only add IPv6 rules here, never remove them.
251 (add
[all...]
H A DUidRanges.h40 void add(const UidRanges& other);
H A DRouteController.cpp432 Permission permission, bool add) {
441 add ? "-A" : "-D", RouteController::LOCAL_MANGLE_INPUT,
455 WARN_UNUSED_RESULT int modifyVpnOutputToLocalRule(const char* vpnInterface, bool add) { argument
456 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, RULE_PRIORITY_VPN_OUTPUT_TO_LOCAL,
467 bool secure, bool add) {
485 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, priority, table, fwmark.intValue,
495 bool add) {
507 return modifyIpRule(add ? RTM_NEWRULE : RTM_DELRULE, priority, table, fwmark.intValue,
520 uid_t uidEnd, bool add) {
533 return modifyIpRule(add
431 modifyIncomingPacketMark(unsigned netId, const char* interface, Permission permission, bool add) argument
466 modifyVpnUidRangeRule(uint32_t table, uid_t uidStart, uid_t uidEnd, bool secure, bool add) argument
494 modifyVpnSystemPermissionRule(unsigned netId, uint32_t table, bool secure, bool add) argument
518 modifyExplicitNetworkRule(unsigned netId, uint32_t table, Permission permission, uid_t uidStart, uid_t uidEnd, bool add) argument
541 modifyOutputInterfaceRules(const char* interface, uint32_t table, Permission permission, uid_t uidStart, uid_t uidEnd, bool add) argument
569 modifyImplicitNetworkRule(unsigned netId, uint32_t table, bool add) argument
716 modifyLocalNetwork(unsigned netId, const char* interface, bool add) argument
724 modifyPhysicalNetwork(unsigned netId, const char* interface, Permission permission, bool add) argument
769 modifyRejectNonSecureNetworkRule(const UidRanges& uidRanges, bool add) argument
787 modifyVirtualNetwork(unsigned netId, const char* interface, const UidRanges& uidRanges, bool secure, bool add, bool modifyNonUidBasedRules) argument
[all...]
H A DIdletimerControllerTest.cpp66 const std::vector<std::string> makeAddRemoveCommands(bool add) { argument
67 const char *op = add ? "-A" : "-D";
H A DVirtualNetwork.cpp49 int VirtualNetwork::maybeCloseSockets(bool add, const UidRanges& uidRanges, argument
62 add ? "adding" : "removing", uidRanges.toString().c_str(), mNetId, strerror(-ret));
75 ALOGE("failed to add users on interface %s of netId %u", interface.c_str(), mNetId);
79 mUidRanges.add(uidRanges);
108 ALOGE("failed to add interface %s to VPN netId %u", interface.c_str(), mNetId);
H A DNatController.h52 int setTetherCountingRules(bool add, const char *intIface, const char *extIface);
H A DVirtualNetwork.h53 int maybeCloseSockets(bool add, const UidRanges& uidRanges,
/system/libvintf/
H A DCompatibilityMatrix.cpp27 bool CompatibilityMatrix::add(MatrixHal &&hal) { function in class:android::vintf::CompatibilityMatrix
28 return HalGroup<MatrixHal>::add(std::move(hal));
31 bool CompatibilityMatrix::add(MatrixKernel &&kernel) { function in class:android::vintf::CompatibilityMatrix
/system/core/libpixelflinger/arch-arm64/
H A Dt32cb16blend.S60 add w7, w7, w7, lsr #7 // sA + (sA >> 7)
73 add w16, w6, w16, lsr #8
84 add w6, w16, w6, lsr #8
95 add w16, w6, w16, lsr #8
109 add w16, w6, w16, lsr #8
121 add w6, w16, w6, lsr #(5+8)
132 add w16, w6, w16, lsr #8
179 add x0, x0, #4
196 add x0, x0, #4
/system/core/libpixelflinger/
H A Dt32cb16blend.S49 add r7, r7, r7, lsr #7 // sA + (sA >> 7)
61 add lr, r6, lr, lsr #8
71 add r6, lr, r6, lsr #(5+8)
81 add lr, r6, lr, lsr #8
94 add lr, r6, lr, lsr #8
105 add r6, lr, r6, lsr #(5+8)
115 add lr, r6, lr, lsr #8
167 add r0, r0, #4
187 add r0, r0, #4
/system/extras/perfprofd/quipper/build/
H A Dbuild_config.h52 #error Please add support for your platform in build/build_config.h
85 #error Please add support for your compiler in build/build_config.h
128 #error Please add support for your architecture in build/build_config.h
147 #error Please add support for your compiler in build/build_config.h
/system/core/libcutils/arch-arm64/
H A Dandroid_memset.S88 add dst, dst, tmp1
100 add dst, dst, count
130 add dst, dst, tmp2
145 add dst, dst, #16
160 add dst, dst, tmp2
197 add dst, dst, #64
200 add dst, dst, tmp2
205 add dst, dst, zva_len_x
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
H A DHidlTestJava.java277 foo.aaa.add(bar);
297 foo.aaa.add(bar);
312 foo.aaa.add(bar);
339 foo.aaa.add(bar);
345 inputVec.add(foo);
354 foo.aaa.add(bar);
360 inputVec.add(foo);
363 expectedOutputVec.add(inputVec.get(1));
364 expectedOutputVec.add(inputVec.get(0));
382 in.addresses.add(ma
[all...]
/system/sepolicy/public/
H A Dte_macros44 # Allow the domain to add entries to the directory.
558 # Ability for domain to add a service to service_manager
562 allow $1 $2:service_manager { add find };
563 neverallow { domain -$1 } $2:service_manager add;
568 # Ability for domain to add a service to hwservice_manager
572 allow $1 $2:hwservice_manager { add find };
573 allow $1 hidl_base_hwservice:hwservice_manager add;
574 neverallow { domain -$1 } $2:hwservice_manager add;
/system/sepolicy/tests/
H A Dmini_parser.py44 self.types.add(m.group(1))
49 self.typeattributes.add(m.group(1))
70 self.pubtypes.add(pub.group(1))
/system/core/libcutils/arch-x86/
H A Dandroid_memset32.S101 add $(TABLE - .), %ebx; \
104 add (%ebx,%ecx,4), %ebx; \
214 add $1, %edx
218 add $1, %edx
222 add $1, %edx
239 add $16, %edx
241 add %eax, %ecx
249 add %ecx, %edx
261 add $_GLOBAL_OFFSET_TABLE_, %ebx
279 add
[all...]
/system/core/include/utils/
H A DVectorImpl.h75 /*! add/insert/replace items */
81 ssize_t add();
82 ssize_t add(const void* item);
146 //! add an item in the right place (or replaces it if there is one)
147 ssize_t add(const void* item);
164 ssize_t add();
/system/core/libutils/include/utils/
H A DVectorImpl.h75 /*! add/insert/replace items */
81 ssize_t add();
82 ssize_t add(const void* item);
146 //! add an item in the right place (or replaces it if there is one)
147 ssize_t add(const void* item);
164 ssize_t add();
/system/core/storaged/
H A Dstoraged.cpp78 void disk_stats_monitor::add(struct disk_perf* perf) { function in class:disk_stats_monitor
79 mStats.read_perf.add(perf->read_perf);
80 mStats.read_ios.add(perf->read_ios);
81 mStats.write_perf.add(perf->write_perf);
82 mStats.write_ios.add(perf->write_ios);
83 mStats.queue.add(perf->queue);
124 add(&perf);
132 add(&perf);
/system/media/camera/docs/
H A DCameraDeviceInfo.mako28 charsKeyNames.add(CameraCharacteristics.${jkey_identifier(entry.name)}.getName());
H A DCaptureResultTest.mako28 resultKeys.add(CaptureResult.${jkey_identifier(entry.name)});
/system/core/logd/
H A DLogStatistics.h120 inline iterator add(const TKey& key, const LogBufferElement* element) { function in class:LogHashtable
125 it->second.add(element);
130 inline iterator add(TKey key) { function in class:LogHashtable
135 it->second.add(key);
222 inline void add(const LogBufferElement* element) { function in struct:EntryBase
264 inline void add(const LogBufferElement* element) { function in struct:EntryBaseDropped
266 EntryBase::add(element);
298 inline void add(const LogBufferElement* element) { function in struct:UidEntry
302 EntryBaseDropped::add(element);
349 inline void add(pid_ function in struct:PidEntry
359 inline void add(const LogBufferElement* element) { function in struct:PidEntry
429 inline void add(pid_t incomingTid) { function in struct:TidEntry
439 inline void add(const LogBufferElement* element) { function in struct:TidEntry
482 inline void add(const LogBufferElement* element) { function in struct:TagEntry
617 inline void add(const LogBufferElement* element) { function in struct:TagNameEntry
[all...]

Completed in 365 milliseconds

12345