Home
last modified time | relevance | path

Searched refs:expiration (Results 1 – 25 of 66) sorted by relevance

123

/external/python/google-api-python-client/tests/
Dtest_channel.py17 expiration=0,
33 ch.expiration = 1
55 self.assertEqual(0, ch.expiration)
62 expiration=datetime.datetime(1965, 1, 1))
63 self.assertEqual(0, ch.expiration)
68 expiration=datetime.datetime(1970, 1, 1, second=5))
69 self.assertEqual(5000, ch.expiration)
76 expiration=datetime.datetime(1970, 1, 1, second=5, microsecond=1000),
78 self.assertEqual(5001, ch.expiration)
104 expiration=0,
/external/python/oauth2client/tests/
Dtest_file.py63 expiration=None): argument
67 token_expiry = expiration or datetime.datetime.utcnow()
117 expiration = (datetime.datetime.utcnow() -
119 credentials = self._create_test_credentials(expiration=expiration)
140 expiration = (datetime.datetime.utcnow() +
142 credentials = self._create_test_credentials(expiration=expiration)
169 expiration = (datetime.datetime.utcnow() +
171 credentials = self._create_test_credentials(expiration=expiration)
184 expiration = (datetime.datetime.utcnow() +
186 credentials = self._create_test_credentials(expiration=expiration)
/external/python/google-api-python-client/googleapiclient/
Dchannel.py167 def __init__(self, type, id, token, address, expiration=None, argument
196 self.expiration = expiration
222 if self.expiration:
223 result['expiration'] = self.expiration
273 def new_webhook_channel(url, token=None, expiration=None, params=None): argument
291 if expiration:
292 delta = expiration - EPOCH
299 token, url, expiration=expiration_ms,
/external/robolectric-shadows/shadows/framework/src/main/java/android/webkit/
DRoboCookieManager.java191 Date expiration = null; in parseCookies() local
197 expiration = getExpiration(field); in parseCookies()
209 if (expiration == null || expiration.compareTo(new Date()) >= 0) { in parseCookies()
210 cookies.add(new Cookie(hostname, isSecure, cookie, expiration)); in parseCookies()
260 public Cookie(String hostname, boolean isSecure, String cookie, Date expiration) { in Cookie() argument
263 mExpiration = expiration; in Cookie()
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.3/
Dmisc_utils.h77 ss.write((char *) &pmksa_entry->expiration, sizeof(pmksa_entry->expiration)); in serializePmkCacheEntry()
96 ss.read((char *) &pmksa_entry->expiration, sizeof(pmksa_entry->expiration)); in deserializePmkCacheEntry()
/external/wpa_supplicant_8/src/ap/
Dpmksa_cache_auth.c115 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) { in pmksa_cache_expire()
134 sec = pmksa->pmksa->expiration - now.sec; in pmksa_cache_set_expiration()
232 if (pos->expiration > entry->expiration) in pmksa_cache_link_entry()
343 entry->expiration = now.sec; in pmksa_cache_auth_create_entry()
345 entry->expiration += session_timeout; in pmksa_cache_auth_create_entry()
347 entry->expiration += dot11RSNAConfigPMKLifetime; in pmksa_cache_auth_create_entry()
406 entry->expiration = old_entry->expiration; in pmksa_cache_add_okc()
659 (int) (entry->expiration - now.sec), in pmksa_cache_auth_list()
724 (int) (entry->expiration - now.sec)); in pmksa_cache_auth_list_mesh()
Dctrl_iface_ap.c944 int akmp = 0, expiration = 0; in hostapd_ctrl_iface_pmksa_add() local
977 if (sscanf(pos, "%d %d", &expiration, &akmp) != 2) in hostapd_ctrl_iface_pmksa_add()
981 pmkid, expiration, akmp); in hostapd_ctrl_iface_pmksa_add()
1001 int expiration; in hostapd_ctrl_iface_pmksa_create_entry() local
1032 if (sscanf(pos, "%d", &expiration) != 1) in hostapd_ctrl_iface_pmksa_create_entry()
1035 return wpa_auth_pmksa_create_entry(aa, spa, pmk, pmkid, expiration); in hostapd_ctrl_iface_pmksa_create_entry()
Dpmksa_cache_auth.h22 os_time_t expiration; member
/external/python/oauth2client/oauth2client/
Dcrypt.py185 expiration = payload_dict.get('exp')
186 if expiration is None:
191 if expiration >= now + MAX_TOKEN_LIFETIME_SECS:
201 latest = expiration + CLOCK_SKEW_SECS
/external/wpa_supplicant_8/src/rsn_supp/
Dpmksa_cache.c64 while (pmksa->pmksa && pmksa->pmksa->expiration <= now.sec) { in pmksa_cache_expire()
95 sec = pmksa->pmksa->expiration - now.sec; in pmksa_cache_set_expiration()
161 entry->expiration = now.sec + pmksa->sm->dot11RSNAConfigPMKLifetime; in pmksa_cache_add()
253 if (pos->expiration > entry->expiration) in pmksa_cache_add_entry()
378 os_time_t old_expiration = old_entry->expiration; in pmksa_cache_clone_entry()
393 new_entry->expiration = old_expiration; in pmksa_cache_clone_entry()
609 (int) (entry->expiration - now.sec), in pmksa_cache_list()
Dpmksa_cache.h20 os_time_t expiration; member
/external/doclava/res/assets/templates/assets/
Ddoclava-developer-reference.js14 var expiration = date.toGMTString();
18 writeCookie(API_LEVEL_ENABLED_COOKIE, 1, null, expiration);
22 writeCookie(API_LEVEL_ENABLED_COOKIE, 0, null, expiration);
66 var expiration = date.toGMTString();
67 writeCookie(API_LEVEL_COOKIE, selectedLevel, null, expiration);
Ddoclava-developer-docs.js120 function writeCookie(cookie, val, section, expiration) { argument
123 if (expiration == null) {
126 expiration = date.toGMTString();
128 …document.cookie = cookie_namespace + section + cookie + "=" + val + "; expires=" + expiration+"; p…
/external/v8/infra/testing/
Dbuilders.pyl747 'expiration': 14400,
921 'expiration': 14400,
1123 'expiration': 14400,
1236 'expiration': 14400,
1347 'expiration': 14400,
1362 'expiration': 14400,
1376 'expiration': 14400,
1468 'expiration': 21600,
1497 'expiration': 21600,
1525 'expiration': 21600,
[all …]
/external/grpc-grpc/src/core/lib/security/credentials/jwt/
Djson_token.cc189 gpr_timespec expiration = gpr_time_add(now, token_lifetime); in encoded_jwt_claim() local
194 expiration = gpr_time_add(now, grpc_max_auth_token_lifetime()); in encoded_jwt_claim()
197 int64_ttoa(expiration.tv_sec, expiration_str); in encoded_jwt_claim()
/external/python/oauth2client/tests/contrib/
Dtest_multiprocess_file_storage.py50 def _create_test_credentials(expiration=None): argument
54 token_expiry = expiration or (
307 expiration=(
Dtest_multistore_file.py93 expiration=None): argument
97 token_expiry = expiration or datetime.datetime.utcnow()
/external/autotest/site_utils/
Djob_directories.py37 expiration = job_time + datetime.timedelta(days=age_limit)
38 return datetime.datetime.now() >= expiration
/external/iptables/extensions/
Dlibxt_conntrack.txlate38 nft add rule ip filter INPUT ct expiration 3 counter accept
44 …n original ct original protocol 6 ct state new ct status seen-reply ct expiration 10 ct original s…
/external/swiftshader/third_party/llvm-7.0/llvm/test/ThinLTO/X86/
Dcache.ll63 ; default values for pruning interval and cache expiration are used,
65 ; cache file is older than default cache expiration value.
74 ; default value for cache expiration is used,
76 ; cache file is older than default cache expiration value.
/external/grpc-grpc/test/core/security/
Djson_token_test.cc263 gpr_timespec expiration = gpr_time_0(GPR_CLOCK_REALTIME); in check_jwt_claim() local
317 expiration.tv_sec = strtol(exp->value, nullptr, 10); in check_jwt_claim()
323 parsed_lifetime = gpr_time_sub(expiration, issue_time); in check_jwt_claim()
/external/ltp/testcases/open_posix_testsuite/functional/timers/
Dplan.txt73 - Set timer expiration to: 0, a large number, all the dates that were
83 expiration time.)
84 - Test out all the various events that can be sent for a timer expiration.
/external/curl/docs/
DALTSVC.md30 7. The expiration date and time of this entry withing double quotes. The date format is "YYYYMMDD H…
/external/libcups/cups/
Dtls-darwin.c768 time_t expiration; /* Expiration date */ in httpCredentialsGetExpiration() local
774 expiration = (time_t)(SecCertificateNotValidAfter(secCert) + kCFAbsoluteTimeIntervalSince1970); in httpCredentialsGetExpiration()
778 return (expiration); in httpCredentialsGetExpiration()
811 time_t expiration; /* Expiration date of cert */ in httpCredentialsString() local
822 expiration = (time_t)(SecCertificateNotValidAfter(secCert) + kCFAbsoluteTimeIntervalSince1970); in httpCredentialsString()
826 …%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X%02X", name, httpGetDateString(expiration), md5_digest[0],… in httpCredentialsString()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm-c/
Dlto.h817 unsigned expiration);

123