Home
last modified time | relevance | path

Searched refs:capacity (Results 1 – 16 of 16) sorted by relevance

/test/xts/acts/powermgr/battery_manager/src/main/js/test/
Dbattery_common_event.test.js1463 var capacity = commonEventData.parameters['0'];
1464 console.info("capacity is:" + capacity);
1465 expect(capacity >= 0 && capacity <= 100).assertTrue();
1516 var capacity = commonEventData.parameters['0'];
1517 console.info("capacity is:" + capacity);
1518 expect(capacity >= 0 && capacity <= 100).assertTrue();
1568 var capacity = commonEventData.parameters['0'];
1569 console.info("capacity is:" + capacity);
1570 expect(capacity >= 0 && capacity <= 100).assertTrue();
1620 var capacity = commonEventData.parameters['0'];
[all …]
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/ets/test/
DreceiverNDK.test.ets71 * @tc.desc : 1.set width,height,format,capacity
94 * @tc.desc : 1.set width,height,format,capacity
107 * @tc.desc : 1.set width,height,format,capacity
121 * @tc.desc : 1.set width,height,format,capacity
134 * @tc.desc : 1.set width,height,format,capacity
147 * @tc.desc : 1.set width,height,format,capacity
160 let capacity = ndkTest.getCapacity(myReceiver);
164 expect(capacity == CAPACITY).assertTrue();
/test/xts/hats/powermgr/battery/hdi_battery_additional/common/
Dhdi_battery_test.cpp107 int capacity; variable
109 g_batteryInterface->GetCapacity(capacity);
110 EXPECT_TRUE(capacity <= 100 && capacity >= 0);
276 .capacity = -1,
280 EXPECT_TRUE(-1 != event.capacity);
/test/xts/acts/commonlibrary/ets_utils/containerLine_lib_standard/src/main/js/test/
DVector.test.js123 let capacity = vector.getCapacity();
124 vector.insert(capacity, 2);
139 let capacity = vector.getCapacity();
141 vector.insert(2, capacity + 1);
511 let capacity = vector.getCapacity();
512 vector.removeByRange(0, capacity);
535 let capacity = vector.getCapacity();
537 vector.removeByRange(-1, capacity);
559 let capacity = vector.getCapacity();
560 vector.removeByRange(0, capacity + 1);
/test/xts/hats/powermgr/battery/hdi_battery/common/
Dhdi_battery_test.cpp139 int capacity; variable
140 g_batteryInterface->GetCapacity(capacity);
141 EXPECT_TRUE(capacity <= 100 && capacity >= 0);
322 .capacity = -1,
325 EXPECT_TRUE(-1 != event.capacity);
/test/xts/hats/hdf/codec/hdi_v1.0/
Dcodec_proxy_test.cpp371 g_inputInfoData->buffer[0].capacity = TEST_PACKET_BUFFER_SIZE;
392 ASSERT_EQ(inputInfo->buffer[0].capacity, g_inputInfoData->buffer[0].capacity);
430 g_outputInfoData->buffer[0].capacity = TEST_FRAME_BUFFER_SIZE;
451 ASSERT_EQ(outInfo->buffer[0].capacity, g_outputInfoData->buffer[0].capacity);
/test/testfwk/arkxtest/uitest/addon/
Dextension_executor.cpp47 size_t capacity; member
105 …EXTENSION_API_CHECK(buffer.capacity > data.length(), "Char buffer capacity is not enough", ERR_BAD… in WriteToBuffer()
106 memcpy_s(buffer.data, buffer.capacity, data.data(), data.length()); in WriteToBuffer()
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/
Dimage_receiver_mdk_test.cpp250 int32_t capacity; in JsGetCapacity() local
251 int32_t res = OH_Image_Receiver_GetCapacity(native, &capacity); in JsGetCapacity()
255 napi_create_int32(env, capacity, &result); in JsGetCapacity()
/test/xts/hats/hdf/hdf_lite/manager/common/
Dhdf_sbuf_test.cpp889 size_t capacity = HdfSbufGetCapacity(sBuf); variable
890 ASSERT_EQ(capacity, hdfSbufDefaultSize);
951 size_t capacity = HdfSbufGetCapacity(sBuf); variable
952 ASSERT_EQ(capacity, hdfSbufTestSize);
/test/xts/acts/multimedia/image/image_js_standard/imageReceiver/src/main/js/test/
Dreceiver.test.js380 expect(receiver.capacity == CAPACITY).assertTrue();
597 expect(receiver.capacity == CAPACITY).assertTrue();
/test/xts/tools/sample/AppSampleF/entry/src/main/ets/model/
DCameraModel.ets30 const EIGHT: number = 8; // capacity
/test/xts/acts/multimedia/image/image_js_standard/imageCreator/src/main/js/test/
Dcreator.test.js257 expect(creator.capacity == CAPACITY).assertTrue();
/test/xts/acts/commonlibrary/ets_utils/util2_lib_standard/src/main/js/test/
Dutil.test.js4463 constructor(capacity) argument
4465 super(capacity);
4494 constructor(capacity) argument
4496 super(capacity);
4526 constructor(capacity) argument
4528 super(capacity);
/test/xts/acts/commonlibrary/ets_utils/util_lib_standard/src/main/js/test/
Dutil.test.js5136 constructor(capacity) argument
5138 super(capacity);
5163 constructor(capacity) argument
5165 super(capacity);
5191 constructor(capacity) argument
5193 super(capacity);
/test/xts/device_attest/
DREADME.md28 │ └── common # Public basic capacity
/test/xts/acts/communication/dsoftbus/rpc/src/main/js/test/
DRpcClientJsunit.test.js5956 let capacity = 64;
5957 let setResult = data.setCapacity(capacity);