/hardware/interfaces/confirmationui/1.0/vts/functional/ |
H A D | VtsHalConfirmationUIV1_0TargetTest.cpp | 125 std::ostream& hexdump(std::ostream& out, const uint8_t* data, size_t size) { argument 128 out << std::hex << std::setw(2) << std::setfill('0') << (unsigned)byte; 131 out << "\n"; 134 out << " "; 137 out << " "; 141 return out;
|
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/ |
H A D | cbor.h | 31 Out copy(In begin, In end, Out out) { argument 33 *out++ = *begin++; 35 return out; 232 bool checkUTF8Copy(const char* begin, const char* const end, uint8_t* out);
|
H A D | msg_formatting.h | 184 // zero out the gaps when writing 189 inline WriteStream write(WriteStream out, const uint8_t* buffer, size_t size) { argument 190 auto pos = out.pos(); 192 out += 4 + size; 193 if (out) { 195 out.good_ = false; 196 return out; 202 return out; 205 WriteStream write(WriteStream out, const uint8_t (&v)[size]) { argument 206 return write(out, 251 writeSimpleHidlVec(WriteStream out, const hidl_vec<T>& vec) argument 295 write(WriteStream out, const HardwareAuthToken& v) argument 313 write(WriteStream out, const ResponseCode& v) argument 321 write(WriteStream out, const hidl_vec<uint8_t>& v) argument 330 write(WriteStream out, const hidl_vec<UIOption>& v) argument 354 write(WriteStream out, const hidl_string& v) argument 364 write(WriteStream out, Command cmd) argument 373 write(WriteStream out, Cmd<cmd>) argument 389 write(Message<, WriteStream out) argument 394 write(Message<Head, Tail...>, WriteStream out, const Head& head, const Tail&... tail) argument 400 write(Message<Cmd<cmd>, Tail...>, WriteStream out, const Tail&... tail) argument [all...] |
/hardware/interfaces/tests/baz/1.0/default/ |
H A D | Baz.cpp | 62 hidl_array<bool, 4> out; local 63 out[0] = !x[0]; 64 out[1] = !x[1]; 65 out[2] = !x[2]; 66 out[3] = true; 68 _hidl_cb(out); 76 hidl_vec<bool> out; local 77 out.resize(x.size()); 79 out[i] = !x[i]; 82 _hidl_cb(out); 130 IBase::VectorOfArray out; local 151 hidl_vec<hidl_array<uint8_t, 6> > out; local 166 IBase::StringMatrix3x5 out; local 181 hidl_array<hidl_string, 3, 5> out; local 289 hidl_vec<int32_t> out; local [all...] |
/hardware/libhardware/modules/camera/3_0/ |
H A D | Camera.cpp | 202 // Clear out last seen settings metadata 424 camera3_stream_buffer_t *out) 439 out->stream = in->stream; 440 out->buffer = in->buffer; 441 out->status = CAMERA3_BUFFER_STATUS_OK; 443 out->acquire_fence = -1; 444 out->release_fence = -1; 423 processCaptureBuffer(const camera3_stream_buffer_t *in, camera3_stream_buffer_t *out) argument
|
/hardware/libhardware_legacy/audio/ |
H A D | A2dpAudioInterface.cpp | 82 A2dpAudioStreamOut* out = new A2dpAudioStreamOut(); local 83 if ((err = out->set(devices, format, channels, sampleRate)) == NO_ERROR) { 84 mOutput = out; 88 delete out; 96 void A2dpAudioInterface::closeOutputStream(AudioStreamOut* out) { argument 97 if (mOutput == 0 || mOutput != out) { 98 mHardwareInterface->closeOutputStream(out);
|
H A D | AudioDumpInterface.cpp | 106 void AudioDumpInterface::closeOutputStream(AudioStreamOut* out) argument 108 AudioStreamOutDump *dumpOut = (AudioStreamOutDump *)out; 115 ALOGV("closeOutputStream() output %p", out);
|
H A D | audio_hw_hal.cpp | 123 const struct legacy_stream_out *out = local 125 return out->legacy_out->sampleRate(); 130 struct legacy_stream_out *out = local 140 const struct legacy_stream_out *out = local 142 return out->legacy_out->bufferSize(); 147 const struct legacy_stream_out *out = local 149 return (audio_channel_mask_t) out->legacy_out->channels(); 154 const struct legacy_stream_out *out = local 157 return (audio_format_t) out->legacy_out->format(); 162 struct legacy_stream_out *out local 171 struct legacy_stream_out *out = local 178 const struct legacy_stream_out *out = local 186 struct legacy_stream_out *out = local 204 const struct legacy_stream_out *out = local 224 const struct legacy_stream_out *out = local 232 struct legacy_stream_out *out = local 240 struct legacy_stream_out *out = local 248 const struct legacy_stream_out *out = local 256 const struct legacy_stream_out *out = local 498 struct legacy_stream_out *out; local 547 struct legacy_stream_out *out = reinterpret_cast<struct legacy_stream_out *>(stream); local [all...] |
/hardware/qcom/audio/hal/voice_extn/ |
H A D | voice_extn.c | 284 } //end out switch loop 577 struct stream_out *out) 579 out->usecase = USECASE_INCALL_MUSIC_UPLINK; 580 out->config = pcm_config_incall_music; 582 out->supported_channel_masks[0] = AUDIO_CHANNEL_OUT_STEREO; 583 out->channel_mask = AUDIO_CHANNEL_OUT_STEREO; 584 out->config.rate = out->sample_rate; 586 ALOGV("%s: mode=%d, usecase id=%d", __func__, adev->mode, out->usecase); 576 voice_extn_check_and_set_incall_music_usecase(struct audio_device *adev, struct stream_out *out) argument
|
/hardware/interfaces/keymaster/4.0/support/ |
H A D | authorization_set.cpp | 196 OutStreams& serializeParamValue(OutStreams& out, const hidl_vec<uint8_t>& blob) { argument 202 out.elements.setstate(std::ios_base::badbit); 203 return out; 206 out.elements.write(reinterpret_cast<const char*>(&buffer), sizeof(uint32_t)); 209 auto offset = out.indirect.tellp(); 212 out.elements.setstate(std::ios_base::badbit); 213 return out; 216 out.elements.write(reinterpret_cast<const char*>(&buffer), sizeof(uint32_t)); 219 if (blob_length) out.indirect.write(reinterpret_cast<const char*>(&blob[0]), blob_length); 221 return out; 225 serializeParamValue(OutStreams& out, const T& value) argument 230 serialize(TAG_INVALID_t&&, OutStreams& out, const KeyParameter&) argument 235 serialize(T ttag, OutStreams& out, const KeyParameter& param) argument 244 serialize(OutStreams& out, const KeyParameter& param) argument 251 serialize(OutStreams& out, const KeyParameter&) argument 256 serialize(OutStreams& out, const KeyParameter& param) argument 265 serialize(OutStreams& out, const KeyParameter& param) argument 269 serialize(std::ostream& out, const std::vector<KeyParameter>& params) argument [all...] |
/hardware/interfaces/keymaster/4.0/vts/functional/ |
H A D | KeymasterHidlTest.cpp | 287 ErrorCode KeymasterHidlTest::Update(const string& input, string* out, size_t* input_consumed) { argument 291 out, input_consumed);
|
/hardware/libhardware/modules/audio/ |
H A D | audio_hw.c | 68 const struct stub_stream_out *out = (const struct stub_stream_out *)stream; local 70 ALOGV("out_get_sample_rate: %u", out->sample_rate); 71 return out->sample_rate; 76 struct stub_stream_out *out = (struct stub_stream_out *)stream; local 79 out->sample_rate = rate; 85 const struct stub_stream_out *out = (const struct stub_stream_out *)stream; local 86 size_t buffer_size = out->frame_count * 87 audio_stream_out_frame_size(&out->stream); 95 const struct stub_stream_out *out = (const struct stub_stream_out *)stream; local 97 ALOGV("out_get_channels: %x", out 103 const struct stub_stream_out *out = (const struct stub_stream_out *)stream; local 111 struct stub_stream_out *out = (struct stub_stream_out *)stream; local 162 struct stub_stream_out *out = (struct stub_stream_out *)stream; local 363 struct stub_stream_out *out = local [all...] |
/hardware/libhardware/modules/audio_remote_submix/ |
H A D | audio_hw.cpp | 252 // Determine whether the specified channel out mask is supported by the submix module. 255 // Set of channel out masks supported by Format_from_SR_C() 265 // Determine whether the specified channel out mask is supported, if it is return the specified 266 // channel out mask, otherwise return the default channel out mask for the submix module. 356 // buffer_size_frames and optionally associate "in" or "out" with the submix audio device. 363 struct submix_stream_out * const out, 367 ALOG_ASSERT(in || out); 389 if (out) { 390 out 358 submix_audio_device_create_pipe_l(struct submix_audio_device * const rsxadev, const struct audio_config * const config, const size_t buffer_size_frames, const uint32_t buffer_period_count, struct submix_stream_in * const in, struct submix_stream_out * const out, const char *address, int route_idx) argument [all...] |
/hardware/nxp/secure_element/extns/impl/ |
H A D | hal_nxpese.h | 170 ese_nxp_ExtnOutputData_t out; member in struct:__anon1744
|
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | AudioHardwareALSA.cpp | 735 AudioStreamOutALSA *out = 0; local 741 return out; 771 return out; 827 out = new AudioStreamOutALSA(this, &(*it)); 828 err = out->set(format, channels, sampleRate, devices); 834 return out; 903 out = new AudioStreamOutALSA(this, &(*it)); 904 err = out->set(format, channels, sampleRate, devices); 907 return out; 980 out 990 closeOutputStream(AudioStreamOut* out) argument 1006 AudioStreamOutALSA *out = 0; local 1085 closeOutputSession(AudioStreamOut* out) argument [all...] |
H A D | audio_hw_hal.cpp | 144 const struct qcom_stream_out *out = local 146 return out->qcom_out->sampleRate(); 151 struct qcom_stream_out *out = local 161 const struct qcom_stream_out *out = local 163 return out->qcom_out->bufferSize(); 168 const struct qcom_stream_out *out = local 170 return out->qcom_out->channels(); 175 const struct qcom_stream_out *out = local 177 return (audio_format_t)out->qcom_out->format(); 182 struct qcom_stream_out *out local 191 struct qcom_stream_out *out = local 198 const struct qcom_stream_out *out = local 206 struct qcom_stream_out *out = local 224 const struct qcom_stream_out *out = local 244 const struct qcom_stream_out *out = local 252 struct qcom_stream_out *out = local 260 struct qcom_stream_out *out = local 268 const struct qcom_stream_out *out = local 286 const struct qcom_stream_out *out = local 525 struct qcom_stream_out *out; local 562 struct qcom_stream_out *out; local 613 struct qcom_stream_out *out = reinterpret_cast<struct qcom_stream_out *>(stream); local [all...] |
/hardware/intel/audio_media/hdmi/ |
H A D | tinyaudio_hw.c | 147 * following order: hw device > out stream 224 static int start_output_stream(struct stream_out *out) argument 226 struct audio_device *adev = out->dev; 239 out->pcm_config.channels, 240 out->pcm_config.rate, 241 out->pcm_config.period_size, 242 out->pcm_config.period_count, 243 out->pcm_config.format); 245 out->pcm_config.start_threshold = 0; 246 out 281 struct stream_out *out = (struct stream_out *)stream; local 295 struct stream_out *out = (struct stream_out *)stream; local 325 struct stream_out *out = (struct stream_out *)stream; local 347 struct stream_out *out = (struct stream_out *)stream; local 378 struct stream_out *out = (struct stream_out *)stream; local 472 struct stream_out *out = (struct stream_out *)stream; local 495 struct stream_out *out = (struct stream_out *)stream; local 549 struct stream_out *out = (struct stream_out *)stream; local 568 struct stream_out *out = (struct stream_out *)stream; local 685 struct stream_out *out; local 789 struct stream_out *out = (struct stream_out *)stream; local [all...] |
/hardware/interfaces/camera/device/3.4/default/ |
H A D | ExternalCameraDevice.cpp | 768 std::vector<SupportedV4L2Format> out; local 772 out.push_back(fmt); 774 out.push_back(fmt); 776 out.push_back(fmt); 784 sortedFmts = out;
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
H A D | ml_math_func.c | 161 * @param[out] qProd Product after quaternion multiply. Length 4. 185 * @param[out] qSum Sum after quaternion summation. Length 4. 247 void inv_q_rotate(const long *q, const long *in, long *out) argument 258 memcpy(out, &out4[1], 3 * sizeof(long)); 309 * @param[in,out] q vector to normalize. Returns [1,0,0,0] is magnitude is zero. 340 * @param[out] rot Rotation matrix in fixed point. One is 2^30. The 382 * @param[out] rot Rotation vector in fixed point. One is 2^30. 610 * @param[out] output Output vector, length 3 622 * @param[out] output Output vector, length 3 637 * @param[out] outpu [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
H A D | main.c | 117 STATE_SET_TRACKER_STATE, /* I'm running out of ideas here. */ 210 char *compass_state_name(char* out, int state) argument 226 char *component_name(char *out, int comp_id) argument 632 char *output_filename_datetimestamp(char *out) argument 639 sprintf(out, 643 return out;
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
H A D | stress_iio.c | 508 bool g, a, out; local 525 out = rand()%2; 526 enable_quaternion(out); 527 enable_gyro_output(!out); 626 bool g, a, out; local 643 enable_gyro_output(!out);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
H A D | ml_math_func.c | 161 * @param[out] qProd Product after quaternion multiply. Length 4. 185 * @param[out] qSum Sum after quaternion summation. Length 4. 247 void inv_q_rotate(const long *q, const long *in, long *out) argument 258 memcpy(out, &out4[1], 3 * sizeof(long)); 309 * @param[in,out] q vector to normalize. Returns [1,0,0,0] is magnitude is zero. 340 * @param[out] rot Rotation matrix in fixed point. One is 2^30. The 382 * @param[out] rot Rotation vector in fixed point. One is 2^30. 610 * @param[out] output Output vector, length 3 622 * @param[out] output Output vector, length 3 637 * @param[out] outpu [all...] |
/hardware/libhardware/modules/usbaudio/ |
H A D | audio_hal.c | 214 * card A pointer to a variable to receive the parsed-out card number. 215 * device A pointer to a variable to receive the parsed-out device number. 293 * following order: hw device > out stream 313 const struct stream_out* out = (const struct stream_out*)stream; local 315 proxy_get_period_size(&out->proxy) * audio_stream_out_frame_size(&(out->stream)); 321 const struct stream_out *out = (const struct stream_out*)stream; local 322 return out->hal_channel_mask; 343 struct stream_out *out = (struct stream_out *)stream; local 345 stream_lock(&out 374 struct stream_out *out = (struct stream_out *)stream; local 414 struct stream_out *out = (struct stream_out *)stream; local 437 start_output_stream(struct stream_out *out) argument 447 struct stream_out *out = (struct stream_out *)stream; local 510 struct stream_out *out = (struct stream_out *)stream; // discard const qualifier local 546 struct stream_out *out; local 674 struct stream_out *out = (struct stream_out *)stream; local [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
H A D | hwc_session.cpp | 835 android::Parcel *out) { 844 out->writeInt32(ret); 851 out->writeInt32(ret); 860 out->writeInt32(ret); 864 out->writeInt32(ret); 868 out->writeInt32(ret); 878 out->writeInt32(ret); 1210 output_parcel->writeInt32(ret); // first field in out parcel indicates return code. 834 ControlPartialUpdate(const android::Parcel *input_parcel, android::Parcel *out) argument
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
H A D | keymaster_hidl_hal_test.cpp | 649 ErrorCode Update(const string& input, string* out, size_t* input_consumed) { argument 653 out, input_consumed); 1349 * test is probabilistic in order to keep the runtime down, but any failure prints out the specific
|