Home
last modified time | relevance | path

Searched refs:functions (Results 1 - 10 of 10) sorted by relevance

/base/security/huks/test/unittest/huks_standard_test/module_test/utils_test/src/
H A Dhks_condition_test.cpp293 void *(*functions[TEST_THREADS_COUNT])(void *) {}; in HWTEST_F() function
295 std::fill(std::begin(functions), std::end(functions), OnRemoteRequestTest); in HWTEST_F()
296 std::fill_n(std::begin(functions), TEST_ON_RECEIVE_EVENT_THREADS_COUNT, OnReceiveEventTest); in HWTEST_F()
297 functions[TEST_THREADS_COUNT - 1] = OnStartTest; in HWTEST_F()
301 std::shuffle(std::begin(functions), std::end(functions), g); in HWTEST_F()
305 EXPECT_EQ(pthread_create(&threads[i], nullptr, functions[i], condition), 0); in HWTEST_F()
/base/msdp/device_status/frameworks/js/napi/interaction/drag/src/
H A Djs_drag_context.cpp258 napi_property_descriptor functions[] = { in DeclareDragInterface() local
264 sizeof(functions) / sizeof(*functions), functions), DEFINE_PROPERTIES); in DeclareDragInterface()
/base/usb/usb_manager/interfaces/kits/js/napi/include/
H A Dusb_async_context.h75 int32_t functions; member
/base/msdp/device_status/frameworks/js/napi/interaction/cooperate/src/
H A Djs_cooperate_context.cpp393 napi_property_descriptor functions[] = { in DeclareDeviceCoordinationData() local
402 sizeof(functions) / sizeof(*functions), functions), DEFINE_PROPERTIES); in DeclareDeviceCoordinationData()
/base/usb/usb_manager/services/native/include/
H A Dusb_right_manager.h57 int32_t HasSetFuncRight(int32_t functions);
/base/msdp/device_status/frameworks/js/napi/interaction/coordination/src/
H A Djs_coordination_context.cpp656 napi_property_descriptor functions[] = { in DeclareDeviceCoordinationInterface() local
671 sizeof(functions) / sizeof(*functions), functions), DEFINE_PROPERTIES); in DeclareDeviceCoordinationInterface()
/base/usb/usb_manager/services/native/src/
H A Dusb_service.cpp530 int32_t UsbService::GetCurrentFunctions(int32_t &functions) in GetCurrentFunctions() argument
544 return usbd_->GetCurrentFunctions(functions); in GetCurrentFunctions()
549 int32_t UsbService::SetCurrentFunctions(int32_t functions) in SetCurrentFunctions() argument
551 USB_HILOGI(MODULE_USB_SERVICE, "func = %{public}d", functions); in SetCurrentFunctions()
557 int32_t ret = usbRightManager_->HasSetFuncRight(functions); in SetCurrentFunctions()
566 usbDeviceManager_->UpdateFunctions(functions); in SetCurrentFunctions()
573 return usbd_->SetCurrentFunctions(functions); in SetCurrentFunctions()
H A Dusb_right_manager.cpp472 int32_t UsbRightManager::HasSetFuncRight(int32_t functions) in HasSetFuncRight() argument
477 if (!(static_cast<uint32_t>(functions) & UsbSrvSupport::FUNCTION_HDC)) { in HasSetFuncRight()
/base/usb/usb_manager/services/zidl/src/
H A Dusb_srv_stub.cpp282 int32_t functions; in DoGetCurrentFunctions() local
283 int32_t ret = GetCurrentFunctions(functions); in DoGetCurrentFunctions()
288 WRITE_PARCEL_WITH_RET(reply, Int32, functions, UEC_SERVICE_WRITE_PARCEL_ERROR); in DoGetCurrentFunctions()
/base/usb/usb_manager/interfaces/kits/js/napi/src/
H A Dusb_info.cpp684 USB_HILOGI(MODULE_JS_NAPI, "usb functions from string failed ret = %{public}d", numFuncs); in CoreUsbFunctionsFromString()
717 int32_t ret = g_usbClient.SetCurrentFunctions(asyncContext->functions);
765 asyncContext->functions = funcs; in CoreSetCurrentFunctions()
789 USB_HILOGI(MODULE_JS_NAPI, "get current functions failed ret = %{public}d", ret); in CoreGetCurrentFunctions()

Completed in 15 milliseconds