Home
last modified time | relevance | path

Searched refs:g_pkgName2 (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/manager/
H A Dclient_trans_session_impl_test.cpp38 std::string g_pkgName2 = "ohos.security.distributed_permission"; variable
107 ret = testSessionServiceImpl.CreateSessionServer(g_pkgName2, g_sessionName1, listern);
110 ret = testSessionServiceImpl.CreateSessionServer(g_pkgName2, g_sessionName2, nullptr);
116 ret = testSessionServiceImpl.CreateSessionServer(g_pkgName2, g_sessionName2, listern);
119 ret = testSessionServiceImpl.RemoveSessionServer(g_pkgName2, g_sessionName2);
154 ret = testSessionServiceImpl.GrantPermission(uid, pid, g_pkgName2);
172 ret = testSessionServiceImpl.RemoveSessionServer(g_pkgName2, g_sessionName1);
215 int ret = testSessionServiceImpl.CreateSessionServer(g_pkgName2, g_sessionName2, listern);
/ohos5.0/foundation/communication/dsoftbus/tests/core/discovery/ipc/
H A Ddisc_client_on_device_found_test.cpp43 const std::string g_pkgName2 = "pkgName2"; variable
203 EXPECT_CALL(mock, LnnStartDiscDevice(EqStr(g_pkgName2),
205 ret = LnnIpcRefreshLNN(g_pkgName2.c_str(), g_callingPid2, &g_subscribeInfoOsd);
244 …EXPECT_CALL(mock, LnnStopDiscDevice(EqStr(g_pkgName2), g_subscribeInfoOsd.subscribeId, _)).Times(1…
245 … ret = LnnIpcStopRefreshLNN(g_pkgName2.c_str(), g_callingPid2, g_subscribeInfoOsd.subscribeId);
276 ret = mock.CallbackOnServerDeviceFound(g_pkgName2.c_str(), &g_deviceInfoCast, &g_additions);
420 ret = LnnIpcRefreshLNN(g_pkgName2.c_str(), g_callingPid1, &g_subscribeInfoOsd);
430 …EXPECT_CALL(mock, ClientOnRefreshDeviceFound(EqStr(g_pkgName2), g_callingPid1, NotNull(), Ge(1))).…
431 ret = mock.CallbackOnServerDeviceFound(g_pkgName2.c_str(), &g_deviceInfoOsd, &g_additions);
434 ret = LnnIpcStopRefreshLNN(g_pkgName2.c_str(), g_callingPid1, g_subscribeInfoOsd.subscribeId);
[all …]