Searched refs:keyFilePath (Results 1 – 3 of 3) sorted by relevance
71 String keyFilePath; in GetToken() local73 keyFilePath = mConfigReader.GetVendorConfigVariable("service_key_json_path"); in GetToken()83 credential = GoogleCredential.fromStream(new FileInputStream(keyFilePath)) in GetToken()88 CLog.e(String.format("Service key file %s doesn't exist.", keyFilePath)); in GetToken()90 CLog.e(String.format("Can't read the service key file, %s", keyFilePath)); in GetToken()
529 String keyFilePath = System.getenv("APE_API_KEY"); in getToken() local530 if (Strings.isNullOrEmpty(keyFilePath)) { in getToken()538 keyFilePath = globalKeyFile.getAbsolutePath(); in getToken()545 Credential credential = GoogleCredential.fromStream(new FileInputStream(keyFilePath)) in getToken()550 CLog.e(String.format("Service key file %s doesn't exist.", keyFilePath)); in getToken()552 CLog.e(String.format("Can't read the service key file, %s", keyFilePath)); in getToken()
99 String keyFilePath = "keys/" + GCS_KEY_FILE; in init() local105 this.getClass().getClassLoader().getResourceAsStream(keyFilePath)); in init()