/system/security/keystore/tests/ |
D | auth_token_table_test.cpp | 100 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/ |
D | block_dev_initializer.cpp | 49 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/ |
D | fs_mgr_boot_config.cpp | 36 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/ |
D | Process.cpp | 50 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/ |
D | HalInterface.cpp | 47 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()
|
D | CompatibilityMatrix.cpp | 153 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/ |
D | open_files_list_test.cpp | 39 bool found = false; in TEST() local 43 found = true; in TEST() 47 EXPECT_TRUE(found); in TEST()
|
/system/incremental_delivery/incfs/ |
D | split.h | 36 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/ |
D | ChattyLogBuffer.cpp | 187 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/ |
D | bta_gatts_co.cc | 65 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/ |
D | HidlService.cpp | 85 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()
|
D | ServiceManager.cpp | 221 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/ |
D | report_html_test.py | 136 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/ |
D | avb_util.cpp | 131 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/ |
D | strings.cpp | 38 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/ |
D | aidl_checkapi.cpp | 146 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/ |
D | btsnooz.py | 152 found = False 155 if found: 162 found = True 164 if not found:
|
/system/extras/simpleperf/ |
D | utils_test.cpp | 40 bool found = false; in TEST() local 44 found = true; in TEST() 50 ASSERT_TRUE(found); in TEST()
|
/system/unwinding/libunwindstack/tests/ |
D | VerifyBionicTerminationTest.cpp | 107 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/apex/tests/native/ |
D | apex_shared_libraries_test.cpp | 132 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/ |
D | SymbolBenchmark.cpp | 57 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/ |
D | README.default.md | 2 It can be found at system/security/keystore2.
|
/system/apex/apexd/ |
D | apex_database_test.cpp | 108 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/nfc/src/fuzzers/ |
D | README.md | 12 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:
|
/system/chre/apps/test/chqts/src/general_test/ |
D | basic_sensor_test_base.cc | 183 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()
|