Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/
DTypeManager.cpp47 inline bool StartsWith(std::string_view sv, std::string_view prefix) { in StartsWith() function
97 if (StartsWith(line, "/") || line.find('.') != std::string::npos) { in getVendorExtensionAllowlistedApps()
140 if (StartsWith(appPackageInfo.binaryPath, "/vendor/") || in isExtensionsUseAllowed()
141 StartsWith(appPackageInfo.binaryPath, "/odm/") || in isExtensionsUseAllowed()
142 StartsWith(appPackageInfo.binaryPath, "/data/") || in isExtensionsUseAllowed()
143 (StartsWith(appPackageInfo.binaryPath, "/product/") && useOnProductImageEnabled)) { in isExtensionsUseAllowed()
150 if (StartsWith(appPackageInfo.binaryPath, "/data/nativetest") || in isExtensionsUseAllowed()
152 StartsWith(appPackageInfo.binaryPath, "/data/local/tmp/NeuralNetworksTest_")) { in isExtensionsUseAllowed()
/packages/modules/adb/client/
Dbugreport.cpp137 if (android::base::StartsWith(line, BUGZ_BEGIN_PREFIX)) { in ProcessLine()
139 } else if (android::base::StartsWith(line, BUGZ_OK_PREFIX)) { in ProcessLine()
141 } else if (android::base::StartsWith(line, BUGZ_FAIL_PREFIX)) { in ProcessLine()
145 } else if (show_progress_ && android::base::StartsWith(line, BUGZ_PROGRESS_PREFIX)) { in ProcessLine()
/packages/services/Car/cpp/watchdog/server/src/
DPackageInfoResolver.cpp44 using ::android::base::StartsWith;
59 if (StartsWith(packageName, prefix)) { in getComponentTypeForNativeUid()
154 if (StartsWith(result->packageIdentifier.name, kSharedPackagePrefix)) { in updatePackageInfos()
DProcStat.cpp36 using ::android::base::StartsWith;
65 if (fields.size() != 2 || !StartsWith(fields[0], "procs_") || !ParseUint(fields[1], out)) { in parseProcsCount()
DProcDiskStats.h38 if (android::base::StartsWith(deviceName, prefix)) { in recordStatsForDevice()
DIoOveruseConfigs.cpp49 using ::android::base::StartsWith;
515 if (StartsWith(packageName, prefix)) { in update()
DProcDiskStats.cpp41 using ::android::base::StartsWith;
DOveruseConfigurationXmlHelper.cpp56 using ::android::base::StartsWith;
/packages/modules/SdkExtensions/derive_classpath/
Dderive_classpath.cpp112 if (android::base::StartsWith(path_str, "/data/")) { in WriteClasspathExports()
177 CHECK(android::base::StartsWith(jar_path, allowed_jar_prefix)) in ParseFragments()
Dderive_classpath_test.cpp90 if (!android::base::StartsWith(*jar, *prefix)) { in CheckClasspathGroupOrder()
/packages/modules/adb/
Dadb_utils.cpp254 if (android::base::StartsWith(source, "tcp:")) { in forward_targets_are_valid()
263 if (android::base::StartsWith(dest, "tcp:")) { in forward_targets_are_valid()
Dadb_mdns.cpp131 if (android::base::StartsWith(service_name, "adb-EMULATOR")) { in adb_DNSServiceShouldAutoConnect()
Dadb.cpp1018 if (android::base::StartsWith(service, "killforward:")) { in handle_forward_request()
1023 if (android::base::StartsWith(service, "norebind:")) { in handle_forward_request()
Dtransport.cpp1263 if (android::base::StartsWith(target, "tcp:") || in MatchesTarget()
1264 android::base::StartsWith(target, "udp:")) { in MatchesTarget()
/packages/services/Car/cpp/powerpolicy/server/src/
DPolicyManager.cpp39 using android::base::StartsWith;
138 if (!StartsWith(id, prefix)) { in toPowerComponent()
449 return StartsWith(policyId, kSystemPolicyPrefix); in isSystemPowerPolicy()
/packages/services/Car/cpp/watchdog/server/tests/
DProcDiskStatsTest.cpp30 using ::android::base::StartsWith;
/packages/services/Car/cpp/computepipe/runner/input_manager/
DVideoDecoder.cpp133 if (android::base::StartsWith(mime, "video/")) { in initializeMediaDecoder()
/packages/providers/MediaProvider/jni/
DFuseDaemon.cpp262 if (android::base::StartsWith(path, "/storage/emulated")) { in GetEffectiveRootPath()
410 is_package_owned_path(path, fuse->path) || android::base::StartsWith(path, media_path)) { in get_entry_timeout()
671 if (android::base::StartsWith(path, "/storage/emulated")) { in is_app_accessible_path()
/packages/modules/adb/daemon/
Dfile_sync_service.cpp74 return !android::base::StartsWith(path, "/data/"); in should_use_fs_config()