Home
last modified time | relevance | path

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

123

/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.h50 std::ostream& operator<<(std::ostream& os, const AuthorizationSet& set);
55 bool contains(const AuthorizationSet& set, TypedEnumTag<KM_ENUM, Tag, KeymasterEnum> tag, in contains() argument
57 int pos = set.find(tag); in contains()
58 return pos != -1 && set[pos].enumerated == val; in contains()
62 bool contains(const AuthorizationSet& set, TypedEnumTag<KM_ENUM_REP, Tag, KeymasterEnum> tag, in contains() argument
65 while ((pos = set.find(tag, pos)) != -1) in contains()
66 if (set[pos].enumerated == val) in contains()
72 bool contains(const AuthorizationSet& set, TypedTag<KM_UINT, Tag> tag, uint32_t val) { in contains() argument
73 int pos = set.find(tag); in contains()
74 return pos != -1 && set[pos].integer == val; in contains()
[all …]
Dandroid_keymaster_test_utils.cpp143 std::ostream& operator<<(std::ostream& os, const AuthorizationSet& set) { in operator <<() argument
144 if (set.size() == 0) in operator <<()
146 for (size_t i = 0; i < set.size(); ++i) { in operator <<()
147 os << set[i] << std::endl; in operator <<()
196 AuthorizationSet set; in UserAuthParams() local
197 set.push_back(TAG_USER_ID, 7); in UserAuthParams()
198 set.push_back(TAG_USER_AUTH_TYPE, HW_AUTH_PASSWORD); in UserAuthParams()
199 set.push_back(TAG_AUTH_TIMEOUT, 300); in UserAuthParams()
200 return set; in UserAuthParams()
204 AuthorizationSet set; in ClientParams() local
[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/core/libpixelflinger/arch-mips/
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 noat
[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()
97 bool Reinitialize(const AuthorizationSet& set) { in Reinitialize() argument
98 return Reinitialize(set.elems_, set.elems_size_); in Reinitialize()
101 bool Reinitialize(const keymaster_key_param_set_t& set) { in Reinitialize() argument
102 return Reinitialize(set.params, set.length); in Reinitialize()
141 void CopyToParamSet(keymaster_key_param_set_t* set) const;
312 bool push_back(const keymaster_key_param_set_t& set);
[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/
DNetwork.h44 const std::set<std::string>& getInterfaces() const;
55 std::set<std::string> mInterfaces;
DNatController.h48 int setForwardRules(bool set, const char *intIface, const char *extIface);
DNetwork.cpp36 const std::set<std::string>& Network::getInterfaces() const { in getInterfaces()
DTetherController.h37 std::set<std::string> mForwardingRequests;
/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()
Dcounter.c86 static int set(socket_t *socket);
92 { "set", "<counter> - Set something", set},
405 static int set(UNUSED_ATTR socket_t *socket) { in set() function
/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/core/libsync/tests/
Dsync_test.cpp281 fd_set set; in TEST() local
282 FD_ZERO(&set); in TEST()
283 FD_SET(fence.getFd(), &set); in TEST()
287 ASSERT_EQ(select(fence.getFd() + 1, &set, nullptr, nullptr, &time), 0); in TEST()
294 FD_ZERO(&set); in TEST()
295 FD_SET(fence.getFd(), &set); in TEST()
297 ASSERT_EQ(select(fence.getFd() + 1, &set, nullptr, nullptr, &time), 1); in TEST()
298 ASSERT_TRUE(FD_ISSET(fence.getFd(), &set)); in TEST()
/system/core/toolbox/upstream-netbsd/bin/dd/
Dargs.c88 u_int set, noset; member
148 ddflags |= ap->set; in jcl()
336 u_int set, noset; member
377 ddflags |= cp->set; in f_conv()
/system/core/adb/
DCPPLINT.cfg1 set noparent
/system/core/base/
DCPPLINT.cfg1 set noparent
/system/core/rootdir/
Dinit.environ.rc.in1 # set up the global environment
/system/core/debuggerd/mips64/
Dcrashglue.S1 .set noat
/system/core/debuggerd/mips/
Dcrashglue.S1 .set noat
/system/extras/tests/binder/benchmarks/
DbinderAddInts.cpp96 static ostream &operator<<(ostream &stream, const cpu_set_t& set);
374 static ostream &operator<<(ostream &stream, const cpu_set_t& set) in operator <<() argument
377 if (CPU_ISSET(n1, &set)) { in operator <<()
/system/extras/perfprofd/quipper/
Dperf_parser.h203 std::set<string> commands_;
208 std::set<DSOInfo> dso_set_;

123