Home
last modified time | relevance | path

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

12

/ohos5.0/base/usb/usb_manager/test/native/mock/src/
H A 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);
/ohos5.0/base/usb/usb_manager/test/native/service_unittest/src/
H A Dusb_request_test.cpp1566 bool result = UsbSrvClient.HasRight(deviceName);
1589 bool result = UsbSrvClient.HasRight(deviceName);
1595 result = UsbSrvClient.HasRight(deviceName);
1618 bool result = UsbSrvClient.HasRight(deviceName);
1625 result = UsbSrvClient.HasRight(deviceName);
1654 result = UsbSrvClient.HasRight(deviceName);
1681 result = UsbSrvClient.HasRight(deviceName);
1718 result = UsbSrvClient.HasRight(deviceName);
1726 result = UsbSrvClient.HasRight(deviceName);
1795 result = UsbSrvClient.HasRight(deviceName);
[all …]
/ohos5.0/base/usb/usb_manager/test/fuzztest/usbmgrhasright_fuzzer/
H A Dusbmgrhasright_fuzzer.cpp39 if (usbSrvClient.HasRight(std::string(reinterpret_cast<const char*>(data)))) { in UsbMgrHasRightFuzzTest()
/ohos5.0/base/usb/usb_manager/test/fuzztest/usbmgrremoveright_fuzzer/
H A Dusbmgrremoveright_fuzzer.cpp39 if (!usbSrvClient.HasRight(devList[0].GetName())) { in UsbMgrRemoveRightFuzzTest()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Dposition_layout_utils.h33 } else if (selfNode->HasRight()) { in GetAbsoluteOffset()
H A Drender_component.h183 virtual bool HasRight() const in HasRight() function
/ohos5.0/base/print/print_fwk/frameworks/models/print_models/include/
H A Dprint_margin.h48 [[nodiscard]] bool HasRight() const;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/positioned/
H A Drender_positioned.h74 bool HasRight() const override in HasRight() function
H A Drender_positioned.cpp35 hasRight_ = positioned->HasRight(); in Update()
H A Dpositioned_component.h139 bool HasRight() const override in HasRight() function
/ohos5.0/base/usb/usb_manager/services/native/src/
H A Dusb_right_manager.cpp131 bool UsbRightManager::HasRight(const std::string &deviceName, const std::string &bundleName, in HasRight() function in OHOS::USB::UsbRightManager
157 if (HasRight(deviceName, bundleName, tokenId, userId)) { in RequestRight()
173 if (HasRight(seriaValue, bundleName, tokenId, userId)) { in RequestRight()
423 return HasRight(deviceName, bundleName, tokenId, userId); in GetUserAgreementByDiag()
436 return HasRight(seriaValue, bundleName, tokenId, userId); in GetUserAgreementByDiag()
H A Dusb_service.cpp354 if (!UsbService::HasRight(name)) { in CheckDevicePermission()
361 bool UsbService::HasRight(std::string deviceName) in HasRight() function in OHOS::USB::UsbService
389 if (usbRightManager_->HasRight(deviceVidPidSerialNum, bundleName, tokenId, userId)) { in HasRight()
393 return usbRightManager_->HasRight(deviceVidPidSerialNum, bundleName, USB_DEFAULT_TOKEN, userId); in HasRight()
2268 result = usbRightManager_->HasRight(serialNum, bundleName, tokenId, userId); in HasAccessoryRight()
/ohos5.0/base/print/print_fwk/frameworks/helper/print_helper/src/
H A Dprint_margin_helper.cpp42 if (margin.HasRight()) { in MakeJsObject()
/ohos5.0/base/print/print_fwk/frameworks/models/print_models/src/
H A Dprint_margin.cpp119 bool PrintMargin::HasRight() const in HasRight() function in OHOS::Print::PrintMargin
H A Dprint_utils.cpp280 if (marginAttr.HasRight()) { in ParseAttributesObjectParamForJson()
/ohos5.0/base/usb/usb_manager/services/native/include/
H A Dusb_right_manager.h39 bool HasRight(const std::string &deviceName, const std::string &bundleName,
/ohos5.0/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
H A Dprinter_capability_test.cpp81 EXPECT_FALSE(copyMargin.HasRight());
H A Dprint_margin_test.cpp155 EXPECT_TRUE(margin.HasRight());
/ohos5.0/base/usb/usb_manager/interfaces/innerkits/native/include/
H A Dusb_srv_client.h47 bool HasRight(std::string deviceName);
H A Diusb_srv.h32 virtual bool HasRight(std::string deviceName) = 0;
/ohos5.0/base/usb/usb_manager/
H A DREADME_zh.md55 | bool HasRight(std::string deviceName); | 判断设备是否有权限 |
/ohos5.0/base/usb/usb_manager/interfaces/innerkits/native/src/
H A Dusb_srv_client.cpp124 bool UsbSrvClient::HasRight(std::string deviceName) in HasRight() function in OHOS::USB::UsbSrvClient
128 return proxy_->HasRight(deviceName); in HasRight()
/ohos5.0/base/usb/usb_manager/services/zidl/include/
H A Dusb_server_proxy.h38 bool HasRight(std::string deviceName) override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/stack/
H A Drender_stack.cpp257 } else if (item->HasRight()) { in GetPositionedChildOffset()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_node.cpp2045 compositeComponent->SetHasRight(declaration_->HasRight()); in UpdatePositionProps()
2054 if (declaration_->HasRight()) { in UpdatePositionProps()
2080 tweenComponent->SetHasRight(declaration_->HasRight()); in UpdateTweenPosition()
2091 if (declaration_->HasRight()) { in UpdateTweenPosition()
2121 positionComponent_->SetHasRight(declaration_->HasRight()); in UpdatePositionComponent()

12