/external/python/oauth2client/tests/ |
D | test_service_account.py | 266 def test_access_token(self, utcnow): argument 270 utcnow.return_value = NOW 320 self.assertEqual(expected_utcnow_calls, utcnow.mock_calls) 337 self.assertEqual(expected_utcnow_calls, utcnow.mock_calls) 359 self.assertEqual(expected_utcnow_calls, utcnow.mock_calls) 398 def test_get_access_token_no_claims(self, time, utcnow): argument 399 utcnow.return_value = T1_DATE 413 utcnow.return_value = T2_DATE 423 utcnow.return_value = T3_DATE 436 def test_get_access_token_additional_claims(self, time, utcnow): argument [all …]
|
D | test_file.py | 67 token_expiry = expiration or datetime.datetime.utcnow() 117 expiration = (datetime.datetime.utcnow() - 140 expiration = (datetime.datetime.utcnow() + 169 expiration = (datetime.datetime.utcnow() + 184 expiration = (datetime.datetime.utcnow() +
|
D | test_client.py | 880 token_expiry = datetime.datetime.utcnow() 1002 token_expiry = str(datetime.datetime.utcnow()) 1032 token_expiry = str(datetime.datetime.utcnow()) 1067 def test__expires_in_expired(self, utcnow): argument 1070 credentials.token_expiry = datetime.datetime.utcnow() 1073 utcnow.return_value = now 1075 utcnow.assert_called_once_with() 1078 def test__expires_in_not_expired(self, utcnow): argument 1081 credentials.token_expiry = datetime.datetime.utcnow() 1085 utcnow.return_value = now [all …]
|
/external/perfetto/infra/ci/ |
D | common_utils.py | 102 def utc_now_iso(utcnow=None): argument 103 return (utcnow or datetime.utcnow()).strftime(r'%Y-%m-%dT%H:%M:%SZ')
|
/external/python/cryptography/tests/x509/ |
D | test_ocsp.py | 231 time = datetime.datetime.utcnow() 334 current_time = datetime.datetime.utcnow().replace(microsecond=0) 348 current_time = datetime.datetime.utcnow().replace(microsecond=0) 364 current_time = datetime.datetime.utcnow().replace(microsecond=0) 392 current_time = datetime.datetime.utcnow().replace(microsecond=0) 416 current_time = datetime.datetime.utcnow().replace(microsecond=0) 434 current_time = datetime.datetime.utcnow().replace(microsecond=0) 457 current_time = datetime.datetime.utcnow().replace(microsecond=0) 482 current_time = datetime.datetime.utcnow().replace(microsecond=0) 504 current_time = datetime.datetime.utcnow().replace(microsecond=0) [all …]
|
/external/python/oauth2client/tests/contrib/ |
D | test_flask_util.py | 85 datetime.datetime.utcnow() + datetime.timedelta(seconds=3600), 353 def test_with_expired_credentials(self, utcnow): argument 354 utcnow.return_value = datetime.datetime(1990, 5, 29) 404 with mock.patch('oauth2client.client._UTCNOW') as utcnow: 405 utcnow.return_value = datetime.datetime(1990, 5, 29) 418 with mock.patch('oauth2client.client._UTCNOW') as utcnow: 419 utcnow.return_value = datetime.datetime(1990, 5, 29)
|
D | test_devshell.py | 211 def test_reads_credentials(self, utcnow): argument 213 utcnow.return_value = NOW 222 utcnow.assert_called_once_with()
|
/external/autotest/client/site_tests/autoupdate_EOL/ |
D | autoupdate_EOL.py | 63 now = datetime.datetime.utcnow() 87 if expected_eol_date <= datetime.datetime.utcnow():
|
D | control.approaching_eol | 24 eol_date=(datetime.datetime.utcnow()
|
D | control.future_eol | 24 eol_date=(datetime.datetime.utcnow()
|
/external/skia/infra/bots/ |
D | utils.py | 32 self._start = datetime.datetime.utcnow() 36 finish = datetime.datetime.utcnow()
|
/external/skqp/infra/bots/ |
D | utils.py | 30 self._start = datetime.datetime.utcnow() 34 finish = datetime.datetime.utcnow()
|
/external/llvm-project/lld/utils/ |
D | benchmark.py | 118 start = datetime.datetime.utcnow().isoformat() 120 end = datetime.datetime.utcnow().isoformat()
|
/external/perfetto/infra/ci/controller/ |
D | controller.py | 134 date_limit = (datetime.utcnow() - timedelta(days=1)).strftime('%Y-%m-%d') 172 timestamp = (now or datetime.utcnow()).strftime('%Y%m%d%H%M%S') 275 age_sec = (datetime.utcnow() - t_queued).total_seconds() 383 now = datetime.utcnow()
|
/external/flatbuffers/python/ |
D | setup.py | 38 version = datetime.utcnow().strftime('%Y%m%d%H%M%S')
|
/external/clang/utils/CIndex/ |
D | completion_logger_server.py | 33 f.write("\"time\": \"{0}\"".format(datetime.datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S')))
|
/external/llvm-project/clang/utils/CIndex/ |
D | completion_logger_server.py | 34 f.write("\"time\": \"{0}\"".format(datetime.datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S')))
|
/external/skia/infra/bots/recipes/ |
D | upload_nano_results.py | 24 now = api.time.utcnow()
|
D | upload_buildstats_results.py | 24 now = api.time.utcnow()
|
/external/skqp/infra/bots/recipes/ |
D | upload_nano_results.py | 23 now = api.time.utcnow()
|
D | upload_buildstats_results.py | 23 now = api.time.utcnow()
|
/external/skia/platform_tools/android/tradefed/ |
D | upload_dm_results.py | 54 now = datetime.datetime.utcnow()
|
/external/skia/infra/bots/recipe_modules/gold_upload/ |
D | api.py | 42 now = self.m.time.utcnow()
|
/external/oss-fuzz/infra/build/functions/ |
D | base_images.py | 106 timestamp = datetime.datetime.utcnow().strftime('%Y%m%d%H%M')
|
/external/skqp/platform_tools/android/tradefed/ |
D | upload_dm_results.py | 54 now = datetime.datetime.utcnow()
|