/base/usb/usb_manager/test/native/mock/src/ |
D | usb_core_mock_test.cpp | 414 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/ |
D | usbmgrhasright_fuzzer.cpp | 39 if (usbSrvClient.HasRight(std::string(reinterpret_cast<const char*>(data)))) { in UsbMgrHasRightFuzzTest()
|
/base/usb/usb_manager/test/native/service_unittest/src/ |
D | usb_core_test.cpp | 507 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/ |
D | usbmgrremoveright_fuzzer.cpp | 39 if (!usbSrvClient.HasRight(devList[0].GetName())) { in UsbMgrRemoveRightFuzzTest()
|
/base/print/print_fwk/frameworks/innerkitsimpl/include/ |
D | print_margin.h | 48 [[nodiscard]] bool HasRight() const;
|
/base/print/print_fwk/frameworks/helper/src/ |
D | print_margin_helper.cpp | 42 if (margin.HasRight()) { in MakeJsObject()
|
/base/usb/usb_manager/services/native/include/ |
D | usb_right_manager.h | 38 bool HasRight(const std::string &deviceName, const std::string &bundleName);
|
D | usb_service.h | 69 bool HasRight(std::string deviceName) override;
|
/base/print/print_fwk/frameworks/innerkitsimpl/src/ |
D | print_margin.cpp | 119 bool PrintMargin::HasRight() const in HasRight() function in OHOS::Print::PrintMargin
|
/base/usb/usb_manager/interfaces/innerkits/native/include/ |
D | usb_srv_client.h | 47 bool HasRight(std::string deviceName);
|
D | iusb_srv.h | 30 virtual bool HasRight(std::string deviceName) = 0;
|
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/ |
D | printer_capability_test.cpp | 93 EXPECT_FALSE(copyMargin.HasRight());
|
D | print_margin_test.cpp | 168 EXPECT_TRUE(margin.HasRight());
|
/base/usb/usb_manager/services/native/src/ |
D | usb_right_manager.cpp | 117 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()
|
D | usb_service.cpp | 271 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/ |
D | usb_server_proxy.h | 37 bool HasRight(std::string deviceName) override;
|
/base/usb/usb_manager/interfaces/innerkits/native/src/ |
D | usb_srv_client.cpp | 100 bool UsbSrvClient::HasRight(std::string deviceName) in HasRight() function in OHOS::USB::UsbSrvClient 104 return proxy_->HasRight(deviceName); in HasRight()
|
/base/usb/usb_manager/ |
D | README_zh.md | 55 | bool HasRight(std::string deviceName); | 判断设备是否有权限 |
|
D | README.md | 61 | bool HasRight(std::string deviceName); …
|
/base/usb/usb_manager/services/zidl/src/ |
D | usb_srv_stub.cpp | 265 …WRITE_PARCEL_WITH_RET(reply, Bool, HasRight(Str16ToStr8(deviceName)), UEC_SERVICE_WRITE_PARCEL_ERR… in DoHasRight()
|
D | usb_srv_proxy.cpp | 321 bool UsbServerProxy::HasRight(std::string deviceName) in HasRight() function in OHOS::USB::UsbServerProxy
|
/base/usb/usb_manager/interfaces/kits/js/napi/src/ |
D | usb_info.cpp | 514 bool result = g_usbClient.HasRight(deviceName); in CoreHasRight()
|