Home
last modified time | relevance | path

Searched refs:stub (Results 1 – 25 of 504) sorted by relevance

12345678910>>...21

/ohos5.0/foundation/multimodalinput/input/service/connect_manager/test/
H A Dmultimodal_input_connect_stub_test.cpp330 temp = stub->StubSetPointerSize(data, reply);
418 temp = stub->StubSetNapStatus(data, reply);
472 temp = stub->StubGetDevice(data, reply);
477 temp = stub->StubSupportKeys(data, reply);
541 temp = stub->StubMarkProcessed(data, reply);
644 temp = stub->StubGetWindowPid(data, reply);
816 temp = stub->StubGetKeyState(data, reply);
1643 ret = stub->StubGetWindowPid(data, reply);
1731 ret = stub->VerifyTouchPadSetting();
2210 ret = stub->StubSetMouseIcon(data, reply);
[all …]
H A Dmultimodal_input_connect_stub_ex_test.cpp401 ASSERT_NE(stub, nullptr);
420 ASSERT_NE(stub, nullptr);
440 ASSERT_NE(stub, nullptr);
460 ASSERT_NE(stub, nullptr);
480 ASSERT_NE(stub, nullptr);
500 ASSERT_NE(stub, nullptr);
519 ASSERT_NE(stub, nullptr);
538 ASSERT_NE(stub, nullptr);
558 ASSERT_NE(stub, nullptr);
578 ASSERT_NE(stub, nullptr);
[all …]
/ohos5.0/base/print/print_fwk/test/unittest/service_test/
H A Dprint_service_stub_test.cpp59 EXPECT_NE(stub, nullptr);
78 EXPECT_NE(stub, nullptr);
100 EXPECT_NE(stub, nullptr);
127 EXPECT_NE(stub, nullptr);
158 EXPECT_NE(stub, nullptr);
192 EXPECT_NE(stub, nullptr);
216 EXPECT_NE(stub, nullptr);
240 EXPECT_NE(stub, nullptr);
264 EXPECT_NE(stub, nullptr);
290 EXPECT_NE(stub, nullptr);
[all …]
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/include/
H A Dsystem_ability_manager_stub.h40 return stub->ListSystemAbilityInner(data, reply); in LocalListSystemAbility()
45 return stub->SubsSystemAbilityInner(data, reply); in LocalSubsSystemAbility()
50 return stub->UnSubsSystemAbilityInner(data, reply); in LocalUnSubsSystemAbility()
70 return stub->AddSystemAbilityInner(data, reply); in LocalAddSystemAbility()
75 return stub->GetSystemAbilityInner(data, reply); in LocalGetSystemAbility()
80 return stub->CheckSystemAbilityInner(data, reply); in LocalCheckSystemAbility()
85 return stub->AddSystemProcessInner(data, reply); in LocalAddSystemProcess()
115 return stub->LoadSystemAbilityInner(data, reply); in LocalLoadSystemAbility()
145 return stub->GetOnDemandPolicyInner(data, reply); in LocalGetOnDemandPolicy()
160 return stub->SendStrategyInner(data, reply); in LocalSendStrategy()
[all …]
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/include/
H A Dbluetooth_avrcp_ct_observer_stub.h37 BluetoothAvrcpCtObserverStub *stub, MessageParcel &data, MessageParcel &reply);
39 BluetoothAvrcpCtObserverStub *stub, MessageParcel &data, MessageParcel &reply);
41 BluetoothAvrcpCtObserverStub *stub, MessageParcel &data, MessageParcel &reply);
43 BluetoothAvrcpCtObserverStub *stub, MessageParcel &data, MessageParcel &reply);
45 BluetoothAvrcpCtObserverStub *stub, MessageParcel &data, MessageParcel &reply);
47 BluetoothAvrcpCtObserverStub *stub, MessageParcel &data, MessageParcel &reply);
49 BluetoothAvrcpCtObserverStub *stub, MessageParcel &data, MessageParcel &reply);
51 BluetoothAvrcpCtObserverStub *stub, MessageParcel &data, MessageParcel &reply);
53 BluetoothAvrcpCtObserverStub *stub, MessageParcel &data, MessageParcel &reply);
55 BluetoothAvrcpCtObserverStub *stub, MessageParcel &data, MessageParcel &reply);
[all …]
H A Dbluetooth_gatt_client_callback_stub.h36 BluetoothGattClientCallbackStub *stub, MessageParcel &data, MessageParcel &reply);
38 BluetoothGattClientCallbackStub *stub, MessageParcel &data, MessageParcel &reply);
40 BluetoothGattClientCallbackStub *stub, MessageParcel &data, MessageParcel &reply);
42 BluetoothGattClientCallbackStub *stub, MessageParcel &data, MessageParcel &reply);
44 BluetoothGattClientCallbackStub *stub, MessageParcel &data, MessageParcel &reply);
46 BluetoothGattClientCallbackStub *stub, MessageParcel &data, MessageParcel &reply);
48 BluetoothGattClientCallbackStub *stub, MessageParcel &data, MessageParcel &reply);
50 BluetoothGattClientCallbackStub *stub, MessageParcel &data, MessageParcel &reply);
52 BluetoothGattClientCallbackStub *stub, MessageParcel &data, MessageParcel &reply);
54 BluetoothGattClientCallbackStub *stub, MessageParcel &data, MessageParcel &reply);
[all …]
H A Dbluetooth_hfp_hf_observer_stub.h36 BluetoothHfpHfObserverStub *stub, MessageParcel &data, MessageParcel &reply);
38 BluetoothHfpHfObserverStub *stub, MessageParcel &data, MessageParcel &reply);
40 BluetoothHfpHfObserverStub *stub, MessageParcel &data, MessageParcel &reply);
42 BluetoothHfpHfObserverStub *stub, MessageParcel &data, MessageParcel &reply);
44 BluetoothHfpHfObserverStub *stub, MessageParcel &data, MessageParcel &reply);
46 BluetoothHfpHfObserverStub *stub, MessageParcel &data, MessageParcel &reply);
48 BluetoothHfpHfObserverStub *stub, MessageParcel &data, MessageParcel &reply);
50 BluetoothHfpHfObserverStub *stub, MessageParcel &data, MessageParcel &reply);
52 BluetoothHfpHfObserverStub *stub, MessageParcel &data, MessageParcel &reply);
54 BluetoothHfpHfObserverStub *stub, MessageParcel &data, MessageParcel &reply);
[all …]
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_ext/
H A Dext_extension_stub_test.cpp68 stub = nullptr; in TearDownTestCase()
91 EXPECT_TRUE(stub != nullptr);
128 EXPECT_TRUE(stub != nullptr);
175 EXPECT_TRUE(stub != nullptr);
207 EXPECT_TRUE(stub != nullptr);
238 EXPECT_TRUE(stub != nullptr);
277 EXPECT_TRUE(stub != nullptr);
309 EXPECT_TRUE(stub != nullptr);
348 EXPECT_TRUE(stub != nullptr);
389 EXPECT_TRUE(stub != nullptr);
[all …]
/ohos5.0/drivers/hdf_core/adapter/uhdf2/hdi/src/
H A Dservstat_listener.c49 if (stub->listener.callback != NULL) { in ServstatListenerStubRemoteDispatch()
50 stub->listener.callback(&stub->listener, &status); in ServstatListenerStubRemoteDispatch()
72 if (stub == NULL) { in HdiServiceStatusListenerNewInstance()
79 stub->remote = HdfRemoteServiceObtain((struct HdfObject *)stub, &remoteDispatch); in HdiServiceStatusListenerNewInstance()
80 if (stub->remote == NULL) { in HdiServiceStatusListenerNewInstance()
81 OsalMemFree(stub); in HdiServiceStatusListenerNewInstance()
86 stub->remote = NULL; in HdiServiceStatusListenerNewInstance()
87 OsalMemFree(stub); in HdiServiceStatusListenerNewInstance()
90 return &stub->listener; in HdiServiceStatusListenerNewInstance()
100 HdfRemoteServiceRecycle(stub->remote); in HdiServiceStatusListenerFree()
[all …]
/ohos5.0/drivers/hdf_core/adapter/uhdf2/manager/src/
H A Ddevsvc_manager_stub.c187 OsalMutexLock(&stub->devSvcStubMutex); in ObtainServiceObject()
189 OsalMutexUnlock(&stub->devSvcStubMutex); in ObtainServiceObject()
198 OsalMutexLock(&stub->devSvcStubMutex); in ReleaseServiceObject()
216 OsalMutexUnlock(&stub->devSvcStubMutex); in ReleaseServiceObject()
433 OsalMutexLock(&stub->devSvcStubMutex); in DevSvcManagerStubRemoveService()
452 OsalMutexUnlock(&stub->devSvcStubMutex); in DevSvcManagerStubRemoveService()
520 if (stub == NULL) { in DevSvcManagerStubDispatch()
562 struct DevSvcManagerStub *stub = in DevSvcManagerOnServiceDied() local
564 if (stub == NULL) { in DevSvcManagerOnServiceDied()
574 OsalMutexLock(&stub->devSvcStubMutex); in DevSvcManagerOnServiceDied()
[all …]
/ohos5.0/base/telephony/cellular_call/test/fuzztest/imscallback_fuzzer/
H A Dimscallback_fuzzer.cpp87 stub->OnDialResponseInner(dialData, dialReply); in TestImsCallCallbackFunction()
136 stub->OnSetMuteResponseInner(muteData, muteReply); in TestImsCallCallbackExFunction()
234 stub->OnSetClipResponseInner(mData, mReply); in TestImsUTCallbackFunction()
235 stub->OnSetClirResponseInner(mData, mReply); in TestImsUTCallbackFunction()
236 stub->OnSetColpResponseInner(mData, mReply); in TestImsUTCallbackFunction()
237 stub->OnSetColrResponseInner(mData, mReply); in TestImsUTCallbackFunction()
432 if (stub == nullptr) { in DoSomethingInterestingWithMyAPI()
437 TestImsCallCallbackFunction(data, size, stub); in DoSomethingInterestingWithMyAPI()
440 TestImsUTCallbackFunction(data, size, stub); in DoSomethingInterestingWithMyAPI()
441 TestUTCallbackFunction(data, size, stub); in DoSomethingInterestingWithMyAPI()
[all …]
/ohos5.0/foundation/multimedia/drm_framework/services/drm_service/server/src/
H A Dmediakeysystem_service_stub.cpp173 int32_t ret = stub->ProcessKeySystemResponse(response); in ProcessKeySystemResponse()
184 int32_t ret = stub->SetConfigurationString(configName, value); in ProcessSetConfigurationString()
195 int32_t ret = stub->GetConfigurationString(configName, value); in ProcessGetConfigurationString()
254 int32_t ret = stub->GetStatistics(metrics); in ProcessGetMetircs()
268 int32_t ret = stub->Release(); in ProcessReleaseKeySystem()
294 int32_t ret = stub->GetCertificateStatus(&certStatus); in ProcessGetCertificateStatus()
308 int32_t ret = stub->GetOfflineMediaKeyIds(licenseIds); in ProcessGetOfflineMediaKeyIds()
347 int32_t ret = stub->GetOfflineMediaKeyStatus(licenseId, status); in ProcessGetOfflineMediaKeyStatus()
372 int32_t ret = stub->ClearOfflineMediaKeys(licenseId); in ProcessRemoveOfflineMediaKey()
413 int32_t ret = stub->SetListenerObject(object); in ProcessSetListenerObject()
[all …]
H A Dkey_session_service_stub.cpp92 int32_t ret = stub->GetMediaDecryptModule(decryptModuleServiceProxy); in ProcessGetMediaDecryptModule()
108 int32_t ret = stub->Release(); in ProcessReleaseKeySession()
181 int32_t ret = stub->ProcessMediaKeyResponse(licenseId, response); in ProcessMediaKeyResponse()
258 int32_t ret = stub->ProcessOfflineReleaseResponse(licenseId, response); in ProcessOfflineReleaseResponse()
268 int32_t ret = stub->CheckMediaKeyStatus(licenseStatus); in ProcessCheckMediaKeyStatus()
295 int32_t ret = stub->RestoreOfflineMediaKeys(licenseId); in ProcessRestoreOfflineMediaKey()
304 int32_t ret = stub->ClearMediaKeys(); in ProcessClearMediaKeys()
323 int32_t ret = stub->SetCallback(callback); in ProcessSetCallback()
334 int32_t ret = stub->RequireSecureDecoderModule(mimeType, &status); in ProcessRequireSecureDecoder()
378 int32_t ret = stub->SetListenerObject(object); in ProcessSetListenerObject()
[all …]
/ohos5.0/foundation/systemabilitymgr/safwk/services/safwk/include/
H A Dlocal_ability_manager_stub.h38 …static int32_t LocalStartAbility(LocalAbilityManagerStub* stub, MessageParcel& data, MessageParcel… in LocalStartAbility() argument
40 return stub->StartAbilityInner(data, reply); in LocalStartAbility()
42 …static int32_t LocalStopAbility(LocalAbilityManagerStub* stub, MessageParcel& data, MessageParcel&… in LocalStopAbility() argument
44 return stub->StopAbilityInner(data, reply); in LocalStopAbility()
48 return stub->ActiveAbilityInner(data, reply); in LocalActiveAbility()
52 return stub->IdleAbilityInner(data, reply); in LocalIdleAbility()
56 return stub->SendStrategyToSAInner(data, reply); in LocalSendStrategyToSA()
60 return stub->IpcStatCmdProcInner(data, reply); in LocalIpcStatCmdProc()
64 return stub->FfrtDumperProcInner(data, reply); in LocalFfrtDumperProc()
68 return stub->SystemAbilityExtProcInner(data, reply); in LocalSystemAbilityExtProc()
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/hdi_all_interface_test_007/c_target/foo/v1_0/
H A Dfoo_callback_stub.c.txt91 return stub->remote;
97 if (stub == NULL || stub->remote == NULL || stub->interface == NULL) {
127 if (stub == NULL) {
131 stub->remote = HdfRemoteServiceObtain((struct HdfObject *)stub, &stub->dispatcher);
132 if (stub->remote == NULL) {
133 OsalMemFree(stub);
138 stub->interface = serviceImpl;
139 stub->interface->AsObject = FooCallbackStubAsObject;
140 return &stub->remote;
149 HdfRemoteServiceRecycle(stub->remote);
[all …]
/ohos5.0/base/useriam/user_auth_framework/services/core/src/
H A Dipc_common.cpp60 uint32_t tokenId = GetAccessTokenId(stub); in GetCallingUserId()
199 return CheckCallerIsSystemApp(stub); in CheckPermission()
210 uint32_t tokenId = stub.GetFirstTokenID(); in GetAccessTokenId()
214 tokenId = stub.GetCallingTokenID(); in GetAccessTokenId()
219 uint32_t IpcCommon::GetTokenId(IPCObjectStub &stub) in GetTokenId() argument
221 uint32_t tokenId = stub.GetCallingTokenID(); in GetTokenId()
248 uint32_t tokenId = stub.GetCallingTokenID(); in CheckNativeCallingProcessWhiteList()
264 int32_t processUid = stub.GetCallingUid(); in CheckNativeCallingProcessWhiteList()
276 uint32_t firstTokenId = stub.GetFirstTokenID(); in CheckDirectCallerAndFirstCallerIfSet()
316 uint32_t tokenId = GetAccessTokenId(stub); in GetCallerName()
[all …]
/ohos5.0/drivers/peripheral/codec/hal/src/
H A Dcodec_callback_type_stub.c255 if (stub == NULL) { in CodecCallbackTypeStubGetInstance()
261 stub->service.remote = HdfRemoteServiceObtain((struct HdfObject*)stub, &(stub->dispatcher)); in CodecCallbackTypeStubGetInstance()
264 OsalMemFree(stub); in CodecCallbackTypeStubGetInstance()
270 OsalMemFree(stub); in CodecCallbackTypeStubGetInstance()
275 if (stub->dlHandler == NULL) { in CodecCallbackTypeStubGetInstance()
277 OsalMemFree(stub); in CodecCallbackTypeStubGetInstance()
284 dlclose(stub->dlHandler); in CodecCallbackTypeStubGetInstance()
285 OsalMemFree(stub); in CodecCallbackTypeStubGetInstance()
290 return &stub->service; in CodecCallbackTypeStubGetInstance()
300 dlclose(stub->dlHandler); in CodecCallbackTypeStubRelease()
[all …]
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/src/
H A Dbluetooth_avrcp_ct_observer_stub.cpp155 stub->OnPressButton(RawAddress(addr), button, result); in OnPressButtonInner()
166 stub->OnReleaseButton(RawAddress(addr), button, result); in OnReleaseButtonInner()
414 stub->OnPlayItem(RawAddress(addr), status, result); in OnPlayItemInner()
469 stub->OnSetAbsoluteVolume(RawAddress(addr), volume, result); in OnSetAbsoluteVolumeInner()
491 stub->OnTrackChanged(RawAddress(addr), uid, result); in OnTrackChangedInner()
501 stub->OnTrackReachedEnd(RawAddress(addr), result); in OnTrackReachedEndInner()
511 stub->OnTrackReachedStart(RawAddress(addr), result); in OnTrackReachedStartInner()
562 stub->OnNowPlayingContentChanged(RawAddress(addr), result); in OnNowPlayingContentChangedInner()
572 stub->OnAvailablePlayersChanged(RawAddress(addr), result); in OnAvailablePlayersChangedInner()
593 stub->OnUidChanged(RawAddress(addr), uidCounter, result); in OnUidChangedInner()
[all …]
H A Dbluetooth_host_observer_stub.cpp74 int32_t BluetoothHostObserverStub::OnStateChangedInner(BluetoothHostObserverStub *stub, in OnStateChangedInner() argument
81 stub->OnStateChanged(transport, status); in OnStateChangedInner()
93 stub->OnDiscoveryStateChanged(status); in OnDiscoveryStateChangedInner()
110 stub->OnDiscoveryResult(*device, rssi, deviceName, deviceClass); in OnDiscoveryResultInner()
115 int32_t BluetoothHostObserverStub::OnPairRequestedInner(BluetoothHostObserverStub *stub, in OnPairRequestedInner() argument
125 stub->OnPairRequested(transport, *device); in OnPairRequestedInner()
142 stub->OnPairConfirmed(transport, *device, reqType, number); in OnPairConfirmedInner()
153 stub->OnScanModeChanged(mode); in OnScanModeChangedInner()
164 stub->OnDeviceNameChanged(deviceName); in OnDeviceNameChangedInner()
175 stub->OnDeviceAddrChanged(address); in OnDeviceAddrChangedInner()
[all …]
H A Dbluetooth_hfp_hf_observer_stub.cpp88 BluetoothHfpHfObserverStub *stub, MessageParcel &data, MessageParcel &reply) in OnConnectionStateChangedInner() argument
96 stub->OnConnectionStateChanged(*device, state, cause); in OnConnectionStateChangedInner()
108 stub->OnScoStateChanged(*device, state); in OnScoStateChangedInner()
123 stub->OnCallChanged(*device, *call); in OnCallChangedInner()
135 stub->OnSignalStrengthChanged(*device, signal); in OnSignalStrengthChangedInner()
147 stub->OnSignalStrengthChanged(*device, status); in OnRegistrationStatusChangedInner()
159 stub->OnRoamingStatusChanged(*device, status); in OnRoamingStatusChangedInner()
171 stub->OnOperatorSelectionChanged(*device, name); in OnOperatorSelectionChangedInner()
183 stub->OnSubscriberNumberChanged(*device, number); in OnSubscriberNumberChangedInner()
195 stub->OnVoiceRecognitionStatusChanged(*device, status); in OnVoiceRecognitionStatusChangedInner()
[all …]
H A Dbluetooth_gatt_client_callback_stub.cpp97 stub->OnConnectionStateChanged(state, newState); in OnConnectionStateChangedInner()
109 stub->OnCharacteristicChanged(*characteristic); in OnCharacteristicChangedInner()
123 stub->OnCharacteristicRead(ret, *characteristic); in OnCharacteristicReadInner()
137 stub->OnCharacteristicWrite(ret, *characteristic); in OnCharacteristicWriteInner()
151 stub->OnDescriptorRead(ret, *descriptor); in OnDescriptorReadInner()
166 stub->OnDescriptorWrite(ret, *descriptor); in OnDescriptorWriteInner()
177 stub->OnMtuChanged(state, mtu); in OnMtuChangedInner()
187 stub->OnServicesDiscovered(status); in OnServicesDiscoveredInner()
200 stub->OnConnectionParameterChanged(interval, latency, timeout, status); in OnConnectionParameterChangedInner()
222 stub->OnServicesChanged(service); in OnServicesChangedInner()
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/ipc_ability_scheduler_test/
H A Dipc_ability_scheduler_module_test.cpp83 sptr<MockAbilitySchedulerStub> stub(new MockAbilitySchedulerStub());
84 sptr<IAbilityScheduler> proxy = iface_cast<IAbilityScheduler>(stub);
96 EXPECT_CALL(*stub, ScheduleAbilityTransaction(_, _, _)).Times(1)
130 sptr<MockAbilitySchedulerStub> stub(new MockAbilitySchedulerStub());
131 sptr<IAbilityScheduler> proxy = iface_cast<IAbilityScheduler>(stub);
173 sptr<MockAbilitySchedulerStub> stub(new MockAbilitySchedulerStub());
174 sptr<IAbilityScheduler> proxy = iface_cast<IAbilityScheduler>(stub);
211 sptr<MockAbilitySchedulerStub> stub(new MockAbilitySchedulerStub());
212 sptr<IAbilityScheduler> proxy = iface_cast<IAbilityScheduler>(stub);
240 sptr<MockAbilitySchedulerStub> stub(new MockAbilitySchedulerStub());
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dreverse_continuation_scheduler_replica_stub_test.cpp62 auto stub = std::make_shared<MockReverseContinuationSchedulerReplicaStub>(); in HWTEST_F() local
63 EXPECT_CALL(*stub, PassPrimary(_)).Times(1); in HWTEST_F()
64 int32_t result = stub->PassPrimaryInner(data, reply); in HWTEST_F()
83 EXPECT_CALL(*stub, PassPrimary(_)).Times(1); in HWTEST_F()
84 int32_t result = stub->PassPrimaryInner(data, reply); in HWTEST_F()
102 EXPECT_CALL(*stub, ReverseContinuation()).Times(1); in HWTEST_F()
103 int32_t result = stub->ReverseContinuationInner(data, reply); in HWTEST_F()
121 EXPECT_CALL(*stub, NotifyReverseResult(_)).Times(1); in HWTEST_F()
122 int32_t result = stub->NotifyReverseResultInner(data, reply); in HWTEST_F()
142 int32_t result = stub->OnRemoteRequest(code, data, reply, option); in HWTEST_F()
[all …]
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/test/unittest/src/
H A Ddlp_sandbox_change_callback_stub_test.cpp68 auto stub = new (std::nothrow) DlpSandboxChangeCallbackTest(); variable
69 ASSERT_FALSE(stub == nullptr);
71 int32_t ret = stub->OnRemoteRequest(code, data, reply, option);
76 ret = stub->OnRemoteRequest(code, data, reply, option);
79 delete stub;
97 auto stub = new (std::nothrow) DlpSandboxChangeCallbackTest(); variable
98 ASSERT_FALSE(stub == nullptr);
110 delete stub;
129 ASSERT_FALSE(stub == nullptr);
134 stub->OnRemoteRequest(code, data, reply, option);
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/audio_v1_0/c_target/audio/v1_0/
H A Daudio_callback_stub.c.txt180 return stub->remote;
186 if (stub == NULL || stub->remote == NULL || stub->interface == NULL) {
218 if (stub == NULL) {
222 stub->remote = HdfRemoteServiceObtain((struct HdfObject *)stub, &stub->dispatcher);
223 if (stub->remote == NULL) {
224 OsalMemFree(stub);
229 stub->interface = serviceImpl;
230 stub->interface->AsObject = AudioCallbackStubAsObject;
231 return &stub->remote;
240 HdfRemoteServiceRecycle(stub->remote);
[all …]

12345678910>>...21