/packages/modules/NeuralNetworks/runtime/test/ |
D | TestTrivialModel.cpp | 122 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 …]
|
D | TestFailingDriver.cpp | 166 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()
|
D | TestMemory.cpp | 85 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()
|
D | TestNeuralNetworksWrapper.h | 396 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);
|
D | TestUnknownDimensions.cpp | 292 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/ |
D | LayerNormLSTMTest.cpp | 210 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 …]
|
D | LSTMTest.cpp | 199 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 …]
|
D | MultinomialTest.cpp | 71 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()
|
D | SVDFTest.cpp | 248 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()
|
D | LSHProjectionTest.cpp | 107 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()
|
D | QuantizedLSTMTest.cpp | 157 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()
|
D | RNNTest.cpp | 201 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/ |
D | DefaultCarrierConfigService.java | 118 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/ |
D | XmlUtilTest.java | 631 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/ |
D | PasspointXmlUtilsTest.java | 216 in.setInput(inputStream, StandardCharsets.UTF_8.name()); in serializeAndDeserializePasspointConfiguration() 258 in.setInput(inputStream, StandardCharsets.UTF_8.name()); in deserializePasspointConfigurationWithUnknownTag()
|
D | PasspointConfigSharedStoreDataTest.java | 81 in.setInput(inputStream, StandardCharsets.UTF_8.name()); in deserializeData()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | OneCameraZslImpl.java | 279 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/ |
D | SupportLibraryWrapper.h | 513 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/ |
D | FolderListing.java | 45 xpp.setInput(in, "utf-8"); in parse()
|
D | MessagesListing.java | 46 xpp.setInput(in, "utf-8"); in parse()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | ListenerCombiner.java | 79 public boolean setInput(Input input, boolean newValue) { in setInput() method in ListenerCombiner
|
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/compat/ |
D | TvInputInfoCompatTest.java | 62 xpp.setInput(new StringReader(mInputXml)); in setUp()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | BitmapProcessor.java | 79 blur.setInput(input); in blur()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | ImageUtils.java | 61 theIntrinsic.setInput(tmpIn); in blur()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | RandomizedMacStoreDataTest.java | 81 in.setInput(inputStream, StandardCharsets.UTF_8.name()); in deserializeData()
|