Home
last modified time | relevance | path

Searched refs:ShiftLNNGear (Results 1 - 24 of 24) sorted by relevance

/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/
H A Dbus_center_heartbeat_sdk_test.cpp92 int32_t ret = ShiftLNNGear(TEST_PKG_NAME1, callerId1, NULL, &mode1); in HWTEST_F()
94 EXPECT_EQ(ShiftLNNGear(TEST_PKG_NAME1, callerId1, networkId1, &mode1), SOFTBUS_INVALID_PARAM); in HWTEST_F()
95 EXPECT_EQ(ShiftLNNGear(TEST_PKG_NAME1, callerId1, networkId2, &mode1), SOFTBUS_INVALID_PARAM); in HWTEST_F()
96 EXPECT_EQ(ShiftLNNGear(TEST_PKG_NAME1, callerId1, NULL, &mode1), SOFTBUS_OK); in HWTEST_F()
97 EXPECT_EQ(ShiftLNNGear(TEST_PKG_NAME2, callerId1, NULL, &mode1), SOFTBUS_OK); in HWTEST_F()
98 EXPECT_EQ(ShiftLNNGear(NULL, callerId1, NULL, &mode1), SOFTBUS_INVALID_PARAM); in HWTEST_F()
99 EXPECT_EQ(ShiftLNNGear(TEST_PKG_NAME1, callerId1, NULL, NULL), SOFTBUS_INVALID_PARAM); in HWTEST_F()
101 EXPECT_EQ(ShiftLNNGear(TEST_PKG_NAME1, callerId1, NULL, &mode2), SOFTBUS_OK); in HWTEST_F()
102 EXPECT_EQ(ShiftLNNGear(TEST_PKG_NAME1, callerId2, NULL, &mode2), SOFTBUS_OK); in HWTEST_F()
103 EXPECT_EQ(ShiftLNNGear(TEST_PKG_NAME in HWTEST_F()
[all...]
/foundation/communication/dsoftbus/tests/sdk/bus_center/demo/bus_center/
H A Dshift_lnn_gear_demo.c40 if (ShiftLNNGear(pkgName, callerId, networkId, &mode) != 0) { in main()
41 printf("[demo]ShiftLNNGear fail"); in main()
/foundation/distributedhardware/device_manager/test/servicesfuzztest/shiftlnngeardeviceservice_fuzzer/
H A Dshift_lnn_gear_device_service_fuzzer.cpp32 DeviceManagerService::GetInstance().ShiftLNNGear(pkgName, callerId, isRefresh, false); in ShiftLNNGearDeviceServiceFuzzTest()
/foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/shiftlnngear_fuzzer/
H A Dshiftlnngear_fuzzer.cpp84 ShiftLNNGear(TEST_PKG_NAME1, callerId, networkId, &g_mode); in DoSomethingInterestingWithMyAPI()
/foundation/communication/dsoftbus/core/frame/standard/init/src/
H A Dif_softbus_server.cpp93 int32_t ISoftBusServer::ShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId, in ShiftLNNGear() function in OHOS::ISoftBusServer
100 COMM_LOGE(COMM_SVC, "ShiftLNNGear ipc default impl"); in ShiftLNNGear()
H A Dsoftbus_server.cpp298 int32_t SoftBusServer::ShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId, in ShiftLNNGear() function in OHOS::SoftBusServer
H A Dsoftbus_server_stub.cpp1573 int32_t retReply = ShiftLNNGear(pkgName, callerId, targetNetworkId, mode); in ShiftLNNGearInner()
/foundation/communication/dsoftbus/sdk/bus_center/ipc/standard/include/
H A Dbus_center_server_proxy_standard.h66 int32_t ShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId,
/foundation/communication/dsoftbus/core/frame/standard/init/include/
H A Dsoftbus_server.h69 int32_t ShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId,
H A Dif_softbus_server.h70 virtual int32_t ShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId,
/foundation/distributedhardware/device_manager/services/service/include/softbus/
H A Dsoftbus_listener.h81 int32_t ShiftLNNGear(bool isWakeUp, const std::string &callerId);
/foundation/communication/dsoftbus/interfaces/kits/bus_center/
H A Dsoftbus_bus_center.h920 int32_t ShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId, const GearMode *mode);
/foundation/communication/dsoftbus/sdk/bus_center/ipc/standard/src/
H A Dbus_center_server_proxy.cpp302 int32_t ret = g_serverProxy->ShiftLNNGear(pkgName, callerId, targetNetworkId, mode); in ServerIpcShiftLNNGear()
304 LNN_LOGE(LNN_EVENT, "ShiftLNNGear failed"); in ServerIpcShiftLNNGear()
H A Dbus_center_server_proxy_standard.cpp973 int32_t BusCenterServerProxy::ShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId, in ShiftLNNGear() function in OHOS::BusCenterServerProxy
/foundation/distributedhardware/device_manager/test/softbusunittest/
H A DUTTest_softbus_listener.cpp123 EXPECT_NE(softbusListener->ShiftLNNGear(false, callerId), DM_OK); in HWTEST_F()
132 EXPECT_EQ(softbusListener->ShiftLNNGear(false, callerId), ERR_DM_INPUT_PARA_INVALID); in HWTEST_F()
/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_device_manager_service.cpp414 int ret = DeviceManagerService::GetInstance().ShiftLNNGear(pkgName, callerId, isRefresh, false); in HWTEST_F()
430 int ret = DeviceManagerService::GetInstance().ShiftLNNGear(pkgName, callerId, isRefresh, false); in HWTEST_F()
462 int ret = DeviceManagerService::GetInstance().ShiftLNNGear(pkgName, callerId, isRefresh, false); in HWTEST_F()
494 int ret = DeviceManagerService::GetInstance().ShiftLNNGear(pkgName, callerId, isRefresh, false); in HWTEST_F()
509 int ret = DeviceManagerService::GetInstance().ShiftLNNGear(pkgName, callerId, isRefresh, false); in HWTEST_F()
525 int ret = DeviceManagerService::GetInstance().ShiftLNNGear(pkgName, callerId, isRefresh, false); in HWTEST_F()
541 int ret = DeviceManagerService::GetInstance().ShiftLNNGear(pkgName, callerId, isRefresh, false); in HWTEST_F()
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/include/
H A Ddevice_manager.h608 virtual int32_t ShiftLNNGear(const std::string &pkgName) = 0;
H A Ddevice_manager_impl.h387 virtual int32_t ShiftLNNGear(const std::string &pkgName) override;
/foundation/distributedhardware/device_manager/services/service/include/
H A Ddevice_manager_service.h69 int32_t ShiftLNNGear(const std::string &pkgName, const std::string &callerId, bool isRefresh, bool isWakeUp);
/foundation/distributedhardware/device_manager/services/service/src/softbus/
H A Dsoftbus_listener.cpp691 int32_t SoftbusListener::ShiftLNNGear(bool isWakeUp, const std::string &callerId) in ShiftLNNGear() function in OHOS::DistributedHardware::SoftbusListener
703 int32_t ret = ::ShiftLNNGear(DM_PKG_NAME, callerId.c_str(), nullptr, &mode); in ShiftLNNGear()
705 LOGE("[SOFTBUS]ShiftLNNGear error, failed ret: %{public}d", ret); in ShiftLNNGear()
/foundation/communication/dsoftbus/sdk/bus_center/service/src/
H A Dclient_bus_center.c544 int32_t ShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId, const GearMode *mode) in ShiftLNNGear() function
/foundation/distributedhardware/device_manager/services/service/src/
H A Ddevice_manager_service.cpp283 int32_t DeviceManagerService::ShiftLNNGear(const std::string &pkgName, const std::string &callerId, bool isRefresh, in ShiftLNNGear() function in OHOS::DistributedHardware::DeviceManagerService
289 LOGE("The caller does not have permission to call ShiftLNNGear, pkgName = %{public}s", pkgName.c_str()); in ShiftLNNGear()
298 int32_t ret = softbusListener_->ShiftLNNGear(isWakeUp, callerId); in ShiftLNNGear()
300 LOGE("ShiftLNNGear error, failed ret: %{public}d", ret); in ShiftLNNGear()
/foundation/distributedhardware/device_manager/services/service/src/ipc/standard/
H A Dipc_cmd_parser.cpp385 DeviceManagerService::GetInstance().ShiftLNNGear(pkgName, pkgName, isRefresh, false); in ON_IPC_CMD()
1441 int32_t result = DeviceManagerService::GetInstance().ShiftLNNGear(pkgName, pkgName, true, true); in ON_IPC_CMD()
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/
H A Ddevice_manager_impl.cpp2294 int32_t DeviceManagerImpl::ShiftLNNGear(const std::string &pkgName) in ShiftLNNGear() function in OHOS::DistributedHardware::DeviceManagerImpl
2302 DmRadarHelper::GetInstance().ReportDmBehavior(pkgName, "ShiftLNNGear", ret); in ShiftLNNGear()
2303 LOGE("ShiftLNNGear error: Send Request failed ret: %{public}d", ret); in ShiftLNNGear()
2308 DmRadarHelper::GetInstance().ReportDmBehavior(pkgName, "ShiftLNNGear", ret); in ShiftLNNGear()
2309 LOGE("ShiftLNNGear error: Failed with ret %{public}d", ret); in ShiftLNNGear()
2313 DmRadarHelper::GetInstance().ReportDmBehavior(pkgName, "ShiftLNNGear", DM_OK); in ShiftLNNGear()

Completed in 29 milliseconds