Home
last modified time | relevance | path

Searched refs:action_id (Results 1 – 4 of 4) sorted by relevance

/external/python/oauth2client/tests/contrib/
Dtest_xsrfutil.py58 action_id=TEST_ACTION_ID_1,
91 action_id=TEST_ACTION_ID_1)
165 action_id = object()
175 action_id=action_id))
176 gen_tok.assert_called_once_with(key, user_id, action_id=action_id,
186 action_id = object()
199 action_id=action_id))
200 gen_tok.assert_called_once_with(key, user_id, action_id=action_id,
210 action_id = object()
216 action_id=action_id))
[all …]
/external/python/oauth2client/oauth2client/contrib/
Dxsrfutil.py38 def generate_token(key, user_id, action_id='', when=None): argument
55 digester.update(_helpers._to_bytes(action_id, encoding='utf-8'))
66 def validate_token(key, token, user_id, action_id="", current_time=None): argument
97 expected_token = generate_token(key, user_id, action_id=action_id,
Dappengine.py450 action_id=str(uri))
468 action_id=uri):
/external/libtextclassifier/actions/
Dlua-ranker.cc77 const int action_id = in ReadActionsRanking() local
80 if (action_id < 0 || action_id >= response_->actions.size()) { in ReadActionsRanking()
81 TC3_LOG(ERROR) << "Invalid action index: " << action_id; in ReadActionsRanking()
85 ranked_actions.push_back(response_->actions[action_id]); in ReadActionsRanking()