Home
last modified time | relevance | path

Searched refs:output (Results 1 – 25 of 92) sorted by relevance

1234

/device/generic/car/emulator/usbpt/bluetooth/usb_modeswitch/
Dusb_modeswitch.c159 FILE *output; variable
260 SHOW_PROGRESS(output,"Warning: TargetProductList overrides TargetProduct!\n"); in readConfigFile()
270 fprintf (output,"DefaultVendor= 0x%04x\n", DefaultVendor); in printConfig()
272 fprintf (output,"DefaultProduct= 0x%04x\n", DefaultProduct); in printConfig()
274 fprintf (output,"TargetVendor= 0x%04x\n", TargetVendor); in printConfig()
276 fprintf (output,"TargetProduct= 0x%04x\n", TargetProduct); in printConfig()
278 fprintf (output,"TargetClass= 0x%02x\n", TargetClass); in printConfig()
280 fprintf (output,"TargetProductList=\"%s\"\n", TargetProductList); in printConfig()
282 fprintf (output,"\nStandardEject=1\n"); in printConfig()
284 fprintf (output,"\nDetachStorageOnly=1\n"); in printConfig()
[all …]
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dbase64util.cpp31 std::vector<uint8_t> output; in base64_decode() local
33 bool success = cuttlefish::DecodeBase64(input, &output); in base64_decode()
37 memcpy(bindata, reinterpret_cast<unsigned char *>(output.data()), in base64_decode()
38 output.size()); in base64_decode()
39 return output.size(); in base64_decode()
48 std::string output; in base64_encode() local
50 bindata, static_cast<size_t>(binlength), &output); in base64_encode()
56 memcpy(base64output, output.data(), output.size()); in base64_encode()
/device/generic/goldfish-opengl/system/hwc3/
DDisplayConfig.cpp80 std::string output; in toString() local
81 output += " id: " + std::to_string(mId); in toString()
82 output += " w:" + std::to_string(mWidth); in toString()
83 output += " h:" + std::to_string(mHeight); in toString()
84 output += " dpi-x:" + std::to_string(mDpiX); in toString()
85 output += " dpi-y:" + std::to_string(mDpiY); in toString()
86 output += " vsync:" + std::to_string(1e9 / mVsyncPeriodNanos); in toString()
87 output += " config-group:" + std::to_string(mConfigGroup); in toString()
88 return output; in toString()
DComposer.cpp88 std::string output("TODO"); in dump() local
90 write(fd, output.c_str(), output.size()); in dump()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/vpxdec/
DC2GoldfishVpxDec.cpp87 .withDefault(new C2StreamPictureSizeInfo::output(0u, 320, 240)) in IntfImpl()
129 mHdr10PlusInfoOutput = C2StreamHdr10PlusInfo::output::AllocShared(0); in IntfImpl()
141 mHdrStaticInfo = std::make_shared<C2StreamHdrStaticInfo::output>(); in IntfImpl()
175 .withDefault(new C2StreamMaxPictureSizeTuning::output( in IntfImpl()
196 std::shared_ptr<C2StreamColorInfo::output> defaultColorInfo = in IntfImpl()
197 C2StreamColorInfo::output::AllocShared(1u, 0u, 8u /* bitDepth */, in IntfImpl()
201 defaultColorInfo = C2StreamColorInfo::output::AllocShared( in IntfImpl()
212 .withDefault(new C2StreamColorAspectsTuning::output( in IntfImpl()
253 .withDefault(new C2StreamColorAspectsInfo::output( in IntfImpl()
275 .withConstValue(new C2StreamPixelFormatInfo::output( in IntfImpl()
[all …]
/device/google/cuttlefish/host/libs/vm_manager/
Dcrosvm_builder.cpp105 void CrosvmBuilder::AddHvcReadOnly(const std::string& output, bool console) { in AddHvcReadOnly() argument
107 ",type=file,path=", output, in AddHvcReadOnly()
110 void CrosvmBuilder::AddHvcReadWrite(const std::string& output, in AddHvcReadWrite() argument
113 ",type=file,path=", output, ",input=", input); in AddHvcReadWrite()
137 void CrosvmBuilder::AddSerialConsoleReadOnly(const std::string& output) { in AddSerialConsoleReadOnly() argument
139 ",type=file,path=", output, ",earlycon=true"); in AddSerialConsoleReadOnly()
141 void CrosvmBuilder::AddSerialConsoleReadWrite(const std::string& output, in AddSerialConsoleReadWrite() argument
145 ",type=file,path=", output, ",input=", input, in AddSerialConsoleReadWrite()
148 void CrosvmBuilder::AddSerial(const std::string& output, in AddSerial() argument
151 ",type=file,path=", output, ",input=", input); in AddSerial()
Dcrosvm_builder.h43 void AddHvcReadOnly(const std::string& output, bool console = false);
44 void AddHvcReadWrite(const std::string& output, const std::string& input);
53 void AddSerialConsoleReadOnly(const std::string& output);
54 void AddSerialConsoleReadWrite(const std::string& output,
57 void AddSerial(const std::string& output, const std::string& input);
/device/google/cuttlefish/host/commands/secure_env/
Dhmac_serializable.cpp137 std::vector<uint8_t> output(sensitive_size + aad_->SerializedSize()); in AppendAad() local
138 std::copy(sensitive, sensitive + sensitive_size, output.begin()); in AppendAad()
141 aad_->Serialize(&output[sensitive_size], output.data() + output.size()); in AppendAad()
142 const ptrdiff_t actual_aad_size = actual_output_end - output.data(); in AppendAad()
143 if (actual_aad_size != output.size()) { in AppendAad()
145 << output.size() << ", actual: " << actual_aad_size; in AppendAad()
148 return output; in AppendAad()
Dencrypted_serializable_test.cpp42 keymaster::Buffer output(sizeof(input_data)); in TEST() local
44 ParentKeyCreator("test"), output); in TEST()
52 ASSERT_EQ(0, memcmp(input_data, output.begin(), sizeof(input_data))); in TEST()
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/pkg-config/src/
Dlib.rs135 Failure { command: String, output: Output },
143 output: Output,
209 ref output, in fmt()
214 command, output.status, name, env::var("CARGO_PKG_NAME").unwrap_or_default(), in fmt()
216 format_output(output, f) in fmt()
220 ref output, in fmt()
225 command, output.status in fmt()
227 format_output(output, f) in fmt()
234 fn format_output(output: &Output, f: &mut fmt::Formatter) -> fmt::Result { in format_output()
235 let stdout = String::from_utf8_lossy(&output.stdout); in format_output()
[all …]
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/autocfg/src/
Dversion.rs27 let output = try!(Command::new(rustc) in from_rustc() localVariable
29 .output() in from_rustc()
31 if !output.status.success() { in from_rustc()
34 let output = try!(str::from_utf8(&output.stdout).map_err(error::from_utf8)); in from_rustc() localVariable
37 let release = match output.lines().find(|line| line.starts_with("release: ")) { in from_rustc()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/hevcdec/
DC2GoldfishHevcDec.cpp80 new C2PortActualDelayTuning::output(kDefaultOutputDelay)) in IntfImpl()
98 .withDefault(new C2StreamPictureSizeInfo::output(0u, 320, 240)) in IntfImpl()
107 .withDefault(new C2StreamMaxPictureSizeTuning::output( in IntfImpl()
150 std::shared_ptr<C2StreamColorInfo::output> defaultColorInfo = in IntfImpl()
151 C2StreamColorInfo::output::AllocShared(1u, 0u, 8u /* bitDepth */, in IntfImpl()
155 defaultColorInfo = C2StreamColorInfo::output::AllocShared( in IntfImpl()
166 .withDefault(new C2StreamColorAspectsTuning::output( in IntfImpl()
207 .withDefault(new C2StreamColorAspectsInfo::output( in IntfImpl()
229 .withConstValue(new C2StreamPixelFormatInfo::output( in IntfImpl()
234 const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
[all …]
/device/google/cuttlefish/guest/hals/keymint/remote/
Dremote_keymint_operation.cpp75 vector<uint8_t>* output) { in update() argument
76 if (!output) { in update()
99 *output = kmBuffer2vector(response.output); in update()
109 vector<uint8_t>* output) { in finish() argument
110 if (!output) { in finish()
142 *output = kmBuffer2vector(response.output); in finish()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/base/include/
DSimpleC2Interface.h142 std::shared_ptr<C2PortMediaTypeSetting::output> mOutputMediaType;
144 std::shared_ptr<C2StreamBufferTypeSetting::output> mOutputFormat;
147 std::shared_ptr<C2PortRequestedDelayTuning::output>
152 std::shared_ptr<C2PortActualDelayTuning::output> mActualOutputDelay;
159 std::shared_ptr<C2StreamMaxReferenceAgeTuning::output>
161 std::shared_ptr<C2StreamMaxReferenceCountTuning::output>
166 std::shared_ptr<C2PortStreamCountTuning::output> mOutputStreamCount;
171 std::shared_ptr<C2PortSuggestedBufferCountTuning::output>
177 std::shared_ptr<C2LastWorkQueuedTuning::output>
181 std::shared_ptr<C2PortAllocatorsTuning::output> mOutputAllocators;
[all …]
/device/google/cuttlefish/host/commands/assemble_cvd/unittest/
Dutils_tests.cpp33 std::vector<uint8_t> output; in TEST() local
34 DecodeBase64(flag_value, &output); in TEST()
35 std::string serialized = std::string(output.begin(), output.end()); in TEST()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/base/
DSimpleC2Interface.cpp91 .withConstValue(new C2PortStreamCountTuning::output(1)) in BaseParams()
150 .withConstValue(new C2StreamBufferTypeSetting::output( in BaseParams()
156 .withConstValue(AllocSharedString<C2PortMediaTypeSetting::output>( in BaseParams()
181 C2PortAllocatorsTuning::output::AllocShared(outputAllocators)) in BaseParams()
186 C2PortAllocatorsTuning::output>::NonStrictValuesWithNoDeps) in BaseParams()
192 C2PortBlockPoolsTuning::output::AllocShared(outputPoolIds)) in BaseParams()
197 C2PortBlockPoolsTuning::output>::NonStrictValuesWithNoDeps) in BaseParams()
266 .withConstValue(new C2PortRequestedDelayTuning::output(0u)) in noOutputLatency()
270 .withConstValue(new C2PortActualDelayTuning::output(0u)) in noOutputLatency()
318 .withConstValue(new C2StreamMaxReferenceAgeTuning::output(0u)) in noOutputReferences()
[all …]
/device/generic/goldfish-opengl/system/codecs/c2/decoders/avcdec/
DC2GoldfishAvcDec.cpp116 new C2PortActualDelayTuning::output(kDefaultOutputDelay)) in IntfImpl()
134 .withDefault(new C2StreamPictureSizeInfo::output(0u, 320, 240)) in IntfImpl()
143 .withDefault(new C2StreamMaxPictureSizeTuning::output( in IntfImpl()
191 std::shared_ptr<C2StreamColorInfo::output> defaultColorInfo = in IntfImpl()
192 C2StreamColorInfo::output::AllocShared(1u, 0u, 8u /* bitDepth */, in IntfImpl()
196 defaultColorInfo = C2StreamColorInfo::output::AllocShared( in IntfImpl()
207 .withDefault(new C2StreamColorAspectsTuning::output( in IntfImpl()
248 .withDefault(new C2StreamColorAspectsInfo::output( in IntfImpl()
270 .withConstValue(new C2StreamPixelFormatInfo::output( in IntfImpl()
275 const C2P<C2StreamPictureSizeInfo::output> &oldMe, in SizeSetter()
[all …]
/device/google/contexthub/firmware/os/platform/stm32/
Dgpio.c96 …WithNum(uint32_t gpioNum, int32_t gpioSpeed, enum GpioPullMode pull, enum GpioOpenDrainMode output) in gpioConfigWithNum() argument
113 if (output == GPIO_OUT_PUSH_PULL) in gpioConfigWithNum()
137 …32_t gpioNum, int32_t gpioSpeed, enum GpioPullMode pull, enum GpioOpenDrainMode output, bool value) in gpioConfigOutputWithNum() argument
143 gpioConfigWithNum(gpioNum, gpioSpeed, pull, output); in gpioConfigOutputWithNum()
152 …t gpioHandle, int32_t gpioSpeed, enum GpioPullMode pull, enum GpioOpenDrainMode output, bool value) in gpioConfigOutput() argument
155 …gpioConfigOutputWithNum((uint32_t)gpioHandle - GPIO_HANDLE_OFFSET, gpioSpeed, pull, output, value); in gpioConfigOutput()
158 …pioNum, int32_t gpioSpeed, enum GpioPullMode pull, enum GpioOpenDrainMode output, uint32_t altFunc) in gpioConfigAltWithNum() argument
169 gpioConfigWithNum(gpioNum, gpioSpeed, pull, output); in gpioConfigAltWithNum()
178 …Handle, int32_t gpioSpeed, enum GpioPullMode pull, enum GpioOpenDrainMode output, uint32_t altFunc) in gpioConfigAlt() argument
181 … gpioConfigAltWithNum((uint32_t)gpioHandle - GPIO_HANDLE_OFFSET, gpioSpeed, pull, output, altFunc); in gpioConfigAlt()
/device/google/cuttlefish/tools/
Draw2iso.sh29 output=
40 output="${OPTARG}"
58 if [[ -z "${output}" ]]; then
84 rm -f "${output}"
232 rm -f "${output}"
233 touch "${output}"
236 -o "${output}" -e boot/grub/eltorito.img -no-emul-boot \
241 echo "Output ISO generated at '${output}'."
/device/google/cuttlefish/host/commands/powerbtn_cvd/
Dpowerbtn_cvd.cc46 std::string output; in PowerbtnCvdMain() local
48 auto ret = RunWithManagedStdio(std::move(command), NULL, &output, &error); in PowerbtnCvdMain()
51 << output << "\n" in PowerbtnCvdMain()
/device/google/cuttlefish/common/libs/security/
Dconfui_sign.cpp28 bool ConfUiSignerImpl::Send(SharedFD output, in Send() argument
39 auto n_written_err = WriteAllBinary(output, &(msg.error_)); in Send()
45 auto n_written_payload_size = WriteAllBinary(output, &payload_size); in Send()
50 auto n_written_payload = WriteAll(output, buf, payload.size()); in Send()
/device/google/cuttlefish/host/commands/health/
Dhealth.cpp125 std::string output, error; in main() local
126 auto ret = RunWithManagedStdio(std::move(command), NULL, &output, &error); in main()
128 LOG(ERROR) << "goldfish battery returned: " << ret << "\n" << output << "\n" << error; in main()
/device/generic/goldfish/tools/
DREADME.md4 ``python mk_combined_img.py [--input <filename> --output <filename>]``
5 The defaults of `--input` and `--output` are:
7 * `$OUT/combined.img` for `--output`
/device/google/cuttlefish/host/commands/metrics/
Dutils.cc159 MetricsExitCodes PostRequest(const std::string& output, in PostRequest() argument
189 curl_easy_setopt(curl.get(), CURLOPT_POSTFIELDS, output.data()); in PostRequest()
190 curl_easy_setopt(curl.get(), CURLOPT_POSTFIELDSIZE, output.size()); in PostRequest()
196 LOG(ERROR) << "Metrics message failed: [" << output << "]"; in PostRequest()
/device/google/cuttlefish/host/libs/image_aggregator/
Dimage_aggregator.cc496 auto output = SharedFD::Creat(output_path, 0600); in AggregateImage() local
498 if (!WriteBeginning(output, beginning)) { in AggregateImage()
500 << "\": " << output->StrError(); in AggregateImage()
505 if (!output->CopyFrom(*disk_fd, file_size)) { in AggregateImage()
507 << "\" to \"" << output_path << "\": " << output->StrError(); in AggregateImage()
513 if (WriteAll(output, padding_str) != padding_str.size()) { in AggregateImage()
515 << "\": " << output->StrError(); in AggregateImage()
518 if (!WriteEnd(output, builder.End(beginning))) { in AggregateImage()
520 << "\": " << output->StrError(); in AggregateImage()

1234