/aosp12/packages/modules/adb/ |
H A D | socket_spec.cpp | 81 if (!spec.starts_with("tcp:")) { in parse_tcp_socket_spec() 123 if (spec.starts_with("tcp:")) { in get_host_socket_spec_port() 127 } else if (spec.starts_with("vsock:")) { in get_host_socket_spec_port() 164 if (spec.starts_with(prefix)) { in is_socket_spec() 168 return spec.starts_with("tcp:") || spec.starts_with("acceptfd:") || spec.starts_with("vsock:"); in is_socket_spec() 174 if (spec.starts_with(prefix)) { in is_local_socket_spec() 198 if (address.starts_with("tcp:")) { in socket_spec_connect() 311 if (address.starts_with(prefix)) { in socket_spec_connect() 341 if (spec.starts_with("tcp:")) { 369 } else if (spec.starts_with("vsock:")) { [all …]
|
H A D | sockets.cpp | 419 if ((name.starts_with("root:") && getuid() != 0 && __android_log_is_debuggable()) || in create_local_service_socket() 420 (name.starts_with("unroot:") && getuid() == 0) || name.starts_with("usb:") || in create_local_service_socket() 421 name.starts_with("tcpip:")) { in create_local_service_socket() 630 if (command.starts_with(prefix)) { in parse_host_service() 643 if (command.starts_with("tcp:") || command.starts_with("udp:")) { in parse_host_service() 649 if (command.starts_with("vsock:")) { in parse_host_service()
|
H A D | adb.cpp | 1144 if (service.starts_with("transport") || service.starts_with("tport:")) { in handle_host_request() 1255 if (service.starts_with("disconnect:")) { in handle_host_request() 1275 if (address.starts_with("vsock:") || address.starts_with("localfilesystem:")) { in handle_host_request()
|
/aosp12/packages/modules/adb/daemon/ |
H A D | services.cpp | 111 } else if (arg.starts_with("TERM=")) { in ShellService() 267 if (name.starts_with("abb:") || name.starts_with("abb_exec:")) { in daemon_service_to_fd() 273 if (name.starts_with("framebuffer:")) { in daemon_service_to_fd() 281 } else if (name.starts_with("root:")) { in daemon_service_to_fd() 283 } else if (name.starts_with("unroot:")) { in daemon_service_to_fd() 289 } else if (name.starts_with("restore:")) { in daemon_service_to_fd() 292 } else if (name.starts_with("disable-verity:")) { in daemon_service_to_fd() 295 } else if (name.starts_with("enable-verity:")) { in daemon_service_to_fd() 307 } else if (name.starts_with("usb:")) { in daemon_service_to_fd() 325 } else if (name.starts_with("sync:")) { in daemon_service_to_fd()
|
/aosp12/system/incremental_delivery/incfs/ |
H A D | path.cpp | 74 if (path.starts_with("../"sv)) { in normalize() 174 if (!nested.starts_with(parent)) { in relativize() 226 if (!path.starts_with(prefix)) { in startsWith()
|
H A D | MountRegistry.cpp | 306 if (!dir.starts_with("/proc/"sv)) { in fixBackingDir() 344 if (!name.starts_with(filesystem)) { in loadFrom()
|
H A D | incfs.cpp | 112 if (cmdFile.data() == res.data() || cmdFile.starts_with(res)) { in rootForCmd() 156 if (property.starts_with(kModulePrefix)) { in parseProperty()
|
/aosp12/frameworks/base/tools/bit/ |
H A D | main.cpp | 728 if (starts_with(file, systemPath)) { in run_phases() 740 && (starts_with(file, dataPath) || starts_with(file, testPath))) { in run_phases() 747 if (target->module.HasClass(NATIVE_TESTS) && starts_with(file, dataPath)) { in run_phases() 910 if (!starts_with(filename, dataPath)) { in run_phases() 974 && (starts_with(filename, dataPath) || starts_with(filename, testPath)))) { in run_phases() 1224 if (starts_with(it->first, word)) { in run_tab_completion()
|
H A D | util.h | 74 bool starts_with(const string& str, const string& prefix);
|
H A D | util.cpp | 195 starts_with(const string& str, const string& prefix) in starts_with() function
|
H A D | make.cpp | 259 if (!starts_with(fn, buildOut + "/target/")) { in read_modules()
|
H A D | aapt.cpp | 148 if (starts_with(packageName, className)) { in pretty_component_name()
|
/aosp12/frameworks/base/services/incremental/ |
H A D | path.cpp | 71 if (!nested.starts_with(parent)) { in relativize() 95 if (path.starts_with("../"sv)) { in normalize()
|
H A D | IncrementalService.cpp | 1453 if (!path::basename(expectedRoot).starts_with(constants().mountKeyPrefix)) { in adoptMountedInstances() 1516 if (name.starts_with(constants().mountpointMdPrefix)) { in adoptMountedInstances() 1538 if (name.starts_with(constants().storagePrefix)) { in adoptMountedInstances() 1641 if (!name.starts_with(constants().mountKeyPrefix)) { in mountExistingImages() 1710 if (name.starts_with(constants().mountpointMdPrefix)) { in mountExistingImage() 1727 if (name.starts_with(constants().storagePrefix)) { in mountExistingImage()
|
/aosp12/packages/modules/adb/client/ |
H A D | transport_local.cpp | 93 if (address.starts_with("vsock:") || address.starts_with("localfilesystem:")) { in connect_device()
|
H A D | adb_install.cpp | 321 } else if (arg.starts_with("install"sv)) { in install_app_incremental() 443 } else if (strlen(arg) >= "--incr"sv.size() && "--incremental"sv.starts_with(arg)) { in parse_install_mode() 445 } else if (strlen(arg) >= "--no-incr"sv.size() && "--no-incremental"sv.starts_with(arg)) { in parse_install_mode()
|
H A D | adb_client.cpp | 169 if (!service.starts_with("host") || force_switch) { in _adb_connect()
|
H A D | incremental_utils.cpp | 327 if (entry_name.starts_with("lib/"sv) && entry_name.ends_with(".so"sv)) { in InstallationPriorityBlocks()
|
/aosp12/packages/modules/DnsResolver/ |
H A D | DnsProxyListener.cpp | 695 const char* host = mHost.starts_with('^') ? nullptr : mHost.c_str(); in doDns64Synthesis() 696 const char* service = mService.starts_with('^') ? nullptr : mService.c_str(); in doDns64Synthesis() 738 const char* host = mHost.starts_with('^') ? nullptr : mHost.c_str(); in run() 739 const char* service = mService.starts_with('^') ? nullptr : mService.c_str(); in run() 1109 const char* name = mName.starts_with('^') ? nullptr : mName.c_str(); in doDns64Synthesis() 1139 const char* name = mName.starts_with('^') ? nullptr : mName.c_str(); in run()
|
/aosp12/system/security/keystore2/src/ |
H A D | legacy_blob.rs | 608 Self::KNOWN_KEYSTORE_PREFIXES.iter().any(|prefix| encoded_alias.starts_with(prefix)) in is_keystore_alias() 708 if f.starts_with(&uid_str) && !Self::is_keystore_alias(encoded_alias) { in list_legacy_keystore_entries_for_uid() 812 .map_or(false, |f| f.starts_with("user_")) in is_empty() 909 if !v.starts_with(&uid_str) { in list_keystore_entries_for_uid()
|
/aosp12/system/apex/apexd/ |
H A D | apex_file_repository.cpp | 213 return apex.GetPath().starts_with(decompression_dir_); in IsDecompressedApex()
|
/aosp12/bootable/recovery/minadbd/ |
H A D | minadbd_services.cpp | 348 if (name.starts_with("sideload:")) { in daemon_service_to_fd()
|
/aosp12/system/netd/server/ |
H A D | NetlinkHandler.cpp | 161 std::string_view(addrstr).starts_with("fe80:") ? ifaceIndex : 0; in onEvent()
|
/aosp12/system/security/keystore2/legacykeystore/ |
H A D | lib.rs | 385 result = result.into_iter().filter(|s| s.starts_with(prefix)).collect(); in list()
|
/aosp12/frameworks/base/services/incremental/test/ |
H A D | IncrementalServiceTest.cpp | 1757 return arg.starts_with(mRootDir.path) && in TEST_F() 1777 return arg.starts_with(mRootDir.path) && in TEST_F()
|