Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_os_Debug.cpp253 if (base::EndsWith(vma.name, " (deleted)")) { in load_maps()
272 } else if (base::EndsWith(name, ".so")) { in load_maps()
275 } else if (base::EndsWith(name, ".jar")) { in load_maps()
278 } else if (base::EndsWith(name, ".apk")) { in load_maps()
281 } else if (base::EndsWith(name, ".ttf")) { in load_maps()
284 } else if ((base::EndsWith(name, ".odex")) || in load_maps()
289 } else if (base::EndsWith(name, ".vdex")) { in load_maps()
300 } else if (base::EndsWith(name, ".oat")) { in load_maps()
303 } else if (base::EndsWith(name, ".art") || base::EndsWith(name, ".art]")) { in load_maps()
Dfd_utils.cpp91 && android::base::EndsWith(path, kJarSuffix)) { in IsAllowed()
98 && android::base::EndsWith(path, kJarSuffix)) { in IsAllowed()
139 && android::base::EndsWith(path, kApkSuffix) in IsAllowed()
147 && 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/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.cpp322 if (util::EndsWith(str, extension)) { in GetCompressionFlags()
1440 if (util::EndsWith(path, ".flata") || util::EndsWith(path, ".jar") || in MergePath()
1441 util::EndsWith(path, ".jack") || util::EndsWith(path, ".zip")) { in MergePath()
1443 } else if (util::EndsWith(path, ".apk")) { in MergePath()
1460 if (util::EndsWith(src.path, ".xml") || util::EndsWith(src.path, ".png")) { in MergeFile()
1463 const StringPiece file_type = util::EndsWith(src.path, ".xml") ? "XML" : "PNG"; in MergeFile()
1468 } else if (!util::EndsWith(src.path, ".apc") && !util::EndsWith(src.path, ".flat")) { in MergeFile()
/frameworks/base/tools/aapt2/io/
DZipArchive.cpp130 if (util::EndsWith(zip_entry_path, "/")) { in Create()
/frameworks/native/libs/binder/ndk/test/
DbinderVendorDoubleLoadTest.cpp37 using ::android::base::EndsWith;
/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/installd/
Dotapreopt.cpp59 using android::base::EndsWith;
453 CHECK(EndsWith(path, "/")); in ShouldSkipPreopt()
Dutils.cpp50 using android::base::EndsWith;
1128 if (EndsWith(name, PROFILE_EXT)) { in collect_profiles()
Ddexopt.cpp58 using android::base::EndsWith;
1114 if (EndsWith(oat_path, ".dex")) { in replace_file_extension()
1117 CHECK(EndsWith(new_path, new_ext)); in replace_file_extension()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp48 using ::testing::EndsWith;
820 EXPECT_THAT(out, EndsWith("root " + kSimpleCommand + "' on user build.\n")); in TEST_F()
1438 EXPECT_THAT(out, EndsWith("stdout line1\n*** command '" + kSimpleCommand + in TEST_F()
1463 EXPECT_THAT(out, EndsWith("root " + kSimpleCommand + "' on user build.\n")); in TEST_F()
1618 EXPECT_THAT(out, EndsWith("skipped on dry run\n")); in TEST_F()
/frameworks/base/tools/aapt2/
DResourceUtils.cpp774 } else if (util::EndsWith(*file_ref->path, ".xml")) { in ParseBinaryResValue()
776 } else if (util::EndsWith(*file_ref->path, ".png")) { in ParseBinaryResValue()
/frameworks/native/vulkan/libvulkan/
Dlayers_extensions.cpp418 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()