Home
last modified time | relevance | path

Searched refs:set (Results 1 – 25 of 296) sorted by relevance

12345678910>>...12

/system/bt/btif/src/
Dbtif_uid.c43 uid_set_t* set = osi_calloc(sizeof(uid_set_t)); in uid_set_create() local
44 pthread_mutex_init(&set->lock, NULL); in uid_set_create()
45 return set; in uid_set_create()
48 void uid_set_destroy(uid_set_t* set) { in uid_set_destroy() argument
49 pthread_mutex_lock(&set->lock); in uid_set_destroy()
50 uid_set_node_t* node = set->head; in uid_set_destroy()
56 set->head = NULL; in uid_set_destroy()
57 pthread_mutex_unlock(&set->lock); in uid_set_destroy()
58 pthread_mutex_destroy(&set->lock); in uid_set_destroy()
59 osi_free(set); in uid_set_destroy()
[all …]
/system/keymaster/
Dauthorization_set_test.cpp36 AuthorizationSet set(params, array_length(params)); in TEST() local
37 EXPECT_EQ(8U, set.size()); in TEST()
48 AuthorizationSet set(params, array_length(params)); in TEST() local
49 AuthorizationSet set2(set); in TEST()
50 EXPECT_EQ(set, set2); in TEST()
68 AuthorizationSet set(AuthorizationSetBuilder() in TEST() local
78 EXPECT_EQ(8U, set.size()); in TEST()
80 int pos = set.find(TAG_ALGORITHM); in TEST()
82 EXPECT_EQ(KM_TAG_ALGORITHM, set[pos].tag); in TEST()
83 EXPECT_EQ(KM_ALGORITHM_RSA, set[pos].enumerated); in TEST()
[all …]
Dauthorization_set.cpp38 elems_ = builder.set.elems_; in AuthorizationSet()
39 builder.set.elems_ = NULL; in AuthorizationSet()
41 elems_size_ = builder.set.elems_size_; in AuthorizationSet()
42 builder.set.elems_size_ = 0; in AuthorizationSet()
44 elems_capacity_ = builder.set.elems_capacity_; in AuthorizationSet()
45 builder.set.elems_capacity_ = 0; in AuthorizationSet()
47 indirect_data_ = builder.set.indirect_data_; in AuthorizationSet()
48 builder.set.indirect_data_ = NULL; in AuthorizationSet()
50 indirect_data_capacity_ = builder.set.indirect_data_capacity_; in AuthorizationSet()
51 builder.set.indirect_data_capacity_ = 0; in AuthorizationSet()
[all …]
Dandroid_keymaster_test_utils.h53 std::ostream& operator<<(std::ostream& os, const AuthorizationSet& set);
58 bool contains(const AuthorizationSet& set, TypedEnumTag<KM_ENUM, Tag, KeymasterEnum> tag, in contains() argument
60 int pos = set.find(tag); in contains()
61 return pos != -1 && set[pos].enumerated == val; in contains()
65 bool contains(const AuthorizationSet& set, TypedEnumTag<KM_ENUM_REP, Tag, KeymasterEnum> tag, in contains() argument
68 while ((pos = set.find(tag, pos)) != -1) in contains()
69 if (set[pos].enumerated == val) in contains()
75 bool contains(const AuthorizationSet& set, TypedTag<KM_UINT, Tag> tag, uint32_t val) { in contains() argument
76 int pos = set.find(tag); in contains()
77 return pos != -1 && set[pos].integer == val; in contains()
[all …]
/system/bt/btcore/include/
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/core/libutils/tests/
DBlobCache_test.cpp48 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
58 mBC->set("ab", 2, "cd", 2); in TEST_F()
59 mBC->set("ef", 2, "gh", 2); in TEST_F()
70 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
82 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
90 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
96 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
97 mBC->set("abcd", 4, "ijkl", 4); in TEST_F()
107 mBC->set("abcd", 4, "efgh", 4); in TEST_F()
108 mBC->set("abcd", 4, buf, MAX_VALUE_SIZE+1); in TEST_F()
[all …]
/system/keymaster/include/keymaster/
Dauthorization_set.h61 explicit AuthorizationSet(const keymaster_key_param_set_t& set) : indirect_data_(nullptr) { in AuthorizationSet() argument
63 Reinitialize(set.params, set.length); in AuthorizationSet()
79 AuthorizationSet(const AuthorizationSet& set) : Serializable(), indirect_data_(nullptr) { in AuthorizationSet() argument
81 Reinitialize(set.elems_, set.elems_size_); in AuthorizationSet()
82 error_ = set.error_; in AuthorizationSet()
86 AuthorizationSet(AuthorizationSet&& set) : Serializable() { in AuthorizationSet() argument
87 MoveFrom(set); in AuthorizationSet()
91 AuthorizationSet& operator=(const AuthorizationSet& set) {
92 Reinitialize(set.elems_, set.elems_size_);
93 error_ = set.error_;
[all …]
/system/core/libpixelflinger/arch-mips/
Dt32cb16blend.S41 DBG .set noat
43 DBG .set at
82 DBG .set noat
89 DBG .set at
99 DBG .set push
100 DBG .set noat
101 DBG .set mips32r2
103 DBG .set pop
167 DBG .set push
168 DBG .set noat
[all …]
/system/bt/btif/include/
Dbtif_uid.h32 void uid_set_destroy(uid_set_t* set);
34 void uid_set_add_tx(uid_set_t* set, int32_t app_uid, uint64_t bytes);
35 void uid_set_add_rx(uid_set_t* set, int32_t app_uid, uint64_t bytes);
43 bt_uid_traffic_t* uid_set_read_and_clear(uid_set_t* set);
/system/media/audio_utils/
DDoxyfile.orig63 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
88 # If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member
95 # If the REPEAT_BRIEF tag is set to YES doxygen will prepend the brief
98 # Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
115 # If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
122 # If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
130 # If the FULL_PATH_NAMES tag is set to YES doxygen will prepend the full path
131 # before files name in the file list and in the header files. If set to NO the
145 # This tag requires that the tag FULL_PATH_NAMES is set to YES.
158 # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but
[all …]
DDoxyfile63 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
88 # If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member
95 # If the REPEAT_BRIEF tag is set to YES doxygen will prepend the brief
98 # Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
115 # If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
122 # If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
130 # If the FULL_PATH_NAMES tag is set to YES doxygen will prepend the full path
131 # before files name in the file list and in the header files. If set to NO the
145 # This tag requires that the tag FULL_PATH_NAMES is set to YES.
158 # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but
[all …]
/system/core/toolbox/
Dr.c53 bool set = false; in main() local
56 set = true; in main()
82 if(set) *x = value; in main()
88 if(set) *x = value; in main()
94 if(set) *x = value; in main()
/system/netd/server/
DVirtualNetwork.h42 const std::set<uid_t>& protectableUsers) WARN_UNUSED_RESULT;
44 const std::set<uid_t>& protectableUsers) WARN_UNUSED_RESULT;
51 const std::set<uid_t>& protectableUsers);
DNetwork.h44 const std::set<std::string>& getInterfaces() const;
57 std::set<std::string> mInterfaces;
/system/update_engine/payload_generator/
Dtopological_sort.cc24 using std::set;
31 set<Vertex::Index>* visited_nodes, in TopologicalSortVisit()
49 set<Vertex::Index> visited_nodes; in TopologicalSort()
/system/connectivity/shill/
Ddevice_claimer.h57 const std::set<std::string>& claimed_device_names() const { in claimed_device_names()
65 std::set<std::string> claimed_device_names_;
67 std::set<std::string> released_device_names_;
Dfake_store.cc24 using std::set;
82 set<string> FakeStore::GetGroups() const { in GetGroups()
83 set<string> matching_groups; in GetGroups()
92 set<string> FakeStore::GetGroupsWithKey(const string& key) const { in GetGroupsWithKey()
93 set<string> matching_groups; in GetGroupsWithKey()
105 set<string> FakeStore::GetGroupsWithProperties(const KeyValueStore& properties) in GetGroupsWithProperties()
107 set<string> matching_groups; in GetGroupsWithProperties()
Dkey_file_store.cc35 using std::set;
146 set<string> KeyFileStore::GetGroups() const { in GetGroups()
152 return set<string>(); in GetGroups()
154 set<string> group_set(groups, groups + length); in GetGroups()
161 set<string> KeyFileStore::GetGroupsWithKey(const string& key) const { in GetGroupsWithKey()
162 set<string> groups = GetGroups(); in GetGroupsWithKey()
163 set<string> groups_with_key; in GetGroupsWithKey()
172 set<string> KeyFileStore::GetGroupsWithProperties( in GetGroupsWithProperties()
174 set<string> groups = GetGroups(); in GetGroupsWithProperties()
175 set<string> groups_with_properties; in GetGroupsWithProperties()
/system/core/crash_reporter/
DREADME.md26 they will have to set their SELinux policies in their .te file to allow
37 `crash_reporter` has a few different configuration options that have to be set.
40 either via the weave call to set `_metrics.enableAnalyticsReporting` or by
42 - The `BRILLO_CRASH_SERVER` make variable should be set in the `product.mk`
43 file to the URL of the crash server. For Brillo builds, it is set
47 - The `BRILLO_PRODUCT_ID` make variable should be set in the `product.mk` file
48 to the product's ID. For Brillo builds, it is set automatically through the
60 the *image_type* field set to *force-official* so that these reports can be
/system/firewalld/
Diptables.h66 std::set<Hole>* holes,
70 std::set<Hole>* holes,
110 std::set<Hole> tcp_holes_;
111 std::set<Hole> udp_holes_;
/system/update_engine/update_manager/
Dboxed_value.cc31 using std::set;
120 string BoxedValue::ValuePrinter<set<ConnectionType>>(const void* value) { in ValuePrinter()
122 const set<ConnectionType>* val = in ValuePrinter()
123 reinterpret_cast<const set<ConnectionType>*>(value); in ValuePrinter()
Dboxed_value_unittest.cc36 using std::set;
193 set<ConnectionType>* set1 = new set<ConnectionType>; in TEST()
198 set<ConnectionType>* set2 = new set<ConnectionType>; in TEST()
/system/bt/doc/
Dpower_management.md27 The PM code makes calls into the BTM module to set various power
66 level specifies a set of parameters for the SNIFF mode which relate to the
73 timeout is possible to be set, which effectively allows a power operation to
83 At this point, the power managment code is basically done until the first set of
101 - If any timers were set for the given `BD_ADDR`, they are stopped.
120 `timed_out` parameter set to `false`.
127 instead. If both actions have been attempted, then the action is set to
143 is made, which calls `BTM_SetPowerMode` to set the link into ACTIVE
148 triggers `bta_dm_pm_btm_status`, with the timeout field set to TRUE. HCI
160 `bta_sys_sendmsg`, with the event header set to
[all …]
/system/webservd/webservd/
Dlog_manager_unittest.cc60 std::set<std::string> GetLogFiles() const { in GetLogFiles()
61 std::set<std::string> log_files; in GetLogFiles()
108 std::set<std::string> expected_files{ in TEST_F()
138 std::set<std::string> expected_files{ in TEST_F()
/system/bt/btcore/src/
Ddevice_class.c127 void device_class_set_information(bt_device_class_t *dc, bool set) { in device_class_set_information() argument
129 if (set) in device_class_set_information()
140 void device_class_set_limited(bt_device_class_t *dc, bool set) { in device_class_set_limited() argument
142 if (set) in device_class_set_limited()

12345678910>>...12