Home
last modified time | relevance | path

Searched refs:find (Results 1 – 25 of 56) sorted by relevance

123

/system/bt/stack/a2dp/
Da2d_api.c70 if ((p_rec = SDP_FindServiceInDb(a2d_cb.find.p_db, in a2d_sdp_cback()
71 a2d_cb.find.service_uuid, p_rec)) == NULL) in a2d_sdp_cback()
114 a2d_cb.find.service_uuid = 0; in a2d_sdp_cback()
116 if (a2d_cb.find.p_cback != NULL) in a2d_sdp_cback()
118 (*a2d_cb.find.p_cback)(found, &a2d_svc); in a2d_sdp_cback()
285 if( a2d_cb.find.service_uuid == UUID_SERVCLASS_AUDIO_SOURCE || in A2D_FindService()
286 a2d_cb.find.service_uuid == UUID_SERVCLASS_AUDIO_SINK) in A2D_FindService()
305 a2d_cb.find.p_db = p_db->p_db; in A2D_FindService()
306 a2d_cb.find.service_uuid = service_uuid; in A2D_FindService()
307 a2d_cb.find.p_cback = p_cback; in A2D_FindService()
[all …]
Da2d_int.h54 tA2D_FIND_CB find; /* find service control block */ member
/system/security/keystore/
Doperation.cpp38 if (mAppTokenMap.find(appToken) == mAppTokenMap.end()) { in addOperation()
52 auto entry = mMap.find(token); in getOperation()
69 auto lruEntry = std::find(mLru.begin(), mLru.end(), token); in updateLru()
77 auto entry = mMap.find(token); in removeOperation()
83 auto lruEntry = std::find(mLru.begin(), mLru.end(), token); in removeOperation()
92 auto appEntry = mAppTokenMap.find(appToken); in removeOperationTracking()
97 auto tokenEntry = std::find(appEntry->second.begin(), appEntry->second.end(), token); in removeOperationTracking()
122 auto entry = mMap.find(token); in getOperationAuthToken()
131 auto entry = mMap.find(token); in setOperationAuthToken()
141 auto appEntry = mAppTokenMap.find(appToken); in getOperationsForToken()
/system/core/libutils/tests/
DBasicHashtable_test.cpp133 static ssize_t find(BasicHashtable<TKey, key_value_pair_t<TKey, TValue> >& h, in find() function
135 return h.find(index, hash_type(key), key); in find()
141 ssize_t index = find(h, -1, key); in remove()
221 ssize_t index = find(h, -1, 8); in TEST_F()
227 ASSERT_EQ(index, find(h, -1, 8)); in TEST_F()
231 index = find(h, index, 8); in TEST_F()
237 index = find(h, -1, 8); in TEST_F()
246 ssize_t index = find(h, -1, int(i)); in TEST_F()
252 ASSERT_EQ(index, find(h, -1, int(i))); in TEST_F()
256 index = find(h, index, int(i)); in TEST_F()
[all …]
/system/bt/
DCleanSpec.mk48 $(call add-clean-step, find $(OUT_DIR) -type f -iname "*blue*" -print0 | xargs -0 rm -f)
49 $(call add-clean-step, find $(OUT_DIR) -type f -iname "*bdroid*" -print0 | xargs -0 rm -f)
/system/bt/stack/l2cap/
Dl2cap_client.c57 static l2cap_client_t *find(uint16_t local_channel_id);
195 l2cap_client_t *client = find(local_channel_id); in connect_completed_cb()
217 l2cap_client_t *client = find(local_channel_id); in config_request_cb()
260 l2cap_client_t *client = find(local_channel_id); in config_completed_cb()
294 l2cap_client_t *client = find(local_channel_id); in disconnect_request_cb()
313 l2cap_client_t *client = find(local_channel_id); in disconnect_completed_cb()
328 l2cap_client_t *client = find(local_channel_id); in congestion_cb()
349 l2cap_client_t *client = find(local_channel_id); in read_ready_cb()
425 static l2cap_client_t *find(uint16_t local_channel_id) { in find() function
/system/keymaster/
Dauthorization_set.cpp180 int AuthorizationSet::find(keymaster_tag_t tag, int begin) const { in find() function in keymaster::AuthorizationSet
490 for (int pos = -1; (pos = find(tag, pos)) != -1;) in GetTagCount()
496 int pos = find(tag); in GetTagValueEnum()
509 pos = find(tag, pos); in GetTagValueEnumRep()
520 int pos = find(tag); in GetTagValueInt()
533 pos = find(tag, pos); in GetTagValueIntRep()
544 int pos = find(tag); in GetTagValueLong()
557 pos = find(tag, pos); in GetTagValueLongRep()
568 int pos = find(tag); in GetTagValueDate()
577 int pos = find(tag); in GetTagValueBlob()
[all …]
Dandroid_keymaster_test_utils.h57 int pos = set.find(tag); in contains()
65 while ((pos = set.find(tag, pos)) != -1) in contains()
73 int pos = set.find(tag); in contains()
80 while ((pos = set.find(tag, pos)) != -1) in contains()
88 int pos = set.find(tag); in contains()
94 int pos = set.find(tag); in contains()
102 int pos = set.find(tag); in contains()
109 return set.find(tag) != -1; in contains()
Drsa_keymaster1_operation.cpp50 int pos = begin_params.find(TAG_DIGEST); in Begin()
55 pos = begin_params.find(TAG_PADDING); in Begin()
Dauthorization_set_test.cpp80 int pos = set.find(TAG_ALGORITHM); in TEST()
85 pos = set.find(TAG_MAC_LENGTH); in TEST()
111 int pos = set.find(TAG_PURPOSE); in TEST()
116 pos = set.find(TAG_PURPOSE, pos); in TEST()
120 EXPECT_EQ(-1, set.find(TAG_PURPOSE, pos)); in TEST()
122 pos = set.find(TAG_USER_SECURE_ID, pos); in TEST()
172 int pos = deserialized.find(TAG_APPLICATION_ID); in TEST()
207 int pos = deserialized.find(TAG_APPLICATION_ID); in TEST()
Daes_key.cpp85 if (key_description.find(TAG_MIN_MAC_LENGTH) != -1) { in validate_algorithm_specific_new_key_params()
/system/extras/perfprofd/
Dperfprofdcore.cc224 if (u_entries.find(ks) != u_entries.end() || in addUnsignedEntry()
225 s_entries.find(ks) != s_entries.end()) { in addUnsignedEntry()
239 if (u_entries.find(ks) != u_entries.end() || in addStringEntry()
240 s_entries.find(ks) != s_entries.end()) { in addStringEntry()
254 auto it = u_entries.find(ks); in getUnsignedValue()
262 auto it = s_entries.find(ks); in getStringValue()
279 auto uit = u_entries.find(key); in parseLine()
286 auto iit = u_info.find(key); in parseLine()
304 auto sit = s_entries.find(key); in parseLine()
718 if (processed.find(seq) == processed.end()) { in post_process()
/system/vold/
Dsecdiscard.cpp197 line_end = std::find(line_begin, mounts.end(), '\n'); in find_block_device_for_path()
201 auto device_end = std::find(line_begin, line_end, ' '); in find_block_device_for_path()
206 auto mountpoint_end = std::find(mountpoint_begin, line_end, ' '); in find_block_device_for_path()
210 if (std::find(line_begin, mountpoint_end, '\\') != mountpoint_end) { in find_block_device_for_path()
/system/extras/perfprofd/quipper/
Dperf_parser.cc147 &(*commands_.find(kSwapperCommandName)); in ProcessEvents()
208 &(*commands_.find(event.comm.comm)); in ProcessEvents()
258 const auto comm_iter = pidtid_to_comm_map_.find(pidtid); in MapSampleEvent()
447 std::set<DSOInfo>::const_iterator dso_iter = dso_set_.find(dso_info); in MapIPAndPidAndGetNameAndOffset()
531 const auto& search = process_mappers_.find(pid); in GetOrCreateProcessMapper()
537 const auto& parent_mapper = (ppid ? process_mappers_.find(*ppid) : process_mappers_.end()); in GetOrCreateProcessMapper()
557 pidtid_to_comm_map_.find(parent) != pidtid_to_comm_map_.end()) { in MapForkEvent()
/system/extras/tests/net_test/
Dall_tests.sh31 readonly tests=$(find . -name '*_test.py' -type f -executable)
/system/netd/server/
DNetwork.cpp33 return mInterfaces.find(interface) != mInterfaces.end(); in hasInterface()
/system/media/camera/docs/
Dmetadata_parser_xml.py227 notes = value.find('notes')
248 array = entry.find('array')
255 tupl = entry.find('tuple')
Dmetadata_validate.py210 matching_entry = soup.find(find_entry)
248 container_tag = entry.find(entry_container)
Dmetadata_helpers.py645 return csym(what[what.find('.') + 1:])
660 return cname[cname.find('_') + 1:] + '_' + enum_value.name
920 … candidate2b = "%s.%s.%s" % (outer_namespace.name, section1, section2[:section2.find('\n')])
937 candidate3b = "%s%s" % (candidate2, section3[:section3.find('\n')])
/system/core/include/utils/
DBasicHashtable.h69 ssize_t find(ssize_t index, hash_t hash, const void* __restrict__ key) const;
280 inline ssize_t find(ssize_t index, hash_t hash, const TKey& key) const { in find() function
281 return BasicHashtableImpl::find(index, hash, &key); in find()
DLruCache.h129 ssize_t index = mTable->find(-1, hash, key); in get()
146 ssize_t index = mTable->find(-1, hash, key); in put()
165 ssize_t index = mTable->find(-1, hash, key); in remove()
/system/core/logd/
DLogStatistics.h80 iterator it = map.find(key); in add()
90 iterator it = map.find(key); in add()
100 iterator it = map.find(key); in subtract()
107 iterator it = map.find(key); in drop()
DLogBuffer.cpp246 LogBufferIteratorMap::iterator f = mLastWorstUid[id].find(e->getUid()); in erase()
291 LogBufferElementMap::iterator it = map.find(key.getKey()); in merge()
466 LogBufferIteratorMap::iterator f = mLastWorstUid[id].find(worst); in prune()
537 || (mLastWorstUid[id].find(e->getUid()) in prune()
571 if (!gc || (mLastWorstUid[id].find(worst) in prune()
/system/core/libutils/
DPropertyMap.cpp190 if (valueToken.find("\\", 0) >= 0 || valueToken.find("\"", 0) >= 0) { in parse()
/system/core/base/
Dlogging.cpp259 if (msg.find('\n') == std::string::npos) { in ~LogMessage()
266 size_t nl = msg.find('\n', i); in ~LogMessage()

123