Home
last modified time | relevance | path

Searched refs:getValueFromCredentialsFile (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/sdk-platform-java/java-core/google-cloud-core/src/test/java/com/google/cloud/
H A DServiceOptionsTest.java438 ServiceOptions.getValueFromCredentialsFile(credentialsFile.getPath(), "project_id")); in testGetServiceAccountProjectId()
448 ServiceOptions.getValueFromCredentialsFile(credentialsFile.getPath(), "project_id"); in testGetServiceAccountProjectId_badJson()
456 assertNull(ServiceOptions.getValueFromCredentialsFile(credentialsFile.getPath(), "project_id")); in testGetServiceAccountProjectId_nonExistentFile()
/aosp_15_r20/external/sdk-platform-java/java-core/google-cloud-core/src/main/java/com/google/cloud/
H A DServiceOptions.java330 : getValueFromCredentialsFile(getCredentialsPath(), "quota_project_id"); in ServiceOptions()
518 return getValueFromCredentialsFile(getCredentialsPath(), "project_id"); in getServiceAccountProjectId()
522 static String getValueFromCredentialsFile(String credentialsPath, String key) { in getValueFromCredentialsFile() method in ServiceOptions