/frameworks/base/core/jni/ |
D | fd_utils.cpp | 78 if (android::base::StartsWith(path, kFrameworksPrefix) in IsAllowed() 85 if (android::base::StartsWith(path, kRuntimeApexPrefix) in IsAllowed() 111 if ((android::base::StartsWith(path, kOverlayDir) in IsAllowed() 112 || android::base::StartsWith(path, kVendorOverlaySubdir) in IsAllowed() 113 || android::base::StartsWith(path, kVendorOverlayDir) in IsAllowed() 114 || android::base::StartsWith(path, kSystemProductOverlayDir) in IsAllowed() 115 || android::base::StartsWith(path, kProductOverlayDir) in IsAllowed() 116 || android::base::StartsWith(path, kSystemProductServicesOverlayDir) in IsAllowed() 117 || android::base::StartsWith(path, kProductServicesOverlayDir) in IsAllowed() 118 || android::base::StartsWith(path, kSystemOdmOverlayDir) in IsAllowed() [all …]
|
D | android_os_Debug.cpp | 256 if (base::StartsWith(name, "[heap]")) { in load_maps() 258 } else if (base::StartsWith(name, "[anon:libc_malloc]")) { in load_maps() 260 } else if (base::StartsWith(name, "[stack")) { in load_maps() 302 } else if (base::StartsWith(name, "/dev/")) { in load_maps() 304 if (base::StartsWith(name, "/dev/kgsl-3d0")) { in load_maps() 306 } else if (base::StartsWith(name, "/dev/ashmem/CursorWindow")) { in load_maps() 308 } else if (base::StartsWith(name, "/dev/ashmem")) { in load_maps() 311 } else if (base::StartsWith(name, "[anon:")) { in load_maps() 313 if (base::StartsWith(name, "[anon:dalvik-")) { in load_maps() 315 if (base::StartsWith(name, "[anon:dalvik-LinearAlloc")) { in load_maps() [all …]
|
/frameworks/ml/nn/runtime/ |
D | TypeManager.cpp | 39 inline bool StartsWith(std::string_view sv, std::string_view prefix) { in StartsWith() function 89 if (StartsWith(line, "/") || line.find('.') != std::string::npos) { in getVendorExtensionAllowlistedApps() 174 if (StartsWith(appPackageInfo.binaryPath, "/vendor/") || in isExtensionsUseAllowed() 175 StartsWith(appPackageInfo.binaryPath, "/odm/") || in isExtensionsUseAllowed() 176 StartsWith(appPackageInfo.binaryPath, "/data/") || in isExtensionsUseAllowed() 177 (StartsWith(appPackageInfo.binaryPath, "/product/") && useOnProductImageEnabled)) { in isExtensionsUseAllowed() 181 if (StartsWith(appPackageInfo.binaryPath, "/data/nativetest") || in isExtensionsUseAllowed() 183 StartsWith(appPackageInfo.binaryPath, "/data/local/tmp/NeuralNetworksTest_")) { in isExtensionsUseAllowed()
|
/frameworks/native/cmds/bugreportz/ |
D | bugreportz.cpp | 38 if (!show_progress && (android::base::StartsWith(line, PROGRESS_PREFIX) || in write_line() 39 android::base::StartsWith(line, BEGIN_PREFIX))) in write_line()
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 51 using ::testing::StartsWith; 669 StartsWith("------ I AM GROOT (" + kSimpleCommand + ") ------\nstdout\n")); in TEST_F() 703 EXPECT_THAT(out, StartsWith("------ I AM GROOT (" + kSimpleCommand + in TEST_F() 724 EXPECT_THAT(out, StartsWith("*** command '/there/cannot/be/such/command' failed: exit code")); in TEST_F() 725 EXPECT_THAT(err, StartsWith("execvp on command '/there/cannot/be/such/command' failed")); in TEST_F() 740 out, StartsWith("stdout\n*** command '" + kSimpleCommand + " --crash' failed: exit code")); in TEST_F() 742 err, StartsWith("stderr\n*** command '" + kSimpleCommand + " --crash' failed: exit code")); in TEST_F() 748 EXPECT_THAT(out, StartsWith("stdout line1\n*** command '" + kSimpleCommand + in TEST_F() 750 EXPECT_THAT(err, StartsWith("sleeping for 2s\n*** command '" + kSimpleCommand + in TEST_F() 910 EXPECT_THAT(out, StartsWith("Skipping")); in TEST_F() [all …]
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlUtil.cpp | 39 if (util::StartsWith(namespace_uri, kSchemaPublicPrefix)) { in ExtractPackageFromNamespace() 48 } else if (util::StartsWith(namespace_uri, kSchemaPrivatePrefix)) { in ExtractPackageFromNamespace()
|
/frameworks/base/tools/aapt2/test/ |
D | Fixture.cpp | 52 if (util::StartsWith(entry->d_name, ".")) { in ClearDirectory() 84 CHECK(util::StartsWith(path, temp_dir_)) in WriteFile()
|
/frameworks/base/tools/aapt2/filter/ |
D | AbiFilter.cpp | 36 if (!util::StartsWith(path, kLibPrefix)) { in Keep()
|
/frameworks/base/libs/androidfw/tests/ |
D | CommonHelpers.cpp | 35 if (base::StartsWith(arg, "--testdata=")) { in InitializeTest()
|
/frameworks/base/tools/aapt2/util/ |
D | Files.cpp | 109 if (util::StartsWith(path, R"(\\?\)")) { in mkdirs() 175 return util::StartsWith(GetFilename(path), "."); in IsHidden() 359 if (util::StartsWith(entry->d_name, ".")) { in FindFiles()
|
D | Util_test.cpp | 41 EXPECT_TRUE(util::StartsWith("hello.xml", "he")); in TEST()
|
D | Util.cpp | 67 bool StartsWith(const StringPiece& str, const StringPiece& prefix) { in StartsWith() function 510 if (!StartsWith(path, res_prefix)) { in ExtractResFilePathParts()
|
D | Util.h | 57 bool StartsWith(const android::StringPiece& str, const android::StringPiece& prefix);
|
/frameworks/base/tools/aapt2/compile/ |
D | PngChunkFilter.cpp | 74 if (util::StartsWith(data_, kPngSignature)) { in PngChunkFilter()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/ |
D | JsonParser.cs | 736 if (text.StartsWith("+")) in ParseMapKey() 740 if (text.StartsWith("0") && text.Length > 1) 747 else if (text.StartsWith("-0") && text.Length > 2)
|
/frameworks/native/vulkan/libvulkan/ |
D | layers_extensions.cpp | 144 !android::base::StartsWith(path_, kSystemLayerLibraryDir)) { in Open() 439 if (android::base::StartsWith(filename, "libVkLayer") && in DiscoverLayersInPathList()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/ |
D | DescriptorPool.cs | 269 if (name.StartsWith(".")) in LookupSymbol()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | wire_format_unittest.cc | 1125 bool StartsWith(const string& s, const string& prefix) { in StartsWith() function 1149 EXPECT_TRUE(StartsWith(errors[0], in TEST_F() 1173 EXPECT_TRUE(StartsWith(errors[0], in TEST_F() 1276 EXPECT_TRUE(StartsWith(errors[0], in TEST_F()
|
/frameworks/native/libs/cputimeinstate/ |
D | cputimeinstate.cpp | 81 return android::base::StartsWith(d->d_name, "policy"); in isPolicyFile()
|
/frameworks/native/cmds/installd/ |
D | otapreopt.cpp | 61 using android::base::StartsWith; 530 if (StartsWith(apk_path, android_root_)) { in ShouldSkipPreopt()
|
D | utils.cpp | 935 } else if (android::base::StartsWith(path, android_mnt_expand_dir)) { in validate_apk_path_internal()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_layers.cpp | 384 if (app_namespace && !android::base::StartsWith(layer, kSystemLayerLibraryDir)) { in LoadLayers()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 2068 if (util::StartsWith(arg, "@")) { in Action() 2082 if (util::StartsWith(arg, "@")) { in Action() 2198 if (util::StartsWith(regex, "@")) { in Action()
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | service_endpoint.cpp | 144 CHECK(android::base::StartsWith(endpoint_path_, prefix))
|
/frameworks/base/tools/aapt2/ |
D | ResourceUtils.cpp | 760 if (type != ResourceType::kString && util::StartsWith(str, "res/")) { in ParseBinaryResValue()
|