Home
last modified time | relevance | path

Searched refs:extra (Results 1 – 25 of 126) sorted by relevance

123456

/hardware/google/aemu/base/
DStringFormat.cpp47 size_t extra = 0; in StringAppendFormatWithArgs() local
51 int ret = vsnprintf(&(*string)[cur_size], extra, format, args2); in StringAppendFormatWithArgs()
61 if (extra == 0) { in StringAppendFormatWithArgs()
63 extra = ret_sz + 1; in StringAppendFormatWithArgs()
64 string->resize(cur_size + extra); in StringAppendFormatWithArgs()
67 if (ret_sz < extra) { in StringAppendFormatWithArgs()
78 extra += (extra >> 1) + 32; in StringAppendFormatWithArgs()
79 string->resize(cur_size + extra); in StringAppendFormatWithArgs()
/hardware/google/gfxstream/guest/android-emu/aemu/base/
DStringFormat.cpp47 size_t extra = 0; in StringAppendFormatWithArgs() local
51 int ret = vsnprintf(&(*string)[cur_size], extra, format, args2); in StringAppendFormatWithArgs()
61 if (extra == 0) { in StringAppendFormatWithArgs()
63 extra = ret_sz + 1; in StringAppendFormatWithArgs()
64 string->resize(cur_size + extra); in StringAppendFormatWithArgs()
67 if (ret_sz < extra) { in StringAppendFormatWithArgs()
78 extra += (extra >> 1) + 32; in StringAppendFormatWithArgs()
79 string->resize(cur_size + extra); in StringAppendFormatWithArgs()
/hardware/google/graphics/common/libhwjpeg/
DAppMarkerWriter.cpp85 extra_appinfo_t *extra) { in PrepareAppWriter() argument
240 if (extra) { in PrepareAppWriter()
241 for (int idx = 0; idx < extra->num_of_appmarker; idx++) { in PrepareAppWriter()
242 if ((extra->appInfo[idx].appid < EXTRA_APPMARKER_MIN) || in PrepareAppWriter()
243 (extra->appInfo[idx].appid >= EXTRA_APPMARKER_LIMIT)) { in PrepareAppWriter()
244 ALOGE("Invalid extra APP segment ID %d", extra->appInfo[idx].appid); in PrepareAppWriter()
248 if ((extra->appInfo[idx].dataSize == 0) || in PrepareAppWriter()
249 (extra->appInfo[idx].dataSize > in PrepareAppWriter()
251 ALOGE("Invalid APP%d segment size, %u bytes", extra->appInfo[idx].appid, in PrepareAppWriter()
252 extra->appInfo[idx].dataSize); in PrepareAppWriter()
[all …]
/hardware/interfaces/confirmationui/1.0/vts/functional/
DVtsHalConfirmationUIV1_0TargetTest.cpp237 hidl_vec<uint8_t> extra(test_extra, test_extra + 3); in TEST_P() local
239 confirmator_->promptUserConfirmation(conf_cb, prompt_text, extra, "en", {})); in TEST_P()
281 hidl_vec<uint8_t> extra(test_extra, test_extra + sizeof(test_extra)); in TEST_P() local
283 confirmator_->promptUserConfirmation(conf_cb, prompt_text, extra, "en", {})); in TEST_P()
293 hidl_vec<uint8_t> extra(test_extra, test_extra + sizeof(test_extra)); in TEST_P() local
295 confirmator_->promptUserConfirmation(conf_cb, prompt_text, extra, "en", {})); in TEST_P()
304 hidl_vec<uint8_t> extra(test_extra, test_extra + 3); in TEST_P() local
306 confirmator_->promptUserConfirmation(conf_cb, prompt_text, extra, "en", {})); in TEST_P()
324 hidl_vec<uint8_t> extra(test_extra, test_extra + 3); in TEST_P() local
326 confirmator_->promptUserConfirmation(conf_cb, prompt_text, extra, "en", {})); in TEST_P()
[all …]
/hardware/interfaces/confirmationui/aidl/vts/functional/
DVtsHalConfirmationUITargetTest.cpp276 vector<uint8_t> extra(test_extra, test_extra + 3); in TEST_P() local
277 ASSERT_TRUE(confirmator_->promptUserConfirmation(conf_cb, prompt_text, extra, "en", {}).isOk()); in TEST_P()
319 vector<uint8_t> extra(test_extra, test_extra + sizeof(test_extra)); in TEST_P() local
320 auto result = confirmator_->promptUserConfirmation(conf_cb, prompt_text, extra, "en", {}); in TEST_P()
332 vector<uint8_t> extra(test_extra, test_extra + sizeof(test_extra)); in TEST_P() local
333 auto result = confirmator_->promptUserConfirmation(conf_cb, prompt_text, extra, "en", {}); in TEST_P()
344 vector<uint8_t> extra(test_extra, test_extra + 3); in TEST_P() local
345 ASSERT_TRUE(confirmator_->promptUserConfirmation(conf_cb, prompt_text, extra, "en", {}).isOk()); in TEST_P()
365 vector<uint8_t> extra(test_extra, test_extra + 3); in TEST_P() local
366 ASSERT_TRUE(confirmator_->promptUserConfirmation(conf_cb, prompt_text, extra, "en", {}).isOk()); in TEST_P()
[all …]
/hardware/google/graphics/common/libhwjpeg/include/hardware/exynos/
DExynosExif.h34 bool UpdateDebugData(char *jpeg, size_t jpeglen, extra_appinfo_t *extra);
35 void ExtractDebugAttributeInfo(debug_attribute_t *debug, extra_appinfo_t *extra);
/hardware/interfaces/soundtrigger/2.0/default/
DSoundTriggerHalImpl.cpp392 struct sound_trigger_phrase_recognition_extra* halExtra, const PhraseRecognitionExtra* extra) { in convertPhraseRecognitionExtraToHal() argument
393 halExtra->id = extra->id; in convertPhraseRecognitionExtraToHal()
394 halExtra->recognition_modes = extra->recognitionModes; in convertPhraseRecognitionExtraToHal()
395 halExtra->confidence_level = extra->confidenceLevel; in convertPhraseRecognitionExtraToHal()
398 for (i = 0; i < extra->levels.size() && i < SOUND_TRIGGER_MAX_USERS; i++) { in convertPhraseRecognitionExtraToHal()
399 halExtra->levels[i].user_id = extra->levels[i].userId; in convertPhraseRecognitionExtraToHal()
400 halExtra->levels[i].level = extra->levels[i].levelPercent; in convertPhraseRecognitionExtraToHal()
476 PhraseRecognitionExtra* extra, const struct sound_trigger_phrase_recognition_extra* halExtra) { in convertPhraseRecognitionExtraFromHal() argument
477 extra->id = halExtra->id; in convertPhraseRecognitionExtraFromHal()
478 extra->recognitionModes = halExtra->recognition_modes; in convertPhraseRecognitionExtraFromHal()
[all …]
/hardware/interfaces/confirmationui/support/test/
Dmsg_formatting_test.cpp83 hidl_vec<uint8_t> extra; in TEST() local
87 std::tie(in, command_matches, prompt, extra, locale, uiOpts) = in TEST()
92 ASSERT_EQ((hidl_vec<uint8_t>{0x01, 0x02, 0x03}), extra); in TEST()
105 ASSERT_EQ(20, extra.data() - begin); in TEST()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h655 void print_debug_extradata(OMX_OTHER_EXTRADATATYPE *extra);
657 void append_interlace_extradata(OMX_OTHER_EXTRADATATYPE *extra,
661 void append_frame_info_extradata(OMX_OTHER_EXTRADATATYPE *extra,
669 void append_interlace_extradata(OMX_OTHER_EXTRADATATYPE *extra,
673 void append_frame_info_extradata(OMX_OTHER_EXTRADATATYPE *extra,
681 void append_terminator_extradata(OMX_OTHER_EXTRADATATYPE *extra);
683 void append_portdef_extradata(OMX_OTHER_EXTRADATATYPE *extra);
684 void append_frame_dimension_extradata(OMX_OTHER_EXTRADATATYPE *extra);
685 void append_extn_extradata(OMX_OTHER_EXTRADATATYPE *extra, OMX_OTHER_EXTRADATATYPE *p_extn);
686 void append_user_extradata(OMX_OTHER_EXTRADATATYPE *extra, OMX_OTHER_EXTRADATATYPE *p_user);
[all …]
Domx_vdec_hevc.h594 void print_debug_extradata(OMX_OTHER_EXTRADATATYPE *extra);
596 void append_interlace_extradata(OMX_OTHER_EXTRADATATYPE *extra,
600 void append_frame_info_extradata(OMX_OTHER_EXTRADATATYPE *extra,
607 void append_interlace_extradata(OMX_OTHER_EXTRADATATYPE *extra,
611 void append_frame_info_extradata(OMX_OTHER_EXTRADATATYPE *extra,
619 void append_terminator_extradata(OMX_OTHER_EXTRADATATYPE *extra);
621 void append_portdef_extradata(OMX_OTHER_EXTRADATATYPE *extra);
622 void append_extn_extradata(OMX_OTHER_EXTRADATATYPE *extra, OMX_OTHER_EXTRADATATYPE *p_extn);
623 void append_user_extradata(OMX_OTHER_EXTRADATATYPE *extra, OMX_OTHER_EXTRADATATYPE *p_user);
627 OMX_U32 count_MB_in_extradata(OMX_OTHER_EXTRADATATYPE *extra);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h681 void print_debug_extradata(OMX_OTHER_EXTRADATATYPE *extra);
683 void append_interlace_extradata(OMX_OTHER_EXTRADATATYPE *extra,
687 void append_frame_info_extradata(OMX_OTHER_EXTRADATATYPE *extra,
695 void append_interlace_extradata(OMX_OTHER_EXTRADATATYPE *extra,
699 void append_frame_info_extradata(OMX_OTHER_EXTRADATATYPE *extra,
707 void append_terminator_extradata(OMX_OTHER_EXTRADATATYPE *extra);
709 void append_portdef_extradata(OMX_OTHER_EXTRADATATYPE *extra);
710 void append_frame_dimension_extradata(OMX_OTHER_EXTRADATATYPE *extra);
711 void append_extn_extradata(OMX_OTHER_EXTRADATATYPE *extra, OMX_OTHER_EXTRADATATYPE *p_extn);
712 void append_user_extradata(OMX_OTHER_EXTRADATATYPE *extra, OMX_OTHER_EXTRADATATYPE *p_user);
[all …]
Domx_vdec_hevc.h591 void print_debug_extradata(OMX_OTHER_EXTRADATATYPE *extra);
593 void append_interlace_extradata(OMX_OTHER_EXTRADATATYPE *extra,
597 void append_frame_info_extradata(OMX_OTHER_EXTRADATATYPE *extra,
604 void append_interlace_extradata(OMX_OTHER_EXTRADATATYPE *extra,
608 void append_frame_info_extradata(OMX_OTHER_EXTRADATATYPE *extra,
616 void append_terminator_extradata(OMX_OTHER_EXTRADATATYPE *extra);
618 void append_portdef_extradata(OMX_OTHER_EXTRADATATYPE *extra);
619 void append_extn_extradata(OMX_OTHER_EXTRADATATYPE *extra, OMX_OTHER_EXTRADATATYPE *p_extn);
620 void append_user_extradata(OMX_OTHER_EXTRADATATYPE *extra, OMX_OTHER_EXTRADATATYPE *p_user);
624 OMX_U32 count_MB_in_extradata(OMX_OTHER_EXTRADATATYPE *extra);
Domx_vdec_hevc_swvdec.h708 void print_debug_extradata(OMX_OTHER_EXTRADATATYPE *extra);
710 void append_interlace_extradata(OMX_OTHER_EXTRADATATYPE *extra,
714 void append_frame_info_extradata(OMX_OTHER_EXTRADATATYPE *extra,
721 void append_interlace_extradata(OMX_OTHER_EXTRADATATYPE *extra,
725 void append_frame_info_extradata(OMX_OTHER_EXTRADATATYPE *extra,
733 void append_terminator_extradata(OMX_OTHER_EXTRADATATYPE *extra);
735 void append_portdef_extradata(OMX_OTHER_EXTRADATATYPE *extra);
736 void append_extn_extradata(OMX_OTHER_EXTRADATATYPE *extra, OMX_OTHER_EXTRADATATYPE *p_extn);
737 void append_user_extradata(OMX_OTHER_EXTRADATATYPE *extra, OMX_OTHER_EXTRADATATYPE *p_user);
741 OMX_U32 count_MB_in_extradata(OMX_OTHER_EXTRADATATYPE *extra);
/hardware/interfaces/confirmationui/1.0/
DIConfirmationResultCallback.hal36 * @param formattedMessage holds the prompt text and extra data.
38 * CBOR_MAP{ "prompt", <promptText>, "extra", <extraData> }
40 * "prompt" and "extra". The keys are encoded as CBOR text string
44 * the keys "prompt" and "extra". Other keys are not allowed.
48 * The value of "extra" is given by the extraData argument to
/hardware/interfaces/soundtrigger/2.2/default/
DSoundTriggerHw.cpp415 const V2_0::PhraseRecognitionExtra* extra) { in convertPhraseRecognitionExtraToHal() argument
416 halExtra->id = extra->id; in convertPhraseRecognitionExtraToHal()
417 halExtra->recognition_modes = extra->recognitionModes; in convertPhraseRecognitionExtraToHal()
418 halExtra->confidence_level = extra->confidenceLevel; in convertPhraseRecognitionExtraToHal()
421 for (i = 0; i < extra->levels.size() && i < SOUND_TRIGGER_MAX_USERS; i++) { in convertPhraseRecognitionExtraToHal()
422 halExtra->levels[i].user_id = extra->levels[i].userId; in convertPhraseRecognitionExtraToHal()
423 halExtra->levels[i].level = extra->levels[i].levelPercent; in convertPhraseRecognitionExtraToHal()
500 V2_0::PhraseRecognitionExtra* extra, in convertPhraseRecognitionExtraFromHal() argument
502 extra->id = halExtra->id; in convertPhraseRecognitionExtraFromHal()
503 extra->recognitionModes = halExtra->recognition_modes; in convertPhraseRecognitionExtraFromHal()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h725 void print_debug_extradata(OMX_OTHER_EXTRADATATYPE *extra);
731 void append_interlace_extradata(OMX_OTHER_EXTRADATATYPE *extra,
735 void append_frame_info_extradata(OMX_OTHER_EXTRADATATYPE *extra,
744 void append_interlace_extradata(OMX_OTHER_EXTRADATATYPE *extra,
748 void append_frame_info_extradata(OMX_OTHER_EXTRADATATYPE *extra,
757 void append_terminator_extradata(OMX_OTHER_EXTRADATATYPE *extra);
759 void append_portdef_extradata(OMX_OTHER_EXTRADATATYPE *extra);
760 void append_frame_dimension_extradata(OMX_OTHER_EXTRADATATYPE *extra);
761 void append_extn_extradata(OMX_OTHER_EXTRADATATYPE *extra, OMX_OTHER_EXTRADATATYPE *p_extn);
762 void append_user_extradata(OMX_OTHER_EXTRADATATYPE *extra, OMX_OTHER_EXTRADATATYPE *p_user);
[all …]
/hardware/interfaces/soundtrigger/aidl/cli/java/android/hardware/soundtrigger3/cli/
DSthalCli.java223 PhraseRecognitionExtra extra = new PhraseRecognitionExtra(); in sendPhraseRecognitionEvent() local
224 extra.id = model.phraseModel.phrases[0].id; in sendPhraseRecognitionEvent()
225 extra.confidenceLevel = 100; in sendPhraseRecognitionEvent()
226 extra.recognitionModes = model.phraseModel.phrases[0].recognitionModes; in sendPhraseRecognitionEvent()
227 extra.levels = new ConfidenceLevel[0]; in sendPhraseRecognitionEvent()
228 event.phraseExtras = new PhraseRecognitionExtra[]{extra}; in sendPhraseRecognitionEvent()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/inc/
Domx_vdec.h956 void print_debug_extradata(OMX_OTHER_EXTRADATATYPE *extra);
961 void append_interlace_extradata(OMX_OTHER_EXTRADATATYPE *extra,
965 void append_frame_info_extradata(OMX_OTHER_EXTRADATATYPE *extra,
973 void append_frame_info_extradata(OMX_OTHER_EXTRADATATYPE *extra,
982 void append_terminator_extradata(OMX_OTHER_EXTRADATATYPE *extra);
984 void append_portdef_extradata(OMX_OTHER_EXTRADATATYPE *extra);
985 void append_frame_dimension_extradata(OMX_OTHER_EXTRADATATYPE *extra);
986 void append_extn_extradata(OMX_OTHER_EXTRADATATYPE *extra, OMX_OTHER_EXTRADATATYPE *p_extn);
987 void append_user_extradata(OMX_OTHER_EXTRADATATYPE *extra, OMX_OTHER_EXTRADATATYPE *p_user);
988 void append_concealmb_extradata(OMX_OTHER_EXTRADATATYPE *extra,
[all …]
/hardware/interfaces/soundtrigger/2.3/default/
DSoundTriggerHw.cpp423 const V2_0::PhraseRecognitionExtra* extra) { in convertPhraseRecognitionExtraToHal() argument
424 halExtra->id = extra->id; in convertPhraseRecognitionExtraToHal()
425 halExtra->recognition_modes = extra->recognitionModes; in convertPhraseRecognitionExtraToHal()
426 halExtra->confidence_level = extra->confidenceLevel; in convertPhraseRecognitionExtraToHal()
429 for (i = 0; i < extra->levels.size() && i < SOUND_TRIGGER_MAX_USERS; i++) { in convertPhraseRecognitionExtraToHal()
430 halExtra->levels[i].user_id = extra->levels[i].userId; in convertPhraseRecognitionExtraToHal()
431 halExtra->levels[i].level = extra->levels[i].levelPercent; in convertPhraseRecognitionExtraToHal()
556 V2_0::PhraseRecognitionExtra* extra, in convertPhraseRecognitionExtraFromHal() argument
558 extra->id = halExtra->id; in convertPhraseRecognitionExtraFromHal()
559 extra->recognitionModes = halExtra->recognition_modes; in convertPhraseRecognitionExtraFromHal()
[all …]
/hardware/interfaces/audio/effect/5.0/
DIDownmixEffect.hal24 STRIP, // throw away the extra channels
25 FOLD // mix the extra channels with FL/FR
/hardware/interfaces/audio/effect/7.0/
DIDownmixEffect.hal24 STRIP, // throw away the extra channels
25 FOLD // mix the extra channels with FL/FR
/hardware/interfaces/audio/effect/6.0/
DIDownmixEffect.hal24 STRIP, // throw away the extra channels
25 FOLD // mix the extra channels with FL/FR
/hardware/interfaces/audio/effect/4.0/
DIDownmixEffect.hal24 STRIP, // throw away the extra channels
25 FOLD // mix the extra channels with FL/FR
/hardware/interfaces/audio/effect/2.0/
DIDownmixEffect.hal24 STRIP, // throw away the extra channels
25 FOLD // mix the extra channels with FL/FR
/hardware/google/gfxstream/guest/mesa/src/util/
Dglsl2spirv.py38 extra: T.Optional[str]
161 if args.extra is not None:
162 cmd_list.append(args.extra)

123456