Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/fibonacci_extension/
DFibonacciDriver.cpp59 int32_t operationType = static_cast<int32_t>(operation.type); in isFibonacciOperation() local
62 NN_RET_CHECK_EQ(operationType, (prefix << kLowBitsType) | EXAMPLE_FIBONACCI); in isFibonacciOperation()
140 OperationType operationType) const { in findOperation()
142 static OperationRegistration operationRegistration(operationType, fibonacci_op::kOperationName, in findOperation()
145 uint16_t prefix = static_cast<int32_t>(operationType) >> kLowBitsType; in findOperation()
146 uint16_t typeWithinExtension = static_cast<int32_t>(operationType) & kTypeWithinExtensionMask; in findOperation()
DFibonacciDriver.h37 const OperationRegistration* findOperation(hal::OperationType operationType) const override;
/frameworks/ml/nn/common/include/
DOperationResolver.h65 virtual const OperationRegistration* findOperation(hal::OperationType operationType) const = 0;
89 const OperationRegistration* findOperation(hal::OperationType operationType) const override;
/frameworks/ml/nn/common/
DOperationResolver.cpp180 OperationType operationType) const { in findOperation()
181 auto index = static_cast<int32_t>(operationType); in findOperation()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/transport/
DIntermediateEncryptingTransport.java178 private File getTempStorage(String packageName, String operationType) { in getTempStorage() argument
179 File encryptedDir = new File(mContext.getFilesDir(), operationType); in getTempStorage()
/frameworks/ml/nn/runtime/
DModelBuilder.cpp356 OperationType operationType = static_cast<OperationType>(type); in addOperation() local
357 if (isExtensionOperationType(operationType) && !TypeManager::get()->areExtensionsAllowed()) { in addOperation()
361 if (operationType == OperationType::OEM_OPERATION && !mHasOEMOperation) { in addOperation()
365 if (!isExtensionOperationType(operationType)) { in addOperation()
407 .type = operationType, in addOperation()
414 mHasOEMOperation |= (operationType == OperationType::OEM_OPERATION); in addOperation()
415 mHasExtensionOperation |= isExtensionOperationType(operationType); in addOperation()
DManager.cpp645 OperationType operationType = hidlModel.main.operations[i].type; in getSupportedOperations() local
646 result[i] = !isExtensionOperationType(operationType) && in getSupportedOperations()
647 operationType != OperationType::OEM_OPERATION; in getSupportedOperations()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java1926 int operationType) { in prepareOperationTimeout() argument
1927 if (operationType != OP_TYPE_BACKUP_WAIT && operationType != OP_TYPE_RESTORE_WAIT) { in prepareOperationTimeout()
1935 + operationType)); in prepareOperationTimeout()
1952 mCurrentOperations.put(token, new Operation(OP_PENDING, callback, operationType)); in prepareOperationTimeout()
1953 Message msg = mBackupHandler.obtainMessage(getMessageIdForOperationType(operationType), in prepareOperationTimeout()
1959 private int getMessageIdForOperationType(int operationType) { in getMessageIdForOperationType() argument
1960 switch (operationType) { in getMessageIdForOperationType()
1971 + operationType)); in getMessageIdForOperationType()
/frameworks/ml/nn/runtime/test/
DTestPartitioningRandom.cpp506 const ANeuralNetworksOperationType operationType = in getSignature() local
508 const int activationFunctionInputIndex = kOperationToActivation.at(operationType); in getSignature()
510 return Signature(operationType, -1); in getSignature()
518 return Signature(operationType, value); in getSignature()
DTestPartitioning.cpp704 uint32_t addExplicitOperationXTo1(ANeuralNetworksOperationType operationType, in addExplicitOperationXTo1() argument
708 addOperation(operationType, inputs, {output}); in addExplicitOperationXTo1()