/foundation/ability/ability_runtime/frameworks/native/ability/native/continuation/remote_register_service/ |
H A D | continuation_connector.cpp | 161 * @param token token from register return value. 165 bool ContinuationConnector::Unregister(int token) in Unregister() argument 173 return remoteRegisterService_->Unregister(token); in Unregister() 179 * @param token token from register. 185 bool ContinuationConnector::UpdateConnectStatus(int token, const std::string &deviceId, int status) in UpdateConnectStatus() argument 194 return remoteRegisterService_->UpdateConnectStatus(token, deviceId, status); in UpdateConnectStatus() 200 * @param token token fro 204 ShowDeviceList(int token, const AppExecFwk::ExtraParams ¶meter) ShowDeviceList() argument 238 sptr<IRemoteObject> token = pcontext->GetToken(); Register() local [all...] |
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | data_ability_impl_file_secondpart_test.cpp | 71 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() local 72 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() 75 dataabilityimpl->Init(application, record, ability, handler, token); in HWTEST_F() 119 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() local 120 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() 123 dataabilityimpl->Init(application, record, ability, handler, token); in HWTEST_F() 146 sptr<IRemoteObject> token = sptr<IRemoteObject>(new (std::nothrow) MockAbilityToken()); in HWTEST_F() local 147 auto record = std::make_shared<AbilityLocalRecord>(abilityInfo, token, nullptr, 0); in HWTEST_F() 150 dataabilityimpl->Init(application, record, ability, handler, token); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/sys_mgr_client_test/ |
H A D | mock_ability_manager_service.cpp | 77 const sptr<IRemoteObject>& token, int resultCode, const Want* resultWant) in TerminateAbility() 121 const sptr<IAbilityScheduler>& scheduler, const sptr<IRemoteObject>& token) in AttachAbilityThread() 124 EXPECT_NE(nullptr, token); in AttachAbilityThread() 136 const sptr<IRemoteObject>& token, int state, const PacMap& saveData) in AbilityTransitionDone() 143 const sptr<IRemoteObject>& token, const sptr<IRemoteObject>& remoteObject) in ScheduleConnectAbilityDone() 148 int MockAbilityManagerService::ScheduleDisconnectAbilityDone(const sptr<IRemoteObject>& token) in ScheduleDisconnectAbilityDone() argument 153 int MockAbilityManagerService::ScheduleCommandAbilityDone(const sptr<IRemoteObject>& token) in ScheduleCommandAbilityDone() argument 159 const sptr<IRemoteObject> &token, in ScheduleCommandAbilityWindowDone() 168 const sptr<IRemoteObject> &token) in StopServiceAbility() 76 TerminateAbility( const sptr<IRemoteObject>& token, int resultCode, const Want* resultWant) TerminateAbility() argument 120 AttachAbilityThread( const sptr<IAbilityScheduler>& scheduler, const sptr<IRemoteObject>& token) AttachAbilityThread() argument 135 AbilityTransitionDone( const sptr<IRemoteObject>& token, int state, const PacMap& saveData) AbilityTransitionDone() argument 142 ScheduleConnectAbilityDone( const sptr<IRemoteObject>& token, const sptr<IRemoteObject>& remoteObject) ScheduleConnectAbilityDone() argument 158 ScheduleCommandAbilityWindowDone( const sptr<IRemoteObject> &token, const sptr<SessionInfo> &sessionInfo, WindowCommand winCmd, AbilityCommand abilityCmd) ScheduleCommandAbilityWindowDone() argument 167 StopServiceAbility(const Want& want, int32_t userId, const sptr<IRemoteObject> &token) StopServiceAbility() argument
|
/foundation/ability/ability_runtime/test/fuzztest/dataabilitymanager_fuzzer/ |
H A D | dataabilitymanager_fuzzer.cpp | 45 sptr<Token> token = nullptr; in GetFuzzAbilityRecord() local 59 sptr<Token> token = nullptr; in GetFuzzAbilityToken() local 62 token = abilityRecord->GetToken(); in GetFuzzAbilityToken() 64 return token; in GetFuzzAbilityToken() 75 sptr<IRemoteObject> token = GetFuzzAbilityToken(); in DoSomethingInterestingWithMyAPI() local 86 dataAbilityManager->AttachAbilityThread(scheduler, token); in DoSomethingInterestingWithMyAPI() 87 dataAbilityManager->AbilityTransitionDone(token, intParam); in DoSomethingInterestingWithMyAPI() 88 dataAbilityManager->OnAbilityRequestDone(token, int32Param); in DoSomethingInterestingWithMyAPI() 93 dataAbilityManager->GetAbilityRecordByToken(token); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/moduletest/mock/include/ |
H A D | mock_ability_manager_proxy.h | 40 MOCK_METHOD3(TerminateAbility, int(const sptr<IRemoteObject>& token, int resultCode, const Want* resultWant)); 46 MOCK_METHOD2(AttachAbilityThread, int(const sptr<IAbilityScheduler>& scheduler, const sptr<IRemoteObject>& token)); 47 MOCK_METHOD2(AbilityTransitionDone, int(const sptr<IRemoteObject>& token, int state)); 49 ScheduleConnectAbilityDone, int(const sptr<IRemoteObject>& token, const sptr<IRemoteObject>& remoteObject)); 50 MOCK_METHOD1(ScheduleDisconnectAbilityDone, int(const sptr<IRemoteObject>& token)); 52 MOCK_METHOD4(ScheduleCommandAbilityWindowDone, int(const sptr<IRemoteObject> &token, 55 MOCK_METHOD3(StopServiceAbility, int(const Want&, int32_t userId, const sptr<IRemoteObject> &token)); 56 MOCK_METHOD1(GetMissionIdByToken, int32_t(const sptr<IRemoteObject>& token)); 77 MOCK_METHOD4(ShareDataDone, int32_t(const sptr<IRemoteObject> &token,
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_test/AMS/ |
H A D | mock_ability_manager_service.cpp | 83 const sptr<IRemoteObject>& token, int resultCode, const Want* resultWant) in TerminateAbility() 127 const sptr<IAbilityScheduler>& scheduler, const sptr<IRemoteObject>& token) in AttachAbilityThread() 130 EXPECT_NE(nullptr, token); in AttachAbilityThread() 142 const sptr<IRemoteObject>& token, int state, const PacMap& saveData) in AbilityTransitionDone() 149 const sptr<IRemoteObject>& token, const sptr<IRemoteObject>& remoteObject) in ScheduleConnectAbilityDone() 154 int MockAbilityManagerService::ScheduleDisconnectAbilityDone(const sptr<IRemoteObject>& token) in ScheduleDisconnectAbilityDone() argument 159 int MockAbilityManagerService::ScheduleCommandAbilityDone(const sptr<IRemoteObject>& token) in ScheduleCommandAbilityDone() argument 165 const sptr<IRemoteObject> &token, in ScheduleCommandAbilityWindowDone() 173 int MockAbilityManagerService::StopServiceAbility(const Want& want, int32_t userId, const sptr<IRemoteObject> &token) in StopServiceAbility() argument 82 TerminateAbility( const sptr<IRemoteObject>& token, int resultCode, const Want* resultWant) TerminateAbility() argument 126 AttachAbilityThread( const sptr<IAbilityScheduler>& scheduler, const sptr<IRemoteObject>& token) AttachAbilityThread() argument 141 AbilityTransitionDone( const sptr<IRemoteObject>& token, int state, const PacMap& saveData) AbilityTransitionDone() argument 148 ScheduleConnectAbilityDone( const sptr<IRemoteObject>& token, const sptr<IRemoteObject>& remoteObject) ScheduleConnectAbilityDone() argument 164 ScheduleCommandAbilityWindowDone( const sptr<IRemoteObject> &token, const sptr<SessionInfo> &sessionInfo, WindowCommand winCmd, AbilityCommand abilityCmd) ScheduleCommandAbilityWindowDone() argument
|
/kernel/linux/linux-5.10/drivers/char/ |
H A D | powernv-op-panel.c | 53 int rc, token; in __op_panel_update_display() local 55 token = opal_async_get_token_interruptible(); in __op_panel_update_display() 56 if (token < 0) { in __op_panel_update_display() 57 if (token != -ERESTARTSYS) in __op_panel_update_display() 58 pr_debug("Couldn't get OPAL async token [token=%d]\n", in __op_panel_update_display() 59 token); in __op_panel_update_display() 60 return token; in __op_panel_update_display() 63 rc = opal_write_oppanel_async(token, oppanel_lines, num_lines); in __op_panel_update_display() 66 rc = opal_async_wait_response(token, in __op_panel_update_display() [all...] |
/kernel/linux/linux-5.10/tools/wmi/ |
H A D | dell-smbios-example.c | 7 * - Simple activation of a token 53 static int find_token(__u16 token, __u16 *location, __u16 *value) in find_token() argument 61 ret = sprintf(value_sysfs, "%s/%04x_value", token_sysfs, token); in find_token() 75 ret = sprintf(location_sysfs, "%s/%04x_location", token_sysfs, token); in find_token() 109 static int query_token(__u16 token, struct dell_wmi_smbios_buffer *buffer) in query_token() argument 115 ret = find_token(token, &location, &value); in query_token() 117 printf("unable to find token %04x\n", token); in query_token() 124 __u16 token) in activate_token() 130 ret = find_token(token, in activate_token() 123 activate_token(struct dell_wmi_smbios_buffer *buffer, __u16 token) activate_token() argument [all...] |
/kernel/linux/linux-6.6/drivers/char/ |
H A D | powernv-op-panel.c | 53 int rc, token; in __op_panel_update_display() local 55 token = opal_async_get_token_interruptible(); in __op_panel_update_display() 56 if (token < 0) { in __op_panel_update_display() 57 if (token != -ERESTARTSYS) in __op_panel_update_display() 58 pr_debug("Couldn't get OPAL async token [token=%d]\n", in __op_panel_update_display() 59 token); in __op_panel_update_display() 60 return token; in __op_panel_update_display() 63 rc = opal_write_oppanel_async(token, oppanel_lines, num_lines); in __op_panel_update_display() 66 rc = opal_async_wait_response(token, in __op_panel_update_display() [all...] |
/kernel/linux/linux-6.6/tools/wmi/ |
H A D | dell-smbios-example.c | 7 * - Simple activation of a token 53 static int find_token(__u16 token, __u16 *location, __u16 *value) in find_token() argument 61 ret = sprintf(value_sysfs, "%s/%04x_value", token_sysfs, token); in find_token() 75 ret = sprintf(location_sysfs, "%s/%04x_location", token_sysfs, token); in find_token() 109 static int query_token(__u16 token, struct dell_wmi_smbios_buffer *buffer) in query_token() argument 115 ret = find_token(token, &location, &value); in query_token() 117 printf("unable to find token %04x\n", token); in query_token() 124 __u16 token) in activate_token() 130 ret = find_token(token, in activate_token() 123 activate_token(struct dell_wmi_smbios_buffer *buffer, __u16 token) activate_token() argument [all...] |
/third_party/curl/lib/ |
H A D | curl_trc.c | 186 char *token, *tok_buf, *tmp; in Curl_trc_opt() local 194 token = strtok_r(tmp, ", ", &tok_buf); in Curl_trc_opt() 195 while(token) { in Curl_trc_opt() 196 switch(*token) { in Curl_trc_opt() 199 ++token; in Curl_trc_opt() 203 ++token; in Curl_trc_opt() 210 if(strcasecompare(token, "all")) { in Curl_trc_opt() 213 else if(strcasecompare(token, cf_types[i]->name)) { in Curl_trc_opt() 218 token = strtok_r(NULL, ", ", &tok_buf); in Curl_trc_opt()
|
/third_party/python/Lib/lib2to3/fixes/ |
H A D | fix_tuple_params.py | 23 from ..pgen2 import token namespace 29 stmt.children[0].type == token.STRING 55 if suite[0].children[1].type == token.INDENT: 62 end = pytree.Leaf(token.INDENT, "") 116 if inner.type == token.NAME: 129 if n.type == token.NAME and n.value in to_index: 140 if node.type in (syms.vfplist, token.NAME): 153 elif node.type == token.NAME: 155 return [find_params(c) for c in node.children if c.type != token.COMMA]
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_add_test/ |
H A D | netfirewall_service_stub_test.cpp | 145 NetManagerExtAccessToken token; in HWTEST_F() local 171 NetManagerExtAccessToken token; in HWTEST_F() local 197 NetManagerExtAccessToken token; in HWTEST_F() local 219 NetManagerExtAccessToken token; in HWTEST_F() local 241 NetManagerExtAccessToken token; in HWTEST_F() local 261 NetManagerExtAccessToken token; in HWTEST_F() local 283 NetManagerExtAccessToken token; in HWTEST_F() local 303 NetManagerExtAccessToken token; in HWTEST_F() local 327 NetManagerExtAccessToken token; in HWTEST_F() local 341 NetManagerExtAccessToken token; in HWTEST_F() local 355 NetManagerExtAccessToken token; HWTEST_F() local 364 NetManagerExtAccessToken token; HWTEST_F() local 378 NetManagerExtAccessToken token; HWTEST_F() local 389 NetManagerExtAccessToken token; HWTEST_F() local 400 NetManagerExtAccessToken token; HWTEST_F() local 414 NetManagerExtAccessToken token; HWTEST_F() local 425 NetManagerExtAccessToken token; HWTEST_F() local 436 NetManagerExtAccessToken token; HWTEST_F() local 450 NetManagerExtAccessToken token; HWTEST_F() local 461 NetManagerExtAccessToken token; HWTEST_F() local 474 NetManagerExtAccessToken token; HWTEST_F() local 488 NetManagerExtAccessToken token; HWTEST_F() local 499 NetManagerExtAccessToken token; HWTEST_F() local 513 NetManagerExtAccessToken token; HWTEST_F() local [all...] |
/foundation/communication/netmanager_base/test/fuzztest/netpolicyclient_fuzzer/ |
H A D | net_policy_client_fuzzer.cpp | 149 NetManagerBaseAccessToken token; in SetPolicyByUidFuzzTest() local 165 NetManagerBaseAccessToken token; in GetPolicyByUidFuzzTest() local 179 NetManagerBaseAccessToken token; in GetUidsByPolicyFuzzTest() local 193 NetManagerBaseAccessToken token; in SetBackgroundPolicyFuzzTest() local 206 NetManagerBaseAccessToken token; in GetBackgroundPolicyByUidFuzzTest() local 219 NetManagerBaseAccessToken token; in SetCellularPoliciesFuzzTest() local 252 NetManagerBaseAccessToken token; in RegisterNetPolicyCallbackFuzzTest() local 270 NetManagerBaseAccessToken token; in UnregisterNetPolicyCallbackFuzzTest() local 289 NetManagerBaseAccessToken token; in GetNetQuotaPoliciesFuzzTest() local 300 NetManagerBaseAccessToken token; in SetNetQuotaPoliciesFuzzTest() local 330 NetManagerBaseAccessToken token; IsUidNetAllowedFuzzTest() local 356 NetManagerBaseAccessToken token; ResetPoliciesFuzzTest() local 371 NetManagerBaseAccessToken token; UpdateRemindPolicyFuzzTest() local 388 NetManagerBaseAccessToken token; SetDeviceIdleTrustlistFuzzTest() local 404 NetManagerBaseAccessToken token; SetDeviceIdlePolicyFuzzTest() local 418 NetManagerBaseAccessToken token; SetPowerSaveTrustlistFuzzTest() local 434 NetManagerBaseAccessToken token; GetPowerSaveTrustlistFuzzTest() local 445 NetManagerBaseAccessToken token; GetDeviceIdleTrustlistFuzzTest() local 456 NetManagerBaseAccessToken token; GetBackgroundPolicyFuzzTest() local 467 NetManagerBaseAccessToken token; SetPowerSavePolicyFuzzTest() local 480 NetManagerBaseAccessToken token; CheckPermissionFuzzTest() local 496 NetManagerBaseAccessToken token; SetNetworkAccessPolicyFuzzTest() local 521 NetManagerBaseAccessToken token; GetNetworkAccessPolicyFuzzTest() local 547 NetManagerBaseAccessToken token; NotifyNetAccessPolicyDiagFuzzTest() local [all...] |
/foundation/communication/netmanager_ext/test/netfirewallmanager/unittest/netfirewallmanager_test/ |
H A D | netfirewall_service_stub_test.cpp | 145 NetManagerExtAccessToken token;
in HWTEST_F() local 171 NetManagerExtAccessToken token;
in HWTEST_F() local 197 NetManagerExtAccessToken token;
in HWTEST_F() local 219 NetManagerExtAccessToken token;
in HWTEST_F() local 241 NetManagerExtAccessToken token;
in HWTEST_F() local 261 NetManagerExtAccessToken token;
in HWTEST_F() local 283 NetManagerExtAccessToken token;
in HWTEST_F() local 303 NetManagerExtAccessToken token;
in HWTEST_F() local 327 NetManagerExtAccessToken token;
in HWTEST_F() local 341 NetManagerExtAccessToken token;
in HWTEST_F() local 355 NetManagerExtAccessToken token; HWTEST_F() local 364 NetManagerExtAccessToken token; HWTEST_F() local 378 NetManagerExtAccessToken token; HWTEST_F() local 389 NetManagerExtAccessToken token; HWTEST_F() local 400 NetManagerExtAccessToken token; HWTEST_F() local 414 NetManagerExtAccessToken token; HWTEST_F() local 425 NetManagerExtAccessToken token; HWTEST_F() local 436 NetManagerExtAccessToken token; HWTEST_F() local 450 NetManagerExtAccessToken token; HWTEST_F() local 461 NetManagerExtAccessToken token; HWTEST_F() local 474 NetManagerExtAccessToken token; HWTEST_F() local 488 NetManagerExtAccessToken token; HWTEST_F() local 499 NetManagerExtAccessToken token; HWTEST_F() local 513 NetManagerExtAccessToken token; HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | kvm.c | 83 u32 token; member 93 u32 token) in _find_apf_task() 100 if (n->token == token) in _find_apf_task() 107 static bool kvm_async_pf_queue_task(u32 token, struct kvm_task_sleep_node *n) in kvm_async_pf_queue_task() argument 109 u32 key = hash_32(token, KVM_TASK_SLEEP_HASHBITS); in kvm_async_pf_queue_task() 114 e = _find_apf_task(b, token); in kvm_async_pf_queue_task() 123 n->token = token; in kvm_async_pf_queue_task() 133 * @token 92 _find_apf_task(struct kvm_task_sleep_head *b, u32 token) _find_apf_task() argument 138 kvm_async_pf_task_wait_schedule(u32 token) kvm_async_pf_task_wait_schedule() argument 187 kvm_async_pf_task_wake(u32 token) kvm_async_pf_task_wake() argument 254 __kvm_handle_async_pf(struct pt_regs *regs, u32 token) __kvm_handle_async_pf() argument 290 u32 token; DEFINE_IDTENTRY_SYSVEC() local [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | kvm.c | 86 u32 token; member 96 u32 token) in _find_apf_task() 103 if (n->token == token) in _find_apf_task() 110 static bool kvm_async_pf_queue_task(u32 token, struct kvm_task_sleep_node *n) in kvm_async_pf_queue_task() argument 112 u32 key = hash_32(token, KVM_TASK_SLEEP_HASHBITS); in kvm_async_pf_queue_task() 117 e = _find_apf_task(b, token); in kvm_async_pf_queue_task() 126 n->token = token; in kvm_async_pf_queue_task() 136 * @token 95 _find_apf_task(struct kvm_task_sleep_head *b, u32 token) _find_apf_task() argument 141 kvm_async_pf_task_wait_schedule(u32 token) kvm_async_pf_task_wait_schedule() argument 190 kvm_async_pf_task_wake(u32 token) kvm_async_pf_task_wake() argument 256 __kvm_handle_async_pf(struct pt_regs *regs, u32 token) __kvm_handle_async_pf() argument 292 u32 token; DEFINE_IDTENTRY_SYSVEC() local [all...] |
/foundation/ability/ability_runtime/test/unittest/ability_manager_service_account_test/ |
H A D | ability_manager_service_account_test.cpp | 173 sptr<IRemoteObject> token = nullptr; in HWTEST_F() local 176 token = topAbility->GetToken(); in HWTEST_F() 182 auto result1 = abilityMs_->StartAbility(want1, token, USER_ID_U100); in HWTEST_F() 437 sptr<IRemoteObject> token = nullptr; in HWTEST_F() local 439 token = topAbility->GetToken(); in HWTEST_F() 442 auto result1 = abilityMs_->TerminateAbility(token, -1, &want); in HWTEST_F() 728 * 2.token is nullptr, ScheduleConnectAbilityDone failed 751 const sptr<IRemoteObject> token = new Token(ability); in HWTEST_F() local 752 auto result2 = abilityMs_->ScheduleConnectAbilityDone(token, callback->AsObject()); in HWTEST_F() 788 sptr<IRemoteObject> token in HWTEST_F() local 831 const sptr<IRemoteObject> token = new Token(ability); HWTEST_F() local 870 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 913 const sptr<IRemoteObject> token = new Token(ability); HWTEST_F() local 950 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 988 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 1031 const sptr<IRemoteObject> token = new Token(ability); HWTEST_F() local 1068 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 1111 const sptr<IRemoteObject> token = new Token(ability); HWTEST_F() local 1150 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 1333 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 1366 sptr<IRemoteObject> token = nullptr; HWTEST_F() local 1397 sptr<IRemoteObject> token = nullptr; HWTEST_F() local [all...] |
/third_party/lame/frontend/ |
H A D | parse.c | 342 static int evaluateArgument(char const* token, char const* arg, char* _EndPtr) in evaluateArgument() argument 346 error_printf("WARNING: argument missing for '%s'\n", token); in evaluateArgument() 350 static int getDoubleValue(char const* token, char const* arg, double* ptr) in getDoubleValue() argument 357 return evaluateArgument(token, arg, _EndPtr); in getDoubleValue() 360 static int getIntValue(char const* token, char const* arg, int* ptr) in getIntValue() argument 367 return evaluateArgument(token, arg, _EndPtr); in getIntValue() 1511 static int dev_only_with_arg(char const* str, char const* token, char const* nextArg, int* argIgnored, int* argUsed) in dev_only_with_arg() argument 1513 if (0 != local_strcasecmp(token,str)) return 0; in dev_only_with_arg() 1517 error_printf("WARNING: ignoring developer-only switch --%s %s\n", token, nextArg); in dev_only_with_arg() 1521 static int dev_only_without_arg(char const* str, char const* token, in argument 1582 char *token; parse_args_() local [all...] |
/foundation/ability/ability_runtime/test/unittest/appkit/ohos_application_test/ |
H A D | ohos_application_test.cpp | 130 sptr<Notification::MockIRemoteObject> token = new (std::nothrow) Notification::MockIRemoteObject(); in HWTEST_F() local 132 auto record = std::make_shared<AbilityLocalRecord>(info, token, nullptr, 0); in HWTEST_F() 133 ohosApplication_->abilityRecordMgr_->abilityRecords_.emplace(token, record); in HWTEST_F() 148 sptr<Notification::MockIRemoteObject> token = new (std::nothrow) Notification::MockIRemoteObject(); in HWTEST_F() local 150 auto record = std::make_shared<AbilityLocalRecord>(info, token, nullptr, 0); in HWTEST_F() 152 ohosApplication_->abilityRecordMgr_->abilityRecords_.emplace(token, record); in HWTEST_F() 292 sptr<Notification::MockIRemoteObject> token = new (std::nothrow) Notification::MockIRemoteObject(); in HWTEST_F() local 294 auto abilityRecord = std::make_shared<AbilityLocalRecord>(info, token, nullptr, 0); in HWTEST_F() 295 ohosApplication_->abilityRecordMgr_->abilityRecords_.emplace(token, abilityRecord); in HWTEST_F() 373 sptr<Notification::MockIRemoteObject> token in HWTEST_F() local 449 sptr<Notification::MockIRemoteObject> token = new (std::nothrow) Notification::MockIRemoteObject(); HWTEST_F() local 470 sptr<Notification::MockIRemoteObject> token = new (std::nothrow) Notification::MockIRemoteObject(); HWTEST_F() local 487 sptr<Notification::MockIRemoteObject> token = new (std::nothrow) Notification::MockIRemoteObject(); HWTEST_F() local 510 sptr<Notification::MockIRemoteObject> token; HWTEST_F() local 530 sptr<Notification::MockIRemoteObject> token = new (std::nothrow) Notification::MockIRemoteObject(); HWTEST_F() local 659 sptr<Notification::MockIRemoteObject> token = new (std::nothrow) Notification::MockIRemoteObject(); HWTEST_F() local 674 sptr<Notification::MockIRemoteObject> token = nullptr; HWTEST_F() local 692 sptr<Notification::MockIRemoteObject> token = new (std::nothrow) Notification::MockIRemoteObject(); HWTEST_F() local [all...] |
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_ability_runtime_test/AMS/ |
H A D | mock_serviceability_manager_service.h | 71 const sptr<IRemoteObject>& token, int resultCode = -1, const Want* resultWant = nullptr) override; 72 int CloseAbility(const sptr<IRemoteObject>& token, int resultCode = DEFAULT_INVAL_VALUE, 77 int MinimizeAbility(const sptr<IRemoteObject>& token, bool fromUser) override 96 int AttachAbilityThread(const sptr<IAbilityScheduler>& scheduler, const sptr<IRemoteObject>& token) override; 98 int AbilityTransitionDone(const sptr<IRemoteObject>& token, int state, const PacMap& saveData) override; 99 int ScheduleConnectAbilityDone(const sptr<IRemoteObject>& token, const sptr<IRemoteObject>& remoteObject) override; 100 int ScheduleDisconnectAbilityDone(const sptr<IRemoteObject>& token) override; 101 int ScheduleCommandAbilityDone(const sptr<IRemoteObject>& token) override; 103 const sptr<IRemoteObject> &token, 113 const sptr<IRemoteObject> &token [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
H A D | nouveau_usif.c | 49 u64 token; member 84 if (WARN_ON(!(ntfy = (void *)(unsigned long)rep->v0.token))) in usif_notify() 102 rep->token = ntfy->token; in usif_notify() 150 ntfy->token = req->v0.token; in usif_notify_new() 152 req->v0.token = (unsigned long)(void *)ntfy; in usif_notify_new() 154 req->v0.token = ntfy->token; in usif_notify_new() 253 u64 token; member [all...] |
/third_party/node/deps/openssl/openssl/crypto/ts/ |
H A D | ts_rsp_verify.c | 25 PKCS7 *token, TS_TST_INFO *tst_info); 88 int TS_RESP_verify_signature(PKCS7 *token, STACK_OF(X509) *certs, in TS_RESP_verify_signature() argument 102 if (!token) { in TS_RESP_verify_signature() 106 if (!PKCS7_type_is_signed(token)) { in TS_RESP_verify_signature() 110 sinfos = PKCS7_get_signer_info(token); in TS_RESP_verify_signature() 116 if (PKCS7_get_detached(token)) { in TS_RESP_verify_signature() 125 signers = PKCS7_get0_signers(token, certs, 0); in TS_RESP_verify_signature() 131 + sk_X509_num(token->d.sign->cert)); in TS_RESP_verify_signature() 134 || !X509_add_certs(untrusted, token->d.sign->cert, 0)) in TS_RESP_verify_signature() 140 p7bio = PKCS7_dataInit(token, NUL in TS_RESP_verify_signature() 251 PKCS7 *token = response->token; TS_RESP_verify_response() local 269 TS_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token) TS_RESP_verify_token() argument 292 int_ts_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token, TS_TST_INFO *tst_info) int_ts_RESP_verify_token() argument [all...] |
/third_party/openssl/crypto/ts/ |
H A D | ts_rsp_verify.c | 25 PKCS7 *token, TS_TST_INFO *tst_info); 88 int TS_RESP_verify_signature(PKCS7 *token, STACK_OF(X509) *certs, in TS_RESP_verify_signature() argument 102 if (!token) { in TS_RESP_verify_signature() 106 if (!PKCS7_type_is_signed(token)) { in TS_RESP_verify_signature() 110 sinfos = PKCS7_get_signer_info(token); in TS_RESP_verify_signature() 116 if (PKCS7_get_detached(token)) { in TS_RESP_verify_signature() 125 signers = PKCS7_get0_signers(token, certs, 0); in TS_RESP_verify_signature() 131 + sk_X509_num(token->d.sign->cert)); in TS_RESP_verify_signature() 134 || !X509_add_certs(untrusted, token->d.sign->cert, 0)) in TS_RESP_verify_signature() 140 p7bio = PKCS7_dataInit(token, NUL in TS_RESP_verify_signature() 251 PKCS7 *token = response->token; TS_RESP_verify_response() local 269 TS_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token) TS_RESP_verify_token() argument 292 int_ts_RESP_verify_token(TS_VERIFY_CTX *ctx, PKCS7 *token, TS_TST_INFO *tst_info) int_ts_RESP_verify_token() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | rrm.c | 29 wpa_printf(MSG_DEBUG, "RRM: LCI request (token %u) timed out", in hostapd_lci_rep_timeout_handler() 35 static void hostapd_handle_lci_report(struct hostapd_data *hapd, u8 token, in hostapd_handle_lci_report() argument 38 if (!hapd->lci_req_active || hapd->lci_req_token != token) { in hostapd_handle_lci_report() 39 wpa_printf(MSG_DEBUG, "Unexpected LCI report, token %u", token); in hostapd_handle_lci_report() 45 wpa_printf(MSG_DEBUG, "LCI report token %u len %zu", token, len); in hostapd_handle_lci_report() 53 wpa_printf(MSG_DEBUG, "RRM: Range request (token %u) timed out", in hostapd_range_rep_timeout_handler() 59 static void hostapd_handle_range_report(struct hostapd_data *hapd, u8 token, in hostapd_handle_range_report() argument 62 if (!hapd->range_req_active || hapd->range_req_token != token) { in hostapd_handle_range_report() 74 hostapd_handle_beacon_report(struct hostapd_data *hapd, const u8 *addr, u8 token, u8 rep_mode, const u8 *pos, size_t len) hostapd_handle_beacon_report() argument 100 u8 token, rep_mode; hostapd_handle_radio_msmt_report() local 286 u8 token; hostapd_handle_nei_report_req() local [all...] |