Home
last modified time | relevance | path

Searched refs:operationType (Results 1 – 8 of 8) sorted by relevance

/frameworks/ml/nn/runtime/test/fibonacci_extension/
DFibonacciDriver.cpp56 int32_t operationType = static_cast<int32_t>(operation.type); in isFibonacciOperation() local
59 NN_RET_CHECK_EQ(operationType, (prefix << kLowBitsType) | TEST_VENDOR_FIBONACCI); in isFibonacciOperation()
137 OperationType operationType) const { in findOperation()
139 static OperationRegistration operationRegistration(operationType, fibonacci_op::kOperationName, in findOperation()
142 uint16_t prefix = static_cast<int32_t>(operationType) >> kLowBitsType; in findOperation()
143 uint16_t typeWithinExtension = static_cast<int32_t>(operationType) & kTypeWithinExtensionMask; in findOperation()
DFibonacciDriver.h36 const OperationRegistration* findOperation(OperationType operationType) const override;
/frameworks/ml/nn/common/include/
DOperationResolver.h65 virtual const OperationRegistration* findOperation(OperationType operationType) const = 0;
89 const OperationRegistration* findOperation(OperationType operationType) const override;
/frameworks/ml/nn/runtime/
DModelBuilder.cpp326 OperationType operationType = static_cast<OperationType>(type); in addOperation() local
327 if (isExtensionOperationType(operationType) && !TypeManager::get()->areExtensionsAllowed()) { in addOperation()
331 if (operationType == OperationType::OEM_OPERATION) { in addOperation()
335 if (!isExtensionOperationType(operationType)) { in addOperation()
351 .type = operationType, in addOperation()
358 mHasOEMOperation |= (operationType == OperationType::OEM_OPERATION); in addOperation()
359 mHasExtensionOperation |= isExtensionOperationType(operationType); in addOperation()
DManager.cpp339 OperationType operationType = hidlModel.operations[i].type; in getSupportedOperations() local
340 result[i] = !isExtensionOperationType(operationType) && in getSupportedOperations()
341 operationType != OperationType::OEM_OPERATION; in getSupportedOperations()
/frameworks/ml/nn/common/
DOperationResolver.cpp156 OperationType operationType) const { in findOperation()
157 auto index = static_cast<int32_t>(operationType); in findOperation()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java1734 int operationType) { in prepareOperationTimeout() argument
1735 if (operationType != OP_TYPE_BACKUP_WAIT && operationType != OP_TYPE_RESTORE_WAIT) { in prepareOperationTimeout()
1737 + Integer.toHexString(token) + " of type " + operationType); in prepareOperationTimeout()
1746 mCurrentOperations.put(token, new Operation(OP_PENDING, callback, operationType)); in prepareOperationTimeout()
1747 Message msg = mBackupHandler.obtainMessage(getMessageIdForOperationType(operationType), in prepareOperationTimeout()
1753 private int getMessageIdForOperationType(int operationType) { in getMessageIdForOperationType() argument
1754 switch (operationType) { in getMessageIdForOperationType()
1761 + operationType); in getMessageIdForOperationType()
/frameworks/ml/nn/runtime/test/
DTestPartitioningRandom.cpp517 const ANeuralNetworksOperationType operationType = in getSignature() local
519 const int activationFunctionInputIndex = kOperationToActivation.at(operationType); in getSignature()
521 return Signature(operationType, -1); in getSignature()
531 return Signature(operationType, value); in getSignature()