Home
last modified time | relevance | path

Searched refs:expires_in (Results 1 – 11 of 11) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/
Dconnection.py236 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)
Dkey.py629 def generate_url(self, expires_in, method='GET', headers=None, argument
701 return self.bucket.connection.generate_url(expires_in, method,
Dbucket.py625 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/
Dtest_service_account.py107 self.assertEqual(S - 1, token.expires_in)
113 self.assertEqual(S - 1, token.expires_in)
122 self.assertEqual(S - 1, token.expires_in)
Dtest_gce.py93 self.assertEqual(None, token.expires_in)
Dtest_oauth2client.py729 self.assertEqual(S - 1, token.expires_in)
735 self.assertEqual(S - 1, token.expires_in)
744 self.assertEqual(S - 1, token.expires_in)
Dtest_appengine.py240 self.assertEqual(None, token.expires_in)
/external/libweave/src/
Ddevice_registration_info.cc406 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()
Dweave_unittest.cc160 "expires_in" : 3599,
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dcredentials_lib.py334 expires_in = int(credential_info['expires_in'])
336 datetime.timedelta(seconds=expires_in) +
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dclient.py685 expires_in=self._expires_in())