/device/google/cuttlefish/host/libs/web/ |
D | build_api.cc | 83 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 …]
|
D | credential_source.cc | 37 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 …]
|
D | credential_source.h | 36 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);
|
D | build_api.h | 123 CurlWrapper& curl; variable
|
/device/google/cuttlefish/tools/ |
D | latest_fetch_cvd.sh | 3 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/ |
D | cvd_test_gce_driver.cpp | 384 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()
|
D | gce_api.cpp | 285 GceApi::GceApi(CurlWrapper& curl, CredentialSource& credentials, in GceApi() argument 287 : curl_(curl), credentials_(credentials), project_(project) {} in GceApi()
|
/device/google/cuttlefish/host/commands/fetcher/ |
D | fetch_cvd.cc | 257 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/ |
D | uninstall_format_hook.sh | 12 curl "https://us-central1-si-sw-eng-prod-team.cloudfunctions.net/trackAutoFormatUsage?user=${USER}&…
|
D | install_format_hook.sh | 23 curl "https://us-central1-si-sw-eng-prod-team.cloudfunctions.net/trackAutoFormatUsage?user=${USER}&…
|
D | pre-commit | 34 …curl "https://us-central1-si-sw-eng-prod-team.cloudfunctions.net/trackAutoFormatUsage?user=${USER}…
|
/device/linaro/hikey/ |
D | fetch-vendor-package.sh | 17 curl -L ${VND_PKG_URL} -o ${PKG_FILE}.tgz
|
/device/linaro/dragonboard/ |
D | fetch-vendor-package.sh | 17 curl -L ${VND_PKG_URL} -o ${PKG_FILE}.tgz
|
/device/generic/car/tools/ |
D | git_clone_projects.sh | 48 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/ |
D | debug.h | 74 _VERBOSE_TAG(curl, "Libcurl requests") \
|
/device/generic/vulkan-cereal/third-party/angle/tools/flex-bison/ |
D | README.md | 102 $ curl http://ftp.gnu.org/gnu/bison/bison-3.3.2.tar.xz | tar -xJ
|
/device/generic/car/ |
D | gsi_car_base.mk | 50 system/bin/curl \
|