Searched refs:set (Results 1 - 25 of 38) sorted by relevance

12

/system/bt/btcore/include/
H A Ddevice_class.h68 void device_class_set_limited(bt_device_class_t *dc, bool set);
71 void device_class_set_positioning(bt_device_class_t *dc, bool set);
74 void device_class_set_networking(bt_device_class_t *dc, bool set);
77 void device_class_set_rendering(bt_device_class_t *dc, bool set);
80 void device_class_set_capturing(bt_device_class_t *dc, bool set);
83 void device_class_set_object_transfer(bt_device_class_t *dc, bool set);
86 void device_class_set_audio(bt_device_class_t *dc, bool set);
89 void device_class_set_telephony(bt_device_class_t *dc, bool set);
92 void device_class_set_information(bt_device_class_t *dc, bool set);
/system/netd/server/
H A DNetwork.h22 #include <set>
44 const std::set<std::string>& getInterfaces() const;
55 std::set<std::string> mInterfaces;
H A DTetherController.h21 #include <set>
37 std::set<std::string> mForwardingRequests;
H A DNatController.h48 int setForwardRules(bool set, const char *intIface, const char *extIface);
H A DNetwork.cpp36 const std::set<std::string>& Network::getInterfaces() const {
43 // removes the string from the set.
H A DNetworkController.h27 #include <set>
38 * by netid. In all set* commands netid == 0 means "unspecified" and is
54 // set to a non-NETID_UNSET value if the user already has indicated a preference. Returns the
55 // fwmark value to set on the socket when performing the DNS request.
112 std::set<uid_t> mProtectableUsers;
/system/keymaster/
H A Dauthorization_set_test.cpp36 AuthorizationSet set(params, array_length(params));
37 EXPECT_EQ(8U, set.size());
48 AuthorizationSet set(params, array_length(params));
49 AuthorizationSet set2(set);
50 EXPECT_EQ(set, set2);
68 AuthorizationSet set(AuthorizationSetBuilder()
78 EXPECT_EQ(8U, set.size());
80 int pos = set.find(TAG_ALGORITHM);
82 EXPECT_EQ(KM_TAG_ALGORITHM, set[pos].tag);
83 EXPECT_EQ(KM_ALGORITHM_RSA, set[po
[all...]
H A Dandroid_keymaster_test_utils.h50 std::ostream& operator<<(std::ostream& os, const AuthorizationSet& set);
55 bool contains(const AuthorizationSet& set, TypedEnumTag<KM_ENUM, Tag, KeymasterEnum> tag, argument
57 int pos = set.find(tag);
58 return pos != -1 && set[pos].enumerated == val;
62 bool contains(const AuthorizationSet& set, TypedEnumTag<KM_ENUM_REP, Tag, KeymasterEnum> tag, argument
65 while ((pos = set.find(tag, pos)) != -1)
66 if (set[pos].enumerated == val)
72 bool contains(const AuthorizationSet& set, TypedTag<KM_UINT, Tag> tag, uint32_t val) { argument
73 int pos = set.find(tag);
74 return pos != -1 && set[po
78 contains(const AuthorizationSet& set, TypedTag<KM_UINT_REP, Tag> tag, uint32_t val) argument
87 contains(const AuthorizationSet& set, TypedTag<KM_ULONG, Tag> tag, uint64_t val) argument
93 contains(const AuthorizationSet& set, TypedTag<KM_BYTES, Tag> tag, const std::string& val) argument
101 contains(const AuthorizationSet& set, TypedTag<KM_BIGNUM, Tag> tag, const std::string& val) argument
108 contains(const AuthorizationSet& set, keymaster_tag_t tag) argument
[all...]
H A Dauthorization_set.cpp38 elems_ = builder.set.elems_;
39 builder.set.elems_ = NULL;
41 elems_size_ = builder.set.elems_size_;
42 builder.set.elems_size_ = 0;
44 elems_capacity_ = builder.set.elems_capacity_;
45 builder.set.elems_capacity_ = 0;
47 indirect_data_ = builder.set.indirect_data_;
48 builder.set.indirect_data_ = NULL;
50 indirect_data_capacity_ = builder.set.indirect_data_capacity_;
51 builder.set
211 push_back(const keymaster_key_param_set_t& set) argument
[all...]
H A Dandroid_keymaster_test_utils.cpp145 std::ostream& operator<<(std::ostream& os, const AuthorizationSet& set) { argument
146 if (set.size() == 0)
148 for (size_t i = 0; i < set.size(); ++i) {
149 os << set[i] << std::endl;
198 AuthorizationSet set; local
199 set.push_back(TAG_USER_ID, 7);
200 set.push_back(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD);
201 set.push_back(TAG_AUTH_TIMEOUT, 300);
202 return set;
206 AuthorizationSet set; local
[all...]
/system/core/libutils/tests/
H A DBlobCache_test.cpp48 mBC->set("abcd", 4, "efgh", 4);
58 mBC->set("ab", 2, "cd", 2);
59 mBC->set("ef", 2, "gh", 2);
70 mBC->set("abcd", 4, "efgh", 4);
82 mBC->set("abcd", 4, "efgh", 4);
90 mBC->set("abcd", 4, "efgh", 4);
96 mBC->set("abcd", 4, "efgh", 4);
97 mBC->set("abcd", 4, "ijkl", 4);
107 mBC->set("abcd", 4, "efgh", 4);
108 mBC->set("abc
[all...]
/system/core/toolbox/
H A Dr.c53 bool set = false; local
56 set = true;
82 if(set) *x = value;
88 if(set) *x = value;
94 if(set) *x = value;
/system/core/libpixelflinger/arch-mips/
H A Dt32cb16blend.S41 DBG .set noat
43 DBG .set at
75 DBG .set noat
82 DBG .set at
92 DBG .set push
93 DBG .set noat
94 DBG .set mips32r2
96 DBG .set pop
160 DBG .set push
161 DBG .set noa
[all...]
/system/keymaster/include/keymaster/
H A Dauthorization_set.h54 * set, if allocations might fail.
61 explicit AuthorizationSet(const keymaster_key_param_set_t& set) : indirect_data_(nullptr) { argument
63 Reinitialize(set.params, set.length);
79 AuthorizationSet(const AuthorizationSet& set) : Serializable(), indirect_data_(nullptr) { argument
81 Reinitialize(set.elems_, set.elems_size_);
85 * Clear existing authorization set data
97 bool Reinitialize(const AuthorizationSet& set) { argument
98 return Reinitialize(set
101 Reinitialize(const keymaster_key_param_set_t& set) argument
483 AuthorizationSet set; member in class:keymaster::AuthorizationSetBuilder
[all...]
/system/bt/
H A DAndroid.mk23 -Wunused-but-set-variable \
/system/bt/btcore/src/
H A Ddevice_class.c127 void device_class_set_information(bt_device_class_t *dc, bool set) { argument
129 if (set)
140 void device_class_set_limited(bt_device_class_t *dc, bool set) { argument
142 if (set)
H A Dcounter.c86 static int set(socket_t *socket);
92 { "set", "<counter> - Set something", set},
239 LOG_ERROR("%s unable to set new counter into hash map name:%s", __func__, name);
413 static int set(UNUSED_ATTR socket_t *socket) { function
414 output(socket, "set command unimplemented\n");
/system/extras/perfprofd/quipper/
H A Dperf_parser.h11 #include <set>
31 // Comparator that allows this to be stored in a STL set.
165 // Events can not be sorted by time if PERF_SAMPLE_TIME is not set in
202 // A set to store the actual command strings.
203 std::set<string> commands_;
207 // A set of unique DSOs that may be referenced by multiple events.
208 std::set<DSOInfo> dso_set_;
/system/core/debuggerd/mips/
H A Dcrashglue.S1 .set noat
/system/core/debuggerd/mips64/
H A Dcrashglue.S1 .set noat
/system/core/toolbox/upstream-netbsd/bin/dd/
H A Dargs.c88 u_int set, noset; member in struct:arg
144 "%s: illegal argument combination or already set",
148 ddflags |= ap->set;
157 * just wanted to set both the input and output block sizes
336 u_int set, noset; member in struct:conv
377 ddflags |= cp->set;
/system/core/libsync/tests/
H A Dsync_test.cpp281 fd_set set; local
282 FD_ZERO(&set);
283 FD_SET(fence.getFd(), &set);
287 ASSERT_EQ(select(fence.getFd() + 1, &set, nullptr, nullptr, &time), 0);
294 FD_ZERO(&set);
295 FD_SET(fence.getFd(), &set);
297 ASSERT_EQ(select(fence.getFd() + 1, &set, nullptr, nullptr, &time), 1);
298 ASSERT_TRUE(FD_ISSET(fence.getFd(), &set));
569 // Randomly create syncpoints out of a fixed set of timelines, and merge them together.
/system/core/include/utils/
H A DBlobCache.h46 // set inserts a new binary value into the cache and associates it with the
53 // will be in the cache after set returns. Note, however, that a subsequent
54 // call to set may evict old key/value pairs from the cache.
61 void set(const void* key, size_t keySize, const void* value,
112 // clean evicts a randomly chosen set of entries from the cache such that
218 // BlobCache::set with a keySize parameter larger than mMaxKeySize will
223 // BlobCache::set with a valueSize parameter larger than mMaxValueSize will
228 // includes space for both keys and values. When a call to BlobCache::set
230 // pair passed to BlobCache::set will not be cached or other cache entries
243 // Cache entries are added to it by the 'set' metho
[all...]
/system/extras/tests/binder/benchmarks/
H A DbinderAddInts.cpp96 static ostream &operator<<(ostream &stream, const cpu_set_t& set);
374 static ostream &operator<<(ostream &stream, const cpu_set_t& set) argument
377 if (CPU_ISSET(n1, &set)) {
/system/bt/stack/srvc/
H A Dsrvc_eng.c388 BOOLEAN set = TRUE; local
397 set = FALSE;
399 return set;

Completed in 404 milliseconds

12