/test/testfwk/arkxtest/uitest/addon/ |
H A D | screen_copy.cpp | 64 void UpdateFrameLocked(shared_ptr<PixelMap> frame, bool &changed, bool &muted);
167 shared_ptr<PixelMap> frame = dm.GetScreenshot(displayId);
in PollAndNotifyFrames() local 168 if (frame == nullptr) {
in PollAndNotifyFrames() 172 UpdateFrameLocked(frame, changed, screenOff);
in PollAndNotifyFrames() 184 void ScreenCopy::UpdateFrameLocked(shared_ptr<PixelMap> frame, bool &changed, bool &screenOff)
in UpdateFrameLocked() argument 187 newestFrame_ = frame;
in UpdateFrameLocked() 190 // if this is the first frame
in UpdateFrameLocked() 194 memset_s(frame->GetWritablePixels(), newestFrameSize, 0, newestFrameSize);
in UpdateFrameLocked() 198 // compare this frame and last frame
in UpdateFrameLocked() [all...] |
/test/xts/hats/hdf/audio/idl/common/capture/src/ |
H A D | audio_capture_common_test.cpp | 193 /* capture frame cases */
203 int8_t *frame = (int8_t *)calloc(1, frameLen);
in HWTEST_F() local 204 EXPECT_NE(nullptr, frame);
in HWTEST_F() 206 ret = capture_->CaptureFrame(capture_, frame, &frameLen, &requestBytes);
in HWTEST_F() 210 if (frame != nullptr) {
in HWTEST_F() 211 free(frame);
in HWTEST_F() 212 frame = nullptr;
in HWTEST_F() 225 int8_t *frame = (int8_t *)calloc(1, sizeof(int));
in HWTEST_F() local 226 EXPECT_NE(nullptr, frame);
in HWTEST_F() 229 EXPECT_NE(HDF_SUCCESS, capture_->CaptureFrame(capture_, frame, nullpt in HWTEST_F() 254 int8_t *frame = (int8_t *)calloc(1, frameLen); HWTEST_F() local [all...] |
/test/xts/hats/hdf/audio/idl/common/capture_additional/src/ |
H A D | AudioCaptureCommonTestAdditional.cpp | 1029 int8_t *frame = (int8_t *)calloc(1, frameLen); in HWTEST_F() local 1030 EXPECT_NE(nullptr, frame); in HWTEST_F() 1032 ret = capture_->CaptureFrame(capture_, frame, &frameLen, &requestBytes); in HWTEST_F() 1037 if (frame != nullptr) { in HWTEST_F() 1038 free(frame); in HWTEST_F() 1039 frame = nullptr; in HWTEST_F() 1104 int8_t *frame = (int8_t *)calloc(1, sizeof(int)); in HWTEST_F() local 1105 EXPECT_NE(nullptr, frame); in HWTEST_F() 1107 EXPECT_NE(HDF_SUCCESS, capture_->CaptureFrame(nullptr, frame, nullptr, nullptr)); in HWTEST_F() 1109 if (frame ! in HWTEST_F() 1128 int8_t *frame = (int8_t *)calloc(1, sizeof(int)); HWTEST_F() local 1151 int8_t *frame = (int8_t *)calloc(1, sizeof(int)); HWTEST_F() local 1240 int8_t *frame = (int8_t *)calloc(1, sizeof(int)); HWTEST_F() local 2542 int8_t *frame = (int8_t *)calloc(1, frameLen); HWTEST_F() local [all...] |
/test/xts/hats/hdf/audio/idl/common/render/src/ |
H A D | audio_render_common_test.cpp | 418 int8_t *frame = (int8_t *)calloc(1, frameLen); in HWTEST_F() local 419 EXPECT_NE(nullptr, frame); in HWTEST_F() 421 ret = render_->RenderFrame(render_, frame, frameLen, &requestBytes); in HWTEST_F() 428 if (frame != nullptr) { in HWTEST_F() 429 free(frame); in HWTEST_F() 430 frame = nullptr; in HWTEST_F() 448 "attr-route=1;attr-format=32;attr-channels=2;attr-frame-count=82;attr-sampling-rate=48000"; in HWTEST_F() 626 int8_t *frame = (int8_t *)calloc(1, frameLen); in HWTEST_F() local 627 ASSERT_NE(nullptr, frame); in HWTEST_F() 628 EXPECT_EQ(HDF_ERR_INVALID_OBJECT, render_->RenderFrame(nullptr, frame, frameLe in HWTEST_F() 641 int8_t *frame = (int8_t *)calloc(1, frameLen); HWTEST_F() local [all...] |
/test/xts/dcts/communication/softbus_standard/transmission/sendstream/ |
H A D | trans_stream_test.cpp | 80 StreamFrameInfo frame = {0};
in HWTEST_F() local 97 ret = SendStream(sessionId, &streamData, &extStreamData, &frame);
in HWTEST_F() 125 StreamFrameInfo frame = {0};
in HWTEST_F() local 145 ret = SendStream(sessionId, &streamData, &extStreamData, &frame);
in HWTEST_F()
|
/test/xts/hats/hdf/audio/idl/benchmarktest/capture/ |
H A D | audio_capture_benchmarktest.cpp | 210 int8_t *frame = (int8_t *)calloc(1, frameLen);
in BENCHMARK_F() local 211 EXPECT_NE(nullptr, frame);
in BENCHMARK_F() 214 ret = capture_->CaptureFrame(capture_, frame, &frameLen, &requestBytes);
in BENCHMARK_F() 220 if (frame != nullptr) {
in BENCHMARK_F() 221 free(frame);
in BENCHMARK_F() 222 frame = nullptr;
in BENCHMARK_F() 240 int8_t *frame = (int8_t *)calloc(1, frameLen);
in BENCHMARK_F() local 241 EXPECT_NE(nullptr, frame);
in BENCHMARK_F() 243 ret = capture_->CaptureFrame(capture_, frame, &frameLen, &requestBytes);
in BENCHMARK_F() 253 if (frame ! in BENCHMARK_F() [all...] |
/test/xts/dcts/communication/softbus_standard/transmission/sessionmgt/ |
H A D | trans_session_func_test.cpp | 408 StreamFrameInfo frame = {0};
in HWTEST_F() local 424 ret = SendStream(sessionId, &streamData, &extStreamData, &frame);
in HWTEST_F() 456 StreamFrameInfo frame = {0};
in HWTEST_F() local 472 ret = SendStream(sessionId, &streamData, &extStreamData, &frame);
in HWTEST_F() 504 StreamFrameInfo frame = {0};
in HWTEST_F() local 520 ret = SendStream(sessionId, &streamData, &extStreamData, &frame);
in HWTEST_F()
|
/test/xts/hats/hdf/audio/idl/benchmarktest/render/ |
H A D | audio_render_benchmarktest.cpp | 449 "attr-route=1;attr-format=32;attr-channels=2;attr-frame-count=82;attr-sampling-rate=48000";
in BENCHMARK_F() 642 int8_t *frame = (int8_t *)calloc(1, frameLen);
in BENCHMARK_F() local 643 ASSERT_NE(nullptr, frame);
in BENCHMARK_F() 646 ret = render_->RenderFrame(render_, frame, frameLen, &requestBytes);
in BENCHMARK_F() 651 if (frame != nullptr) {
in BENCHMARK_F() 652 free(frame);
in BENCHMARK_F() 653 frame = nullptr;
in BENCHMARK_F()
|
/test/xts/hats/hdf/audio/idl/common/render_additional/src/ |
H A D | AudioRenderCommonTest.cpp | 206 int8_t *frame = (int8_t *)calloc(1, frameLen); in HWTEST_F() local 207 EXPECT_NE(nullptr, frame); in HWTEST_F() 209 ret = render_->RenderFrame(render_, frame, frameLen, &requestBytes); in HWTEST_F() 229 int8_t *frame = (int8_t *)calloc(1, frameLen); in HWTEST_F() local 230 EXPECT_NE(nullptr, frame); in HWTEST_F() 232 ret |= render_->RenderFrame(render_, frame, frameLen, &requestBytes); in HWTEST_F() 252 int8_t *frame = (int8_t *)calloc(1, frameLen); in HWTEST_F() local 253 EXPECT_NE(nullptr, frame); in HWTEST_F() 255 ret = render_->RenderFrame(nullptr, frame, frameLen, &requestBytes); in HWTEST_F() 290 int8_t *frame in HWTEST_F() local [all...] |
/test/testfwk/developer_test/src/core/command/ |
H A D | console.py | 380 def handler_ctrl_c(self, signalnum, frame):
383 def handler_ctrl_z(self, signalnum, frame):
|
H A D | display.py | 198 exit the frame.")
|
/test/testfwk/xdevice/src/xdevice/_core/command/ |
H A D | console.py | 85 def handler_terminate_signal(cls, signalnum, frame): 87 del signalnum, frame
|
/test/xts/dcts/distributedhardware/distributedaudionewtest/ |
H A D | distributedaudiotest.cpp | 324 DHLOGE("Copy render frame failed, error code %{public}d.", ret); in Play() 355 std::cout << "Audio file frame num: " << g_frameNum << std::endl; in StartRender() 357 uint8_t *frame = new uint8_t[RENDER_FRAME_SIZE](); in StartRender() local 358 renderData.push_back(frame); in StartRender()
|
/test/xts/dcts/distributedhardware/distributedaudiotest/ |
H A D | distributedaudiotest.cpp | 320 DHLOGE("Copy render frame failed, error code %{public}d.", ret); in Play() 351 std::cout << "Audio file frame num: " << g_frameNum << std::endl; in StartRender() 353 uint8_t *frame = new uint8_t[RENDER_FRAME_SIZE](); in StartRender() local 354 renderData.push_back(frame); in StartRender()
|
/test/xts/dcts/communication/softbus_standard/dsoftbusTest/ |
H A D | dsoftbusTest.cpp | 133 static void StreamReceived(int sessionId, const StreamData *data, const StreamData *ext, const StreamFrameInfo *frame)
in StreamReceived() argument
|
/test/xts/dcts/communication/softbus_standard/common/ |
H A D | net_trans_common.c | 558 static void StreamReceived(int sessionId, const StreamData *data, const StreamData *ext, const StreamFrameInfo *frame)
in StreamReceived() argument
|