Home
last modified time | relevance | path

Searched refs:EndsWith (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/jni/
Dandroid_os_Debug.cpp249 if (base::EndsWith(vma.name, " (deleted)")) { in load_maps()
262 } else if (base::EndsWith(name, ".so")) { in load_maps()
265 } else if (base::EndsWith(name, ".jar")) { in load_maps()
268 } else if (base::EndsWith(name, ".apk")) { in load_maps()
271 } else if (base::EndsWith(name, ".ttf")) { in load_maps()
274 } else if ((base::EndsWith(name, ".odex")) || in load_maps()
279 } else if (base::EndsWith(name, ".vdex")) { in load_maps()
289 } else if (base::EndsWith(name, ".oat")) { in load_maps()
292 } else if (base::EndsWith(name, ".art") || base::EndsWith(name, ".art]")) { in load_maps()
Dfd_utils.cpp79 && android::base::EndsWith(path, kJarSuffix)) { in IsAllowed()
86 && android::base::EndsWith(path, kJarSuffix)) { in IsAllowed()
122 && android::base::EndsWith(path, kApkSuffix) in IsAllowed()
130 && android::base::EndsWith(path, kOverlayIdmapSuffix) in IsAllowed()
/frameworks/base/services/core/xsd/vts/
DValidateDefaultPermissions.cpp41 if (android::base::EndsWith(de->d_name, ".xml")) { in get_files_in_dirs()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/
DAnyPartial.cs44 … prefix.EndsWith("/") ? prefix + descriptor.FullName : prefix + "/" + descriptor.FullName; in GetTypeUrl()
/frameworks/base/services/core/jni/
Dcom_android_server_UsbAlsaJackDetector.cpp48 if (android::base::EndsWith(name, suffix)) { in find_mixer_with_suffix()
/frameworks/base/tools/aapt2/cmd/
DLink.cpp397 if (util::EndsWith(str, extension)) { in GetCompressionFlags()
1419 if (util::EndsWith(path, ".flata") || util::EndsWith(path, ".jar") || in MergePath()
1420 util::EndsWith(path, ".jack") || util::EndsWith(path, ".zip")) { in MergePath()
1422 } else if (util::EndsWith(path, ".apk")) { in MergePath()
1439 if (util::EndsWith(src.path, ".xml") || util::EndsWith(src.path, ".png")) { in MergeFile()
1442 const StringPiece file_type = util::EndsWith(src.path, ".xml") ? "XML" : "PNG"; in MergeFile()
1447 } else if (!util::EndsWith(src.path, ".apc") && !util::EndsWith(src.path, ".flat")) { in MergeFile()
/frameworks/base/tools/aapt2/io/
DZipArchive.cpp134 if (util::EndsWith(zip_entry_path, "/")) { in Create()
/frameworks/base/tools/aapt2/util/
DUtil_test.cpp37 EXPECT_TRUE(util::EndsWith("hello.xml", ".xml")); in TEST()
DUtil.h60 bool EndsWith(const android::StringPiece& str, const android::StringPiece& suffix);
DUtil.cpp74 bool EndsWith(const StringPiece& str, const StringPiece& suffix) { in EndsWith() function
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp45 using ::testing::EndsWith;
911 EXPECT_THAT(out, EndsWith("root " + kSimpleCommand + "' on user build.\n")); in TEST_F()
1581 EXPECT_THAT(out, EndsWith("stdout line1\n*** command '" + kSimpleCommand + in TEST_F()
1606 EXPECT_THAT(out, EndsWith("root " + kSimpleCommand + "' on user build.\n")); in TEST_F()
1761 EXPECT_THAT(out, EndsWith("skipped on dry run\n")); in TEST_F()
/frameworks/native/cmds/installd/
Dotapreopt.cpp59 using android::base::EndsWith;
534 CHECK(EndsWith(path, "/")); in ShouldSkipPreopt()
Dutils.cpp47 using android::base::EndsWith;
1083 if (EndsWith(name, PROFILE_EXT)) { in collect_profiles()
Ddexopt.cpp58 using android::base::EndsWith;
1029 if (EndsWith(oat_path, ".dex")) { in replace_file_extension()
1032 CHECK(EndsWith(new_path, new_ext)); in replace_file_extension()
/frameworks/base/tools/aapt2/
DResourceUtils.cpp767 } else if (util::EndsWith(*file_ref->path, ".xml")) { in ParseBinaryResValue()
769 } else if (util::EndsWith(*file_ref->path, ".png")) { in ParseBinaryResValue()
/frameworks/native/vulkan/libvulkan/
Dlayers_extensions.cpp440 android::base::EndsWith(filename, ".so")) { in DiscoverLayersInPathList()
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser.cpp378 if (!util::EndsWith(result, ext)) { in ToBaseName()
/frameworks/native/cmds/lshal/
Dtest.cpp854 EXPECT_THAT(err.str(), EndsWith(errStr)) in TEST_F()
/frameworks/base/tools/aapt2/compile/
DPng.cpp1281 if (util::EndsWith(source.path, ".9.png")) { in process()