/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/ |
H A D | bus_center_heartbeat_sdk_test.cpp | 92 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 D | shift_lnn_gear_demo.c | 40 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 D | shift_lnn_gear_device_service_fuzzer.cpp | 32 DeviceManagerService::GetInstance().ShiftLNNGear(pkgName, callerId, isRefresh, false); in ShiftLNNGearDeviceServiceFuzzTest()
|
/foundation/communication/dsoftbus/tests/sdk/bus_center/fuzztest/shiftlnngear_fuzzer/ |
H A D | shiftlnngear_fuzzer.cpp | 84 ShiftLNNGear(TEST_PKG_NAME1, callerId, networkId, &g_mode); in DoSomethingInterestingWithMyAPI()
|
/foundation/communication/dsoftbus/core/frame/standard/init/src/ |
H A D | if_softbus_server.cpp | 93 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 D | softbus_server.cpp | 298 int32_t SoftBusServer::ShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId, in ShiftLNNGear() function in OHOS::SoftBusServer
|
H A D | softbus_server_stub.cpp | 1573 int32_t retReply = ShiftLNNGear(pkgName, callerId, targetNetworkId, mode); in ShiftLNNGearInner()
|
/foundation/communication/dsoftbus/sdk/bus_center/ipc/standard/include/ |
H A D | bus_center_server_proxy_standard.h | 66 int32_t ShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId,
|
/foundation/communication/dsoftbus/core/frame/standard/init/include/ |
H A D | softbus_server.h | 69 int32_t ShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId,
|
H A D | if_softbus_server.h | 70 virtual int32_t ShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId,
|
/foundation/distributedhardware/device_manager/services/service/include/softbus/ |
H A D | softbus_listener.h | 81 int32_t ShiftLNNGear(bool isWakeUp, const std::string &callerId);
|
/foundation/communication/dsoftbus/interfaces/kits/bus_center/ |
H A D | softbus_bus_center.h | 920 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 D | bus_center_server_proxy.cpp | 302 int32_t ret = g_serverProxy->ShiftLNNGear(pkgName, callerId, targetNetworkId, mode); in ServerIpcShiftLNNGear() 304 LNN_LOGE(LNN_EVENT, "ShiftLNNGear failed"); in ServerIpcShiftLNNGear()
|
H A D | bus_center_server_proxy_standard.cpp | 973 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 D | UTTest_softbus_listener.cpp | 123 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 D | UTTest_device_manager_service.cpp | 414 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 D | device_manager.h | 608 virtual int32_t ShiftLNNGear(const std::string &pkgName) = 0;
|
H A D | device_manager_impl.h | 387 virtual int32_t ShiftLNNGear(const std::string &pkgName) override;
|
/foundation/distributedhardware/device_manager/services/service/include/ |
H A D | device_manager_service.h | 69 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 D | softbus_listener.cpp | 691 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 D | client_bus_center.c | 544 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 D | device_manager_service.cpp | 283 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 D | ipc_cmd_parser.cpp | 385 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 D | device_manager_impl.cpp | 2294 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()
|