/frameworks/libs/binary_translation/kernel_api/ |
D | exec_emulation.cc | 31 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/ |
D | BinderDebug.cpp | 55 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/ |
D | fd_utils.cpp | 67 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/ |
D | bugreportz.cpp | 37 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/ |
D | dumpstate_test.cpp | 61 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/ |
D | XmlUtil.cpp | 37 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/ |
D | strings.h | 27 using android::base::StartsWith;
|
/frameworks/base/tools/aapt2/filter/ |
D | AbiFilter.cpp | 36 if (!util::StartsWith(path, kLibPrefix)) { in Keep()
|
D | Filter.h | 47 return util::StartsWith(path, prefix_); in Keep()
|
/frameworks/base/libs/androidfw/tests/ |
D | CommonHelpers.cpp | 35 if (base::StartsWith(arg, "--testdata=")) { in InitializeTest()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | FileUtils.cpp | 38 if (base::StartsWith(canonical_path, kIdmapCacheDir) && in UidHasWriteAccessToPath()
|
/frameworks/base/tools/aapt2/util/ |
D | Files.cpp | 109 if (util::StartsWith(path, R"(\\?\)")) { in mkdirs() 175 return util::StartsWith(GetFilename(path), "."); in IsHidden() 365 if (util::StartsWith(entry->d_name, ".")) { in FindFiles()
|
D | Util.cpp | 72 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()
|
D | Util.h | 55 bool StartsWith(android::StringPiece str, android::StringPiece prefix);
|
D | Util_test.cpp | 52 EXPECT_TRUE(util::StartsWith("hello.xml", "he")); in TEST()
|
/frameworks/base/libs/androidfw/ |
D | PngChunkFilter.cpp | 71 if (android::base::StartsWith(data_, kPngSignature)) { in PngChunkFilter()
|
/frameworks/native/libs/binder/tests/ |
D | binderHostDeviceTest.cpp | 40 using ::android::base::StartsWith;
|
/frameworks/base/tools/aapt2/test/ |
D | Fixture.cpp | 52 if (util::StartsWith(entry->d_name, ".")) { in ClearDirectory()
|
/frameworks/native/cmds/atrace/ |
D | atrace.cpp | 1145 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/ |
D | path.cpp | 204 if (!base::StartsWith(path, prefix)) { in startsWith()
|
/frameworks/native/cmds/installd/ |
D | otapreopt.cpp | 64 using android::base::StartsWith; 482 if (StartsWith(apk_path, android_root_) || !IsAotCompilation()) { in ShouldSkipPreopt()
|
/frameworks/native/vulkan/libvulkan/ |
D | layers_extensions.cpp | 140 !android::base::StartsWith(path_, kSystemLayerLibraryDir)) { in Open() 435 if (android::base::StartsWith(filename, "libVkLayer") && in DiscoverLayersInPathList()
|
/frameworks/base/tools/aapt2/optimize/ |
D | Obfuscator.cpp | 136 if (util::StartsWith(res_subdir, "res/color")) continue; in HandleShortenFilePaths()
|
/frameworks/native/cmds/servicemanager/ |
D | test_sm.cpp | 37 using android::base::StartsWith; 87 return StartsWith(device, "vsoc_") && EndsWith(product, "_phone"); in isCuttlefishPhone()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_layers.cpp | 393 if (app_namespace && !android::base::StartsWith(layer, kSystemLayerLibraryDir)) { in LoadLayers()
|