/frameworks/base/core/jni/ |
D | fd_utils.cpp | 91 android::base::EndsWith(path, kJarSuffix)) { in IsAllowed() 99 if (android::base::StartsWith(path, kApexPrefix) && android::base::EndsWith(path, kJarSuffix) && in IsAllowed() 100 android::base::EndsWith(android::base::Dirname(path), kApexJavalibPathSuffix)) { in IsAllowed() 141 android::base::EndsWith(path, kApkSuffix) && path.find("/../") == std::string::npos) { in IsAllowed() 148 android::base::EndsWith(android::base::Dirname(path), kOverlayPathSuffix) && in IsAllowed() 149 android::base::EndsWith(path, kApkSuffix) && path.find("/../") == std::string::npos) { in IsAllowed() 156 android::base::EndsWith(path, kOverlayIdmapSuffix) && in IsAllowed()
|
/frameworks/native/libs/binder/tests/ |
D | binderUtilsHostTest.cpp | 55 return android::base::EndsWith(commandResult.stdoutStr, "\n"); in TEST() 80 return android::base::EndsWith(commandResult.stdoutStr, "\n"); in TEST()
|
D | binderHostDeviceTest.cpp | 35 using ::android::base::EndsWith;
|
/frameworks/libs/binary_translation/base/include/berberis/base/ |
D | strings.h | 25 using android::base::EndsWith;
|
/frameworks/base/services/core/xsd/vts/ |
D | ValidateDefaultPermissions.cpp | 41 if (android::base::EndsWith(de->d_name, ".xml")) { in get_files_in_dirs()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_UsbAlsaJackDetector.cpp | 47 if (android::base::EndsWith(name, suffix)) { in find_mixer_with_suffix()
|
/frameworks/native/libs/binder/ndk/tests/ |
D | binderVendorDoubleLoadTest.cpp | 37 using ::android::base::EndsWith;
|
/frameworks/base/tools/aapt2/io/ |
D | ZipArchive.cpp | 137 if (util::EndsWith(zip_entry_path, "/")) { in Create()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 345 if (util::EndsWith(str, extension)) { in GetCompressionFlags() 1569 if (util::EndsWith(path, ".flata") || util::EndsWith(path, ".jar") || in MergePath() 1570 util::EndsWith(path, ".jack") || util::EndsWith(path, ".zip")) { in MergePath() 1572 } else if (util::EndsWith(path, ".apk")) { in MergePath() 1589 if (util::EndsWith(src.path, ".xml") || util::EndsWith(src.path, ".png")) { in MergeFile() 1592 const StringPiece file_type = util::EndsWith(src.path, ".xml") ? "XML" : "PNG"; in MergeFile() 1598 } else if (!util::EndsWith(src.path, ".apc") && !util::EndsWith(src.path, ".flat")) { in MergeFile()
|
/frameworks/native/cmds/installd/ |
D | otapreopt.cpp | 62 using android::base::EndsWith; 486 CHECK(EndsWith(path, "/")); in ShouldSkipPreopt()
|
D | utils.cpp | 56 using android::base::EndsWith; 1350 if (EndsWith(name, PROFILE_EXT)) { in collect_profiles()
|
D | dexopt.cpp | 70 using android::base::EndsWith; 916 if (EndsWith(oat_path, ".dex")) { in replace_file_extension() 919 CHECK(EndsWith(new_path, new_ext)); in replace_file_extension()
|
D | InstalldNativeService.cpp | 1167 if (!base::EndsWith(profileName, ".prof")) { in clearAppProfiles() 3211 if (!base::EndsWith(systemProfile, ".prof")) { in copySystemProfile() 3218 if (!base::EndsWith(profileName, ".prof")) { in copySystemProfile()
|
/frameworks/base/tools/aapt2/util/ |
D | Util.h | 58 bool EndsWith(android::StringPiece str, android::StringPiece suffix);
|
D | Util_test.cpp | 48 EXPECT_TRUE(util::EndsWith("hello.xml", ".xml")); in TEST()
|
D | Util.cpp | 79 bool EndsWith(StringPiece str, StringPiece suffix) { in EndsWith() function
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 55 using ::testing::EndsWith; 797 EXPECT_THAT(out, EndsWith("root " + kSimpleCommand + "' on user build.\n")); in TEST_F() 1508 EXPECT_THAT(out, EndsWith("stdout line1\n*** command '" + kSimpleCommand + in TEST_F() 1533 EXPECT_THAT(out, EndsWith("root " + kSimpleCommand + "' on user build.\n")); in TEST_F() 1688 EXPECT_THAT(out, EndsWith("skipped on dry run\n")); in TEST_F()
|
/frameworks/native/cmds/servicemanager/ |
D | test_sm.cpp | 35 using android::base::EndsWith; 87 return StartsWith(device, "vsoc_") && EndsWith(product, "_phone"); in isCuttlefishPhone()
|
/frameworks/native/vulkan/libvulkan/ |
D | layers_extensions.cpp | 436 android::base::EndsWith(filename, ".so")) { in DiscoverLayersInPathList()
|
/frameworks/base/tools/aapt2/ |
D | ResourceUtils.cpp | 797 } else if (util::EndsWith(*file_ref->path, ".xml")) { in ParseBinaryResValue() 799 } else if (util::EndsWith(*file_ref->path, ".png")) { in ParseBinaryResValue()
|
/frameworks/base/tools/aapt2/configuration/ |
D | ConfigurationParser.cpp | 373 if (!util::EndsWith(result, ext)) { in ToBaseName()
|
/frameworks/native/cmds/lshal/ |
D | test.cpp | 1152 EXPECT_THAT(err.str(), EndsWith(errStr)) in TEST_F()
|
/frameworks/base/libs/androidfw/ |
D | Png.cpp | 1218 if (android::base::EndsWith(source.path, ".9.png")) { in process()
|