/aosp14/frameworks/base/core/jni/ |
H A D | fd_utils.cpp | 87 android::base::EndsWith(path, kJarSuffix)) { in IsAllowed() 95 if (android::base::StartsWith(path, kApexPrefix) && android::base::EndsWith(path, kJarSuffix) && in IsAllowed() 96 android::base::EndsWith(android::base::Dirname(path), kApexJavalibPathSuffix)) { in IsAllowed() 137 android::base::EndsWith(path, kApkSuffix) && path.find("/../") == std::string::npos) { in IsAllowed() 144 android::base::EndsWith(android::base::Dirname(path), kOverlayPathSuffix) && in IsAllowed() 145 android::base::EndsWith(path, kApkSuffix) && path.find("/../") == std::string::npos) { in IsAllowed() 152 android::base::EndsWith(path, kOverlayIdmapSuffix) && in IsAllowed()
|
H A D | android_os_Debug.cpp | 255 if (base::EndsWith(vma.name, " (deleted)")) { in load_maps() 274 } else if (base::EndsWith(name, ".so")) { in load_maps() 277 } else if (base::EndsWith(name, ".jar")) { in load_maps() 280 } else if (base::EndsWith(name, ".apk")) { in load_maps() 283 } else if (base::EndsWith(name, ".ttf")) { in load_maps() 286 } else if ((base::EndsWith(name, ".odex")) || in load_maps() 291 } else if (base::EndsWith(name, ".vdex")) { in load_maps() 302 } else if (base::EndsWith(name, ".oat")) { in load_maps() 305 } else if (base::EndsWith(name, ".art") || base::EndsWith(name, ".art]")) { in load_maps()
|
/aosp14/system/core/libcutils/ |
H A D | fs_config.cpp | 48 using android::base::EndsWith; 288 if (!EndsWith(input, "/")) { in fs_config_cmp() 292 if (!EndsWith(pattern, "/*")) { in fs_config_cmp() 293 if (EndsWith(pattern, "/")) { in fs_config_cmp()
|
/aosp14/frameworks/base/services/core/xsd/vts/ |
H A D | ValidateDefaultPermissions.cpp | 41 if (android::base::EndsWith(de->d_name, ".xml")) { in get_files_in_dirs()
|
/aosp14/system/core/init/ |
H A D | host_init_verifier.cpp | 56 using android::base::EndsWith; 258 EndsWith(optarg, "/") ? optarg : std::string(optarg) + "/"; in main()
|
/aosp14/frameworks/base/services/core/jni/ |
H A D | com_android_server_UsbAlsaJackDetector.cpp | 47 if (android::base::EndsWith(name, suffix)) { in find_mixer_with_suffix()
|
/aosp14/frameworks/base/tools/aapt2/cmd/ |
H A D | Link.cpp | 342 if (util::EndsWith(str, extension)) { in GetCompressionFlags() 1566 if (util::EndsWith(path, ".flata") || util::EndsWith(path, ".jar") || in MergePath() 1567 util::EndsWith(path, ".jack") || util::EndsWith(path, ".zip")) { in MergePath() 1569 } else if (util::EndsWith(path, ".apk")) { in MergePath() 1586 if (util::EndsWith(src.path, ".xml") || util::EndsWith(src.path, ".png")) { in MergeFile() 1589 const StringPiece file_type = util::EndsWith(src.path, ".xml") ? "XML" : "PNG"; in MergeFile() 1595 } else if (!util::EndsWith(src.path, ".apc") && !util::EndsWith(src.path, ".flat")) { in MergeFile()
|
/aosp14/frameworks/base/tools/aapt2/io/ |
H A D | ZipArchive.cpp | 129 if (util::EndsWith(zip_entry_path, "/")) { in Create()
|
/aosp14/system/core/fs_mgr/libfiemap/ |
H A D | utility.cpp | 93 if (android::base::EndsWith(dir, "/")) { in JoinPaths()
|
/aosp14/system/core/fastboot/device/ |
H A D | variables.cpp | 405 if (android::base::EndsWith(name, "_a") || android::base::EndsWith(name, "_b")) { in GetAllPartitionArgsNoSlot()
|
H A D | commands.cpp | 645 return android::base::EndsWith(active_dsu, ".lock"); in IsLockedDsu()
|
/aosp14/system/core/fs_mgr/libsnapshot/ |
H A D | snapshot_metadata_updater.cpp | 165 if (!android::base::EndsWith(existing_group_name, target_suffix_)) { in DeleteGroups()
|
H A D | utility.cpp | 85 if (!base::EndsWith(partition->name(), suffix)) { in ListPartitionsWithSuffix()
|
H A D | snapshot.cpp | 760 if (android::base::EndsWith(snapshot, other_suffix)) { in InitiateMerge() 1134 if (android::base::EndsWith(snapshot, other_suffix)) { in CheckMergeState() 1995 if (should_unmap && android::base::EndsWith(name, device_->GetSlotSuffix())) { in RemoveAllSnapshots() 2183 if (!suffix.empty() && !android::base::EndsWith(name, suffix)) { in ListSnapshots() 3181 if (android::base::EndsWith(group_name, target_suffix)) { in CreateUpdateSnapshots()
|
/aosp14/frameworks/base/tools/aapt2/util/ |
H A D | Util.h | 58 bool EndsWith(android::StringPiece str, android::StringPiece suffix);
|
H A D | Util_test.cpp | 48 EXPECT_TRUE(util::EndsWith("hello.xml", ".xml")); in TEST()
|
H A D | Util.cpp | 78 bool EndsWith(StringPiece str, StringPiece suffix) { in EndsWith() function
|
/aosp14/system/core/healthd/ |
H A D | healthd_mode_charger.cpp | 867 CHECK(android::base::StartsWith(root, "/") && android::base::EndsWith(root, "/")) in set_resource_root() 870 android::base::EndsWith(backup_root, "/"))) in set_resource_root()
|
/aosp14/system/core/fs_mgr/ |
H A D | fs_mgr_fstab.cpp | 41 using android::base::EndsWith; 599 if (!EndsWith(partition, gsi::kDsuPostfix)) { in TransformFstabForDsu()
|
/aosp14/frameworks/base/tools/aapt2/ |
H A D | ResourceUtils.cpp | 773 } else if (util::EndsWith(*file_ref->path, ".xml")) { in ParseBinaryResValue() 775 } else if (util::EndsWith(*file_ref->path, ".png")) { in ParseBinaryResValue()
|
/aosp14/system/core/libmodprobe/ |
H A D | libmodprobe.cpp | 44 if (android::base::EndsWith(module_path, ".ko")) { in MakeCanonical()
|
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/ |
H A D | snapuserd.cpp | 786 if (android::base::EndsWith(misc_name_, "-init") || is_socket_present_) { in Start()
|
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/ |
H A D | snapuserd_server.cpp | 505 if (android::base::EndsWith(misc_name, "-init") || is_socket_present_) { in AddHandler()
|
/aosp14/system/core/fs_mgr/libdm/ |
H A D | dm.cpp | 713 } else if (android::base::EndsWith(dm_block_name, "-verity")) { in FindDmPartitions()
|
/aosp14/system/core/fastboot/ |
H A D | fastboot.cpp | 1154 return android::base::EndsWith(partition, "vbmeta") || in is_vbmeta_partition() 1155 android::base::EndsWith(partition, "vbmeta_a") || in is_vbmeta_partition() 1156 android::base::EndsWith(partition, "vbmeta_b"); in is_vbmeta_partition()
|