Home
last modified time | relevance | path

Searched refs:found (Results 1 – 25 of 154) sorted by relevance

1234567

/system/security/keystore/tests/
Dauth_token_table_test.cpp100 HardwareAuthToken found; in TEST() local
104 (std::tie(rc, found) = table.FindAuthorization(make_set(1), KeyPurpose::SIGN, 0), rc)); in TEST()
105 EXPECT_EQ(1U, found.userId); in TEST()
106 EXPECT_EQ(2U, found.authenticatorId); in TEST()
110 (std::tie(rc, found) = table.FindAuthorization(make_set(2), KeyPurpose::SIGN, 0), rc)); in TEST()
111 EXPECT_EQ(1U, found.userId); in TEST()
112 EXPECT_EQ(2U, found.authenticatorId); in TEST()
116 (std::tie(rc, found) = table.FindAuthorization(make_set(3), KeyPurpose::SIGN, 0), rc)); in TEST()
117 EXPECT_EQ(3U, found.userId); in TEST()
118 EXPECT_EQ(4U, found.authenticatorId); in TEST()
[all …]
/system/core/init/
Dblock_dev_initializer.cpp49 bool found = false; in InitMiscDevice() local
50 auto dm_callback = [this, &dm_path, &found](const Uevent& uevent) { in InitMiscDevice()
53 found = true; in InitMiscDevice()
59 if (!found) { in InitMiscDevice()
65 if (!found) { in InitMiscDevice()
129 bool found = false; in InitDmDevice() local
131 auto uevent_callback = [&device_name, &device, this, &found](const Uevent& uevent) { in InitDmDevice()
135 found = true; in InitDmDevice()
142 if (!found) { in InitDmDevice()
148 if (!found) { in InitDmDevice()
/system/core/fs_mgr/
Dfs_mgr_boot_config.cpp36 auto found = base; in fs_mgr_parse_cmdline() local
37 while (((found = cmdline.find_first_of(" \"", found)) != cmdline.npos) && in fs_mgr_parse_cmdline()
38 (cmdline[found] == quote)) { in fs_mgr_parse_cmdline()
40 if ((found = cmdline.find(quote, found + 1)) == cmdline.npos) break; in fs_mgr_parse_cmdline()
41 ++found; in fs_mgr_parse_cmdline()
44 auto source = cmdline.substr(base, found - base); in fs_mgr_parse_cmdline()
56 if (found == cmdline.npos) break; in fs_mgr_parse_cmdline()
57 base = found + 1; in fs_mgr_parse_cmdline()
/system/vold/
DProcess.cpp50 bool found = false; in checkMaps() local
65 found = true; in checkMaps()
72 return found; in checkMaps()
149 bool found = false; in KillProcessesWithOpenFiles() local
151 found |= checkMaps(path + "/maps", prefix); in KillProcessesWithOpenFiles()
152 found |= checkSymlink(path + "/cwd", prefix); in KillProcessesWithOpenFiles()
153 found |= checkSymlink(path + "/root", prefix); in KillProcessesWithOpenFiles()
154 found |= checkSymlink(path + "/exe", prefix); in KillProcessesWithOpenFiles()
164 found |= checkSymlink(fd_path + "/" + fd_de->d_name, prefix); in KillProcessesWithOpenFiles()
168 if (found) { in KillProcessesWithOpenFiles()
/system/libvintf/
DHalInterface.cpp47 bool found = false; in hasAnyInstance() local
48 forEachInstance([&found](const auto&, const auto&, bool) { in hasAnyInstance()
49 found = true; in hasAnyInstance()
52 return found; in hasAnyInstance()
DCompatibilityMatrix.cpp153 bool found = false; in splitInstance() local
166 found |= match; in splitInstance()
169 return !found || !foundOthers; in splitInstance()
172 if (!found) { in splitInstance()
454 bool found = false; in matchInstance() local
456 [&found, &instance](const auto& e) { in matchInstance()
457 found |= (e.matchInstance(instance)); in matchInstance()
458 return !found; // if not found, continue in matchInstance()
460 return found; in matchInstance()
/system/core/debuggerd/libdebuggerd/test/
Dopen_files_list_test.cpp39 bool found = false; in TEST() local
43 found = true; in TEST()
47 EXPECT_TRUE(found); in TEST()
/system/incremental_delivery/incfs/
Dsplit.h36 const auto found = s.find_first_of(delimiters, base); in Split() local
37 onSplitCb(s.substr(base, found - base)); in Split()
38 if (found == std::string_view::npos) { in Split()
41 base = found + 1; in Split()
/system/logging/logd/
DChattyLogBuffer.cpp187 LogBufferIteratorMap::iterator found = mLastWorst[id].find(key); in Erase() local
188 if ((found != mLastWorst[id].end()) && (it == found->second)) { in Erase()
189 mLastWorst[id].erase(found); in Erase()
197 LogBufferPidIteratorMap::iterator found = mLastWorstPidOfSystem[id].find(element.pid()); in Erase() local
198 if (found != mLastWorstPidOfSystem[id].end() && it == found->second) { in Erase()
199 mLastWorstPidOfSystem[id].erase(found); in Erase()
245 LogBufferElement* found = it->second; in coalesce() local
246 uint16_t moreDropped = found->dropped_count(); in coalesce()
250 found->SetDropped(dropped + moreDropped); in coalesce()
415 LogBufferIteratorMap::iterator found = mLastWorst[id].find(worst); in Prune() local
[all …]
/system/bt/btif/co/
Dbta_gatts_co.cc65 bool found = false; in btif_gatts_add_bonded_dev_from_nv() local
72 found = true; in btif_gatts_add_bonded_dev_from_nv()
77 if (!found) { in btif_gatts_add_bonded_dev_from_nv()
/system/hwservicemanager/
DHidlService.cpp85 bool found = false; in removeListener() local
90 found = true; in removeListener()
96 return found; in removeListener()
122 bool found = false; in removeClientCallback() local
127 found = true; in removeClientCallback()
133 return found; in removeClientCallback()
DServiceManager.cpp221 bool found = false; in removePackageListener() local
226 found = true; in removePackageListener()
232 return found; in removePackageListener()
236 bool found = false; in removeServiceListener() local
240 found |= service->removeListener(who); in removeServiceListener()
243 return found; in removeServiceListener()
858 bool found = false; in removePackageListener() local
861 found |= interfaceMapping.second.removePackageListener(who); in removePackageListener()
864 return found; in removePackageListener()
868 bool found = false; in removeServiceListener() local
[all …]
/system/extras/simpleperf/scripts/test/
Dreport_html_test.py136 found = False
139 found = True
141 self.assertTrue(found, item)
177 found = False
180 found = True
182 self.assertTrue(found, item)
/system/core/fs_mgr/libfs_avb/
Davb_util.cpp131 bool found = false; in GetHashDescriptor() local
144 for (size_t n = 0; n < num_descriptors && !found; n++) { in GetHashDescriptor()
163 found = true; in GetHashDescriptor()
168 if (found) break; in GetHashDescriptor()
171 if (!found) { in GetHashDescriptor()
189 bool found = false; in GetHashtreeDescriptor() local
202 for (size_t n = 0; n < num_descriptors && !found; n++) { in GetHashtreeDescriptor()
222 found = true; in GetHashtreeDescriptor()
227 if (found) break; in GetHashtreeDescriptor()
230 if (!found) { in GetHashtreeDescriptor()
[all …]
/system/libbase/
Dstrings.cpp38 size_t found; in Split() local
40 found = s.find_first_of(delimiters, base); in Split()
41 result.push_back(s.substr(base, found - base)); in Split()
42 if (found == s.npos) break; in Split()
43 base = found + 1; in Split()
/system/tools/aidl/
Daidl_checkapi.cpp146 const auto found = new_constdecls.find(old_c->GetName()); in are_compatible_constants() local
147 if (found == new_constdecls.end()) { in are_compatible_constants()
154 const auto new_c = found->second; in are_compatible_constants()
177 const auto found = new_methods.find(old_m->Signature()); in are_compatible_interfaces() local
178 if (found == new_methods.end()) { in are_compatible_interfaces()
188 const auto new_m = found->second; in are_compatible_interfaces()
299 auto found = std::find_if(old_fields.begin(), old_fields.end(), [&new_field](const auto& f) { in are_compatible_parcelables() local
302 if (found != old_fields.end()) { in are_compatible_parcelables()
303 size_t old_index = std::distance(old_fields.begin(), found); in are_compatible_parcelables()
452 const auto found = old_type_names.find(new_type->GetCanonicalName()); in check_api() local
[all …]
/system/bt/tools/scripts/
Dbtsnooz.py152 found = False
155 if found:
162 found = True
164 if not found:
/system/unwinding/libunwindstack/tests/
DVerifyBionicTerminationTest.cpp107 bool found = false; in TEST() local
115 found = true; in TEST()
118 ASSERT_TRUE(found) << "Unable to find libc.so:__libc_init frame\n"; in TEST()
/system/extras/simpleperf/
Dutils_test.cpp40 bool found = false; in TEST() local
44 found = true; in TEST()
50 ASSERT_TRUE(found); in TEST()
/system/apex/tests/native/
Dapex_shared_libraries_test.cpp132 bool found = (dl_iterate_phdr(dl_callback, &dest) == 1); in TEST() local
133 EXPECT_TRUE(found) << "Error verifying library symlink " << p.path() in TEST()
136 if (found) { in TEST()
/system/unwinding/libunwindstack/benchmarks/
DSymbolBenchmark.cpp57 bool found = elf.GetFunctionName(pc, &name, &offset); in BenchmarkSymbolLookup() local
58 if (expect_found && !found) { in BenchmarkSymbolLookup()
60 } else if (!expect_found && found) { in BenchmarkSymbolLookup()
/system/hardware/interfaces/
DREADME.default.md2 It can be found at system/security/keystore2.
/system/apex/apexd/
Dapex_database_test.cpp108 bool found = false; in Contains() local
114 found = true; in Contains()
117 return found; in Contains()
124 bool found = false; in ContainsPackage() local
129 found = true; in ContainsPackage()
132 return found; in ContainsPackage()
/system/chre/apps/test/chqts/src/general_test/
Dbasic_sensor_test_base.cc183 bool found = false; in startTest() local
185 found = in startTest()
187 if (!found && chreSensorFind(getSensorType(), mCurrentSensorIndex + 1, in startTest()
193 found = chreSensorFindDefault(getSensorType(), &mSensorHandle); in startTest()
196 if (!found) { in startTest()
/system/nfc/src/fuzzers/
DREADME.md12 NCI packet parsing code -- vulnerabilites found in this fuzzer usually require
16 NFC tag Read/Write code -- vulnerabilities found here are possibly reachable by
20 NFC tag emulation code -- vulnerabilities found here are possibly reachable by
76 This will run the fuzzer and stop when a crash is found. The crash log will
81 processfor every time a crash is found:

1234567