Home
last modified time | relevance | path

Searched refs:encode (Results 1 - 25 of 26) sorted by relevance

12

/device/soc/rockchip/rk3588/kernel/scripts/
H A Dmkbootimg68 BOOT_MAGIC = 'ANDROID!'.encode()
81 args.output.write(pack('1536s', args.cmdline.encode()))
86 BOOT_MAGIC = 'VNDRBOOT'.encode()
96 args.vendor_boot.write(pack('2048s', args.vendor_cmdline.encode()))
98 args.vendor_boot.write(pack('16s', args.board.encode())) # asciiz product name
109 BOOT_MAGIC = 'ANDROID!'.encode()
131 args.output.write(pack('16s', args.board.encode())) # asciiz product name
132 args.output.write(pack('512s', args.cmdline[:512].encode()))
147 args.output.write(pack('1024s', args.cmdline[512:].encode()))
/test/xts/acts/graphic/acts_drawing_native/
H A DDrawingNativeTextBlobTest.cpp141 for (OH_Drawing_TextEncoding encode : encodeArray) { in HWTEST_F()
143 if (encode == TEXT_ENCODING_UTF8) { in HWTEST_F()
145 } else if (encode == TEXT_ENCODING_UTF16) { in HWTEST_F()
147 } else if (encode == TEXT_ENCODING_UTF32) { in HWTEST_F()
149 } else if (encode == TEXT_ENCODING_GLYPH_ID) { in HWTEST_F()
152 OH_Drawing_TextBlob *textBlob = OH_Drawing_TextBlobCreateFromText(str, byteLength, font, encode); in HWTEST_F()
397 for (OH_Drawing_TextEncoding encode : encodeArray) { in HWTEST_F()
398 OH_Drawing_TextBlob *textBlob = OH_Drawing_TextBlobCreateFromString(str, font, encode); in HWTEST_F()
H A DDrawingNativeFontTest.cpp582 for (OH_Drawing_TextEncoding encode : encodes) { in HWTEST_F()
583 int count = OH_Drawing_FontCountText(font, str, strlen(str), encode); in HWTEST_F()
584 switch (encode) { in HWTEST_F()
707 for (OH_Drawing_TextEncoding encode : encodes) { in HWTEST_F()
708 int count = OH_Drawing_FontCountText(font, str, strlen(str), encode); in HWTEST_F()
709 OH_Drawing_FontTextToGlyphs(font, str, strlen(str), encode, glyphs, count); in HWTEST_F()
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
H A Ddmlib.py474 remote_path_content = remote.encode(DEFAULT_ENCODING)
569 remote_path_content = remote.encode(DEFAULT_ENCODING)
571 remote_path_content = remote.encode("UTF-8")
644 path = path.encode(DEFAULT_ENCODING)
646 path = path.encode("UTF-8")
655 mode_content = mode_str.encode(DEFAULT_ENCODING)
900 req = req.encode("utf-8")
940 req = req.encode(DEFAULT_ENCODING)
1041 connect_key = connect_key.encode("utf-8")
H A Ddmlib_lite.py151 telnet.write(command.encode('ascii') + b"\n")
362 command = command.encode("utf-8")
382 command = command.encode("utf-8")
/test/testfwk/xdevice/src/xdevice/_core/report/
H A Dencrypt.py68 plain_text = str(content).encode(encoding='utf-8')
104 cipher_text = str(content).encode()
H A Dresult_reporter.py701 def encode(content): function
702 # inner function to encode
713 file.write(bytes(encode(_record_json), encoding="utf-8"))
/test/xts/acts/commonlibrary/ets_utils/util_lib_standard/entry/src/ohosTest/js/test/
H A Dutil.test.js1629 result = that.encode('abc')
1645 result = that.encode('\uD800楼楼')
1661 result = that.encode('a\uD800楼楼')
1677 result = that.encode('abc\uD800楼楼')
1693 result = that.encode('123\uD800楼楼')
1710 result = that.encode('123¥\uD800楼')
1726 result = that.encode('¥¥')
1742 result = that.encode('$$')
1758 result = that.encode('abc哈哈熠熠')
1778 result = that.encode('ab
[all...]
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/
H A Dvpu_api.cpp149 return api->encode(ctx, aEncInStrm, aEncOut); in vpu_api_encode()
382 s->encode = vpu_api_encode; in vpu_open_context()
H A Dvpu_api_legacy.h63 RK_S32 encode(VpuCodecContext *ctx, EncInputStream_t *aEncInStrm, EncoderOut_t *aEncOut);
H A Dvpu_api_legacy.cpp998 RK_S32 VpuApiLegacy::encode(VpuCodecContext *ctx, EncInputStream_t *aEncInStrm, EncoderOut_t *aEncOut) in encode() function in VpuApiLegacy
/device/soc/hisilicon/hi3861v100/sdk_liteos/tools/efuse_tool/
H A Defuse_cfg_gen.py35 c = bytes.encode('hex')
/device/soc/rockchip/rk3399/hardware/mpp/include/
H A Drk_mpi.h24 * call hardware encode and decode. Current MPP fully supports
46 * encode : both send video frame to encoder and get encoded video stream from
122 MPP_RET (*encode)(MppCtx ctx, MppFrame frame, MppPacket *packet); member
H A Dvpu_api.h356 * @return 0 for encode success, others for failure.
358 RK_S32 (*encode)(struct VpuCodecContext *ctx, EncInputStream_t *aEncInStrm, EncoderOut_t *aEncOut); member
/device/soc/rockchip/rk3568/hardware/mpp/include/
H A Drk_mpi.h24 * call hardware encode and decode. Current MPP fully supports
46 * encode : both send video frame to encoder and get encoded video stream from
122 MPP_RET (*encode)(MppCtx ctx, MppFrame frame, MppPacket *packet); member
H A Dvpu_api.h359 * @return 0 for encode success, others for failure.
361 RK_S32 (*encode)(struct VpuCodecContext *ctx, EncInputStream_t *aEncInStrm, EncoderOut_t *aEncOut); member
/device/soc/rockchip/rk3588/hardware/mpp/include/
H A Drk_mpi.h25 * call hardware encode and decode. Current MPP fully supports
47 * encode : both send video frame to encoder and get encoded video stream from
123 MPP_RET (*encode)(MppCtx ctx, MppFrame frame, MppPacket *packet); member
H A Dvpu_api.h360 * @return 0 for encode success, others for failure.
362 RK_S32 (*encode)(struct VpuCodecContext *ctx, EncInputStream_t *aEncInStrm, EncoderOut_t *aEncOut); member
/device/soc/rockchip/common/hardware/mpp/include/
H A Drk_mpi.h24 * call hardware encode and decode. Current MPP fully supports
46 * encode : both send video frame to encoder and get encoded video stream from
122 MPP_RET (*encode)(MppCtx ctx, MppFrame frame, MppPacket *packet); member
H A Dvpu_api.h357 * @return 0 for encode success, others for failure.
359 signed int (*encode)(struct VpuCodecContext *ctx, EncInputStream_t *aEncInStrm, EncoderOut_t *aEncOut); member
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/
H A Dmk_prim_xml_step1.py156 cfg_fp.write(line.encode("UTF-8"))
/test/testfwk/developer_test/libs/fuzzlib/
H A Dfuzzer_helper.py206 file_handle.write(args.project_name.encode())
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dwl_android.c3909 uint encode, txexp; in wl_android_get_link_status() local
3955 encode = (rspec & WL_RSPEC_ENCODING_MASK); in wl_android_get_link_status()
3958 switch (encode) { in wl_android_get_link_status()
3987 single_stream = (encode == WL_RSPEC_ENCODE_RATE) || in wl_android_get_link_status()
3988 ((encode == WL_RSPEC_ENCODE_HT) && (rspec & WL_RSPEC_HT_MCS_MASK) < 8) || in wl_android_get_link_status()
3989 ((encode == WL_RSPEC_ENCODE_VHT) && in wl_android_get_link_status()
4003 if (encode == WL_RSPEC_ENCODE_VHT) { in wl_android_get_link_status()
/test/testfwk/xdevice/src/xdevice/_core/command/
H A Dconsole.py418 test_args = str(options.testargs).encode("utf-8").decode('unicode_escape')
/test/testfwk/developer_test/src/core/driver/
H A Ddrivers.py617 striped_bt = striped_content.encode("utf-8")

Completed in 33 milliseconds

12