/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/routers/ |
H A D | cockpit_phone_router.cpp | 78 if (latestConnDesc->getType() == DEVICE_TYPE_NONE) { in GetRingRenderDevices() 83 if (latestConnDesc->getType() == DEVICE_TYPE_WIRED_HEADSET || in GetRingRenderDevices() 84 latestConnDesc->getType() == DEVICE_TYPE_WIRED_HEADPHONES || in GetRingRenderDevices() 85 latestConnDesc->getType() == DEVICE_TYPE_BLUETOOTH_SCO || in GetRingRenderDevices() 86 latestConnDesc->getType() == DEVICE_TYPE_USB_HEADSET || in GetRingRenderDevices() 87 latestConnDesc->getType() == DEVICE_TYPE_USB_ARM_HEADSET) { in GetRingRenderDevices() 106 } else if (latestConnDesc->getType() != DEVICE_TYPE_NONE) { in GetRingRenderDevices()
|
H A D | privacy_priority_router.cpp | 95 if (latestConnDesc->getType() == DEVICE_TYPE_NONE) { in GetRingRenderDevices() 101 if (latestConnDesc->getType() == DEVICE_TYPE_WIRED_HEADSET || in GetRingRenderDevices() 102 latestConnDesc->getType() == DEVICE_TYPE_WIRED_HEADPHONES || in GetRingRenderDevices() 103 latestConnDesc->getType() == DEVICE_TYPE_BLUETOOTH_SCO || in GetRingRenderDevices() 104 latestConnDesc->getType() == DEVICE_TYPE_USB_HEADSET) { in GetRingRenderDevices() 123 } else if (latestConnDesc->getType() != DEVICE_TYPE_NONE) { in GetRingRenderDevices()
|
H A D | public_priority_router.cpp | 73 if (latestConnDesc->getType() == DEVICE_TYPE_NONE) { in GetRingRenderDevices() 79 if (latestConnDesc->getType() == DEVICE_TYPE_BLUETOOTH_SCO) { in GetRingRenderDevices() 98 } else if (latestConnDesc->getType() != DEVICE_TYPE_NONE) { in GetRingRenderDevices()
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/ |
H A D | audio_affinity_manager.cpp | 104 GetAffinityDeviceInfoByDeviceType(rendererAffinityDeviceArray_, desc->getType(), desc->networkId_); in AddSelectRendererDevice() 123 GetAffinityDeviceInfoByDeviceType(capturerAffinityDeviceArray_, desc->getType(), desc->networkId_); in AddSelectCapturerDevice() 140 DelActiveGroupAffinityMap(clientUID, item->second->getType(), item->second->networkId_, in DelSelectRendererDevice() 152 DelActiveGroupAffinityMap(clientUID, item->second->getType(), item->second->networkId_, in DelSelectCapturerDevice() 166 DelActiveGroupAffinityMap(item->first, item->second->getType(), item->second->networkId_, in RemoveOfflineRendererDevice() 183 DelActiveGroupAffinityMap(item->first, item->second->getType(), item->second->networkId_, in RemoveOfflineCapturerDevice()
|
H A D | audio_device_manager.cpp | 383 AUDIO_INFO_LOG("add type:id %{public}d:%{public}d", deviceDescriptor->getType(), audioId); in AddNewDevice() 418 devices.append(std::to_string(static_cast<uint32_t>(iter->getType()))); in GetConnDevicesStr() 420 if (iter->getType() == DEVICE_TYPE_BLUETOOTH_A2DP || in GetConnDevicesStr() 421 iter->getType() == DEVICE_TYPE_BLUETOOTH_SCO) { in GetConnDevicesStr() 450 AUDIO_INFO_LOG("remove type:id %{public}d:%{public}d ", devDesc->getType(), audioId); in RemoveNewDevice()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_napi_utils.cpp | 146 napi_valuetype ImageNapiUtils::getType(napi_env env, napi_value root) in getType() function in OHOS::Media::ImageNapiUtils 170 napi_valuetype argvType0 = ImageNapiUtils::getType(env, argv[PARAM0]); in ParseImageCreatorReceiverArgs() 176 napi_valuetype argvType1 = ImageNapiUtils::getType(env, argv[PARAM1]); in ParseImageCreatorReceiverArgs() 182 napi_valuetype argvType2 = ImageNapiUtils::getType(env, argv[PARAM2]); in ParseImageCreatorReceiverArgs() 191 napi_valuetype argvType = ImageNapiUtils::getType(env, argv[i]); in ParseImageCreatorReceiverArgs()
|
H A D | image_source_napi.cpp | 1249 auto inputType = ImageNapiUtils::getType(env, argValue); in CreateNativeImageSource() 1440 if (argCount == NUM_1 && ImageNapiUtils::getType(env, argValue[NUM_0]) == napi_function) { in GetImageInfo() 1441 IMAGE_LOGD("GetImageInfo arg0 getType is [%{public}u]", ImageNapiUtils::getType(env, argValue[NUM_0])); in GetImageInfo() 1443 } else if (argCount == NUM_1 && ImageNapiUtils::getType(env, argValue[NUM_0]) == napi_number) { in GetImageInfo() 1445 } else if (argCount == NUM_2 && ImageNapiUtils::getType(env, argValue[NUM_0]) == napi_number in GetImageInfo() 1446 && ImageNapiUtils::getType(env, argValue[NUM_1]) == napi_function) { in GetImageInfo() 1447 IMAGE_LOGD("GetImageInfo arg0 getType is [%{public}u]", ImageNapiUtils::getType(env, argValue[NUM_0])); in GetImageInfo() 1448 IMAGE_LOGD("GetImageInfo arg1 getType i in GetImageInfo() [all...] |
H A D | image_packer_napi.cpp | 656 auto formatType = ImageNapiUtils::getType(env, tmpValue); in parsePackOptions() 791 if (argc > PARAM1 && ImageNapiUtils::getType(env, argv[PARAM1]) == napi_object) { in ParserPackingArguments() 806 if (argc > PARAM2 && ImageNapiUtils::getType(env, argv[PARAM2]) == napi_function) { in ParserPackingArguments() 920 if (argCount == 1 && ImageNapiUtils::getType(env, argValue[NUM_0]) == napi_function) { in Release() 961 if (argc > PARAM1 && ImageNapiUtils::getType(env, argv[PARAM1]) == napi_number) { in ParserPackToFileArguments() 965 if (argc > PARAM2 && ImageNapiUtils::getType(env, argv[PARAM2]) == napi_object) { in ParserPackToFileArguments() 979 if (argc > PARAM3 && ImageNapiUtils::getType(env, argv[PARAM3]) == napi_function) { in ParserPackToFileArguments()
|
H A D | image_creator_napi.cpp | 285 auto argType = ImageNapiUtils::getType(args.env, ic.argv[PARAM0]); in PrepareOneArg() 600 auto argType0 = ImageNapiUtils::getType(env, argv[PARAM0]); in JsQueueArgs() 615 auto argType1 = ImageNapiUtils::getType(env, argv[PARAM1]); in JsQueueArgs() 749 auto argType0 = ImageNapiUtils::getType(args.env, ic.argv[PARAM0]); in JsOnQueryArgs() 750 auto argType1 = ImageNapiUtils::getType(args.env, ic.argv[PARAM1]); in JsOnQueryArgs() 902 auto argType = ImageNapiUtils::getType(args.env, ic.argv[PARAM0]); in JsOffOneArg()
|
H A D | pixel_map_napi.cpp | 1040 if (argCount == NUM_3 && ImageNapiUtils::getType(env, argValue[argCount - 1]) == napi_function) { in CreatePremultipliedPixelMap() 1092 if (argCount == NUM_3 && ImageNapiUtils::getType(env, argValue[argCount - 1]) == napi_function) { in CreateUnpremultipliedPixelMap() 1147 if (argCount == NUM_3 && ImageNapiUtils::getType(env, argValue[argCount - 1]) == napi_function) { in CreatePixelMap() 1343 if (argCount == NUM_3 && ImageNapiUtils::getType(env, argValue[argCount - 1]) == napi_function) { in CreatePixelMapFromSurface() 1519 if (argCount == NUM_3 && ImageNapiUtils::getType(env, argValue[argCount - 1]) == napi_function) { in Unmarshalling() 1698 if (argCount == NUM_2 && ImageNapiUtils::getType(env, argValue[argCount - 1]) == napi_function) { in ReadPixelsToBuffer() 1801 if (argCount == NUM_2 && ImageNapiUtils::getType(env, argValue[argCount - 1]) == napi_function) { in ReadPixels() 1898 if (argCount == NUM_2 && ImageNapiUtils::getType(env, argValue[argCount - 1]) == napi_function) { in WritePixels() 1996 if (argCount == NUM_2 && ImageNapiUtils::getType(env, argValue[argCount - 1]) == napi_function) { in WriteBufferToPixels() 2149 if (argCount == NUM_1 && ImageNapiUtils::getType(en in GetImageInfo() [all...] |
H A D | image_receiver_napi.cpp | 360 auto argType = ImageNapiUtils::getType(args.env, ic.argv[PARAM0]); in PrepareOneArg() 870 auto argType0 = ImageNapiUtils::getType(args.env, ic.argv[PARAM0]); in JsOnQueryArgs() 871 auto argType1 = ImageNapiUtils::getType(args.env, ic.argv[PARAM1]); in JsOnQueryArgs() 1029 auto argType = ImageNapiUtils::getType(args.env, ic.argv[PARAM0]); in JsOffOneArg()
|
H A D | metadata_napi.cpp | 447 if (ImageNapiUtils::getType(env, argValue[NUM_0]) == napi_object) { in UnwrapContext() 476 if (ImageNapiUtils::getType(env, argValue[NUM_0]) == napi_object) { in UnwrapContextForModify()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/ui_effect/src/ |
H A D | ui_effect_napi_utils.cpp | 25 napi_valuetype UIEffectNapiUtils::getType(napi_env env, napi_value root) in getType() function in OHOS::Rosen::UIEffectNapiUtils
|
H A D | filter_napi.cpp | 187 if (UIEffectNapiUtils::getType(env, argv[0]) == napi_number) { in SetBlur() 226 valueType = UIEffectNapiUtils::getType(env, param); in GetStretchPercent() 304 if (UIEffectNapiUtils::getType(env, argValue) == napi_number && in GetSpecialValue() 314 if (UIEffectNapiUtils::getType(env, argValue) == napi_number && in GetSpecialIntValue() 443 if (UIEffectNapiUtils::getType(env, argv[NUM_0]) == napi_number) { in SetDistort() 463 if (UIEffectNapiUtils::getType(env, argv) == napi_number) { in ParserArgumentType()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/ui_effect/include/ |
H A D | ui_effect_napi_utils.h | 48 static napi_valuetype getType(napi_env env, napi_value root);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_slider.cpp | 550 auto getType = jsObj->GetProperty("type"); in SetBlockStyle() local 551 if (getType->IsNull() || !getType->IsNumber()) { in SetBlockStyle() 555 auto type = static_cast<SliderModel::BlockStyleType>(getType->ToNumber<int32_t>()); in SetBlockStyle()
|
/foundation/communication/nfc/test/unittest/services/tags_test/ |
H A D | mifare_ultralight_tag_test.cpp | 136 MifareUltralightTag::EmType getType = mifareUltralight->GetType();
in HWTEST_F() local 137 ASSERT_TRUE(getType == MifareUltralightTag::TYPE_UNKNOWN);
in HWTEST_F()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/ |
H A D | sendable_image_source_napi.cpp | 606 auto inputType = ImageNapiUtils::getType(env, argValue);
in CreateNativeImageSource() 671 if (ImageNapiUtils::getType(env, argValue[NUM_0]) == napi_object) {
in CreatePixelMap() 677 if (ImageNapiUtils::getType(env, argValue[argCount - 1]) == napi_function) {
in CreatePixelMap() 898 if (argCount == 1 && ImageNapiUtils::getType(env, argValue[NUM_0]) == napi_function) {
in Release()
|
H A D | sendable_pixel_map_napi.cpp | 681 if (argCount == NUM_3 && ImageNapiUtils::getType(env, argValue[argCount - 1]) == napi_function) { in CreatePremultipliedSendablePixelMap() 733 if (argCount == NUM_3 && ImageNapiUtils::getType(env, argValue[argCount - 1]) == napi_function) { in CreateUnpremultipliedSendablePixelMap() 788 if (argCount == NUM_3 && ImageNapiUtils::getType(env, argValue[argCount - 1]) == napi_function) { in CreateSendablePixelMap() 1025 if (argCount == NUM_3 && ImageNapiUtils::getType(env, argValue[argCount - 1]) == napi_function) { in CreateSendablePixelMapFromSurface() 1133 if (argCount == NUM_3 && ImageNapiUtils::getType(env, argValue[argCount - 1]) == napi_function) { in Unmarshalling() 1308 if (argCount == NUM_2 && ImageNapiUtils::getType(env, argValue[argCount - 1]) == napi_function) { in ReadPixelsToBuffer() 1412 if (argCount == NUM_2 && ImageNapiUtils::getType(env, argValue[argCount - 1]) == napi_function) { in ReadPixels() 1511 if (argCount == NUM_2 && ImageNapiUtils::getType(env, argValue[argCount - 1]) == napi_function) { in WritePixels() 1612 if (argCount == NUM_2 && ImageNapiUtils::getType(env, argValue[argCount - 1]) == napi_function) { in WriteBufferToPixels() 1762 if (argCount == NUM_1 && ImageNapiUtils::getType(en in GetImageInfo() [all...] |
H A D | sendable_image_receiver_napi.cpp | 358 auto argType = ImageNapiUtils::getType(args.env, ic.argv[PARAM0]);
in PrepareOneArg() 868 auto argType0 = ImageNapiUtils::getType(args.env, ic.argv[PARAM0]);
869 auto argType1 = ImageNapiUtils::getType(args.env, ic.argv[PARAM1]);
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/include/ |
H A D | image_napi_utils.h | 149 static napi_valuetype getType(napi_env env, napi_value root);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_slider_bridge.cpp | 419 auto getType = jsObj->GetProperty("type");
in SetBlockStyle() local 420 if (getType->IsNull() || !getType->IsNumber()) {
in SetBlockStyle() 424 auto type = static_cast<SliderModel::BlockStyleType>(getType->ToNumber<int32_t>());
in SetBlockStyle()
|
/foundation/ability/ability_runtime/test/moduletest/panding_want_manager_test/ |
H A D | panding_want_manager_test.cpp | 362 auto getType = WantAgentHelper::GetType(wantAgent); in HWTEST_F() local 363 EXPECT_EQ(getType, WantAgentConstant::OperationType::START_ABILITY); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/ |
H A D | svg_dom.cpp | 165 if (dom.getType(xmlNode) == SkDOM::kText_Type) { in TranslateSvgNode()
|
/foundation/multimedia/audio_framework/services/audio_service/client/src/ |
H A D | audio_device_descriptor.cpp | 130 DeviceType AudioDeviceDescriptor::getType() in getType() function in OHOS::AudioStandard::AudioDeviceDescriptor
|