Home
last modified time | relevance | path

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

12

/frameworks/libs/binary_translation/kernel_api/
Dexec_emulation.cc31 return StartsWith(s, "LD_CONFIG_FILE=") || StartsWith(s, "LD_LIBRARY_PATH=") || in IsPlatformVar()
32 StartsWith(s, "LD_DEBUG=") || StartsWith(s, "LD_PRELOAD="); in IsPlatformVar()
98 if (StartsWith(env, guest_prefix) && IsPlatformVar(env + guest_prefix_size)) { in DemangleGuestEnvp()
/frameworks/native/libs/binderdebug/
DBinderDebug.cpp55 if (base::StartsWith(line, "context")) { in scanBinderContext()
76 if (base::StartsWith(line, " node")) { in getBinderPidInfo()
81 if (base::StartsWith(token, "u")) { in getBinderPidInfo()
105 } else if (base::StartsWith(line, " thread")) { in getBinderPidInfo()
140 if (!base::StartsWith(line, " ref")) return; in getBinderClientPids()
166 if (!base::StartsWith(line, " node")) return; in getBinderClientPids()
218 if (base::StartsWith(line, "proc " + std::to_string(pid))) { in getBinderTransactions()
221 } while (getline(ifs, line) && !base::StartsWith(line, "proc ")); in getBinderTransactions()
/frameworks/base/core/jni/
Dfd_utils.cpp67 return android::base::StartsWith(path, "/memfd:/boot-image-methods.art"); in IsArtMemfd()
90 if (android::base::StartsWith(path, frameworks_prefix) && in IsAllowed()
99 if (android::base::StartsWith(path, kApexPrefix) && android::base::EndsWith(path, kJarSuffix) && in IsAllowed()
130 if ((android::base::StartsWith(path, kOverlayDir) || in IsAllowed()
131 android::base::StartsWith(path, kVendorOverlaySubdir) || in IsAllowed()
132 android::base::StartsWith(path, kVendorOverlayDir) || in IsAllowed()
133 android::base::StartsWith(path, kSystemProductOverlayDir) || in IsAllowed()
134 android::base::StartsWith(path, kProductOverlayDir) || in IsAllowed()
135 android::base::StartsWith(path, kSystemSystemExtOverlayDir) || in IsAllowed()
136 android::base::StartsWith(path, kSystemExtOverlayDir) || in IsAllowed()
[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.cpp61 using ::testing::StartsWith;
592 StartsWith("------ I AM GROOT (" + kSimpleCommand + ") ------\nstdout\n")); in TEST_F()
627 EXPECT_THAT(out, StartsWith("------ I AM GROOT (" + kSimpleCommand + in TEST_F()
648 EXPECT_THAT(out, StartsWith("*** command '/there/cannot/be/such/command' failed: exit code")); in TEST_F()
649 EXPECT_THAT(err, StartsWith("execvp on command '/there/cannot/be/such/command' failed")); in TEST_F()
664 out, StartsWith("stdout\n*** command '" + kSimpleCommand + " --crash' failed: exit code")); in TEST_F()
666 err, StartsWith("stderr\n*** command '" + kSimpleCommand + " --crash' failed: exit code")); in TEST_F()
672 EXPECT_THAT(out, StartsWith("stdout line1\n*** command '" + kSimpleCommand + in TEST_F()
674 EXPECT_THAT(err, StartsWith("sleeping for 2s\n*** command '" + kSimpleCommand + in TEST_F()
796 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/libs/binary_translation/base/include/berberis/base/
Dstrings.h27 using android::base::StartsWith;
/frameworks/base/tools/aapt2/filter/
DAbiFilter.cpp36 if (!util::StartsWith(path, kLibPrefix)) { in Keep()
DFilter.h47 return util::StartsWith(path, prefix_); in Keep()
/frameworks/base/libs/androidfw/tests/
DCommonHelpers.cpp35 if (base::StartsWith(arg, "--testdata=")) { in InitializeTest()
/frameworks/base/cmds/idmap2/libidmap2/
DFileUtils.cpp38 if (base::StartsWith(canonical_path, kIdmapCacheDir) && in UidHasWriteAccessToPath()
/frameworks/base/tools/aapt2/util/
DFiles.cpp109 if (util::StartsWith(path, R"(\\?\)")) { in mkdirs()
175 return util::StartsWith(GetFilename(path), "."); in IsHidden()
365 if (util::StartsWith(entry->d_name, ".")) { in FindFiles()
DUtil.cpp72 bool StartsWith(StringPiece str, StringPiece prefix) { in StartsWith() function
236 if (android::base::StartsWith(buildNumber, "eng.")) { in GetToolFingerprint()
437 if (!StartsWith(path, res_prefix)) { in ExtractResFilePathParts()
DUtil.h55 bool StartsWith(android::StringPiece str, android::StringPiece prefix);
DUtil_test.cpp52 EXPECT_TRUE(util::StartsWith("hello.xml", "he")); in TEST()
/frameworks/base/libs/androidfw/
DPngChunkFilter.cpp71 if (android::base::StartsWith(data_, kPngSignature)) { in PngChunkFilter()
/frameworks/native/libs/binder/tests/
DbinderHostDeviceTest.cpp40 using ::android::base::StartsWith;
/frameworks/base/tools/aapt2/test/
DFixture.cpp52 if (util::StartsWith(entry->d_name, ".")) { in ClearDirectory()
/frameworks/native/cmds/atrace/
Datrace.cpp1145 if (android::base::StartsWith(line, ' ') || android::base::StartsWith(line, '\t')) { in initVendorCategoriesFromFile()
1152 while (android::base::StartsWith(path, ' ') || android::base::StartsWith(path, '\t')) { in initVendorCategoriesFromFile()
/frameworks/base/services/incremental/
Dpath.cpp204 if (!base::StartsWith(path, prefix)) { in startsWith()
/frameworks/native/cmds/installd/
Dotapreopt.cpp64 using android::base::StartsWith;
482 if (StartsWith(apk_path, android_root_) || !IsAotCompilation()) { in ShouldSkipPreopt()
/frameworks/native/vulkan/libvulkan/
Dlayers_extensions.cpp140 !android::base::StartsWith(path_, kSystemLayerLibraryDir)) { in Open()
435 if (android::base::StartsWith(filename, "libVkLayer") && in DiscoverLayersInPathList()
/frameworks/base/tools/aapt2/optimize/
DObfuscator.cpp136 if (util::StartsWith(res_subdir, "res/color")) continue; in HandleShortenFilePaths()
/frameworks/native/cmds/servicemanager/
Dtest_sm.cpp37 using android::base::StartsWith;
87 return StartsWith(device, "vsoc_") && EndsWith(product, "_phone"); in isCuttlefishPhone()
/frameworks/native/opengl/libs/EGL/
Degl_layers.cpp393 if (app_namespace && !android::base::StartsWith(layer, kSystemLayerLibraryDir)) { in LoadLayers()

12