Home
last modified time | relevance | path

Searched refs:Path (Results 1 – 25 of 30) sorted by relevance

12

/system/core/libcutils/
Dcanned_fs_config.cpp34 } Path; typedef
36 static Path* canned_data = NULL;
41 return strcmp(((Path*)a)->path, ((Path*)b)->path); in path_compare()
55 Path* p; in load_canned_fs_config()
62 canned_data = (Path*) realloc(canned_data, canned_alloc * sizeof(Path)); in load_canned_fs_config()
86 qsort(canned_data, canned_used, sizeof(Path), path_compare); in load_canned_fs_config()
96 Path key, *p; in canned_fs_config()
100 p = (Path*) bsearch(&key, canned_data, canned_used, sizeof(Path), path_compare); in canned_fs_config()
/system/timezone/input_tools/android/common/src/testing/java/com/android/libcore/timezone/testing/
DTestUtils.java24 import java.nio.file.Path;
39 public static String createFile(Path dir, String... lines) throws IOException { in createFile()
40 Path tempFile = Files.createTempFile(dir, "tmp", null /* suffix */); in createFile()
45 public static void deleteDir(Path tempDir) throws IOException { in deleteDir()
46 FileVisitor<? super Path> deleter = new SimpleFileVisitor<Path>() { in deleteDir()
48 public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) in deleteDir()
54 public FileVisitResult postVisitDirectory(Path dir, IOException exc) in deleteDir()
59 private FileVisitResult delete(Path file) throws IOException { in deleteDir()
/system/tools/hidl/build/
Dhidl_package_root.go43 Path *string
61 return "-r" + r.Name() + ":" + *r.properties.Path
82 Input: r.currentPath.Path(),
95 if r.properties.Path == nil {
96 r.properties.Path = proptools.StringPtr(ctx.ModuleDir())
100 if *r.properties.Path != ctx.ModuleDir() {
104 "the path of hidl_package_root.", *r.properties.Path, ctx.ModuleDir())
Dhidl_interface.go224 genOutputDir android.Path
291 inputs = append(inputs, currentPath.Path())
389 genOutputDir android.Path
390 genInputDir android.Path
/system/sepolicy/build/soong/
Dcil_compat_map.go76 installSource android.Path
81 GeneratedMapFile() android.Path
148 Implicits: []android.Path{
149 topHalf.Path(),
175 ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) {
186 func (c *cilCompatMap) GeneratedMapFile() android.Path {
Dselinux_contexts.go77 build func(ctx android.ModuleContext, inputs android.Paths) android.Path
79 outputPath android.Path
278 …ontextsModule) buildGeneralContexts(ctx android.ModuleContext, inputs android.Paths) android.Path {
323 …uxContextsModule) buildFileContexts(ctx android.ModuleContext, inputs android.Paths) android.Path {
364 …textsModule) buildHwServiceContexts(ctx android.ModuleContext, inputs android.Paths) android.Path {
372 …ntextsModule) buildPropertyContexts(ctx android.ModuleContext, inputs android.Paths) android.Path {
377 i, ok := c.(interface{ CurrentSyspropApiFile() android.Path })
/system/timezone/input_tools/android/telephonylookup_generator/src/test/java/com/android/libcore/timezone/telephonylookup/
DTelephonyLookupGeneratorTest.java36 import java.nio.file.Path;
41 private Path tempDir;
166 Path outputFilePath = Paths.get(outputFile); in generateTelephonyLookupXml()
172 private static String readFileToString(Path file) throws IOException { in readFileToString()
196 Path outputFilePath = Paths.get(outputFile); in assertFileIsEmpty()
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DTzLookupGeneratorTest.java31 import java.nio.file.Path;
52 private Path tempDir;
96 Path outputFilePath = Paths.get(outputFile); in invalidRulesVersion()
117 Path outputFilePath = Paths.get(outputFile); in countryWithNoTimeZoneMappings()
143 Path outputFilePath = Paths.get(outputFile); in countryWithDuplicateTimeZoneMappings()
167 Path outputFilePath = Paths.get(outputFile); in badDefaultId()
190 Path outputFilePath = Paths.get(outputFile); in explicitDefaultIdInvalid()
250 Path outputFilePath = Paths.get(outputFile); in countryZonesContainsNonLowercaseIsoCode()
273 Path outputFilePath = Paths.get(outputFile); in countryZonesContainsDuplicate()
293 Path outputFilePath = Paths.get(outputFile); in countryZonesAndZoneTabCountryMismatch()
[all …]
DZoneTabFileTest.java27 import java.nio.file.Path;
39 private Path tempDir;
DBackwardFileTest.java31 import java.nio.file.Path;
41 private Path tempDir;
/system/core/libprocessgroup/profiles/
Dcgroups.proto30 string path = 2 [json_name = "Path"];
38 string path = 1 [json_name = "Path"];
/system/extras/simpleperf/
Dcmd_inject.cpp249 bool match = std::regex_search(dso->Path(), binary_name_regex_); in FilterDso()
322 LOG(WARNING) << "failed to build instr ranges for binary " << dso_p->Path(); in ProcessBranchListFile()
362 std::sort(dso_v.begin(), dso_v.end(), [](Dso* d1, Dso* d2) { return d1->Path() < d2->Path(); }); in PostProcessInstrRange()
394 fprintf(output_fp_.get(), "// %s\n\n", dso->Path().c_str()); in PostProcessInstrRange()
407 binary_proto->set_path(dso->Path()); in PostProcessBranchList()
408 BuildId build_id = Dso::FindExpectedBuildIdForPath(dso->Path()); in PostProcessBranchList()
Dthread_tree_test.cpp51 names[i] = pair.second->dso->Path(); in CheckMaps()
62 ASSERT_EQ(entry->dso->Path(), expected_names_[i]); in CheckMaps()
Ddso.h149 const std::string& Path() const { return path_; } in Path() function
153 virtual std::string_view GetReportPath() const { return Path(); } in GetReportPath()
Dreport_lib_interface.cpp310 return android::base::EndsWith(map->dso->Path(), "/libart.so") || in SetCurrentSample()
311 android::base::EndsWith(map->dso->Path(), "/libartd.so"); in SetCurrentSample()
351 entry.symbol.dso_name = std::get<0>(it->second)->Path().c_str(); in SetCurrentSample()
Dcmd_record.cpp1729 BuildIdRecord(true, UINT_MAX, build_id, dso->Path())); in DumpBuildIdFeature()
1731 std::string path = dso->Path(); in DumpBuildIdFeature()
1742 if (dso->Path() == DEFAULT_EXECNAME_FOR_THREAD_MMAP || dso->IsForJavaMethod()) { in DumpBuildIdFeature()
1745 if (!GetBuildIdFromDsoPath(dso->Path(), &build_id)) { in DumpBuildIdFeature()
1746 LOG(DEBUG) << "Can't read build_id from file " << dso->Path(); in DumpBuildIdFeature()
1750 BuildIdRecord(false, UINT_MAX, build_id, dso->Path())); in DumpBuildIdFeature()
Dcmd_dumprecord.cpp330 PrintIndented(2, "%s (%s[+%" PRIx64 "])\n", s.symbol->DemangledName(), s.dso->Path().c_str(), in ProcessSampleRecord()
355 PrintIndented(2, "%s (%s[+%" PRIx64 "])\n", s.symbol->DemangledName(), s.dso->Path().c_str(), in ProcessCallChainRecord()
Dsample_tree_test.cpp68 pid, tid, thread->comm, map->dso->Path(), map->start_addr))); in AddSample()
Ddso_test.cpp192 ASSERT_EQ(dso->Path(), file_path); in TEST()
Drecord_file_writer.cpp346 if (!WriteFileFeature(dso->Path(), dso_type, min_vaddr, file_offset_of_min_vaddr, in WriteFileFeatures()
/system/bt/gd/cert/
Dos_utils.py18 from pathlib import Path
56 return str(Path(__file__).absolute().parents[1])
Dgd_device.py296 self.backing_process_profraw_path = pathlib.Path(self.log_path_base).joinpath(
318 llvm_binutils = pathlib.Path(get_gd_root()).joinpath("llvm_binutils").joinpath("bin")
329 profdata_path = pathlib.Path(self.test_runner_base_path).joinpath(
331 profdata_path_tmp = pathlib.Path(self.test_runner_base_path).joinpath(
344 coverage_result_path = pathlib.Path(self.test_runner_base_path).joinpath(
356 coverage_summary_path = pathlib.Path(self.test_runner_base_path).joinpath(
/system/timezone/distro/installer/src/test/com/android/timezone/distro/installer/
DTimeZoneDistroInstallerTest.java34 import java.nio.file.Path;
717 final List<Path> paths = new ArrayList<>(); in assertFileCount()
718 FileVisitor<Path> visitor = new SimpleFileVisitor<Path>() { in assertFileCount()
720 public FileVisitResult visitFile(Path filePath, BasicFileAttributes attrs) in assertFileCount()
828 Path workingDirPath = workingDir.toPath(); in createTimeZoneDistroWithVersionBytes()
829 Files.walkFileTree(workingDirPath, new SimpleFileVisitor<Path>() { in createTimeZoneDistroWithVersionBytes()
831 public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) in createTimeZoneDistroWithVersionBytes()
/system/tools/xsdc/build/
Dxsdc.go74 genOutputDir android.Path
79 docsPath android.Path
138 Input: module.xsdConfigPath.Path(),
/system/tools/aidl/build/
Daidl_interface.go310 hashFile android.Path
374 func getBaseDir(ctx android.ModuleContext, src android.Path, aidlRoot android.Path) string { argument
384 func (g *aidlGenRule) generateBuildActionsForSingleAidl(ctx android.ModuleContext, src android.Path
405 hash = "$$(read -r <" + hashFile.Path().String() + " hash extra; printf '%s' \"$$hash\")"
406 implicits = append(implicits, hashFile.Path())
408 g.hashFile = hashFile.Path()
565 dir android.Path
709 "hashFile": newDump.hashFile.Path().Base(),
730 implicits = append(implicits, dump.hashFile.Path())
739 "hashFile": dump.hashFile.Path().String(),
[all …]

12