Home
last modified time | relevance | path

Searched refs:credential (Results 1 – 5 of 5) sorted by relevance

/test/vts/harnesses/tradefed/src/com/android/tradefed/util/
DVtsDashboardUtil.java79 Credential credential = null; in GetToken() local
83 credential = GoogleCredential.fromStream(new FileInputStream(keyFilePath)) in GetToken()
85 credential.refreshToken(); in GetToken()
86 return credential.getAccessToken(); in GetToken()
/test/vti/dashboard/src/main/java/com/android/vts/api/
DTestSuiteResultRestServlet.java77 GoogleCredential credential = new GoogleCredential().setAccessToken(accessToken); in doPost() local
79 new Oauth2.Builder(new NetHttpTransport(), new JacksonFactory(), credential) in doPost()
DBigtableLegacyJsonServlet.java97 GoogleCredential credential = new GoogleCredential().setAccessToken(accessToken); in doPost() local
99 new Oauth2.Builder(new NetHttpTransport(), new JacksonFactory(), credential) in doPost()
DDatastoreRestServlet.java96 GoogleCredential credential = new GoogleCredential().setAccessToken(accessToken); in doPost() local
98 new Oauth2.Builder(new NetHttpTransport(), new JacksonFactory(), credential) in doPost()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DBusinessLogicPreparer.java545 Credential credential = GoogleCredential.fromStream(new FileInputStream(keyFilePath)) in getToken() local
547 credential.refreshToken(); in getToken()
548 return credential.getAccessToken(); in getToken()