Home
last modified time | relevance | path

Searched refs:main (Results 1 – 25 of 601) sorted by relevance

12345678910>>...25

/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DValidateModel.cpp103 return hidl_vec_push_back(&model->main.operands, in addOperand()
117 model->main.operands[index].numberOfConsumers = 1; in addOperand()
118 model->main.operands[index].lifetime = lifetime; in addOperand()
295 size += sizeForBinder(model.main); in sizeForBinder()
334 for (size_t operation = 0; operation < model.main.operations.size(); ++operation) { in mutateExecutionOrderTest()
335 const Operation& operationObj = model.main.operations[operation]; in mutateExecutionOrderTest()
337 if (model.main.operands[input].lifetime == OperandLifeTime::TEMPORARY_VARIABLE || in mutateExecutionOrderTest()
338 model.main.operands[input].lifetime == OperandLifeTime::SUBGRAPH_OUTPUT) { in mutateExecutionOrderTest()
348 auto& operations = model->main.operations; in mutateExecutionOrderTest()
356 if (model.main.operands[output].numberOfConsumers > 0) { in mutateExecutionOrderTest()
[all …]
DGeneratedTestHarness.cpp162 kTestModel.main.operands[kTestModel.main.inputIndexes[index]].data; in allocateInternal()
282 Subgraph mainSubgraph = createSubgraph(testModel.main, &constCopySize, &constCopies, in createModel()
312 return {.main = std::move(mainSubgraph), in createModel()
320 const auto byteSize = testModel.main.operands[testModel.main.outputIndexes[index]].data.size(); in isOutputSizeGreaterThanOne()
331 for (auto i : model->main.outputIndexes) { in makeOutputDimensionsUnspecified()
332 auto& dims = model->main.operands[i].dimensions; in makeOutputDimensionsUnspecified()
372 hidl_vec<RequestArgument> inputs(testModel.main.inputIndexes.size()); in createRequest()
374 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in createRequest()
375 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest()
402 hidl_vec<RequestArgument> outputs(testModel.main.outputIndexes.size()); in createRequest()
[all …]
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DValidateModel.cpp138 model->main.operands.push_back({ in addOperand()
146 return model->main.operands.size() - 1; in addOperand()
151 model->main.operands[index].lifetime = lifetime; in addOperand()
331 size += sizeForBinder(model.main); in sizeForBinder()
371 for (size_t operation = 0; operation < model.main.operations.size(); ++operation) { in mutateExecutionOrderTest()
372 const Operation& operationObj = model.main.operations[operation]; in mutateExecutionOrderTest()
374 if (model.main.operands[input].lifetime == OperandLifeTime::TEMPORARY_VARIABLE || in mutateExecutionOrderTest()
375 model.main.operands[input].lifetime == OperandLifeTime::SUBGRAPH_OUTPUT) { in mutateExecutionOrderTest()
385 auto& operations = model->main.operations; in mutateExecutionOrderTest()
403 auto& operations = model->main.operations; in mutateExecutionOrderTest()
[all …]
DUtils.cpp201 std::vector<RequestArgument> inputs(testModel.main.inputIndexes.size()); in createRequest()
203 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in createRequest()
204 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest()
218 std::vector<RequestArgument> outputs(testModel.main.outputIndexes.size()); in createRequest()
220 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in createRequest()
221 const auto& op = testModel.main.operands[testModel.main.outputIndexes[i]]; in createRequest()
262 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in createRequest()
263 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest()
DGeneratedTestHarness.cpp179 kTestModel.main.operands[kTestModel.main.inputIndexes[index]].data; in allocateInternal()
302 Subgraph mainSubgraph = createSubgraph(testModel.main, &constCopySize, &constCopies, in createModel()
337 return {.main = std::move(mainSubgraph), in createModel()
345 const auto byteSize = testModel.main.operands[testModel.main.outputIndexes[index]].data.size(); in isOutputSizeGreaterThanOne()
358 for (auto i : model->main.outputIndexes) { in makeOutputDimensionsUnspecified()
359 auto& dims = model->main.operands[i].dimensions; in makeOutputDimensionsUnspecified()
407 std::vector<RequestArgument> inputs(testModel.main.inputIndexes.size()); in createRequest()
409 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in createRequest()
410 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest()
440 std::vector<RequestArgument> outputs(testModel.main.outputIndexes.size()); in createRequest()
[all …]
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DGeneratedTestHarness.cpp46 hidl_vec<Operand> operands(testModel.main.operands.size()); in createModel()
48 for (uint32_t i = 0; i < testModel.main.operands.size(); i++) { in createModel()
49 const auto& op = testModel.main.operands[i]; in createModel()
74 hidl_vec<Operation> operations(testModel.main.operations.size()); in createModel()
75 std::transform(testModel.main.operations.begin(), testModel.main.operations.end(), in createModel()
84 for (uint32_t i = 0; i < testModel.main.operands.size(); i++) { in createModel()
85 const auto& op = testModel.main.operands[i]; in createModel()
106 for (uint32_t i = 0; i < testModel.main.operands.size(); i++) { in createModel()
107 const auto& op = testModel.main.operands[i]; in createModel()
118 .inputIndexes = testModel.main.inputIndexes, in createModel()
[all …]
DUtils.cpp106 hidl_vec<RequestArgument> inputs(testModel.main.inputIndexes.size()); in createRequest()
108 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in createRequest()
109 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest()
123 hidl_vec<RequestArgument> outputs(testModel.main.outputIndexes.size()); in createRequest()
125 for (uint32_t i = 0; i < testModel.main.outputIndexes.size(); i++) { in createRequest()
126 const auto& op = testModel.main.operands[testModel.main.outputIndexes[i]]; in createRequest()
157 for (uint32_t i = 0; i < testModel.main.inputIndexes.size(); i++) { in createRequest()
158 const auto& op = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DGeneratedTestHarness.cpp53 hidl_vec<Operand> operands(testModel.main.operands.size()); in createModel()
55 for (uint32_t i = 0; i < testModel.main.operands.size(); i++) { in createModel()
56 const auto& op = testModel.main.operands[i]; in createModel()
81 hidl_vec<Operation> operations(testModel.main.operations.size()); in createModel()
82 std::transform(testModel.main.operations.begin(), testModel.main.operations.end(), in createModel()
91 for (uint32_t i = 0; i < testModel.main.operands.size(); i++) { in createModel()
92 const auto& op = testModel.main.operands[i]; in createModel()
113 for (uint32_t i = 0; i < testModel.main.operands.size(); i++) { in createModel()
114 const auto& op = testModel.main.operands[i]; in createModel()
125 .inputIndexes = testModel.main.inputIndexes, in createModel()
[all …]
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DGeneratedTestHarness.cpp79 hidl_vec<Operand> operands(testModel.main.operands.size()); in createModel()
81 for (uint32_t i = 0; i < testModel.main.operands.size(); i++) { in createModel()
82 const auto& op = testModel.main.operands[i]; in createModel()
114 hidl_vec<Operation> operations(testModel.main.operations.size()); in createModel()
115 std::transform(testModel.main.operations.begin(), testModel.main.operations.end(), in createModel()
124 for (uint32_t i = 0; i < testModel.main.operands.size(); i++) { in createModel()
125 const auto& op = testModel.main.operands[i]; in createModel()
146 for (uint32_t i = 0; i < testModel.main.operands.size(); i++) { in createModel()
147 const auto& op = testModel.main.operands[i]; in createModel()
158 .inputIndexes = testModel.main.inputIndexes, in createModel()
[all …]
/hardware/interfaces/neuralnetworks/1.1/utils/src/
DConversions.cpp115 auto main = Model::Subgraph{ in unvalidatedConvert()
125 .main = std::move(main), in unvalidatedConvert()
230 auto operands = NN_TRY(unvalidatedConvert(model.main.operands)); in unvalidatedConvert()
234 NN_TRY(countNumberOfConsumers(operands.size(), model.main.operations)); in unvalidatedConvert()
240 auto operations = NN_TRY(unvalidatedConvert(model.main.operations)); in unvalidatedConvert()
246 .inputIndexes = model.main.inputIndexes, in unvalidatedConvert()
247 .outputIndexes = model.main.outputIndexes, in unvalidatedConvert()
/hardware/interfaces/configstore/1.1/default/
Ddisable_configstore.cpp17 int main() { in main() function
/hardware/interfaces/radio/aidl/compat/service/
Dservice.cpp83 static void main() { in main() function
104 int main() { in main() function
105 android::hardware::radio::service::main(); in main()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DValidateHal.cpp58 const auto& inputIndexes = model->main.inputIndexes; in validateMemoryDesc()
65 operands.push_back(model->main.operands[inputIndexes[role.ioIndex]]); in validateMemoryDesc()
74 const auto& outputIndexes = model->main.outputIndexes; in validateMemoryDesc()
81 operands.push_back(model->main.operands[outputIndexes[role.ioIndex]]); in validateMemoryDesc()
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
DVtsHalWifiSupplicantP2pV1_0TargetTest.cpp20 int main(int argc, char** argv) { in main() function
/hardware/interfaces/confirmationui/support/test/
Dgtest_main.cpp20 int main(int argc, char* argv[]) { in main() function
/hardware/google/camera/common/hal/tests/
Dgoogle_camera_hal_tests.cc19 int main(int argc, char** argv) { in main() function
/hardware/google/graphics/common/libhwjpeg/
Dhwjpeg-internal.h51 #define TO_IMAGE_SIZE(main, thumb) (TO_MAIN_SIZE(main) | TO_THUMB_SIZE(thumb)) argument
/hardware/google/camera/common/hal/aidl_service/
Dversion_script.py115 def main(): function
120 sys.exit(main())
/hardware/interfaces/automotive/can/1.0/tools/
Dcanhaldump.cpp110 static int main(int argc, char* argv[]) { in main() function
130 int main(int argc, char* argv[]) { in main() function
132 return ::android::hardware::automotive::can::main(--argc, ++argv); in main()
/hardware/interfaces/light/2.0/default/
Dservice.cpp23 int main() { in main() function
DserviceLazy.cpp23 int main() { in main() function
/hardware/interfaces/power/1.0/default/
Dservice.cpp25 int main() { in main() function
/hardware/interfaces/nfc/1.0/default/
Dservice.cpp11 int main() { in main() function
/hardware/interfaces/boot/1.0/default/
Dservice.cpp24 int main (int /* argc */, char * /* argv */ []) { in main() function
/hardware/interfaces/memtrack/1.0/default/
Dservice.cpp25 int main() { in main() function

12345678910>>...25