Searched refs:StartsWith (Results 1 – 19 of 19) sorted by relevance
/packages/modules/NeuralNetworks/runtime/ |
D | TypeManager.cpp | 47 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/ |
D | bugreport.cpp | 137 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/ |
D | PackageInfoResolver.cpp | 44 using ::android::base::StartsWith; 59 if (StartsWith(packageName, prefix)) { in getComponentTypeForNativeUid() 154 if (StartsWith(result->packageIdentifier.name, kSharedPackagePrefix)) { in updatePackageInfos()
|
D | ProcStat.cpp | 36 using ::android::base::StartsWith; 65 if (fields.size() != 2 || !StartsWith(fields[0], "procs_") || !ParseUint(fields[1], out)) { in parseProcsCount()
|
D | ProcDiskStats.h | 38 if (android::base::StartsWith(deviceName, prefix)) { in recordStatsForDevice()
|
D | IoOveruseConfigs.cpp | 49 using ::android::base::StartsWith; 515 if (StartsWith(packageName, prefix)) { in update()
|
D | ProcDiskStats.cpp | 41 using ::android::base::StartsWith;
|
D | OveruseConfigurationXmlHelper.cpp | 56 using ::android::base::StartsWith;
|
/packages/modules/SdkExtensions/derive_classpath/ |
D | derive_classpath.cpp | 112 if (android::base::StartsWith(path_str, "/data/")) { in WriteClasspathExports() 177 CHECK(android::base::StartsWith(jar_path, allowed_jar_prefix)) in ParseFragments()
|
D | derive_classpath_test.cpp | 90 if (!android::base::StartsWith(*jar, *prefix)) { in CheckClasspathGroupOrder()
|
/packages/modules/adb/ |
D | adb_utils.cpp | 254 if (android::base::StartsWith(source, "tcp:")) { in forward_targets_are_valid() 263 if (android::base::StartsWith(dest, "tcp:")) { in forward_targets_are_valid()
|
D | adb_mdns.cpp | 131 if (android::base::StartsWith(service_name, "adb-EMULATOR")) { in adb_DNSServiceShouldAutoConnect()
|
D | adb.cpp | 1018 if (android::base::StartsWith(service, "killforward:")) { in handle_forward_request() 1023 if (android::base::StartsWith(service, "norebind:")) { in handle_forward_request()
|
D | transport.cpp | 1263 if (android::base::StartsWith(target, "tcp:") || in MatchesTarget() 1264 android::base::StartsWith(target, "udp:")) { in MatchesTarget()
|
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | PolicyManager.cpp | 39 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/ |
D | ProcDiskStatsTest.cpp | 30 using ::android::base::StartsWith;
|
/packages/services/Car/cpp/computepipe/runner/input_manager/ |
D | VideoDecoder.cpp | 133 if (android::base::StartsWith(mime, "video/")) { in initializeMediaDecoder()
|
/packages/providers/MediaProvider/jni/ |
D | FuseDaemon.cpp | 262 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/ |
D | file_sync_service.cpp | 74 return !android::base::StartsWith(path, "/data/"); in should_use_fs_config()
|