Home
last modified time | relevance | path

Searched refs:setInput (Results 1 – 25 of 209) sorted by relevance

123456789

/frameworks/ml/nn/runtime/test/
DTestTrivialModel.cpp118 ASSERT_EQ(execution.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
119 ASSERT_EQ(execution.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
149 ASSERT_EQ(execution.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
191 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
192 ASSERT_EQ(execution2.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
202 ASSERT_EQ(execution3.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
203 ASSERT_EQ(execution3.setInput(1, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
221 ASSERT_EQ(execution1.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
222 ASSERT_EQ(execution1.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
232 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
[all …]
DTestFailingDriver.cpp167 ASSERT_EQ(execution.setInput(0, &fInput), Result::NO_ERROR); in TEST_F()
168 ASSERT_EQ(execution.setInput(1, &bInput), Result::NO_ERROR); in TEST_F()
206 ASSERT_EQ(execution.setInput(0, &fInput), Result::NO_ERROR); in TEST_F()
/frameworks/base/core/tests/coretests/src/android/app/backup/
DFullBackupTest.java59 mXpp.setInput(new StringReader( in testparseBackupSchemeFromXml_onlyInclude()
80 mXpp.setInput(new StringReader( in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag()
105 mXpp.setInput(new StringReader( in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag()
126 mXpp.setInput(new StringReader( in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlag()
151 mXpp.setInput(new StringReader( in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionAndD2DFlags()
177 mXpp.setInput(new StringReader( in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlagAndIngoreGarbage()
202 mXpp.setInput(new StringReader( in testparseBackupSchemeFromXml_onlyExcludeRequireFlagsNotSupported()
216 mXpp.setInput(new StringReader( in testparseBackupSchemeFromXml_onlyExclude()
232 mXpp.setInput(new StringReader( in testparseBackupSchemeFromXml_includeAndExclude()
254 mXpp.setInput(new StringReader( in testparseBackupSchemeFromXml_lotsOfIncludesAndExcludes()
[all …]
/frameworks/ml/nn/common/operations/
DLayerNormLSTMTest.cpp210 execution.setInput(LSTMCell::k##X##Tensor, X##_.data(), sizeof(float) * X##_.size()), \ in Invoke()
228 execution.setInput(LSTMCell::kInputToInputWeightsTensor, nullptr, 0); in Invoke()
229 execution.setInput(LSTMCell::kRecurrentToInputWeightsTensor, nullptr, 0); in Invoke()
234 execution.setInput(LSTMCell::kCellToInputWeightsTensor, nullptr, 0); in Invoke()
237 execution.setInput(LSTMCell::kCellToInputWeightsTensor, nullptr, 0); in Invoke()
238 execution.setInput(LSTMCell::kCellToForgetWeightsTensor, nullptr, 0); in Invoke()
239 execution.setInput(LSTMCell::kCellToOutputWeightsTensor, nullptr, 0); in Invoke()
244 execution.setInput(LSTMCell::kProjectionBiasTensor, nullptr, 0); in Invoke()
247 execution.setInput(LSTMCell::kProjectionWeightsTensor, nullptr, 0); in Invoke()
248 execution.setInput(LSTMCell::kProjectionBiasTensor, nullptr, 0); in Invoke()
[all …]
DLSTMTest.cpp200 execution.setInput(LSTMCell::k##X##Tensor, X##_.data(), sizeof(float) * X##_.size()), \ in Invoke()
217 execution.setInput(LSTMCell::kInputToInputWeightsTensor, nullptr, 0); in Invoke()
218 execution.setInput(LSTMCell::kRecurrentToInputWeightsTensor, nullptr, 0); in Invoke()
223 execution.setInput(LSTMCell::kCellToInputWeightsTensor, nullptr, 0); in Invoke()
226 execution.setInput(LSTMCell::kCellToInputWeightsTensor, nullptr, 0); in Invoke()
227 execution.setInput(LSTMCell::kCellToForgetWeightsTensor, nullptr, 0); in Invoke()
228 execution.setInput(LSTMCell::kCellToOutputWeightsTensor, nullptr, 0); in Invoke()
233 execution.setInput(LSTMCell::kProjectionBiasTensor, nullptr, 0); in Invoke()
236 execution.setInput(LSTMCell::kProjectionWeightsTensor, nullptr, 0); in Invoke()
237 execution.setInput(LSTMCell::kProjectionBiasTensor, nullptr, 0); in Invoke()
[all …]
DMultinomialTest.cpp71 ASSERT_EQ(execution.setInput(Multinomial::kInputTensor, input_.data(), in Invoke()
74 ASSERT_EQ(execution.setInput(Multinomial::kSampleCountParam, &sample_size_, in Invoke()
79 ASSERT_EQ(execution.setInput(Multinomial::kRandomSeedsTensor, seeds.data(), in Invoke()
DSVDFTest.cpp246 ASSERT_EQ(execution.setInput(SVDF::k##X##Tensor, X##_.data(), sizeof(float) * X##_.size()), \ in Invoke()
262 ASSERT_EQ(execution.setInput(SVDF::kRankParam, &rank_, sizeof(rank_)), Result::NO_ERROR); in Invoke()
265 ASSERT_EQ(execution.setInput(SVDF::kActivationParam, &activation, sizeof(activation)), in Invoke()
DLSHProjectionTest.cpp107 execution.setInput(LSHProjection::k##X##Tensor, X##_.data(), sizeof(T) * X##_.size()), \ in Invoke()
123 ASSERT_EQ(execution.setInput(LSHProjection::kTypeParam, &type_, sizeof(type_)), in Invoke()
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
DRemoteXmlPullParserAdapter.java68 public void setInput(Reader in) throws XmlPullParserException, RemoteException { in setInput() method in RemoteXmlPullParserAdapter
69 mDelegate.setInput(in); in setInput()
73 public void setInput(RemoteInputStream inputStream, String inputEncoding) in setInput() method in RemoteXmlPullParserAdapter
75 mDelegate.setInput(StreamUtil.getInputStream(inputStream), inputEncoding); in setInput()
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/
DRemoteXmlPullParserAdapter.java75 public void setInput(Reader in) throws XmlPullParserException { in setInput() method in RemoteXmlPullParserAdapter
77 mDelegate.setInput(in); in setInput()
84 public void setInput(InputStream inputStream, String inputEncoding) in setInput() method in RemoteXmlPullParserAdapter
87 mDelegate.setInput(RemoteInputStreamAdapter.create(inputStream), inputEncoding); in setInput()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapper.java232 public void setInput(InputStream inputStream, String s) throws XmlPullParserException { in setInput() method in LayoutParserWrapper
233 mDelegate.setInput(inputStream, s); in setInput()
237 public void setInput(Reader reader) throws XmlPullParserException { in setInput() method in LayoutParserWrapper
238 mDelegate.setInput(reader); in setInput()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_blur_validation.java77 scriptBlur.setInput(input1D); in run()
79 scriptBlur.setInput(input2D); in run()
/frameworks/rs/tests/java_api/RsMinimalTest/src/com/android/rs/minimaltest/
DUT_blur_validation.java75 scriptBlur.setInput(input1D); in run()
77 scriptBlur.setInput(input2D); in run()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_blur_validation.java75 scriptBlur.setInput(input1D); in run()
77 scriptBlur.setInput(input2D); in run()
/frameworks/base/services/core/java/com/android/server/input/
DConfigurationProcessor.java42 parser.setInput(confReader); in processExcludedDeviceNames()
94 parser.setInput(confReader); in processInputPortAssociations()
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteXmlPullParser.java41 void setInput(Reader in) throws XmlPullParserException, RemoteException; in setInput() method
43 void setInput(RemoteInputStream inputStream, String inputEncoding) in setInput() method
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeXmlBlockParser.java136 public void setInput(Reader in) throws XmlPullParserException { in setInput() method in BridgeXmlBlockParser
137 mParser.setInput(in); in setInput()
141 public void setInput(InputStream inputStream, String inputEncoding) in setInput() method in BridgeXmlBlockParser
143 mParser.setInput(inputStream, inputEncoding); in setInput()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeHelperTest.java160 parser.setInput(new BufferedInputStream(new ByteArrayInputStream(xml.getBytes())), null); in getDefaultConfigParser()
194 parser.setInput( in getParserForByteStream()
844 parser.setInput(new BufferedInputStream( in testWriteXmlWithZenPolicy()
912 parser.setInput(new BufferedInputStream( in testReadXmlRulesNotOverriden()
932 parser.setInput(new BufferedInputStream( in testMigrateSuppressedVisualEffects_oneExistsButOff()
948 parser.setInput(new BufferedInputStream( in testMigrateSuppressedVisualEffects_oneExistsButOff()
967 parser.setInput(new BufferedInputStream( in testMigrateSuppressedVisualEffects_bothExistButOff()
986 parser.setInput(new BufferedInputStream( in testMigrateSuppressedVisualEffects_bothExistButOn()
1005 parser.setInput(new BufferedInputStream( in testMigrateSuppressedVisualEffects_bothExistButOn()
1021 parser.setInput(new BufferedInputStream( in testMigrateSuppressedVisualEffects_bothExistButOn()
[all …]
/frameworks/rs/
DrsScriptGroup.cpp253 void ScriptGroup::setInput(Context *rsc, ScriptKernelID *kid, Allocation *a) { in setInput() function in android::renderscript::ScriptGroup
258 if (rsc->mHal.funcs.scriptgroup.setInput) { in setInput()
259 rsc->mHal.funcs.scriptgroup.setInput(rsc, this, kid, a); in setInput()
387 s->setInput(rsc, (ScriptKernelID *)kid, (Allocation *)alloc); in rsi_ScriptGroupSetInput()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DArtistic1.java32 blur.setInput(mInPixelsAllocation); in createTest()
/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicYuvToRGB.java57 public void setInput(Allocation ain) { in setInput() method in ScriptIntrinsicYuvToRGB
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DArtistic1.java35 blur.setInput(mInPixelsAllocation); in createTest()
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
DArtistic1.java35 blur.setInput(mInPixelsAllocation); in createTest()
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup.h28 void setInput(const ScriptKernelID *kid, Allocation *) override;
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptIntrinsicYuvToRGB.java65 public void setInput(Allocation ain) {

123456789