Home
last modified time | relevance | path

Searched refs:numInputs (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsb10ACMixerUnit.java79 byte numInputs = getNumInputs(); in report()
82 canvas.write("Num Inputs: " + numInputs + " ["); in report()
83 for (int input = 0; input < numInputs; input++) { in report()
85 if (input < numInputs - 1) { in report()
DUsbACMixerUnit.java47 protected static int calcControlArraySize(int numInputs, int numOutputs) { in calcControlArraySize() argument
48 int totalChannels = numInputs * numOutputs; in calcControlArraySize()
/frameworks/ml/nn/common/operations/
DResizeImageOps.cpp175 const auto numInputs = context->getNumInputs(); in validate() local
177 NN_RET_CHECK(numInputs >= kNumInputs - 1 && numInputs <= kNumInputs + kNumOptionalInputs); in validate()
179 NN_RET_CHECK(numInputs >= kNumInputs && numInputs <= kNumInputs + kNumOptionalInputs); in validate()
209 if (numInputs < kNumInputs) { in validate()
211 } else if (numInputs == kNumInputs) { in validate()
215 while (inExpectedTypes.size() < numInputs) { in validate()
227 const auto numInputs = context->getNumInputs(); in prepare() local
DConcatenation.cpp177 uint32_t numInputs = context->getNumInputs(); in prepare() local
178 NN_RET_CHECK_GE(numInputs, 2); in prepare()
181 int32_t axis = context->getInputValue<int32_t>(numInputs - 1); in prepare()
187 for (uint32_t i = 1; i < numInputs - 1; ++i) { in prepare()
DDepthwiseConv2D.cpp419 const uint32_t numInputs = context->getNumInputs(); in validate() local
421 std::binary_search(std::begin(kNumInputsArray), std::end(kNumInputsArray), numInputs)); in validate()
476 if (numInputs >= 9) { in validate()
477 if (context->getInputType(8) == OperandType::INT32 && numInputs >= 11) { in validate()
484 if (numInputs >= 9 + inputOffset) { in validate()
488 NN_RET_CHECK_NE(numInputs, 10 + inputOffset) in validate()
491 if (numInputs == 11 + inputOffset) { in validate()
DConv2D.cpp533 const uint32_t numInputs = context->getNumInputs(); in validate() local
535 std::binary_search(std::begin(kNumInputsArray), std::end(kNumInputsArray), numInputs)); in validate()
/frameworks/base/core/java/android/hardware/camera2/params/
DReprocessFormatsMap.java76 int numInputs = 0; in ReprocessFormatsMap() local
110 numInputs++; in ReprocessFormatsMap()
114 mInputCount = numInputs; in ReprocessFormatsMap()
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/
DConcatSplit.cpp24 static void concatConstructor(uint32_t numInputs, bool isV1_0, uint32_t rank, RandomOperation* op) { in concatConstructor() argument
25 for (uint32_t i = 0; i < numInputs; i++) { in concatConstructor()
32 op->inputs[numInputs]->setScalarValue<int32_t>(axis); in concatConstructor()
36 for (uint32_t j = 1; j < numInputs; j++) { in concatConstructor()
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomGraphGenerator.cpp185 uint32_t numInputs = 0; in generateValue() local
187 if (operand->type == RandomOperandType::INPUT) numInputs++; in generateValue()
198 if (asConstant(operand, prob) && numInputs > 1) { in generateValue()
199 if (operand->type == RandomOperandType::INPUT) numInputs--; in generateValue()
/frameworks/compile/slang/
Dslang_rs_export_foreach.cpp475 unsigned numInputs = 0; in getNumInputs() local
478 numInputs++; in getNumInputs()
482 return numInputs; in getNumInputs()
/frameworks/rs/
DrsScriptC_Lib.cpp227 uint32_t numInputs, in rsrForEach() argument
231 target->runForEach(rsc, slot, (const Allocation**)in, numInputs, out, usr, usrBytes, call); in rsrForEach()
DrsRuntime.h155 uint32_t numInputs,
/frameworks/rs/driver/
DrsdRuntimeStubs.cpp703 int numInputs, in ELEMENT_AT_OVERLOADS()
707 if (numInputs > RS_KERNEL_MAX_ARGUMENTS) { in ELEMENT_AT_OVERLOADS()
713 for (int i = 0; i < numInputs; i++) { in ELEMENT_AT_OVERLOADS()
720 out = (Allocation*)allocs[numInputs].p; in ELEMENT_AT_OVERLOADS()
724 rsrForEach(rsc, s, slot, numInputs, numInputs > 0 ? inputs : nullptr, out, in ELEMENT_AT_OVERLOADS()
726 for (int i = 0; i < numInputs; i++) { in ELEMENT_AT_OVERLOADS()
/frameworks/rs/script_api/
Drs_for_each.spec224 arg: int numInputs, "Number of input allocations"
/frameworks/wilhelm/include/SLES/
DOpenSLES.h521 SLint32 numInputs,
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h1888 XAint32 numInputs,