Searched refs:expires_in (Results 1 – 11 of 11) sorted by relevance
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/ |
D | connection.py | 236 def build_post_form_args(self, bucket_name, key, expires_in=6000, argument 298 expiration = time.gmtime(int(time.time() + expires_in)) 353 def generate_url_sigv4(self, expires_in, method, bucket='', key='', argument 373 return self._auth_handler.presign(http_request, expires_in, 376 def generate_url(self, expires_in, method, bucket='', key='', headers=None, argument 381 return self.generate_url_sigv4(expires_in, method, bucket=bucket, 387 expires = int(expires_in) 389 expires = int(time.time() + expires_in)
|
D | key.py | 629 def generate_url(self, expires_in, method='GET', headers=None, argument 701 return self.bucket.connection.generate_url(expires_in, method,
|
D | bucket.py | 625 def generate_url(self, expires_in, method='GET', headers=None, argument 628 return self.connection.generate_url(expires_in, method, self.name,
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/ |
D | test_service_account.py | 107 self.assertEqual(S - 1, token.expires_in) 113 self.assertEqual(S - 1, token.expires_in) 122 self.assertEqual(S - 1, token.expires_in)
|
D | test_gce.py | 93 self.assertEqual(None, token.expires_in)
|
D | test_oauth2client.py | 729 self.assertEqual(S - 1, token.expires_in) 735 self.assertEqual(S - 1, token.expires_in) 744 self.assertEqual(S - 1, token.expires_in)
|
D | test_appengine.py | 240 self.assertEqual(None, token.expires_in)
|
/external/libweave/src/ |
D | device_registration_info.cc | 406 int expires_in = 0; in OnRefreshAccessTokenDone() local 408 !json->GetInteger("expires_in", &expires_in) || access_token_.empty() || in OnRefreshAccessTokenDone() 409 expires_in <= 0) { in OnRefreshAccessTokenDone() 416 base::Time::Now() + base::TimeDelta::FromSeconds(expires_in); in OnRefreshAccessTokenDone() 417 LOG(INFO) << "Access token is refreshed for additional " << expires_in in OnRefreshAccessTokenDone() 619 int expires_in = 0; in RegisterDeviceOnAuthCodeSent() local 623 !json_resp->GetInteger("expires_in", &expires_in) || in RegisterDeviceOnAuthCodeSent() 624 access_token_.empty() || refresh_token.empty() || expires_in <= 0) { in RegisterDeviceOnAuthCodeSent() 631 base::Time::Now() + base::TimeDelta::FromSeconds(expires_in); in RegisterDeviceOnAuthCodeSent()
|
D | weave_unittest.cc | 160 "expires_in" : 3599,
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
D | credentials_lib.py | 334 expires_in = int(credential_info['expires_in']) 336 datetime.timedelta(seconds=expires_in) +
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/ |
D | client.py | 685 expires_in=self._expires_in())
|