Home
last modified time | relevance | path

Searched refs:profile (Results 1 – 25 of 172) sorted by relevance

1234567

/hardware/interfaces/identity/aidl/default/
DUtil.cpp42 vector<uint8_t> secureAccessControlProfileEncodeCbor(const SecureAccessControlProfile& profile) { in secureAccessControlProfileEncodeCbor() argument
44 map.add("id", profile.id); in secureAccessControlProfileEncodeCbor()
46 if (profile.readerCertificate.encodedCertificate.size() > 0) { in secureAccessControlProfileEncodeCbor()
47 map.add("readerCertificate", cppbor::Bstr(profile.readerCertificate.encodedCertificate)); in secureAccessControlProfileEncodeCbor()
50 if (profile.userAuthenticationRequired) { in secureAccessControlProfileEncodeCbor()
51 map.add("userAuthenticationRequired", profile.userAuthenticationRequired); in secureAccessControlProfileEncodeCbor()
52 map.add("timeoutMillis", profile.timeoutMillis); in secureAccessControlProfileEncodeCbor()
53 map.add("secureUserId", profile.secureUserId); in secureAccessControlProfileEncodeCbor()
60 const SecureAccessControlProfile& profile, const vector<uint8_t>& storageKey) { in secureAccessControlProfileCalcMac() argument
61 vector<uint8_t> cborData = secureAccessControlProfileEncodeCbor(profile); in secureAccessControlProfileCalcMac()
[all …]
DWritableIdentityCredential.cpp143 SecureAccessControlProfile profile; in addAccessControlProfile() local
179 profile.id = id; in addAccessControlProfile()
180 profile.readerCertificate = readerCertificate; in addAccessControlProfile()
181 profile.userAuthenticationRequired = userAuthenticationRequired; in addAccessControlProfile()
182 profile.timeoutMillis = timeoutMillis; in addAccessControlProfile()
183 profile.secureUserId = secureUserId; in addAccessControlProfile()
184 optional<vector<uint8_t>> mac = secureAccessControlProfileCalcMac(profile, storageKey_); in addAccessControlProfile()
189 profile.mac = mac.value(); in addAccessControlProfile()
192 profileMap.add("id", profile.id); in addAccessControlProfile()
193 if (profile.readerCertificate.encodedCertificate.size() > 0) { in addAccessControlProfile()
[all …]
DUtil.h42 const SecureAccessControlProfile& profile, const vector<uint8_t>& storageKey);
45 bool secureAccessControlProfileCheckMac(const SecureAccessControlProfile& profile,
DIdentityCredential.cpp177 bool checkReaderAuthentication(const SecureAccessControlProfile& profile, in checkReaderAuthentication() argument
180 support::certificateChainGetTopMostKey(profile.readerCertificate.encodedCertificate); in checkReaderAuthentication()
206 bool checkUserAuthentication(const SecureAccessControlProfile& profile, in checkUserAuthentication() argument
209 if (profile.secureUserId != authToken.userId) { in checkUserAuthentication()
210 LOG(ERROR) << "secureUserId in profile (" << profile.secureUserId in checkUserAuthentication()
224 if (profile.timeoutMillis == 0) { in checkUserAuthentication()
248 if (now.milliSeconds > authToken.timestamp.milliSeconds + profile.timeoutMillis) { in checkUserAuthentication()
250 << profile.timeoutMillis << " = " in checkUserAuthentication()
251 << (authToken.timestamp.milliSeconds + profile.timeoutMillis) in checkUserAuthentication()
467 for (const auto& profile : accessControlProfiles) { in startRetrieval() local
[all …]
/hardware/libhardware/modules/usbaudio/
Daudio_hal.c87 alsa_device_profile profile; /* The profile of the ALSA device connected to the stream. member
120 alsa_device_profile profile; /* The profile of the ALSA device connected to the stream. member
238 static char *device_get_parameters(const alsa_device_profile *profile, const char * keys) in device_get_parameters() argument
240 if (profile->card < 0 || profile->device < 0) { in device_get_parameters()
250 char* rates_list = profile_get_sample_rate_strs(profile); in device_get_parameters()
258 char* channels_list = profile_get_channel_count_strs(profile); in device_get_parameters()
266 char * format_params = profile_get_format_strs(profile); in device_get_parameters()
352 profile_dump(&out_stream->profile, fd); in out_dump()
377 if (!profile_is_cached_for(&out->profile, card, device)) { in out_set_parameters()
382 int saved_card = out->profile.card; in out_set_parameters()
[all …]
/hardware/interfaces/identity/aidl/vts/
DVtsIdentityTestUtils.cpp96 SecureAccessControlProfile profile; in addAccessControlProfiles() local
102 testProfile.timeoutMillis, secureUserId, &profile); in addAccessControlProfiles()
108 EXPECT_EQ(testProfile.id, profile.id); in addAccessControlProfiles()
109 EXPECT_EQ(testProfile.readerCertificate, profile.readerCertificate.encodedCertificate); in addAccessControlProfiles()
110 EXPECT_EQ(testProfile.userAuthenticationRequired, profile.userAuthenticationRequired); in addAccessControlProfiles()
111 EXPECT_EQ(testProfile.timeoutMillis, profile.timeoutMillis); in addAccessControlProfiles()
112 EXPECT_EQ(support::kAesGcmTagSize + support::kAesGcmIvSize, profile.mac.size()); in addAccessControlProfiles()
114 if (!result.isOk() || testProfile.id != profile.id || in addAccessControlProfiles()
115 testProfile.readerCertificate != profile.readerCertificate.encodedCertificate || in addAccessControlProfiles()
116 testProfile.userAuthenticationRequired != profile.userAuthenticationRequired || in addAccessControlProfiles()
[all …]
/hardware/interfaces/audio/core/all-versions/vts/functional/6.0/
DAudioPrimaryHidlHalTest.cpp27 for (const auto& profile : ioProfile->getAudioProfiles()) { in getOutputDeviceConfigParameters() local
28 const auto& channels = profile->getChannels(); in getOutputDeviceConfigParameters()
29 const auto& sampleRates = profile->getSampleRates(); in getOutputDeviceConfigParameters()
33 profile->getFormat()); in getOutputDeviceConfigParameters()
73 for (const auto& profile : ioProfile->getAudioProfiles()) { in getInputDeviceConfigParameters() local
74 const auto& channels = profile->getChannels(); in getInputDeviceConfigParameters()
75 const auto& sampleRates = profile->getSampleRates(); in getInputDeviceConfigParameters()
79 profile->getFormat()); in getInputDeviceConfigParameters()
/hardware/qcom/msm8998/original-kernel-headers/linux/mfd/
Dmsm-adie-codec.h101 int (*codec_open) (struct adie_codec_dev_profile *profile,
108 u32 (*codec_freq_supported) (struct adie_codec_dev_profile *profile,
128 int adie_codec_open(struct adie_codec_dev_profile *profile,
134 u32 adie_codec_freq_supported(struct adie_codec_dev_profile *profile,
/hardware/qcom/msm8994/original-kernel-headers/linux/mfd/
Dmsm-adie-codec.h101 int (*codec_open) (struct adie_codec_dev_profile *profile,
108 u32 (*codec_freq_supported) (struct adie_codec_dev_profile *profile,
128 int adie_codec_open(struct adie_codec_dev_profile *profile,
134 u32 adie_codec_freq_supported(struct adie_codec_dev_profile *profile,
/hardware/qcom/msm8960/original-kernel-headers/linux/mfd/
Dmsm-adie-codec.h101 int (*codec_open) (struct adie_codec_dev_profile *profile,
108 u32 (*codec_freq_supported) (struct adie_codec_dev_profile *profile,
128 int adie_codec_open(struct adie_codec_dev_profile *profile,
134 u32 adie_codec_freq_supported(struct adie_codec_dev_profile *profile,
/hardware/qcom/msm8x26/original-kernel-headers/linux/mfd/
Dmsm-adie-codec.h101 int (*codec_open) (struct adie_codec_dev_profile *profile,
108 u32 (*codec_freq_supported) (struct adie_codec_dev_profile *profile,
128 int adie_codec_open(struct adie_codec_dev_profile *profile,
134 u32 adie_codec_freq_supported(struct adie_codec_dev_profile *profile,
/hardware/qcom/msm8996/original-kernel-headers/linux/mfd/
Dmsm-adie-codec.h101 int (*codec_open) (struct adie_codec_dev_profile *profile,
108 u32 (*codec_freq_supported) (struct adie_codec_dev_profile *profile,
128 int adie_codec_open(struct adie_codec_dev_profile *profile,
134 u32 adie_codec_freq_supported(struct adie_codec_dev_profile *profile,
/hardware/qcom/msm8x84/original-kernel-headers/linux/mfd/
Dmsm-adie-codec.h101 int (*codec_open) (struct adie_codec_dev_profile *profile,
108 u32 (*codec_freq_supported) (struct adie_codec_dev_profile *profile,
128 int adie_codec_open(struct adie_codec_dev_profile *profile,
134 u32 adie_codec_freq_supported(struct adie_codec_dev_profile *profile,
/hardware/qcom/msm8x09/original-kernel-headers/linux/mfd/
Dmsm-adie-codec.h101 int (*codec_open) (struct adie_codec_dev_profile *profile,
108 u32 (*codec_freq_supported) (struct adie_codec_dev_profile *profile,
128 int adie_codec_open(struct adie_codec_dev_profile *profile,
134 u32 adie_codec_freq_supported(struct adie_codec_dev_profile *profile,
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
Dvideo_encoder_device_copper.cpp281 codec_profile.profile = V4L2_MPEG_VIDEO_MPEG4_PROFILE_SIMPLE; in venc_open()
290 codec_profile.profile = VEN_PROFILE_H263_BASELINE; in venc_open()
299 codec_profile.profile = V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE; in venc_open()
1192 __func__, codec_profile.profile, profile_level.level); in venc_start()
1197 if((codec_profile.profile == V4L2_MPEG_VIDEO_MPEG4_PROFILE_SIMPLE) || in venc_start()
1198 (codec_profile.profile == V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE) || in venc_start()
1199 (codec_profile.profile == VEN_PROFILE_H263_BASELINE)) in venc_start()
1364 m_sVenc_cfg.codectype, codec_profile.profile, profile_level.level); in venc_config_print()
1736 if((codec_profile.profile == V4L2_MPEG_VIDEO_H264_PROFILE_MAIN) || in venc_set_session_qp()
1737 (codec_profile.profile == V4L2_MPEG_VIDEO_H264_PROFILE_HIGH)) in venc_set_session_qp()
[all …]
Dvideo_encoder_device.cpp254 codec_profile.profile = VEN_PROFILE_MPEG4_SP; in venc_open()
263 codec_profile.profile = VEN_PROFILE_H263_BASELINE; in venc_open()
272 codec_profile.profile = VEN_PROFILE_H264_BASELINE; in venc_open()
1177 __func__, codec_profile.profile, profile_level.level); in venc_start()
1190 if((codec_profile.profile == VEN_PROFILE_MPEG4_SP) || in venc_start()
1191 (codec_profile.profile == VEN_PROFILE_H264_BASELINE) || in venc_start()
1192 (codec_profile.profile == VEN_PROFILE_H263_BASELINE)) in venc_start()
1411 m_sVenc_cfg.codectype, codec_profile.profile, profile_level.level); in venc_config_print()
1881 requested_profile.profile = VEN_PROFILE_MPEG4_SP; in venc_set_profile_level()
1888 requested_profile.profile = VEN_PROFILE_MPEG4_ASP; in venc_set_profile_level()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp365 codec_profile.profile = VEN_PROFILE_MPEG4_SP; in venc_open()
369 codec_profile.profile = VEN_PROFILE_H263_BASELINE; in venc_open()
375 codec_profile.profile = VEN_PROFILE_H264_BASELINE; in venc_open()
1378 __func__, codec_profile.profile, profile_level.level); in venc_start()
1391 if ((codec_profile.profile == VEN_PROFILE_MPEG4_SP) || in venc_start()
1392 (codec_profile.profile == VEN_PROFILE_H264_BASELINE) || in venc_start()
1393 (codec_profile.profile == VEN_PROFILE_H263_BASELINE)) in venc_start()
1620 m_sVenc_cfg.codectype, codec_profile.profile, profile_level.level); in venc_config_print()
2124 requested_profile.profile = VEN_PROFILE_MPEG4_SP; in venc_set_profile_level()
2129 requested_profile.profile = VEN_PROFILE_MPEG4_ASP; in venc_set_profile_level()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device.cpp364 codec_profile.profile = VEN_PROFILE_MPEG4_SP; in venc_open()
368 codec_profile.profile = VEN_PROFILE_H263_BASELINE; in venc_open()
374 codec_profile.profile = VEN_PROFILE_H264_BASELINE; in venc_open()
1377 __func__, codec_profile.profile, profile_level.level); in venc_start()
1390 if ((codec_profile.profile == VEN_PROFILE_MPEG4_SP) || in venc_start()
1391 (codec_profile.profile == VEN_PROFILE_H264_BASELINE) || in venc_start()
1392 (codec_profile.profile == VEN_PROFILE_H263_BASELINE)) in venc_start()
1619 m_sVenc_cfg.codectype, codec_profile.profile, profile_level.level); in venc_config_print()
2123 requested_profile.profile = VEN_PROFILE_MPEG4_SP; in venc_set_profile_level()
2128 requested_profile.profile = VEN_PROFILE_MPEG4_ASP; in venc_set_profile_level()
[all …]
/hardware/google/av/media/eco/include/eco/
DECOUtils.h74 SimpleEncoderConfig(const std::string& name, int32_t codecType, int32_t profile, int32_t level, in SimpleEncoderConfig()
78 mProfile(profile), in SimpleEncoderConfig()
/hardware/qcom/msm8998/kernel-headers/linux/mfd/
Dmsm-adie-codec.h80 int(* codec_open) (struct adie_codec_dev_profile * profile, struct adie_codec_path * * path_pptr);
85 u32(* codec_freq_supported) (struct adie_codec_dev_profile * profile, u32 requested_freq);
/hardware/qcom/msm8960/kernel-headers/linux/mfd/
Dmsm-adie-codec.h80 int (*codec_open) (struct adie_codec_dev_profile *profile,
89 u32 (*codec_freq_supported) (struct adie_codec_dev_profile *profile,
/hardware/qcom/msm8994/kernel-headers/linux/mfd/
Dmsm-adie-codec.h80 int (*codec_open) (struct adie_codec_dev_profile *profile,
89 u32 (*codec_freq_supported) (struct adie_codec_dev_profile *profile,
/hardware/qcom/msm8x84/kernel-headers/linux/mfd/
Dmsm-adie-codec.h80 int (*codec_open) (struct adie_codec_dev_profile *profile,
89 u32 (*codec_freq_supported) (struct adie_codec_dev_profile *profile,
/hardware/qcom/msm8996/kernel-headers/linux/mfd/
Dmsm-adie-codec.h80 int(* codec_open) (struct adie_codec_dev_profile * profile, struct adie_codec_path * * path_pptr);
85 u32(* codec_freq_supported) (struct adie_codec_dev_profile * profile, u32 requested_freq);
/hardware/qcom/msm8x26/kernel-headers/linux/mfd/
Dmsm-adie-codec.h80 int (*codec_open) (struct adie_codec_dev_profile *profile,
89 u32 (*codec_freq_supported) (struct adie_codec_dev_profile *profile,

1234567