Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/commands/log_tee/
Dlog_tee.cpp141 if (android::base::StartsWith(trimmed, "[INFO")) { in main()
143 } else if (android::base::StartsWith(trimmed, "[ERROR")) { in main()
145 } else if (android::base::StartsWith(trimmed, "[WARNING")) { in main()
147 } else if (android::base::StartsWith(trimmed, "[VERBOSE")) { in main()
/device/google/cuttlefish/host/libs/config/
Dconfig_utils.cpp35 if (android::base::StartsWith(instance_str, kVsocUserPrefix)) { in InstanceFromString()
37 } else if (android::base::StartsWith(instance_str, kCvdNamePrefix)) { in InstanceFromString()
61 if (!android::base::StartsWith(instance_str, kVsocUserPrefix)) { in InstanceFromEnvironment()
Dfetcher_config.cpp254 while (android::base::StartsWith(local_path, "/")) { in AddFilesToConfig()
/device/google/gs-common/powerstats/
DDvfsStateResidencyDataProvider.cpp27 using android::base::StartsWith;
53 if (StartsWith(Trim(std::string(line)), powerEntity.states[i].second)) { in matchState()
107 if (StartsWith(Trim(std::string(line)), "last_freq_change_time_ns:")) in getStateResidencies()
DCpupmStateResidencyDataProvider.cpp27 using android::base::StartsWith;
57 if (StartsWith(Trim(std::string(line)), mConfig.entities[i].second)) { in matchEntity()
112 if (StartsWith(trimedLine, mSleepConfig[sleepIndex])) { in getStateResidencies()
DUfsStateResidencyDataProvider.cpp27 using android::base::StartsWith;
/device/google/cuttlefish/host/commands/openwrt_control_server/
Dmain.cpp37 using android::base::StartsWith;
159 CF_EXPECT(!StartsWith(auth_reply.data["error"].asString(), in UpdateLuciRpcAuthKey()
178 !StartsWith(reply.data["error"].asString(), "Failed to parse json:"), in RequestLuciRpc()
/device/google/cuttlefish/host/frontend/webrtc_operator/
Dserver_config.cpp20 using android::base::StartsWith;
36 urls.append(StartsWith(str, kStunPrefix)? str: kStunPrefix + str); in ToJson()
Dutils.h28 bool StartsWith(const std::string &s, const std::string &prefix);
Dutils.cpp41 bool StartsWith(const std::string &s, const std::string &prefix) { in StartsWith() function
/device/google/cuttlefish/tests/hal/
Dhal_implementation_test.cpp282 return base::StartsWith(name, "android.") && in isAospAidlInterface()
283 !base::StartsWith(name, "android.hardware.tests.") && in isAospAidlInterface()
284 !base::StartsWith(name, "android.aidl.tests"); in isAospAidlInterface()
/device/google/cuttlefish/host/commands/gnss_grpc_proxy/
Dgnss_grpc_proxy.cpp250 if (header.empty() && android::base::StartsWith(line, "# Raw")) { in ReadGnssRawMeasurement()
257 if (!android::base::StartsWith(line, "Raw")) { in ReadGnssRawMeasurement()
380 return !inputStr.empty() && android::base::StartsWith(inputStr, "# Raw"); in isGnssRawMeasurement()
/device/google/cuttlefish/common/libs/utils/
Dflag_parser.cpp71 using android::base::StartsWith; in ValidateAlias()
73 CHECK(StartsWith(alias.name, "-")) << "Flags should start with \"-\""; in ValidateAlias()
136 return android::base::StartsWith(next_arg, "-"); in LikelyFlag()
186 if (!android::base::StartsWith(normalized_arg, normalized_alias)) { in Process()
Dfiles.cpp804 if (path == "~" || android::base::StartsWith(path, "~/")) { in CalculatePrefix()
808 } else if (!android::base::StartsWith(path, "/")) { in CalculatePrefix()
824 CF_EXPECT(android::base::StartsWith(working_dir, '/'), in EmulateAbsolutePath()
Dnetwork.cpp154 if (!android::base::StartsWith(line, "iff:\t")) { in TapInterfacesInUse()
Dsubprocess.h240 if (android::base::StartsWith(*it, env_var + "=")) { in UnsetFromEnvironment()
/device/google/cuttlefish/host/commands/snapshot_util_cvd/
Dsnapshot_taker.cc60 CF_EXPECTF(android::base::StartsWith(cuttlefish_root, cuttlefish_home), in HandleHostGroupSnapshot()
/device/google/cuttlefish/host/commands/cvd_env/
Dmain.cc89 if (!android::base::StartsWith(argv[i], '-')) { in CvdEnvMain()
/device/google/cuttlefish/host/libs/image_aggregator/
Dimage_aggregator.cc181 if (android::base::StartsWith(magic, CDISK_MAGIC)) { in ExpandedStorageSize()
199 if (android::base::StartsWith(magic, QCOW2_MAGIC)) { in ExpandedStorageSize()
/device/google/cuttlefish/host/frontend/adb_connector/
Dadb_connection_maintainer.cpp178 return android::base::StartsWith(response, kAdbUnauthorizedMsg); in WaitForAdbAuthorization()
/device/google/cuttlefish/host/commands/stop/
Dmain.cc54 if (!android::base::StartsWith(subdir, "cuttlefish_runtime.")) { in FallbackDirs()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dsuper_image_mixer.cc90 return android::base::StartsWith(filename, "IMAGES/") && in IsTargetFilesImage()
/device/google/atv/audio_proxy/service/
DDeviceImpl.cpp111 if (!android::base::StartsWith(tag.c_str(), "VX_")) { in checkSourceMetadata()