Home
last modified time | relevance | path

Searched refs:model (Results 1 – 25 of 154) sorted by relevance

1234567

/cts/hostsidetests/neuralnetworks/app/jni/
Dtrigger_libneuralnetworks_atoms.cpp73 ANeuralNetworksModel* model = nullptr; in compilationSuccess() local
74 CHECK_EQ(ANEURALNETWORKS_NO_ERROR, ANeuralNetworksModel_create(&model)); in compilationSuccess()
75 CHECK(model != nullptr); in compilationSuccess()
76 CHECK_EQ(ANEURALNETWORKS_NO_ERROR, ANeuralNetworksModel_addOperand(model, &kMatrixType)); in compilationSuccess()
77 CHECK_EQ(ANEURALNETWORKS_NO_ERROR, ANeuralNetworksModel_addOperand(model, &kMatrixType)); in compilationSuccess()
78 CHECK_EQ(ANEURALNETWORKS_NO_ERROR, ANeuralNetworksModel_addOperand(model, &kMatrixType)); in compilationSuccess()
79 CHECK_EQ(ANEURALNETWORKS_NO_ERROR, ANeuralNetworksModel_addOperand(model, &kScalarType)); in compilationSuccess()
81 ANeuralNetworksModel_setOperandValue(model, 3, &kNoActivation, sizeof(kNoActivation))); in compilationSuccess()
83 ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, in compilationSuccess()
89 ANeuralNetworksModel_identifyInputsAndOutputs(model, std::size(kModelInputs), in compilationSuccess()
[all …]
/cts/tests/openglperf2/jni/graphics/
DProgramNode.cpp21 void ProgramNode::before(Program& program, Matrix& model, Matrix& view, Matrix& projection) { in before() argument
22 program.before(model, view, projection); in before()
25 void ProgramNode::after(Program& program, Matrix& model, Matrix& view, Matrix& projection) { in after() argument
26 program.after(model, view, projection); in after()
29 void ProgramNode::drawProgram(Matrix& model, Matrix& view, Matrix& projection) { in drawProgram() argument
30 SceneGraphNode::draw(mProgram, model, view, projection); in drawProgram()
DTransformationNode.cpp24 void TransformationNode::before(Program& program, Matrix& model, Matrix& view, in before() argument
27 mSavedModelMatrix.loadWith(model); in before()
29 model.multiply(*mMatrix, mSavedModelMatrix); in before()
32 void TransformationNode::after(Program& program, Matrix& model, Matrix& view, in after() argument
35 model.loadWith(mSavedModelMatrix); in after()
DSceneGraphNode.cpp26 void SceneGraphNode::draw(Program& program, Matrix& model, Matrix& view, Matrix& projection) { in draw() argument
27 before(program, model, view, projection); in draw()
29 mChildren[i]->draw(program, model, view, projection); in draw()
31 after(program, model, view, projection); in draw()
DProgramNode.h25 void drawProgram(Matrix& model, Matrix& view, Matrix& projection);
27 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection);
28 virtual void after(Program& program, Matrix& model, Matrix& view, Matrix& projection);
DSceneGraphNode.h27 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection) = 0;
28 virtual void after(Program& program, Matrix& model, Matrix& view, Matrix& projection) = 0;
29 void draw(Program& program, Matrix& model, Matrix& view, Matrix& projection);
DProgram.cpp21 void Program::before(Matrix& model, Matrix& view, Matrix& projection) { in before() argument
25 void Program::after(Matrix& model, Matrix& view, Matrix& projection) { in after() argument
DProgram.h25 virtual void before(Matrix& model, Matrix& view, Matrix& projection);
26 virtual void after(Matrix& model, Matrix& view, Matrix& projection);
DPerspectiveMeshNode.h28 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection);
29 virtual void after(Program& program, Matrix& model, Matrix& view, Matrix& projection);
DMeshNode.h27 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection) = 0;
28 virtual void after(Program& program, Matrix& model, Matrix& view, Matrix& projection) = 0;
DTexturedMeshNode.h28 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection);
29 virtual void after(Program& program, Matrix& model, Matrix& view, Matrix& projection);
DPerspectiveMeshNode.cpp23 void PerspectiveMeshNode::before(Program& program, Matrix& model, Matrix& view, Matrix& projection)… in before() argument
45 prog.mMVMatrix.multiply(view, model); in before()
64 void PerspectiveMeshNode::after(Program& program, Matrix& model, Matrix& view, Matrix& projection) { in after() argument
/cts/tests/tests/identity/src/android/security/identity/cts/
DTestUtil.java82 import co.nstant.in.cbor.model.AbstractFloat;
83 import co.nstant.in.cbor.model.Array;
84 import co.nstant.in.cbor.model.ByteString;
85 import co.nstant.in.cbor.model.DataItem;
86 import co.nstant.in.cbor.model.DoublePrecisionFloat;
87 import co.nstant.in.cbor.model.MajorType;
88 import co.nstant.in.cbor.model.NegativeInteger;
89 import co.nstant.in.cbor.model.SimpleValue;
90 import co.nstant.in.cbor.model.SimpleValueType;
91 import co.nstant.in.cbor.model.SpecialType;
[all …]
/cts/tests/tests/neuralnetworks/java_test/jni/
Dandroid_neuralnetworks_cts_ModelAssetTest.cpp163 ANeuralNetworksModel* model = nullptr; in createAndCompileAddModel() local
164 ASSERT_OR_RETURN_FALSE(ANeuralNetworksModel_create(&model) == ANEURALNETWORKS_NO_ERROR); in createAndCompileAddModel()
166 android::base::make_scope_guard([model]() { ANeuralNetworksModel_free(model); }); in createAndCompileAddModel()
185 ASSERT_OR_RETURN_FALSE(ANeuralNetworksModel_addOperand(model, &tensorType) == in createAndCompileAddModel()
187 ASSERT_OR_RETURN_FALSE(ANeuralNetworksModel_addOperand(model, &tensorType) == in createAndCompileAddModel()
189 ASSERT_OR_RETURN_FALSE(ANeuralNetworksModel_addOperand(model, &activationType) == in createAndCompileAddModel()
191 ASSERT_OR_RETURN_FALSE(ANeuralNetworksModel_addOperand(model, &tensorType) == in createAndCompileAddModel()
196 ANeuralNetworksModel_setOperandValueFromMemory(model, /*index=*/1, memory, /*offset=*/0, in createAndCompileAddModel()
198 ASSERT_OR_RETURN_FALSE(ANeuralNetworksModel_setOperandValue(model, /*index=*/2, &activation, in createAndCompileAddModel()
205 ASSERT_OR_RETURN_FALSE(ANeuralNetworksModel_addOperation(model, ANEURALNETWORKS_ADD, 3, in createAndCompileAddModel()
[all …]
/cts/tests/security/src/android/keystore/cts/
DCborUtils.java19 import co.nstant.in.cbor.model.Array;
20 import co.nstant.in.cbor.model.ByteString;
21 import co.nstant.in.cbor.model.DataItem;
22 import co.nstant.in.cbor.model.Map;
23 import co.nstant.in.cbor.model.NegativeInteger;
24 import co.nstant.in.cbor.model.Number;
25 import co.nstant.in.cbor.model.SimpleValue;
26 import co.nstant.in.cbor.model.SimpleValueType;
27 import co.nstant.in.cbor.model.UnsignedInteger;
/cts/hostsidetests/atrace/src/android/atrace/cts/
DTraceResult.java19 import trebuchet.model.Model;
25 public TraceResult(PidTidPair pidTidPair, Model model) { in TraceResult() argument
26 mModel = model; in TraceResult()
DAtraceHostTest.java39 import trebuchet.model.Counter;
40 import trebuchet.model.CounterValue;
41 import trebuchet.model.Model;
42 import trebuchet.model.ProcessModel;
43 import trebuchet.model.ThreadModel;
44 import trebuchet.model.base.Slice;
45 import trebuchet.model.fragments.AsyncSlice;
151 private static ThreadModel findThread(Model model, int id) { in findThread() argument
152 for (ProcessModel process : model.getProcesses().values()) { in findThread()
162 private static ProcessModel findProcess(Model model, int id) { in findProcess() argument
[all …]
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/
DBroadcastsTestRunner.java23 import org.junit.runners.model.FrameworkMethod;
24 import org.junit.runners.model.InitializationError;
25 import org.junit.runners.model.Statement;
/cts/tests/BlobStore/src/com/android/cts/blob/
DBlobStoreTestRunner.java22 import org.junit.runners.model.FrameworkMethod;
23 import org.junit.runners.model.InitializationError;
24 import org.junit.runners.model.Statement;
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTestRunner.java23 import org.junit.runners.model.FrameworkMethod;
24 import org.junit.runners.model.InitializationError;
25 import org.junit.runners.model.Statement;
/cts/hostsidetests/adpf/app/hintsession/src/cpp/
DShader.cpp129 void Shader::drawModel(const Model &model) const { in drawModel()
136 model.getVertexData() // pull from the start of the vertex data in drawModel()
146 ((uint8_t *)model.getVertexData()) + in drawModel()
153 glBindTexture(GL_TEXTURE_2D, model.getTexture().getTextureID()); in drawModel()
156 glDrawElements(GL_TRIANGLES, model.getIndexCount(), GL_UNSIGNED_SHORT, model.getIndexData()); in drawModel()
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/
DMethodSignature.java32 import javax.lang.model.element.Element;
33 import javax.lang.model.element.ExecutableElement;
34 import javax.lang.model.element.Modifier;
35 import javax.lang.model.element.TypeElement;
36 import javax.lang.model.type.DeclaredType;
37 import javax.lang.model.type.TypeKind;
38 import javax.lang.model.type.TypeMirror;
39 import javax.lang.model.util.Elements;
40 import javax.lang.model.util.Types;
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/
DMainMethodRunner.java22 import org.junit.runners.model.FrameworkMethod;
23 import org.junit.runners.model.InitializationError;
24 import org.junit.runners.model.Statement;
25 import org.junit.runners.model.TestClass;
/cts/common/device-side/bedstead/testapisreflection/src/processor/main/java/com/android/bedstead/testapisreflection/processor/
DTypeUtils.java27 import javax.lang.model.element.TypeElement;
28 import javax.lang.model.type.DeclaredType;
29 import javax.lang.model.type.TypeKind;
30 import javax.lang.model.type.TypeMirror;
31 import javax.lang.model.util.Elements;
32 import javax.lang.model.util.Types;
DFieldSignature.java20 import javax.lang.model.util.Elements;
21 import javax.lang.model.util.Types;
22 import javax.lang.model.type.TypeMirror;

1234567