Home
last modified time | relevance | path

Searched refs:StartsWith (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/jni/
Dfd_utils.cpp63 return android::base::StartsWith(path, "/memfd:/boot-image-methods.art"); in IsArtMemfd()
86 if (android::base::StartsWith(path, frameworks_prefix) && in IsAllowed()
95 if (android::base::StartsWith(path, kApexPrefix) && android::base::EndsWith(path, kJarSuffix) && in IsAllowed()
126 if ((android::base::StartsWith(path, kOverlayDir) || in IsAllowed()
127 android::base::StartsWith(path, kVendorOverlaySubdir) || in IsAllowed()
128 android::base::StartsWith(path, kVendorOverlayDir) || in IsAllowed()
129 android::base::StartsWith(path, kSystemProductOverlayDir) || in IsAllowed()
130 android::base::StartsWith(path, kProductOverlayDir) || in IsAllowed()
131 android::base::StartsWith(path, kSystemSystemExtOverlayDir) || in IsAllowed()
132 android::base::StartsWith(path, kSystemExtOverlayDir) || in IsAllowed()
[all …]
Dandroid_os_Debug.cpp262 if (base::StartsWith(name, "[heap]")) { in load_maps()
264 } else if (base::StartsWith(name, "[anon:libc_malloc]")) { in load_maps()
266 } else if (base::StartsWith(name, "[anon:scudo:")) { in load_maps()
268 } else if (base::StartsWith(name, "[anon:GWP-ASan")) { in load_maps()
270 } else if (base::StartsWith(name, "[stack")) { in load_maps()
272 } else if (base::StartsWith(name, "[anon:stack_and_tls:")) { in load_maps()
316 } else if (base::StartsWith(name, "/dev/")) { in load_maps()
318 if (base::StartsWith(name, "/dev/kgsl-3d0")) { in load_maps()
320 } else if (base::StartsWith(name, "/dev/ashmem/CursorWindow")) { in load_maps()
322 } else if (base::StartsWith(name, "/dev/ashmem/jit-zygote-cache")) { in load_maps()
[all …]
/frameworks/native/cmds/bugreportz/
Dbugreportz.cpp37 if (!show_progress && (android::base::StartsWith(line, PROGRESS_PREFIX) || in write_line()
38 android::base::StartsWith(line, BEGIN_PREFIX))) in write_line()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp59 using ::testing::StartsWith;
576 StartsWith("------ I AM GROOT (" + kSimpleCommand + ") ------\nstdout\n")); in TEST_F()
611 EXPECT_THAT(out, StartsWith("------ I AM GROOT (" + kSimpleCommand + in TEST_F()
632 EXPECT_THAT(out, StartsWith("*** command '/there/cannot/be/such/command' failed: exit code")); in TEST_F()
633 EXPECT_THAT(err, StartsWith("execvp on command '/there/cannot/be/such/command' failed")); in TEST_F()
648 out, StartsWith("stdout\n*** command '" + kSimpleCommand + " --crash' failed: exit code")); in TEST_F()
650 err, StartsWith("stderr\n*** command '" + kSimpleCommand + " --crash' failed: exit code")); in TEST_F()
656 EXPECT_THAT(out, StartsWith("stdout line1\n*** command '" + kSimpleCommand + in TEST_F()
658 EXPECT_THAT(err, StartsWith("sleeping for 2s\n*** command '" + kSimpleCommand + in TEST_F()
780 EXPECT_THAT(out, StartsWith("Skipping")); in TEST_F()
[all …]
/frameworks/base/tools/aapt2/xml/
DXmlUtil.cpp37 if (util::StartsWith(namespace_uri, kSchemaPublicPrefix)) { in ExtractPackageFromNamespace()
46 } else if (util::StartsWith(namespace_uri, kSchemaPrivatePrefix)) { in ExtractPackageFromNamespace()
/frameworks/base/tools/aapt2/filter/
DAbiFilter.cpp36 if (!util::StartsWith(path, kLibPrefix)) { in Keep()
DFilter.h46 return util::StartsWith(path, prefix_); in Keep()
/frameworks/base/libs/androidfw/tests/
DCommonHelpers.cpp35 if (base::StartsWith(arg, "--testdata=")) { in InitializeTest()
/frameworks/base/tools/aapt2/util/
DFiles.cpp109 if (util::StartsWith(path, R"(\\?\)")) { in mkdirs()
175 return util::StartsWith(GetFilename(path), "."); in IsHidden()
359 if (util::StartsWith(entry->d_name, ".")) { in FindFiles()
DUtil.cpp71 bool StartsWith(const StringPiece& str, const StringPiece& prefix) { in StartsWith() function
236 if (android::base::StartsWith(sBuildId, "eng.")) { in GetToolFingerprint()
533 if (!StartsWith(path, res_prefix)) { in ExtractResFilePathParts()
DUtil_test.cpp52 EXPECT_TRUE(util::StartsWith("hello.xml", "he")); in TEST()
DUtil.h56 bool StartsWith(const android::StringPiece& str, const android::StringPiece& prefix);
/frameworks/base/tools/aapt2/compile/
DPngChunkFilter.cpp74 if (util::StartsWith(data_, kPngSignature)) { in PngChunkFilter()
/frameworks/base/tools/aapt2/optimize/
DResourcePathShortener.cpp106 if (util::StartsWith(res_subdir, "res/color")) in Consume()
/frameworks/base/tools/aapt2/test/
DFixture.cpp51 if (util::StartsWith(entry->d_name, ".")) { in ClearDirectory()
/frameworks/native/libs/binder/tests/
DbinderHostDeviceTest.cpp40 using ::android::base::StartsWith;
/frameworks/base/services/incremental/
Dpath.cpp204 if (!base::StartsWith(path, prefix)) { in startsWith()
/frameworks/native/vulkan/libvulkan/
Dlayers_extensions.cpp136 !android::base::StartsWith(path_, kSystemLayerLibraryDir)) { in Open()
417 if (android::base::StartsWith(filename, "libVkLayer") && in DiscoverLayersInPathList()
/frameworks/native/cmds/installd/
Dotapreopt.cpp61 using android::base::StartsWith;
443 if (StartsWith(apk_path, android_root_)) { in ShouldSkipPreopt()
Dutils.cpp1142 } else if (android::base::StartsWith(path, android_mnt_expand_dir)) { in validate_apk_path_internal()
/frameworks/native/opengl/libs/EGL/
Degl_layers.cpp393 if (app_namespace && !android::base::StartsWith(layer, kSystemLayerLibraryDir)) { in LoadLayers()
/frameworks/base/tools/aapt2/cmd/
DLink.cpp2244 if (util::StartsWith(arg, "@")) { in Action()
2258 if (util::StartsWith(arg, "@")) { in Action()
2391 if (util::StartsWith(regex, "@")) { in Action()
/frameworks/native/libs/cputimeinstate/
Dcputimeinstate.cpp82 return android::base::StartsWith(d->d_name, "policy"); in isPolicyFile()
/frameworks/native/libs/vr/libpdx_uds/
Dservice_endpoint.cpp144 CHECK(android::base::StartsWith(endpoint_path_, prefix))
/frameworks/base/tools/aapt2/
DResourceUtils.cpp770 if (type != ResourceType::kString && util::StartsWith(str, "res/")) { in ParseBinaryResValue()

12