/test/xts/hats/hdf/audio/client_advance/common/src/ |
D | audio_proxy_common_fun_test.cpp | 46 const struct AudioSampleAttributes &attrs) in InitHwRender() argument 49 hwRender.renderParam.frameRenderMode.attrs = attrs; in InitHwRender() 58 hwRender.renderParam.frameRenderMode.attrs.period = attrs.period; in InitHwRender() 59 hwRender.renderParam.frameRenderMode.attrs.frameSize = attrs.frameSize; in InitHwRender() 60 hwRender.renderParam.frameRenderMode.attrs.startThreshold = attrs.startThreshold; in InitHwRender() 61 hwRender.renderParam.frameRenderMode.attrs.stopThreshold = attrs.stopThreshold; in InitHwRender() 62 hwRender.renderParam.frameRenderMode.attrs.silenceThreshold = attrs.silenceThreshold; in InitHwRender() 63 hwRender.renderParam.frameRenderMode.attrs.isBigEndian = attrs.isBigEndian; in InitHwRender() 64 hwRender.renderParam.frameRenderMode.attrs.isSignedData = attrs.isSignedData; in InitHwRender() 69 const struct AudioSampleAttributes &attrs) in InitHwCapture() argument [all …]
|
/test/xts/acts/arkui/ace_ets_standard/entry/src/main/ets/test/ |
D | TextJsunit.test.ets | 69 expect(obj.$attrs.width).assertEqual('200.00vp') 70 expect(obj.$attrs.padding).assertEqual('5.00vp') 71 expect(obj.$attrs.margin).assertEqual('10.00px') 72 expect(obj.$attrs.opacity).assertEqual(1) 73 expect(obj.$attrs.align).assertEqual("Alignment.Center") 74 expect(JSON.stringify(obj.$attrs.markAnchor)).assertEqual(JSON.stringify({ 77 expect(JSON.stringify(obj.$attrs.offset)).assertEqual(JSON.stringify({ 80 expect(obj.$attrs.flexGrow).assertEqual(5) 81 expect(obj.$attrs.flexShrink).assertEqual(2) 82 expect(obj.$attrs.alignSelf).assertEqual("ItemAlign.Auto") [all …]
|
D | ImageJsunit.test.ets | 68 console.log("image1 matchTextDirection" + JSON.stringify(obj.$attrs.matchTextDirection)); 69 console.log("image1 objectFit" + JSON.stringify(obj.$attrs.objectFit)); 70 console.log("image1 fitOriginalSize" + JSON.stringify(obj.$attrs.fitOriginalSize)); 71 console.log("image1 fillColor" + JSON.stringify(obj.$attrs.fillColor)); 72 console.log("image1 autoResize" + JSON.stringify(obj.$attrs.autoResize)); 73 console.log("image1 syncLoad" + JSON.stringify(obj.$attrs.syncLoad)); 74 console.log("image1 objectRepeat" + JSON.stringify(obj.$attrs.objectRepeat)); 75 console.log("image1 interpolation" + JSON.stringify(obj.$attrs.interpolation)); 76 console.log("image1 renderMode" + JSON.stringify(obj.$attrs.renderMode)); 77 console.log("image1 sourceSize" + JSON.stringify(obj.$attrs.sourceSize)); [all …]
|
D | FlexJsunit.test.ets | 70 expect(obj.$attrs.constructor.direction).assertEqual('FlexDirection.Column'); 71 …console.log("yr flex0 obj.$attrs.constructor.direction-'FlexDirection.Column':" + JSON.stringify(o… 72 expect(obj.$attrs.constructor.wrap).assertEqual('FlexWrap.NoWrap'); 73 …console.log("yr flex0 obj.$attrs.constructor.wrap-'FlexWrap.NoWrap':" + JSON.stringify(obj.$attrs.… 74 expect(obj.$attrs.constructor.justifyContent).assertEqual('FlexAlign.Center'); 75 …console.log("yr flex0 obj.$attrs.constructor.alignItems-'FlexWrap.NoWrap':" + JSON.stringify(obj.$… 76 …console.log("yr flex0 obj.$attrs.constructor.justifyContent-'FlexAlign.Center':" + JSON.stringify(… 77 expect(obj.$attrs.constructor.alignContent).assertEqual("FlexAlign.Start"); 78 …console.log("yr flex0 obj.$attrs.constructor.alignContent-'FlexAlign.Start':" + JSON.stringify(obj… 93 expect(obj.$attrs.constructor.direction).assertEqual('FlexDirection.Row') [all …]
|
D | PanelJsunit.test.ets | 68 console.log('Panel‘s type is ' + JSON.stringify(obj.$attrs.type)) 69 console.log('Panel‘s mode is ' + JSON.stringify(obj.$attrs.mode)) 70 console.log('Panel‘s dragBar is ' + JSON.stringify(obj.$attrs.dragBar)) 71 console.log('Panel‘s fullHeight is ' + JSON.stringify(obj.$attrs.fullHeight)) 72 console.log('Panel‘s halfHeight is ' + JSON.stringify(obj.$attrs.halfHeight)) 73 console.log('Panel‘s miniHeight is ' + JSON.stringify(obj.$attrs.miniHeight)) 74 expect(obj.$attrs.type).assertEqual('PanelType.Foldable') 75 expect(obj.$attrs.mode).assertEqual('PanelMode.Half') 76 expect(obj.$attrs.dragBar).assertEqual('true') 77 expect(obj.$attrs.fullHeight).assertEqual('500.000000vp') [all …]
|
D | DataPanelJsunit.test.ets | 71 console.log("cd DataPanel values " + typeof (obj.$attrs.values)); 72 console.log("cd DataPanel values" + JSON.stringify(obj.$attrs.values)); 73 console.log("cd DataPanel dataPanelType" + JSON.stringify(obj.$attrs.DataPanelType)); 74 console.log("cd DataPanel max" + JSON.stringify(obj.$attrs.max)); 75 console.log("panel closeEffect" + JSON.stringify(obj.$attrs.closeEffect)) 76 expect(obj.$attrs.closeEffect).assertEqual("false") 78 expect(JSON.stringify(obj.$attrs.values)).assertEqual('[20,40,20]') 79 expect(obj.$attrs.max).assertEqual(100.000000.toFixed(6)) 94 console.log("cd DataPanel dataPanelType" + JSON.stringify(obj.$attrs)); 95 console.log("cd DataPanel Type" + JSON.stringify(obj.$attrs.type)); [all …]
|
D | SpanJsunit.test.ets | 69 console.info("span1 decoration" + JSON.stringify(obj.$attrs.decoration)) 70 console.info("span1 textCase" + JSON.stringify(obj.$attrs.textCase)) 71 console.info("span1 content" + JSON.stringify(obj.$attrs.content)) 72 console.info("span1 fontSize" + JSON.stringify(obj.$attrs.fontSize)) 73 console.info("span1 letterSpacing" + JSON.stringify(obj.$attrs.letterSpacing)) 74 …expect(obj.$attrs.decoration).assertEqual('{"type":"TextDecorationType.LineThrough","color":"#FFFF… 75 expect(obj.$attrs.textCase).assertEqual('TextCase.UpperCase') 76 expect(obj.$attrs.content).assertEqual('Test Span demo') 91 console.info("span2 textCase" + JSON.stringify(obj.$attrs.textCase)) 92 console.info("span2 content" + JSON.stringify(obj.$attrs.content)) [all …]
|
D | ScrollJsunit.test.ets | 68 console.log("cd scroll scrollable" + JSON.stringify(obj.$attrs.scrollable)); 69 console.log("cd scroll scrollBar" + JSON.stringify(obj.$attrs.scrollBar)); 70 console.log("cd scroll scrollBarColor" + JSON.stringify(obj.$attrs.scrollBarColor)); 71 console.log("cd scroll scrollBarWidth" + JSON.stringify(obj.$attrs.scrollBarWidth)); 73 expect(obj.$attrs.scrollable).assertEqual('ScrollDirection.Vertical') 74 expect(obj.$attrs.scrollBarColor).assertEqual('#FFFFC0CB') 75 expect(obj.$attrs.scrollBarWidth).assertEqual('20.00vp') 89 console.log("cd scroll1 scrollable" + JSON.stringify(obj.$attrs.scrollable)); 90 console.log("cd scroll1 scrollBar" + JSON.stringify(obj.$attrs.scrollBar)); 91 expect(obj.$attrs.scrollable).assertEqual('ScrollDirection.Horizontal') [all …]
|
D | DividerJsunit.test.ets | 68 console.log("cd divider color" + JSON.stringify(obj.$attrs.color)); 70 expect(obj.$attrs.color).assertEqual('#FFFF0000') 72 console.log("cd divider strokeWidth" + JSON.stringify(obj.$attrs.strokeWidth)); 73 console.log("cd divider vertical" + JSON.stringify(obj.$attrs.vertical)); 74 console.log("cd divider lineCap" + JSON.stringify(obj.$attrs.lineCap)); 75 expect(obj.$attrs.strokeWidth).assertEqual("7.000000") 76 expect(obj.$attrs.vertical).assertEqual('true') 77 expect(obj.$attrs.lineCap == LineCapStyle.Square) 91 console.log("cd divider1 vertical" + JSON.stringify(obj.$attrs.vertical)); 92 console.log("cd divider1 lineCap" + JSON.stringify(obj.$attrs.lineCap)); [all …]
|
D | RatingJsunit.test.ets | 69 console.info("rating1 rating" + JSON.stringify(obj.$attrs.rating)) 70 console.info("rating1 indicator" + JSON.stringify(obj.$attrs.indicator)) 71 console.info("rating1 stepSize" + JSON.stringify(obj.$attrs.stepSize)) 72 console.info("rating1 stars" + JSON.stringify(obj.$attrs.stars)) 73 console.info("rating1 starStyle" + JSON.stringify(obj.$attrs.starStyle)) 74 expect(obj.$attrs.rating).assertEqual("2.000000") 75 expect(obj.$attrs.indicator).assertEqual("false") 76 expect(obj.$attrs.stepSize).assertEqual("0.500000") 77 expect(obj.$attrs.stars).assertEqual("5") 78 expect(obj.$attrs.starStyle) [all …]
|
/test/xts/acts/arkui/ace_ets_component_attrlack/entry/src/main/ets/test/ |
D | curves.test.ets | 60 expect(obj.$attrs.width).assertEqual("400.00vp"); 61 expect(obj.$attrs.height).assertEqual("200.00vp"); 62 expect(obj.$attrs.backgroundColor).assertEqual("#FF317AFF"); 63 expect(obj.$attrs.animation).assertEqual(undefined); 64 console.info("[testeaseOutText0001] width value :" + obj.$attrs.width); 65 console.info("[testeaseOutText0001] height value :" + obj.$attrs.height); 66 console.info("[testeaseOutText0001] backgroundColor value :" + obj.$attrs.backgroundColor); 81 expect(obj.$attrs.width).assertEqual("400.00vp"); 82 expect(obj.$attrs.height).assertEqual("200.00vp"); 83 expect(obj.$attrs.backgroundColor).assertEqual("#FF317AFF"); [all …]
|
D | loadingProgress.test.ets | 60 expect(obj.$attrs.color).assertEqual(undefined); 61 expect(obj.$attrs.width).assertEqual('100.00vp'); 62 expect(obj.$attrs.margin).assertEqual('5.00vp'); 63 console.info("[testloadingProgressCircular0011] color value :" + obj.$attrs.color); 64 console.info("[testloadingProgressCircular0011] width value :" + obj.$attrs.width); 65 console.info("[testloadingProgressCircular0011] margin value :" + obj.$attrs.margin); 81 expect(obj.$attrs.color).assertEqual(undefined); 82 expect(obj.$attrs.width).assertEqual('100.00vp'); 83 expect(obj.$attrs.margin).assertEqual('5.00vp'); 84 console.info("[testloadingProgressOrbital0001] color value :" + obj.$attrs.color); [all …]
|
/test/xts/acts/arkui/ace_ets_test/entry/src/main/ets/test/ |
D | TextJsunit.test.ets | 71 expect(obj.$attrs.width).assertEqual('100.000000vp') 72 expect(obj.$attrs.padding).assertEqual('5.000000vp') 73 expect(obj.$attrs.opacity).assertEqual(1) 74 expect(obj.$attrs.align).assertEqual("Alignment.Center") 75 expect(JSON.stringify(obj.$attrs.markAnchor)).assertEqual(JSON.stringify({ 78 expect(JSON.stringify(obj.$attrs.offset)).assertEqual(JSON.stringify({ 81 expect(obj.$attrs.flexGrow).assertEqual(5) 82 expect(obj.$attrs.flexShrink).assertEqual(2) 83 expect(obj.$attrs.alignSelf).assertEqual("ItemAlign.Auto") 84 expect(obj.$attrs.borderStyle).assertEqual("BorderStyle.Dashed") [all …]
|
D | PanelJsunit.test.ets | 71 console.log('Panel‘s type is ' + JSON.stringify(obj.$attrs.type)) 72 console.log('Panel‘s mode is ' + JSON.stringify(obj.$attrs.mode)) 73 console.log('Panel‘s dragBar is ' + JSON.stringify(obj.$attrs.dragBar)) 74 console.log('Panel‘s fullHeight is ' + JSON.stringify(obj.$attrs.fullHeight)) 75 console.log('Panel‘s halfHeight is ' + JSON.stringify(obj.$attrs.halfHeight)) 76 console.log('Panel‘s miniHeight is ' + JSON.stringify(obj.$attrs.miniHeight)) 77 expect(obj.$attrs.type).assertEqual('PanelType.Foldable') 78 expect(obj.$attrs.mode).assertEqual('PanelMode.Half') 79 expect(obj.$attrs.dragBar).assertEqual('true') 80 expect(obj.$attrs.fullHeight).assertEqual('500.00vp') [all …]
|
D | TabJsunit.test.ets | 71 console.log('obj.$attrs.scrollable' + typeof (obj.$attrs.scrollable)) 72 console.log('obj.$attrs.vertical' + typeof (obj.$attrs.vertical)) 74 expect(obj.$attrs.barPosition).assertEqual('BarPosition.Start') 75 expect(obj.$attrs.index).assertEqual('1') 76 expect(obj.$attrs.vertical).assertEqual('true') 77 expect(obj.$attrs.scrollable).assertTrue() 78 expect(obj.$attrs.barMode).assertEqual('BarMode.Fixed') 79 expect(obj.$attrs.barWidth).assertEqual(70.000000.toFixed(6)) 80 expect(obj.$attrs.barHeight).assertEqual(150.000000.toFixed(6)) 97 expect(obj.$attrs.barPosition).assertEqual('BarPosition.End') [all …]
|
D | ListItemJsunit.test.ets | 71 console.log(JSON.stringify(obj.$attrs.type)) 72 console.log('ListItem1‘s sticky is ' + JSON.stringify(obj.$attrs.sticky)) 73 console.log('ListItem1‘s editable is ' + JSON.stringify(obj.$attrs.editable)) 74 expect(obj.$attrs.sticky).assertEqual('Sticky.None') 75 expect(obj.$attrs.editable).assertEqual('true') 92 console.log(JSON.stringify(obj.$attrs.type)) 93 console.log('ListItem2‘s sticky is ' + JSON.stringify(obj.$attrs.sticky)) 94 console.log('ListItem2‘s editable is ' + JSON.stringify(obj.$attrs.editable)) 96 expect(obj.$attrs.sticky).assertEqual('Sticky.Normal') 97 expect(obj.$attrs.editable).assertEqual('EditMode.Deletable') [all …]
|
D | SwiperJsunit.test.ets | 95 console.log('Swiper‘s index is ' + JSON.stringify(obj.$attrs.index)) 96 console.log('Swiper‘s autoPlay is ' + JSON.stringify(obj.$attrs.autoPlay)) 97 console.log('Swiper‘s interval is ' + JSON.stringify(obj.$attrs.interval)) 98 console.log('Swiper‘s indicator is ' + JSON.stringify(obj.$attrs.indicator)) 99 console.log('Swiper‘s loop is ' + JSON.stringify(obj.$attrs.loop)) 100 console.log('Swiper‘s duration is ' + JSON.stringify(obj.$attrs.duration)) 101 console.log('Swiper‘s vertical is ' + JSON.stringify(obj.$attrs.vertical)) 102 console.log('Swiper‘s itemSpace is ' + JSON.stringify(obj.$attrs.itemSpace)) 103 console.log('Swiper‘s disableSwipe is ' + JSON.stringify(obj.$attrs.disableSwipe)) 104 expect(obj.$attrs.index).assertEqual('1') [all …]
|
/test/xts/acts/arkui/ace_ets_third_test/entry/src/main/ets/test/ |
D | TextInputJsunit.test.ets | 74 console.info("[textInput1] get inspector value is: " + JSON.stringify(obj.$attrs.type)); 75 … console.info("[textInput1] get inspector value is: " + JSON.stringify(obj.$attrs.enterKeyType)); 76 console.info("[textInput1] get inspector value is: " + obj.$attrs.placeholderFont); 77 console.info("[textInput1] get inspector value is: " + obj.$attrs.placeholderFont.size); 78 console.info("[textInput1] get inspector value is: " + JSON.stringify(obj.$attrs.fontSize)); 79 console.info("[textInput1] get inspector value is: " + JSON.stringify(obj.$attrs.height)); 81 expect(obj.$attrs.type).assertEqual('InputType.Normal') 82 expect(obj.$attrs.enterKeyType).assertEqual('EnterKeyType.Go') 83 expect(obj.$attrs.caretColor).assertEqual('#FF000000') 84 expect(obj.$attrs.placeholderColor).assertEqual('#FFC0C0C0') [all …]
|
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/test/componettest/ |
D | PositionSettingJsunit_y.test.ets | 55 console.info("[testPositionSetting001] textAlign: " + obj.$attrs.textAlign); 56 expect(obj.$attrs.textAlign).assertEqual('TextAlign.Left'); 67 console.info("[testPositionSetting002] rowDirection: " + obj.$attrs.direction); 68 expect(obj.$attrs.direction).assertEqual('Direction.Rtl'); 94 console.info("[testPositionSetting003] textAlign: " + obj.$attrs.textAlign); 95 expect(obj.$attrs.textAlign).assertEqual("TextAlign.Right"); 122 console.info("[testPositionSetting004] rowDirection: " + obj.$attrs.direction); 123 expect(obj.$attrs.direction).assertEqual('Direction.Ltr'); 134 console.info("[testPositionSetting005] position: " + JSON.stringify(obj.$attrs.position)); 135 expect(obj.$attrs.position.x).assertEqual('25.00vp'); [all …]
|
/test/xts/acts/arkui/ace_ets_component_five/entry/src/main/ets/test/ |
D | PositionSettingJsunit.test.ets | 55 console.info("[testPositionSetting001] textAlign: " + obj.$attrs.textAlign); 56 expect(obj.$attrs.textAlign).assertEqual('TextAlign.Left'); 67 console.info("[testPositionSetting002] rowDirection: " + obj.$attrs.direction); 68 expect(obj.$attrs.direction).assertEqual('Direction.Rtl'); 94 console.info("[testPositionSetting003] textAlign: " + obj.$attrs.textAlign); 95 expect(obj.$attrs.textAlign).assertEqual("TextAlign.Right"); 122 console.info("[testPositionSetting004] rowDirection: " + obj.$attrs.direction); 123 expect(obj.$attrs.direction).assertEqual('Direction.Ltr'); 134 console.info("[testPositionSetting005] position: " + JSON.stringify(obj.$attrs.position)); 135 expect(obj.$attrs.position.x).assertEqual('25.00vp'); [all …]
|
D | ColorGradientJsunit.test.ets | 54 …console.info("[testColorGradient001] component obj is: " + JSON.stringify(obj.$attrs.linearGradien… 55 expect(obj.$attrs.linearGradient.angle).assertEqual('90.00px'); 56 expect(obj.$attrs.linearGradient.direction).assertEqual('GradientDirection.Left'); 57 expect(obj.$attrs.linearGradient.repeating).assertEqual('true'); 90 expect(objNew.$attrs.linearGradient.angle).assertEqual('80.00px'); 91 expect(objNew.$attrs.linearGradient.direction).assertEqual('GradientDirection.Top'); 92 expect(objNew.$attrs.linearGradient.repeating).assertEqual('false'); 104 expect(obj.$attrs.sweepGradient.end).assertEqual('359.00px'); 105 expect(obj.$attrs.sweepGradient.start).assertEqual('0.00px'); 106 expect(obj.$attrs.sweepGradient.repeating).assertEqual('true'); [all …]
|
D | TransFormJsunit.test.ets | 55 expect(obj.$attrs.rotate.x).assertEqual('1.000000'); 56 expect(obj.$attrs.rotate.y).assertEqual('1.000000'); 57 expect(obj.$attrs.rotate.z).assertEqual('1.000000'); 58 expect(obj.$attrs.rotate.centerX).assertEqual('50.00%'); 59 expect(obj.$attrs.rotate.centerY).assertEqual('50.00%'); 60 expect(obj.$attrs.rotate.angle).assertEqual('300.000000'); 87 expect(objNew.$attrs.rotate.x).assertEqual('2.000000'); 88 expect(objNew.$attrs.rotate.y).assertEqual('2.000000'); 89 expect(objNew.$attrs.rotate.z).assertEqual('2.000000'); 90 expect(objNew.$attrs.rotate.centerX).assertEqual('60.00%'); [all …]
|
/test/xts/hats/hdf/audio/common/hdi_common/src/ |
D | audio_hdi_common.cpp | 48 int32_t InitAttrs(struct AudioSampleAttributes &attrs) in InitAttrs() argument 50 attrs.format = AUDIO_FORMAT_PCM_16_BIT; in InitAttrs() 51 attrs.channelCount = CHANNELCOUNT; in InitAttrs() 52 attrs.sampleRate = SAMPLERATE; in InitAttrs() 53 attrs.interleaved = 0; in InitAttrs() 54 attrs.type = AUDIO_IN_MEDIA; in InitAttrs() 55 attrs.period = DEEP_BUFFER_RENDER_PERIOD_SIZE; in InitAttrs() 56 attrs.frameSize = PCM_16_BIT * CHANNELCOUNT / MOVE_LEFT_NUM; in InitAttrs() 57 attrs.isBigEndian = false; in InitAttrs() 58 attrs.isSignedData = true; in InitAttrs() [all …]
|
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/test/ |
D | swiper.test.ets | 60 expect(obj.$attrs.curve).assertEqual("Curves.Linear"); 61 console.info("[testswiperCurve0001] curve value :" + obj.$attrs.curve); 77 expect(obj.$attrs.cachedCount).assertEqual(2); 78 console.info("[testswiperCurve0002] cachedCount value :" + obj.$attrs.cachedCount); 94 expect(obj.$attrs.index).assertEqual("3"); 95 console.info("[testswiperCurve0003] index value :" + obj.$attrs.index); 111 expect(obj.$attrs.autoPlay).assertEqual("true"); 112 console.info("[testswiperCurve0004] autoPlay value :" + obj.$attrs.autoPlay); 128 expect(obj.$attrs.interval).assertEqual("4000"); 129 console.info("[testswiperCurve0005] interval value :" + obj.$attrs.interval); [all …]
|
/test/xts/acts/arkui/ace_ets_component/entry/src/main/ets/test/ |
D | TextStyleJsunit.test.ets | 54 console.info("[testTextStyle001] fontColor: " + obj.$attrs.fontColor); 55 expect(obj.$attrs.fontColor).assertEqual('#FFFF0000'); 80 console.info("[testTextStyle002] fontColor: " + obj.$attrs.fontColor); 81 expect(obj.$attrs.fontColor).assertEqual('#FF0000FF'); 106 console.info("[testTextStyle003] fontColor: " + obj.$attrs.fontColor); 107 expect(obj.$attrs.fontColor).assertEqual('#80000000'); 132 console.info("[testTextStyle004] fontColor: " + obj.$attrs.fontColor); 133 expect(obj.$attrs.fontColor).assertEqual('#7FFFFFFF'); 158 console.info("[testTextStyle005] fontColor: " + obj.$attrs.fontColor); 159 expect(obj.$attrs.fontColor).assertEqual('#FF000000'); [all …]
|