Home
last modified time | relevance | path

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

1234567891011

/aosp12/frameworks/av/media/libheadtracking/
H A DPoseDriftCompensator-test.cpp43 comp.setInput(1000, pose1); in TEST()
46 comp.setInput(2000, pose2); in TEST()
53 comp.setInput(3000, pose1); in TEST()
56 comp.setInput(4000, pose2); in TEST()
65 comp.setInput(1000, pose1); in TEST()
68 comp.setInput(1000, pose2); in TEST()
74 comp.setInput(1000, pose1); in TEST()
102 comp.setInput(0, pose1); in TEST()
105 comp.setInput(1, pose2); in TEST()
111 comp.setInput(2, pose1); in TEST()
[all …]
H A DHeadTrackingProcessor.cpp55 mHeadPoseDriftCompensator.setInput(timestamp, predictedWorldToHead); in setWorldToHeadPose()
66 mScreenPoseDriftCompensator.setInput( in setWorldToScreenPose()
/aosp12/frameworks/base/core/tests/coretests/src/android/app/backup/
H A DFullBackupTest.java61 mXpp.setInput(new StringReader( in testparseBackupSchemeFromXml_onlyInclude()
82 mXpp.setInput(new StringReader( in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionFlag()
107 mXpp.setInput(new StringReader( in testParseBackupSchemeFromXml_onlyIncludeRequireFakeEncryptionFlag()
128 mXpp.setInput(new StringReader( in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlag()
153 mXpp.setInput(new StringReader( in testparseBackupSchemeFromXml_onlyIncludeRequireEncryptionAndD2DFlags()
179 mXpp.setInput(new StringReader( in testparseBackupSchemeFromXml_onlyIncludeRequireD2DFlagAndIngoreGarbage()
204 mXpp.setInput(new StringReader( in testparseBackupSchemeFromXml_onlyExcludeRequireFlagsNotSupported()
218 mXpp.setInput(new StringReader( in testparseBackupSchemeFromXml_onlyExclude()
234 mXpp.setInput(new StringReader( in testparseBackupSchemeFromXml_includeAndExclude()
256 mXpp.setInput(new StringReader( in testparseBackupSchemeFromXml_lotsOfIncludesAndExcludes()
[all …]
/aosp12/packages/modules/NeuralNetworks/runtime/test/
H A DTestTrivialModel.cpp122 ASSERT_EQ(execution.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
123 ASSERT_EQ(execution.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
161 ASSERT_EQ(execution.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in testAddTwoWithHardwareBufferInput()
211 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
212 ASSERT_EQ(execution2.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
222 ASSERT_EQ(execution3.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
223 ASSERT_EQ(execution3.setInput(1, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
294 ASSERT_EQ(execution.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
295 ASSERT_EQ(execution.setInput(1, matrix2b, sizeof(Matrix4)), Result::NO_ERROR); in TEST_F()
323 ASSERT_EQ(execution.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
[all …]
H A DTestFailingDriver.cpp166 ASSERT_EQ(execution.setInput(0, &fInput), Result::NO_ERROR); in TEST_F()
167 ASSERT_EQ(execution.setInput(1, &bInput), Result::NO_ERROR); in TEST_F()
205 ASSERT_EQ(execution.setInput(0, &fInput), Result::NO_ERROR); in TEST_F()
/aosp12/packages/modules/NeuralNetworks/common/operations/
H A DLayerNormLSTMTest.cpp228 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()
253 ASSERT_EQ(execution.setInput(LSTMCell::kCellClipParam, &cell_clip_, sizeof(cell_clip_)), in Invoke()
[all …]
H A DLSTMTest.cpp216 execution.setInput(LSTMCell::kInputToInputWeightsTensor, nullptr, 0); in Invoke()
217 execution.setInput(LSTMCell::kRecurrentToInputWeightsTensor, nullptr, 0); in Invoke()
222 execution.setInput(LSTMCell::kCellToInputWeightsTensor, nullptr, 0); in Invoke()
225 execution.setInput(LSTMCell::kCellToInputWeightsTensor, nullptr, 0); in Invoke()
226 execution.setInput(LSTMCell::kCellToForgetWeightsTensor, nullptr, 0); in Invoke()
227 execution.setInput(LSTMCell::kCellToOutputWeightsTensor, nullptr, 0); in Invoke()
232 execution.setInput(LSTMCell::kProjectionBiasTensor, nullptr, 0); in Invoke()
235 execution.setInput(LSTMCell::kProjectionWeightsTensor, nullptr, 0); in Invoke()
236 execution.setInput(LSTMCell::kProjectionBiasTensor, nullptr, 0); in Invoke()
241 ASSERT_EQ(execution.setInput(LSTMCell::kCellClipParam, &cell_clip_, sizeof(cell_clip_)), in Invoke()
[all …]
H A 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()
H A DSVDFTest.cpp248 ASSERT_EQ(execution.setInput(SVDF::k##X##Tensor, X##_.data(), sizeof(float) * X##_.size()), \ in Invoke()
264 ASSERT_EQ(execution.setInput(SVDF::kRankParam, &rank_, sizeof(rank_)), Result::NO_ERROR); in Invoke()
267 ASSERT_EQ(execution.setInput(SVDF::kActivationParam, &activation, sizeof(activation)), in Invoke()
H A 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()
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A DXmlPullParserWrapper.java55 public void setInput(Reader in) throws XmlPullParserException { in setInput() method in XmlPullParserWrapper
56 mWrapped.setInput(in); in setInput()
59 public void setInput(InputStream inputStream, String inputEncoding) in setInput() method in XmlPullParserWrapper
61 mWrapped.setInput(inputStream, inputEncoding); in setInput()
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationAssistantsTest.java147 parser.setInput(new BufferedInputStream( in testReadXml_userDisabled()
170 parser.setInput(new BufferedInputStream( in testReadXml_upgradeUserSet()
190 parser.setInput(new BufferedInputStream( in testReadXml_upgradeUserSet_preS_VersionThree()
211 parser.setInput(new BufferedInputStream( in testReadXml_upgradeUserSet_preS_VersionOne()
231 parser.setInput(new BufferedInputStream( in testReadXml_upgradeUserSet_preS_noUserSet()
251 parser.setInput(new BufferedInputStream( in testReadXml_upgradeUserSet_preS_noUserSet_diffDefault()
276 parser.setInput(new BufferedInputStream( in testReadXml_multiApproved()
294 parser.setInput(new BufferedInputStream( in testXmlUpgradeExistingApprovedComponents()
310 parser.setInput(new BufferedInputStream( in testXmlMigratingAllowedAdjustments()
320 parser.setInput(new BufferedInputStream( in testXmlMigratingAllowedAdjustments()
H A DZenModeConfigTest.java215 parser.setInput(new BufferedInputStream( in testRuleXml()
253 parser.setInput(new BufferedInputStream( in testRuleXml_pkg_component()
277 parser.setInput(new BufferedInputStream( in testRuleXml_pkg_configActivity()
302 parser.setInput(new BufferedInputStream( in testRuleXml_getPkg_nullPkg()
H A DZenModeHelperTest.java251 parser.setInput( in getParserForByteStream()
1118 parser.setInput(new BufferedInputStream( in testWriteXmlWithZenPolicy()
1186 parser.setInput(new BufferedInputStream( in testReadXmlRulesNotOverriden()
1206 parser.setInput(new BufferedInputStream( in testMigrateSuppressedVisualEffects_oneExistsButOff()
1222 parser.setInput(new BufferedInputStream( in testMigrateSuppressedVisualEffects_oneExistsButOff()
1241 parser.setInput(new BufferedInputStream( in testMigrateSuppressedVisualEffects_bothExistButOff()
1260 parser.setInput(new BufferedInputStream( in testMigrateSuppressedVisualEffects_bothExistButOn()
1279 parser.setInput(new BufferedInputStream( in testMigrateSuppressedVisualEffects_bothExistButOn()
1295 parser.setInput(new BufferedInputStream( in testMigrateSuppressedVisualEffects_bothExistButOn()
1315 parser.setInput(new BufferedInputStream( in testReadXmlResetDefaultRules()
[all …]
/aosp12/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
H A 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()
/aosp12/packages/apps/CarrierConfig/src/com/android/carrierconfig/
H A DDefaultCarrierConfigService.java118 parser.setInput(getApplicationContext().getAssets().open( in loadConfig()
146 parser.setInput(getApplicationContext().getAssets().open(file), "utf-8"); in loadConfig()
150 parser.setInput(getApplicationContext().getAssets().open(file), "utf-8"); in loadConfig()
153 parser.setInput(getApplicationContext().getAssets().open(file), "utf-8"); in loadConfig()
169 parser.setInput(getApplicationContext().getAssets().open( in loadConfig()
/aosp12/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/
H A 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()
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A 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()
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A DUT_blur_validation.java75 scriptBlur.setInput(input1D); in run()
77 scriptBlur.setInput(input2D); in run()
/aosp12/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
H A DUT_blur_validation.java77 scriptBlur.setInput(input1D); in run()
79 scriptBlur.setInput(input2D); in run()
/aosp12/frameworks/rs/tests/java_api/RsMinimalTest/src/com/android/rs/minimaltest/
H A DUT_blur_validation.java75 scriptBlur.setInput(input1D); in run()
77 scriptBlur.setInput(input2D); in run()
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A 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()
/aosp12/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
H A DRemoteXmlPullParser.java41 void setInput(Reader in) throws XmlPullParserException, RemoteException; in setInput() method
43 void setInput(RemoteInputStream inputStream, String inputEncoding) in setInput() method
/aosp12/frameworks/rs/
H A 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()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DFactoryResetProtectionPolicyTest.java104 parser.setInput(new InputStreamReader(inStream)); in testSerializationAndDeserialization()
116 parser.setInput(new InputStreamReader(inStream)); in testInvalidXmlSerializationAndDeserialization()

1234567891011