Home
last modified time | relevance | path

Searched refs:curl (Results 1 – 17 of 17) sorted by relevance

/device/google/cuttlefish/host/libs/web/
Dbuild_api.cc83 BuildApi::BuildApi(CurlWrapper& curl, CredentialSource* credential_source) in BuildApi() argument
84 : BuildApi(curl, credential_source, "") {} in BuildApi()
86 BuildApi::BuildApi(CurlWrapper& curl, CredentialSource* credential_source, in BuildApi() argument
88 : curl(curl), in BuildApi()
104 BUILD_API + "/builds?branch=" + curl.UrlEscape(branch) + in LatestBuildId()
107 curl.UrlEscape(target); in LatestBuildId()
109 url += "&key=" + curl.UrlEscape(api_key_); in LatestBuildId()
111 auto curl_response = curl.DownloadToJson(url, Headers()); in LatestBuildId()
132 std::string url = BUILD_API + "/builds/" + curl.UrlEscape(build.id) + "/" + in BuildStatus()
133 curl.UrlEscape(build.target); in BuildStatus()
[all …]
Dcredential_source.cc37 GceMetadataCredentialSource::GceMetadataCredentialSource(CurlWrapper& curl) in GceMetadataCredentialSource() argument
38 : curl(curl) { in GceMetadataCredentialSource()
52 curl.DownloadToJson(REFRESH_URL, {"Metadata-Flavor: Google"}); in RefreshCredential()
75 CurlWrapper& curl) { in make() argument
77 new GceMetadataCredentialSource(curl)); in make()
94 CurlWrapper& curl, std::istream& stream) { in FromOauth2ClientFile() argument
129 return RefreshCredentialSource(curl, client_id.asString(), in FromOauth2ClientFile()
135 CurlWrapper& curl, const std::string& client_id, in RefreshCredentialSource() argument
137 : curl_(curl), in RefreshCredentialSource()
189 ServiceAccountOauthCredentialSource::FromJson(CurlWrapper& curl, in FromJson() argument
[all …]
Dcredential_source.h36 CurlWrapper& curl; variable
63 CurlWrapper& curl, std::istream& stream);
65 RefreshCredentialSource(CurlWrapper& curl, const std::string& client_id,
86 CurlWrapper& curl, const Json::Value& service_account_json,
94 ServiceAccountOauthCredentialSource(CurlWrapper& curl);
Dbuild_api.h123 CurlWrapper& curl; variable
/device/google/cuttlefish/tools/
Dlatest_fetch_cvd.sh3 LATEST_BUILD_ID=`curl "https://www.googleapis.com/android/internal/build/v3/builds?branch=aosp-mast…
5 LATEST_BUILD_URL=`curl "https://www.googleapis.com/android/internal/build/v3/builds/$LATEST_BUILD_I…
10 curl "${LATEST_BUILD_URL}" -o $DOWNLOAD_TARGET
/device/google/cuttlefish/host/commands/test_gce_driver/
Dcvd_test_gce_driver.cpp384 auto curl = CurlWrapper::Create(); in TestGceDriverMain() local
386 *curl, service_json, COMPUTE_SCOPE)); in TestGceDriverMain()
388 GceApi gce(*curl, gce_creds, cloud_project); in TestGceDriverMain()
393 *curl, service_json, BUILD_SCOPE)); in TestGceDriverMain()
395 BuildApi build(*curl, &build_creds); in TestGceDriverMain()
Dgce_api.cpp285 GceApi::GceApi(CurlWrapper& curl, CredentialSource& credentials, in GceApi() argument
287 : curl_(curl), credentials_(credentials), project_(project) {} in GceApi()
/device/google/cuttlefish/host/commands/fetcher/
Dfetch_cvd.cc257 CurlWrapper& curl, const std::string& path) { in TryOpenServiceAccountFile() argument
271 ServiceAccountOauthCredentialSource::FromJson(curl, content, BUILD_SCOPE); in TryOpenServiceAccountFile()
300 auto curl = CurlWrapper::Create(); in FetchCvdMain() local
302 *curl, 10, std::chrono::milliseconds(5000)); in FetchCvdMain()
304 if (auto crds = TryOpenServiceAccountFile(*curl, FLAGS_credential_source)) { in FetchCvdMain()
314 RefreshCredentialSource::FromOauth2ClientFile(*curl, stream); in FetchCvdMain()
/device/google/trout/tools/
Duninstall_format_hook.sh12 curl "https://us-central1-si-sw-eng-prod-team.cloudfunctions.net/trackAutoFormatUsage?user=${USER}&…
Dinstall_format_hook.sh23 curl "https://us-central1-si-sw-eng-prod-team.cloudfunctions.net/trackAutoFormatUsage?user=${USER}&…
Dpre-commit34curl "https://us-central1-si-sw-eng-prod-team.cloudfunctions.net/trackAutoFormatUsage?user=${USER}…
/device/linaro/hikey/
Dfetch-vendor-package.sh17 curl -L ${VND_PKG_URL} -o ${PKG_FILE}.tgz
/device/linaro/dragonboard/
Dfetch-vendor-package.sh17 curl -L ${VND_PKG_URL} -o ${PKG_FILE}.tgz
/device/generic/car/tools/
Dgit_clone_projects.sh48 f=`git rev-parse --git-dir`/hooks/commit-msg ; mkdir -p $(dirname $f) ; curl -Lo $f https://gerrit-…
/device/generic/goldfish-opengl/android-emu/android/utils/
Ddebug.h74 _VERBOSE_TAG(curl, "Libcurl requests") \
/device/generic/vulkan-cereal/third-party/angle/tools/flex-bison/
DREADME.md102 $ curl http://ftp.gnu.org/gnu/bison/bison-3.3.2.tar.xz | tar -xJ
/device/generic/car/
Dgsi_car_base.mk50 system/bin/curl \