Home
last modified time | relevance | path

Searched refs:action_id (Results 1 – 8 of 8) 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/native/actions/
Dlua-ranker.cc78 const int action_id = Read<int>(/*index=*/-1) - 1; 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()
Dgrammar-actions.cc45 if (rule_match == nullptr || rule_match->action_id() == nullptr) { in InstantiateActionsFromMatch()
59 for (const uint16 action_id : *rule_match->action_id()) { in InstantiateActionsFromMatch()
61 grammar_rules_->actions()->Get(action_id); in InstantiateActionsFromMatch()
Dgrammar-actions_test.cc78 const int action_id = action_grammar_rules->actions.size(); in AddActionSpec() local
101 return action_id; in AddActionSpec()
113 const int action_id = action_grammar_rules->actions.size(); in AddCapturingMatchSmartReplySpec() local
125 return action_id; in AddCapturingMatchSmartReplySpec()
133 action_grammar_rules->rule_match.back()->action_id.insert( in AddRuleMatch()
134 action_grammar_rules->rule_match.back()->action_id.end(), in AddRuleMatch()
Dactions-suggestions_test.cc1095 action_grammar_rules->rule_match.back()->action_id.push_back(0); in TEST_F()
1158 action_grammar_rules->rule_match.back()->action_id.push_back(0); in TEST_F()
Dactions_model.fbs482 action_id:[uint];