Home
last modified time | relevance | path

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

1234

/packages/modules/NeuralNetworks/runtime/test/
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()
241 ASSERT_EQ(execution1.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
242 ASSERT_EQ(execution1.setInput(1, matrix2, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
252 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), Result::NO_ERROR); in TEST_F()
[all …]
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()
DTestMemory.cpp85 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F()
148 ASSERT_EQ(execution2.setInput(0, matrix1, sizeof(Matrix3x4)), WrapperResult::NO_ERROR); in TEST_F()
DTestNeuralNetworksWrapper.h396 Result setInput(uint32_t index, const void* buffer, size_t length,
403 Result setInput(uint32_t index, const T* value,
406 return setInput(index, value, sizeof(T), type);
DTestUnknownDimensions.cpp292 ASSERT_EQ(execution.setInput(0, ones, sizeAtSet(paramsForInput0), typeAtSet(paramsForInput0)), in TestOne()
294 ASSERT_EQ(execution.setInput(1, twos, sizeAtSet(paramsForInput1), typeAtSet(paramsForInput1)), in TestOne()
/packages/modules/NeuralNetworks/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.cpp199 execution.setInput(LSTMCell::k##X##Tensor, X##_.data(), sizeof(float) * X##_.size()), \ in Invoke()
216 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()
[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.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()
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()
DQuantizedLSTMTest.cpp157 void setInput(const std::vector<uint8_t>& input) { input_ = input; } in setInput() function in android::nn::wrapper::QuantizedLSTMOpModel
227 return execution->setInput(tensor, data.data(), sizeof(T) * data.size()); in setInputTensor()
253 lstm->setInput(inputStep); in VerifyGoldens()
DRNNTest.cpp201 ASSERT_EQ(execution.setInput(RNN::k##X##Tensor, X##_.data(), sizeof(float) * X##_.size()), \ in Invoke()
216 ASSERT_EQ(execution.setInput(RNN::kActivationParam, &activation_, sizeof(activation_)), in Invoke()
/packages/apps/CarrierConfig/src/com/android/carrierconfig/
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()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java631 in.setInput(inputStream, StandardCharsets.UTF_8.name()); in deserializeWifiConfiguration()
705 in.setInput(inputStream, StandardCharsets.UTF_8.name()); in serializeDeserializeIpConfiguration()
728 in.setInput(inputStream, StandardCharsets.UTF_8.name()); in deserializeNetworkSelectionStatus()
760 in.setInput(inputStream, StandardCharsets.UTF_8.name()); in deserializeWifiEnterpriseConfig()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointXmlUtilsTest.java216 in.setInput(inputStream, StandardCharsets.UTF_8.name()); in serializeAndDeserializePasspointConfiguration()
258 in.setInput(inputStream, StandardCharsets.UTF_8.name()); in deserializePasspointConfigurationWithUnknownTag()
DPasspointConfigSharedStoreDataTest.java81 in.setInput(inputStream, StandardCharsets.UTF_8.name()); in deserializeData()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraZslImpl.java279 mReadyStateManager.setInput(ReadyStateRequirement.CAPTURE_NOT_IN_PROGRESS, true); in onImageCaptured()
326 mReadyStateManager.setInput(ReadyStateRequirement.CAPTURE_MANAGER_READY, in OneCameraZslImpl()
422 mReadyStateManager.setInput(ReadyStateRequirement.CAPTURE_NOT_IN_PROGRESS, false); in takePicture()
704 mReadyStateManager.setInput(ReadyStateRequirement.CAPTURE_NOT_IN_PROGRESS, in setup()
/packages/modules/NeuralNetworks/shim_and_sl/include/
DSupportLibraryWrapper.h513 Result setInput(uint32_t index, const void* buffer, size_t length,
520 Result setInput(uint32_t index, const T* value,
523 return setInput(index, value, sizeof(T), type);
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DFolderListing.java45 xpp.setInput(in, "utf-8"); in parse()
DMessagesListing.java46 xpp.setInput(in, "utf-8"); in parse()
/packages/apps/Camera2/src/com/android/camera/util/
DListenerCombiner.java79 public boolean setInput(Input input, boolean newValue) { in setInput() method in ListenerCombiner
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/compat/
DTvInputInfoCompatTest.java62 xpp.setInput(new StringReader(mInputXml)); in setUp()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DBitmapProcessor.java79 blur.setInput(input); in blur()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DImageUtils.java61 theIntrinsic.setInput(tmpIn); in blur()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DRandomizedMacStoreDataTest.java81 in.setInput(inputStream, StandardCharsets.UTF_8.name()); in deserializeData()

1234