Home
last modified time | relevance | path

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

12345678910>>...15

/system/extras/simpleperf/
Dcmd_report_test.cpp75 ASSERT_NE(content.find("GlobalFunc"), std::string::npos); in TEST_F()
81 ASSERT_NE(content.find("GlobalFunc"), std::string::npos); in TEST_F()
89 lines[line_index].find("Pid") == std::string::npos) { in TEST_F()
100 lines[line_index].find("Overhead") == std::string::npos) { in TEST_F()
104 ASSERT_NE(lines[line_index].find("Command"), std::string::npos); in TEST_F()
105 ASSERT_NE(lines[line_index].find("Pid"), std::string::npos); in TEST_F()
106 ASSERT_NE(lines[line_index].find("Shared Object"), std::string::npos); in TEST_F()
107 ASSERT_NE(lines[line_index].find("Symbol"), std::string::npos); in TEST_F()
108 ASSERT_EQ(lines[line_index].find("Tid"), std::string::npos); in TEST_F()
123 ASSERT_NE(map.find("GlobalFunc"), map.end()); in TEST_F()
[all …]
Dcmd_kmem_test.cpp124 ASSERT_NE(result.content.find("kmem:kmalloc"), std::string::npos); in TEST()
125 ASSERT_NE(result.content.find("__alloc_skb"), std::string::npos); in TEST()
136 ASSERT_NE(result.content.find("Ptr"), std::string::npos); in TEST()
137 ASSERT_NE(result.content.find("GfpFlags"), std::string::npos); in TEST()
144 ASSERT_NE(result.content.find("kmem:kmalloc"), std::string::npos); in TEST()
145 ASSERT_NE(result.content.find("__alloc_skb"), std::string::npos); in TEST()
146 ASSERT_NE(result.content.find("system_call_fastpath"), std::string::npos); in TEST()
/system/sepolicy/private/
Duntrusted_v2_app.te27 allow untrusted_v2_app audioserver_service:service_manager find;
28 allow untrusted_v2_app cameraserver_service:service_manager find;
29 allow untrusted_v2_app drmserver_service:service_manager find;
30 allow untrusted_v2_app mediaserver_service:service_manager find;
31 allow untrusted_v2_app mediaextractor_service:service_manager find;
32 allow untrusted_v2_app mediacodec_service:service_manager find;
33 allow untrusted_v2_app mediametrics_service:service_manager find;
34 allow untrusted_v2_app mediadrmserver_service:service_manager find;
35 allow untrusted_v2_app mediacasserver_service:service_manager find;
36 allow untrusted_v2_app nfc_service:service_manager find;
[all …]
Dnfc.te16 allow nfc audioserver_service:service_manager find;
17 allow nfc drmserver_service:service_manager find;
18 allow nfc mediacodec_service:service_manager find;
19 allow nfc mediametrics_service:service_manager find;
20 allow nfc mediaextractor_service:service_manager find;
21 allow nfc mediaserver_service:service_manager find;
23 allow nfc radio_service:service_manager find;
24 allow nfc surfaceflinger_service:service_manager find;
25 allow nfc app_api_service:service_manager find;
26 allow nfc system_api_service:service_manager find;
Dplatform_app.te41 allow platform_app audioserver_service:service_manager find;
42 allow platform_app cameraserver_service:service_manager find;
43 allow platform_app drmserver_service:service_manager find;
44 allow platform_app mediaserver_service:service_manager find;
45 allow platform_app mediametrics_service:service_manager find;
46 allow platform_app mediaextractor_service:service_manager find;
47 allow platform_app mediacodec_service:service_manager find;
48 allow platform_app mediadrmserver_service:service_manager find;
49 allow platform_app mediacasserver_service:service_manager find;
50 allow platform_app persistent_data_block_service:service_manager find;
[all …]
Dephemeral_app.te23 allow ephemeral_app audioserver_service:service_manager find;
24 allow ephemeral_app cameraserver_service:service_manager find;
25 allow ephemeral_app mediaserver_service:service_manager find;
26 allow ephemeral_app mediaextractor_service:service_manager find;
27 allow ephemeral_app mediacodec_service:service_manager find;
28 allow ephemeral_app mediametrics_service:service_manager find;
29 allow ephemeral_app mediadrmserver_service:service_manager find;
30 allow ephemeral_app mediacasserver_service:service_manager find;
31 allow ephemeral_app surfaceflinger_service:service_manager find;
32 allow ephemeral_app radio_service:service_manager find;
[all …]
Dpriv_app.te24 allow priv_app audioserver_service:service_manager find;
25 allow priv_app cameraserver_service:service_manager find;
26 allow priv_app drmserver_service:service_manager find;
27 allow priv_app mediacodec_service:service_manager find;
28 allow priv_app mediametrics_service:service_manager find;
29 allow priv_app mediadrmserver_service:service_manager find;
30 allow priv_app mediacasserver_service:service_manager find;
31 allow priv_app mediaextractor_service:service_manager find;
32 allow priv_app mediaserver_service:service_manager find;
33 allow priv_app nfc_service:service_manager find;
[all …]
Dbluetooth.te46 allow bluetooth audioserver_service:service_manager find;
47 allow bluetooth bluetooth_service:service_manager find;
48 allow bluetooth drmserver_service:service_manager find;
49 allow bluetooth mediaserver_service:service_manager find;
50 allow bluetooth radio_service:service_manager find;
51 allow bluetooth surfaceflinger_service:service_manager find;
52 allow bluetooth app_api_service:service_manager find;
53 allow bluetooth system_api_service:service_manager find;
Duntrusted_app_all.te65 allow untrusted_app_all audioserver_service:service_manager find;
66 allow untrusted_app_all cameraserver_service:service_manager find;
67 allow untrusted_app_all drmserver_service:service_manager find;
68 allow untrusted_app_all mediaserver_service:service_manager find;
69 allow untrusted_app_all mediaextractor_service:service_manager find;
70 allow untrusted_app_all mediacodec_service:service_manager find;
71 allow untrusted_app_all mediametrics_service:service_manager find;
72 allow untrusted_app_all mediadrmserver_service:service_manager find;
73 allow untrusted_app_all mediacasserver_service:service_manager find;
74 allow untrusted_app_all nfc_service:service_manager find;
[all …]
Dsurfaceflinger.te17 allow surfaceflinger hal_configstore_ISurfaceFlingerConfigs:hwservice_manager find;
18 allow surfaceflinger hidl_token_hwservice:hwservice_manager find;
75 allow surfaceflinger surfaceflinger_service:service_manager { add find };
77 allow surfaceflinger mediaserver_service:service_manager find;
78 allow surfaceflinger permission_service:service_manager find;
79 allow surfaceflinger power_service:service_manager find;
80 allow surfaceflinger vr_manager_service:service_manager find;
81 allow surfaceflinger window_service:service_manager find;
/system/sepolicy/public/
Dradio.te28 allow radio audioserver_service:service_manager find;
29 allow radio cameraserver_service:service_manager find;
30 allow radio drmserver_service:service_manager find;
31 allow radio mediaserver_service:service_manager find;
32 allow radio nfc_service:service_manager find;
33 allow radio surfaceflinger_service:service_manager find;
34 allow radio app_api_service:service_manager find;
35 allow radio system_api_service:service_manager find;
Dcameraserver.te20 allow cameraserver appops_service:service_manager find;
21 allow cameraserver audioserver_service:service_manager find;
22 allow cameraserver batterystats_service:service_manager find;
23 allow cameraserver cameraproxy_service:service_manager find;
24 allow cameraserver mediaserver_service:service_manager find;
25 allow cameraserver processinfo_service:service_manager find;
26 allow cameraserver scheduling_policy_service:service_manager find;
27 allow cameraserver surfaceflinger_service:service_manager find;
29 allow cameraserver hidl_token_hwservice:hwservice_manager find;
Dmediaserver.te79 allow mediaserver activity_service:service_manager find;
80 allow mediaserver appops_service:service_manager find;
81 allow mediaserver audioserver_service:service_manager find;
82 allow mediaserver cameraserver_service:service_manager find;
83 allow mediaserver batterystats_service:service_manager find;
84 allow mediaserver drmserver_service:service_manager find;
85 allow mediaserver mediaextractor_service:service_manager find;
86 allow mediaserver mediacodec_service:service_manager find;
87 allow mediaserver mediametrics_service:service_manager find;
88 allow mediaserver media_session_service:service_manager find;
[all …]
Dmediadrmserver.te15 allow mediadrmserver mediaserver_service:service_manager find;
16 allow mediadrmserver mediametrics_service:service_manager find;
17 allow mediadrmserver processinfo_service:service_manager find;
18 allow mediadrmserver surfaceflinger_service:service_manager find;
Dgatekeeperd.te21 # need to find KeyStore and add self
30 allow gatekeeperd permission_service:service_manager find;
33 allow gatekeeperd user_service:service_manager find;
40 allow gatekeeperd hardware_properties_service:service_manager find;
/system/bt/stack/a2dp/
Da2dp_api.cc72 a2dp_cb.find.p_db, a2dp_cb.find.service_uuid, p_rec)) == NULL) { in a2dp_sdp_cback()
110 a2dp_cb.find.service_uuid = 0; in a2dp_sdp_cback()
111 osi_free_and_reset((void**)&a2dp_cb.find.p_db); in a2dp_sdp_cback()
113 if (a2dp_cb.find.p_cback != NULL) { in a2dp_sdp_cback()
114 (*a2dp_cb.find.p_cback)(found, &a2dp_svc); in a2dp_sdp_cback()
281 if (a2dp_cb.find.service_uuid == UUID_SERVCLASS_AUDIO_SOURCE || in A2DP_FindService()
282 a2dp_cb.find.service_uuid == UUID_SERVCLASS_AUDIO_SINK) in A2DP_FindService()
294 if (a2dp_cb.find.p_db == NULL) in A2DP_FindService()
295 a2dp_cb.find.p_db = (tSDP_DISCOVERY_DB*)osi_malloc(p_db->db_len); in A2DP_FindService()
297 result = SDP_InitDiscoveryDb(a2dp_cb.find.p_db, p_db->db_len, 1, &uuid_list, in A2DP_FindService()
[all …]
/system/extras/perfprofd/
Dconfigreader.cc132 if (u_entries.find(ks) != u_entries.end() || in addUnsignedEntry()
133 s_entries.find(ks) != s_entries.end()) { in addUnsignedEntry()
147 if (u_entries.find(ks) != u_entries.end() || in addStringEntry()
148 s_entries.find(ks) != s_entries.end()) { in addStringEntry()
162 auto it = u_entries.find(ks); in getUnsignedValue()
170 auto it = s_entries.find(ks); in getStringValue()
178 auto it = u_entries.find(ks); in overrideUnsignedEntry()
181 auto iit = u_info.find(key); in overrideUnsignedEntry()
202 auto uit = u_entries.find(key); in parseLine()
209 auto iit = u_info.find(key); in parseLine()
[all …]
/system/security/keystore/
Doperation.cpp37 if (mAppTokenMap.find(appToken) == mAppTokenMap.end()) { in addOperation()
50 auto entry = mMap.find(token); in getOperation()
67 auto lruEntry = std::find(mLru.begin(), mLru.end(), token); in updateLru()
75 auto entry = mMap.find(token); in removeOperation()
81 auto lruEntry = std::find(mLru.begin(), mLru.end(), token); in removeOperation()
90 auto appEntry = mAppTokenMap.find(appToken); in removeOperationTracking()
95 auto tokenEntry = std::find(appEntry->second.begin(), appEntry->second.end(), token); in removeOperationTracking()
121 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/logd/
DLogTags.cpp80 file2watermark_const_iterator iwater = file2watermark.find(filename); in RebuildFileEventLogTags()
141 tag2total_const_iterator itot = tag2total.find(tag); in AddEventLogTags()
146 newOne = tag2name.find(tag) == tag2name.end(); in AddEventLogTags()
150 if (key2tag.find(Name) == key2tag.end()) { in AddEventLogTags()
157 tag2uid_const_iterator ut = tag2uid.find(tag); in AddEventLogTags()
162 } else if (ut->second.find(uid) == ut->second.end()) { in AddEventLogTags()
366 it = tag2name.find(tag); in tagToName()
414 iform = tag2format.find(tag); in tagToFormat()
430 key2tag_const_iterator ik = key2tag.find(std::string(name)); in nameToTag()
451 ik = key2tag.find(name); in nameToTag_locked()
[all …]
/system/extras/simpleperf/scripts/
Dapp_profiler.py108 if output.find('aarch64') != -1:
110 elif output.find('arm') != -1:
112 elif output.find('x86_64') != -1:
114 elif output.find('86') != -1:
186 if len(strs) > 2 and strs[-1].find(self.config['app_package_name']) != -1:
197 if output.find('linker64') != -1:
250 result1 = new_path.find('armeabi-v7a/') != -1
251 result2 = old_path.find('armeabi-v7a') != -1
255 result1 = new_path.find(arch_dir) != -1
256 result2 = old_path.find(arch_dir) != -1
[all …]
/system/update_engine/common/
Dfake_prefs.cc92 return values_.find(key) != values_.end(); in Exists()
96 if (values_.find(key) == values_.end()) in Delete()
99 const auto observers_for_key = observers_.find(key); in Delete()
121 auto it = values_.find(key); in CheckKeyType()
132 const auto observers_for_key = observers_.find(key); in SetValue()
143 auto it = values_.find(key); in GetValue()
158 std::find(observers_for_key.begin(), observers_for_key.end(), observer); in RemoveObserver()
/system/core/liblog/
Devent_tag_map.cpp148 const TagFmt* find(uint32_t tag) const;
149 int find(TagFmt&& tagfmt) const;
150 int find(MapString&& tag) const;
162 it = Idx2TagFmt.find(tag); in emplaceUnique()
179 it = TagFmt2Idx.find(tagfmt); in emplaceUnique()
196 it = Tag2Idx.find(tagfmt.first); in emplaceUnique()
209 const TagFmt* EventTagMap::find(uint32_t tag) const { in find() function in EventTagMap
212 it = Idx2TagFmt.find(tag); in find()
217 int EventTagMap::find(TagFmt&& tagfmt) const { in find() function in EventTagMap
220 it = TagFmt2Idx.find(std::move(tagfmt)); in find()
[all …]
/system/bt/osi/test/
Dlist_test.cc188 int find = 4; in TEST_F() local
189 list_node_t* rc = list_foreach(list, list_callback_find_int, &find); in TEST_F()
194 find = 1; in TEST_F()
195 rc = list_foreach(list, list_callback_find_int, &find); in TEST_F()
200 find = 5; in TEST_F()
201 rc = list_foreach(list, list_callback_find_int, &find); in TEST_F()
206 find = 0; in TEST_F()
207 rc = list_foreach(list, list_callback_find_int, &find); in TEST_F()
/system/tools/hidl/
DMethod.cpp49 CHECK(mJavaImpl.find(IMPL_STUB_IMPL) == mJavaImpl.end()) in fillImplementation()
51 CHECK(mCppImpl.find(IMPL_STUB_IMPL) == mCppImpl.end() || in fillImplementation()
52 mCppImpl.find(IMPL_STUB) == mCppImpl.end()) in fillImplementation()
74 auto it = mCppImpl.find(type); in cppImpl()
84 auto it = mJavaImpl.find(type); in javaImpl()
98 return mCppImpl.find(type) != mCppImpl.end(); in overridesCppImpl()
103 return mJavaImpl.find(type) != mJavaImpl.end(); in overridesJavaImpl()
Dupdate-makefiles-helper.sh35 find . -type f -name \*.hal -exec dirname {} \; | sort -u | \
57 find $1/* \
97 android_bps=$(find $bp_dir \

12345678910>>...15