Home
last modified time | relevance | path

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

12

/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
99 auto stub = std::make_shared<MockPrintService>(); variable
126 auto stub = std::make_shared<MockPrintService>(); variable
157 auto stub = std::make_shared<MockPrintService>(); variable
191 auto stub = std::make_shared<MockPrintService>(); variable
215 auto stub = std::make_shared<MockPrintService>(); variable
239 auto stub = std::make_shared<MockPrintService>(); variable
263 auto stub = std::make_shared<MockPrintService>(); variable
289 auto stub = std::make_shared<MockPrintService>(); variable
[all …]
/base/useriam/user_auth_framework/test/unittest/services/mocks/
Dmock_ipc_common.cpp37 int32_t IpcCommon::GetCallingUserId(IPCObjectStub &stub, int32_t &userId) in GetCallingUserId()
98 bool IpcCommon::CheckPermission(IPCObjectStub &stub, Permission permission) in CheckPermission()
103 uint32_t IpcCommon::GetAccessTokenId(IPCObjectStub &stub) in GetAccessTokenId()
131 uint32_t IpcCommon::GetTokenId(IPCObjectStub &stub) in GetTokenId()
143 bool IpcCommon::GetCallerName(IPCObjectStub &stub, std::string &callerName, int32_t &callerType) in GetCallerName()
150 bool IpcCommon::GetCallingAppID(IPCObjectStub &stub, std::string &callingAppID) in GetCallingAppID()
/base/useriam/user_auth_framework/test/fuzztest/dummy/
Dmock_ipc_common.cpp37 int32_t IpcCommon::GetCallingUserId(IPCObjectStub &stub, int32_t &userId) in GetCallingUserId()
98 bool IpcCommon::CheckPermission(IPCObjectStub &stub, Permission permission) in CheckPermission()
103 uint32_t IpcCommon::GetAccessTokenId(IPCObjectStub &stub) in GetAccessTokenId()
131 uint32_t IpcCommon::GetTokenId(IPCObjectStub &stub) in GetTokenId()
143 bool IpcCommon::GetCallerName(IPCObjectStub &stub, std::string &callerName, int32_t &callerType) in GetCallerName()
150 bool IpcCommon::GetCallingAppID(IPCObjectStub &stub, std::string &callingAppID) in GetCallingAppID()
/base/useriam/user_auth_framework/services/core/src/
Dipc_common.cpp58 int32_t IpcCommon::GetCallingUserId(IPCObjectStub &stub, int32_t &userId) in GetCallingUserId()
179 bool IpcCommon::CheckPermission(IPCObjectStub &stub, Permission permission) in CheckPermission()
208 uint32_t IpcCommon::GetAccessTokenId(IPCObjectStub &stub) in GetAccessTokenId()
219 uint32_t IpcCommon::GetTokenId(IPCObjectStub &stub) in GetTokenId()
246 bool IpcCommon::CheckNativeCallingProcessWhiteList(IPCObjectStub &stub, Permission permission) in CheckNativeCallingProcessWhiteList()
274 bool IpcCommon::CheckDirectCallerAndFirstCallerIfSet(IPCObjectStub &stub, const std::string &permis… in CheckDirectCallerAndFirstCallerIfSet()
287 bool IpcCommon::CheckDirectCaller(IPCObjectStub &stub, const std::string &permission) in CheckDirectCaller()
298 bool IpcCommon::CheckCallerIsSystemApp(IPCObjectStub &stub) in CheckCallerIsSystemApp()
312 bool IpcCommon::GetCallerName(IPCObjectStub &stub, std::string &callerName, int32_t &callerType) in GetCallerName()
342 bool IpcCommon::GetCallingAppID(IPCObjectStub &stub, std::string &callingAppID) in GetCallingAppID()
/base/telephony/cellular_call/test/fuzztest/imscallback_fuzzer/
Dimscallback_fuzzer.cpp71 void TestImsCallCallbackFunction(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestImsCallCallbackFunction()
125 …id TestImsCallCallbackExFunction(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestImsCallCallbackExFunction()
163 …id TestImsConfigCallbackFunction(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestImsConfigCallbackFunction()
213 void TestImsUTCallbackFunction(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestImsUTCallbackFunction()
270 void TestUTCallbackFunction(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestUTCallbackFunction()
306 void TestCFCallbackFunction(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestCFCallbackFunction()
339 …CbWithCallMediaModeRequestReport(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestICCbWithCallMediaModeRequestReport()
353 …bWithCallMediaModeResponseReport(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestICCbWithCallMediaModeResponseReport()
367 …tICCbWithCallSessionEventChanged(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestICCbWithCallSessionEventChanged()
380 …estICCbWithPeerDimensionsChanged(const uint8_t *data, size_t size, sptr<ImsCallCallbackStub> &stub) in TestICCbWithPeerDimensionsChanged()
[all …]
/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/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/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/powermgr/power_manager/services/zidl/src/shutdown/
Dshutdown_stub_delegator.h25 explicit ShutdownStubDelegator(IRemoteStub<IPowerMgr>& stub) : stub_(stub) {} in ShutdownStubDelegator()
/base/startup/appspawn/test/unittest/app_spawn_standard_test/
Dapp_spawn_sandbox_new_test.cpp299 StubNode *stub = GetStubNode(STUB_MOUNT); in TearDownTestCase() local
1158 StubNode *stub = GetStubNode(STUB_MOUNT); variable
1211 StubNode *stub = GetStubNode(STUB_MOUNT); variable
1263 StubNode *stub = GetStubNode(STUB_MOUNT); variable
1323 StubNode *stub = GetStubNode(STUB_MOUNT); variable
1374 StubNode *stub = GetStubNode(STUB_MOUNT); variable
1426 StubNode *stub = GetStubNode(STUB_MOUNT); variable
1484 StubNode *stub = GetStubNode(STUB_MOUNT); variable
1541 StubNode *stub = GetStubNode(STUB_MOUNT); variable
1594 StubNode *stub = GetStubNode(STUB_MOUNT); variable
[all …]
Dapp_spawn_cold_run_test.cpp48 StubNode *stub = GetStubNode(STUB_MOUNT); in TearDownTestCase() local
/base/inputmethod/imf/test/fuzztest/corestub_fuzzer/
Dcorestub_fuzzer.cpp51 sptr<InputMethodCoreStub> stub = new InputMethodCoreStub(); in FuzzCoreStub() local
/base/inputmethod/imf/test/fuzztest/agentstub_fuzzer/
Dagentstub_fuzzer.cpp51 sptr<InputMethodAgentStub> stub = new InputMethodAgentStub(); in FuzzAgentStub() local
/base/telephony/cellular_call/test/unittest/satellitetest/
Dsatellite_callback_test.cpp141 … sptr<SatelliteCallCallbackStub> stub = (std::make_unique<SatelliteCallCallbackStub>()).release(); variable
196 … sptr<SatelliteCallCallbackStub> stub = (std::make_unique<SatelliteCallCallbackStub>()).release(); variable
/base/inputmethod/imf/test/fuzztest/keyeventconsumer_fuzzer/
Dkeyeventconsumer_fuzzer.cpp53 sptr <KeyEventConsumerStub> stub = new KeyEventConsumerStub( in FuzzKeyEventConsumerStub() local
/base/hiviewdfx/hidumper/test/unittest/common/
Dhidumper_cpu_zidl_test.cpp71 DumpBrokerCpuStub* stub = new(std::nothrow) TestDumpBrokerCpuStub(); variable
Dhidumper_zidl_test.cpp74 DumpBrokerStub* stub = new(std::nothrow) TestDumpBrokerStub(); variable
/base/inputmethod/imf/test/fuzztest/systemcmdchannelstub_fuzzer/
Dsystemcmdchannelstub_fuzzer.cpp64 sptr <SystemCmdChannelStub> stub = new SystemCmdChannelStub(); in FuzzSystemCmdChannelStub() local
/base/inputmethod/imf/test/fuzztest/imesystemchannel_fuzzer/
Dimesystemchannel_fuzzer.cpp59 sptr<SystemCmdChannelStub> stub = new SystemCmdChannelStub(); in FuzzOnSystemCmdAgent() local
/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/
Ddlp_credential_test.cpp120 sptr<IDlpPermissionCallback> stub = new (std::nothrow) DlpPermissionAsyncStubTest(); variable
/base/account/os_account/frameworks/account_iam/test/unittest/src/
Daccount_iam_client_test.cpp722 sptr<IDMCallbackStub> stub = new (std::nothrow) IDMCallbackService(TEST_USER_ID, nullptr); variable
748 sptr<IDMCallbackStub> stub = new (std::nothrow) IDMCallbackService(TEST_USER_ID, nullptr); variable
768 sptr<GetCredInfoCallbackStub> stub = new (std::nothrow) GetCredInfoCallbackService(nullptr); variable
799 sptr<GetCredInfoCallbackStub> stub = new (std::nothrow) GetCredInfoCallbackService(nullptr); variable
819 sptr<GetSetPropCallbackStub> stub = new (std::nothrow) GetSetPropCallbackService(nullptr); 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/request/request/services/src/
Dability.rs109 let stub = RequestServiceStub::new( in init() localVariable
/base/security/security_guard/interfaces/inner_api/classify/src/
Dsg_classify_client.cpp54 …sptr<RiskAnalysisManagerCallbackService> stub = new (std::nothrow) RiskAnalysisManagerCallbackServ… in RequestSecurityModelResult() local

12