Home
last modified time | relevance | path

Searched defs:stub (Results 1 – 19 of 19) sorted by relevance

/base/print/print_fwk/test/unittest/service_test/
Dprint_service_stub_test.cpp58 auto stub = std::make_shared<MockPrintService>(); variable
77 auto stub = std::make_shared<MockPrintService>(); variable
98 auto stub = std::make_shared<MockPrintService>(); variable
124 auto stub = std::make_shared<MockPrintService>(); variable
154 auto stub = std::make_shared<MockPrintService>(); variable
187 auto stub = std::make_shared<MockPrintService>(); variable
211 auto stub = std::make_shared<MockPrintService>(); variable
235 auto stub = std::make_shared<MockPrintService>(); variable
259 auto stub = std::make_shared<MockPrintService>(); variable
285 auto stub = std::make_shared<MockPrintService>(); variable
[all …]
/base/useriam/user_auth_framework/services/ipc/src/
Dipc_common.cpp54 int32_t IpcCommon::GetCallingUserId(IPCObjectStub &stub, int32_t &userId) in GetCallingUserId()
148 bool IpcCommon::CheckPermission(IPCObjectStub &stub, Permission permission) in CheckPermission()
177 uint32_t IpcCommon::GetAccessTokenId(IPCObjectStub &stub) in GetAccessTokenId()
188 uint32_t IpcCommon::GetTokenId(IPCObjectStub &stub) in GetTokenId()
215 bool IpcCommon::CheckNativeCallingProcessWhiteList(IPCObjectStub &stub, Permission permission) in CheckNativeCallingProcessWhiteList()
243 bool IpcCommon::CheckDirectCallerAndFirstCallerIfSet(IPCObjectStub &stub, const std::string &permis… in CheckDirectCallerAndFirstCallerIfSet()
256 bool IpcCommon::CheckDirectCaller(IPCObjectStub &stub, const std::string &permission) in CheckDirectCaller()
267 bool IpcCommon::CheckCallerIsSystemApp(IPCObjectStub &stub) in CheckCallerIsSystemApp()
281 bool IpcCommon::GetCallerName(IPCObjectStub &stub, bool &isBundleName, std::string &callerName) in GetCallerName()
/base/useriam/user_auth_framework/test/unittest/services/mocks/
Dmock_ipc_common.cpp38 int32_t IpcCommon::GetCallingUserId(IPCObjectStub &stub, int32_t &userId) in GetCallingUserId()
93 bool IpcCommon::CheckPermission(IPCObjectStub &stub, Permission permission) in CheckPermission()
98 uint32_t IpcCommon::GetAccessTokenId(IPCObjectStub &stub) in GetAccessTokenId()
126 uint32_t IpcCommon::GetTokenId(IPCObjectStub &stub) in GetTokenId()
138 bool IpcCommon::GetCallerName(IPCObjectStub &stub, bool &isBundleName, std::string &callerName) in GetCallerName()
/base/telephony/cellular_call/test/fuzztest/imscallback_fuzzer/
Dimscallback_fuzzer.cpp72 void TestImsCallCallbackFunction(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestImsCallCallbackFunction()
126 …id TestImsCallCallbackExFunction(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestImsCallCallbackExFunction()
164 …id TestImsConfigCallbackFunction(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestImsConfigCallbackFunction()
214 void TestImsUTCallbackFunction(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestImsUTCallbackFunction()
271 void TestUTCallbackFunction(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestUTCallbackFunction()
307 void TestCFCallbackFunction(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestCFCallbackFunction()
340 …CbWithCallMediaModeRequestReport(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestICCbWithCallMediaModeRequestReport()
354 …bWithCallMediaModeResponseReport(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestICCbWithCallMediaModeResponseReport()
368 …tICCbWithCallSessionEventChanged(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestICCbWithCallSessionEventChanged()
381 …estICCbWithPeerDimensionsChanged(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestICCbWithPeerDimensionsChanged()
[all …]
/base/hiviewdfx/faultloggerd/tools/crasher_cpp/faults/
Dipc_issues.cpp34 auto stub = new RemoteObjectInterfaceStub(); in SptrMismatch() local
75 auto stub = new RemoteObjectInterfaceStub(); in ParcelReadWriteMismatch() local
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/test/unittest/src/
Ddlp_sandbox_change_callback_stub_test.cpp68 auto stub = new (std::nothrow) DlpSandboxChangeCallbackTest(); variable
97 auto stub = new (std::nothrow) DlpSandboxChangeCallbackTest(); variable
128 auto stub = new (std::nothrow) DlpSandboxChangeCallbackTest(); variable
/base/powermgr/power_manager/services/zidl/src/shutdown/
Dshutdown_stub_delegator.h25 explicit ShutdownStubDelegator(IRemoteStub<IPowerMgr>& stub) : stub_(stub) {} in ShutdownStubDelegator()
/base/telephony/cellular_call/test/fuzztest/satellitecallback_fuzzer/
Dsatellitecallback_fuzzer.cpp55 void OnRemoteRequest(const uint8_t *data, size_t size, sptr<SatelliteCallCallbackStub> &stub) in OnRemoteRequest()
69 …elliteCallCallbackFunction(const uint8_t *data, size_t size, sptr<SatelliteCallCallbackStub> &stub) in TestSatelliteCallCallbackFunction()
120 … sptr<SatelliteCallCallbackStub> stub = (std::make_unique<SatelliteCallCallbackStub>()).release(); in DoSomethingInterestingWithMyAPI() local
/base/inputmethod/imf/test/fuzztest/agentstub_fuzzer/
Dagentstub_fuzzer.cpp52 sptr<InputMethodAgentStub> stub = new InputMethodAgentStub(); in FuzzAgentStub() local
/base/inputmethod/imf/test/fuzztest/corestub_fuzzer/
Dcorestub_fuzzer.cpp52 sptr<InputMethodCoreStub> stub = new InputMethodCoreStub(); in FuzzCoreStub() local
/base/account/os_account/frameworks/account_iam/test/unittest/src/
Daccount_iam_client_test.cpp594 sptr<IDMCallbackStub> stub = new (std::nothrow) IDMCallbackService(TEST_USER_ID, nullptr); variable
620 sptr<IDMCallbackStub> stub = new (std::nothrow) IDMCallbackService(TEST_USER_ID, nullptr); variable
640 sptr<GetCredInfoCallbackStub> stub = new (std::nothrow) GetCredInfoCallbackService(nullptr); variable
671 sptr<GetCredInfoCallbackStub> stub = new (std::nothrow) GetCredInfoCallbackService(nullptr); variable
691 sptr<GetSetPropCallbackStub> stub = new (std::nothrow) GetSetPropCallbackService(nullptr); variable
/base/telephony/cellular_call/test/unittest/satellitetest/
Dsatellite_callback_test.cpp84 … sptr<SatelliteCallCallbackStub> stub = (std::make_unique<SatelliteCallCallbackStub>()).release(); variable
/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/
Ddlp_credential_test.cpp113 sptr<IDlpPermissionCallback> stub = new (std::nothrow) DlpPermissionAsyncStubTest(); variable
Ddlp_permission_service_test.cpp593 sptr<DlpPermissionStub> stub = new (std::nothrow) DlpPermissionService(0, 0); variable
/base/security/device_security_level/interfaces/inner_api/src/standard/
Ddevice_security_info.cpp56 sptr<DeviceSecurityLevelCallbackStub> stub = nullptr; in RequestDeviceSecurityInfoAsyncImpl() local
Ddevice_security_level_callback_helper.cpp55 uint32_t keep, sptr<DeviceSecurityLevelCallbackStub> &stub, uint32_t &cookie) in Publish()
/base/security/asset/services/core_service/src/
Dlib.rs35 mod stub; module
/base/account/os_account/services/accountmgr/test/unittest/app_account/
Dapp_account_test.cpp125 …sptr<AppAccountAuthenticatorCallbackStub> stub = new (std::nothrow) AppAccountAuthenticatorCallbac… variable
/base/telephony/cellular_call/test/unittest/imstest/
Dims_callback_test.cpp196 sptr<ImsCallCallbackStub> stub = (std::make_unique<ImsCallCallbackStub>()).release(); variable