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

123456789

/system/bt/btif/include/
H A Dbtif_uid.h27 * Creates a UID set to keep track of traffic per UID.
32 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/bt/btif/src/
H A Dbtif_uid.c43 uid_set_t* set = osi_calloc(sizeof(uid_set_t)); local
44 pthread_mutex_init(&set->lock, NULL);
45 return set;
48 void uid_set_destroy(uid_set_t* set) { argument
49 pthread_mutex_lock(&set->lock);
50 uid_set_node_t* node = set->head;
56 set->head = NULL;
57 pthread_mutex_unlock(&set->lock);
58 pthread_mutex_destroy(&set->lock);
59 osi_free(set);
63 uid_set_find_or_create_node(uid_set_t* set, int32_t app_uid) argument
78 uid_set_add_tx(uid_set_t* set, int32_t app_uid, uint64_t bytes) argument
89 uid_set_add_rx(uid_set_t* set, int32_t app_uid, uint64_t bytes) argument
100 uid_set_read_and_clear(uid_set_t* set) argument
[all...]
/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/core/debuggerd/
H A Dbacktrace.h22 #include <set>
33 const std::set<pid_t>& siblings, std::string* amfd_data);
H A Dtombstone.h23 #include <set>
29 * Returns a writable file descriptor, or -1 with errno set appropriately.
30 * If out_path is non-null, *out_path is set to the path of the tombstone file.
36 const std::set<pid_t>& siblings, int signal, int original_si_code,
/system/update_engine/
H A Ddaemon_state_interface.h23 #include <set>
40 // Return the set of current observers.
41 virtual const std::set<ServiceObserverInterface*>& service_observers() = 0;
H A Ddaemon_state_android.h21 #include <set>
46 const std::set<ServiceObserverInterface*>& service_observers() override {
54 std::set<ServiceObserverInterface*> service_observers_;
/system/netd/server/
H A DNetwork.h22 #include <set>
44 const std::set<std::string>& getInterfaces() const;
57 std::set<std::string> mInterfaces;
H A DVirtualNetwork.h20 #include <set>
42 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);
H A DTetherController.h23 #include <set>
36 std::set<std::string> mForwardingRequests;
/system/update_engine/payload_generator/
H A Dcycle_breaker.h35 #include <set>
46 void BreakCycles(const Graph& graph, std::set<Edge>* out_cut_edges);
62 std::set<Edge> cut_edges_;
H A Dtopological_sort.cc19 #include <set>
24 using std::set;
31 set<Vertex::Index>* visited_nodes,
49 set<Vertex::Index> visited_nodes;
/system/connectivity/shill/
H A Dtethering.h22 #include <set>
41 // This bit, if set in the first octet of a MAC address, indicates that
54 static bool HasIosOui(const std::set<uint32_t>& oui_set);
H A Ddevice_claimer.h20 #include <set>
57 const std::set<std::string>& claimed_device_names() const {
65 std::set<std::string> claimed_device_names_;
67 std::set<std::string> released_device_names_;
73 // Flag indicating if this is the default claimer. When set to true, this
H A Dip_address_store.h21 #include <set>
31 // Stores a set of IP addresses used by ConnectionHealthChecker to check
41 typedef std::set<IPAddress, IPAddressLTIgnorePrefix> IPAddresses;
H A Dtethering.cc21 using std::set;
47 bool Tethering::HasIosOui(const set<uint32_t>& oui_set) {
/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 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
106 MoveFrom(AuthorizationSet& set) argument
182 Union(const keymaster_key_param_set_t& set) argument
190 Difference(const keymaster_key_param_set_t& set) argument
269 push_back(const keymaster_key_param_set_t& set) argument
[all...]
/system/connectivity/apmanager/
H A Dfirewall_manager.h20 #include <set>
57 std::set<std::string> dhcp_access_interfaces_;
H A Dshill_manager.h20 #include <set>
56 std::set<std::string> claimed_interfaces_;
/system/connectivity/shill/wifi/
H A Dmock_scan_session.h22 #include <set>
40 const std::set<uint16_t>& available_frequencies,
/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
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 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_);
82 error_ = set.error_;
86 AuthorizationSet(AuthorizationSet&& set) : Serializable() { argument
87 MoveFrom(set);
91 operator =(const AuthorizationSet& set) argument
98 operator =(AuthorizationSet&& set) argument
117 Reinitialize(const AuthorizationSet& set) argument
121 Reinitialize(const keymaster_key_param_set_t& set) argument
545 AuthorizationSet set; member in class:keymaster::AuthorizationSetBuilder
[all...]

Completed in 499 milliseconds

123456789