Home
last modified time | relevance | path

Searched refs:HasRight (Results 1 – 22 of 22) sorted by relevance

/base/usb/usb_manager/test/native/mock/src/
Dusb_core_mock_test.cpp414 bool result = usbSrv_->HasRight(deviceName);
428 bool result = usbSrv_->HasRight(deviceName);
436 result = usbSrv_->HasRight(deviceName);
450 bool result = usbSrv_->HasRight(deviceName);
457 result = usbSrv_->HasRight(deviceName);
471 bool result = usbSrv_->HasRight(deviceName);
479 result = usbSrv_->HasRight(deviceName);
502 bool result = usbSrv_->HasRight(deviceName);
519 bool result = usbSrv_->HasRight(deviceName);
527 result = usbSrv_->HasRight(deviceName);
/base/usb/usb_manager/test/fuzztest/usbmgrhasright_fuzzer/
Dusbmgrhasright_fuzzer.cpp39 if (usbSrvClient.HasRight(std::string(reinterpret_cast<const char*>(data)))) { in UsbMgrHasRightFuzzTest()
/base/usb/usb_manager/test/native/service_unittest/src/
Dusb_core_test.cpp507 bool result = UsbSrvClient.HasRight(deviceName);
525 bool result = UsbSrvClient.HasRight(deviceName);
531 result = UsbSrvClient.HasRight(deviceName);
549 bool result = UsbSrvClient.HasRight(deviceName);
556 result = UsbSrvClient.HasRight(deviceName);
574 bool result = UsbSrvClient.HasRight(deviceName);
580 result = UsbSrvClient.HasRight(deviceName);
604 bool result = UsbSrvClient.HasRight(deviceName);
624 bool result = UsbSrvClient.HasRight(deviceName);
630 result = UsbSrvClient.HasRight(deviceName);
/base/usb/usb_manager/test/fuzztest/usbmgrremoveright_fuzzer/
Dusbmgrremoveright_fuzzer.cpp39 if (!usbSrvClient.HasRight(devList[0].GetName())) { in UsbMgrRemoveRightFuzzTest()
/base/print/print_fwk/frameworks/innerkitsimpl/include/
Dprint_margin.h48 [[nodiscard]] bool HasRight() const;
/base/print/print_fwk/frameworks/helper/src/
Dprint_margin_helper.cpp42 if (margin.HasRight()) { in MakeJsObject()
/base/usb/usb_manager/services/native/include/
Dusb_right_manager.h38 bool HasRight(const std::string &deviceName, const std::string &bundleName);
Dusb_service.h69 bool HasRight(std::string deviceName) override;
/base/print/print_fwk/frameworks/innerkitsimpl/src/
Dprint_margin.cpp119 bool PrintMargin::HasRight() const in HasRight() function in OHOS::Print::PrintMargin
/base/usb/usb_manager/interfaces/innerkits/native/include/
Dusb_srv_client.h47 bool HasRight(std::string deviceName);
Diusb_srv.h30 virtual bool HasRight(std::string deviceName) = 0;
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
Dprinter_capability_test.cpp93 EXPECT_FALSE(copyMargin.HasRight());
Dprint_margin_test.cpp168 EXPECT_TRUE(margin.HasRight());
/base/usb/usb_manager/services/native/src/
Dusb_right_manager.cpp117 bool UsbRightManager::HasRight(const std::string &deviceName, const std::string &bundleName) in HasRight() function in OHOS::USB::UsbRightManager
141 if (HasRight(deviceName, bundleName)) { in RequestRight()
250 return HasRight(deviceName, bundleName); in GetUserAgreementByDiag()
Dusb_service.cpp271 if (!UsbService::HasRight(name)) { in OpenDevice()
303 bool UsbService::HasRight(std::string deviceName) in HasRight() function in OHOS::USB::UsbService
322 return usbRightManager_->HasRight(GetDeviceVidPidSerialNumber(deviceName), bundleName); in HasRight()
/base/usb/usb_manager/services/zidl/include/
Dusb_server_proxy.h37 bool HasRight(std::string deviceName) override;
/base/usb/usb_manager/interfaces/innerkits/native/src/
Dusb_srv_client.cpp100 bool UsbSrvClient::HasRight(std::string deviceName) in HasRight() function in OHOS::USB::UsbSrvClient
104 return proxy_->HasRight(deviceName); in HasRight()
/base/usb/usb_manager/
DREADME_zh.md55 | bool HasRight(std::string deviceName); | 判断设备是否有权限 |
DREADME.md61 | bool HasRight(std::string deviceName); …
/base/usb/usb_manager/services/zidl/src/
Dusb_srv_stub.cpp265 …WRITE_PARCEL_WITH_RET(reply, Bool, HasRight(Str16ToStr8(deviceName)), UEC_SERVICE_WRITE_PARCEL_ERR… in DoHasRight()
Dusb_srv_proxy.cpp321 bool UsbServerProxy::HasRight(std::string deviceName) in HasRight() function in OHOS::USB::UsbServerProxy
/base/usb/usb_manager/interfaces/kits/js/napi/src/
Dusb_info.cpp514 bool result = g_usbClient.HasRight(deviceName); in CoreHasRight()