Home
last modified time | relevance | path

Searched refs:indexes (Results 1 – 25 of 36) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/bluetooth/
DBaseBluetoothDialogPreferenceTest.java123 List<Integer> indexes = new ArrayList<>(); in onBindDialogView_checkRadioButtonsState() local
124 indexes.add(0); in onBindDialogView_checkRadioButtonsState()
125 when(mCallback.getSelectableIndex()).thenReturn(indexes); in onBindDialogView_checkRadioButtonsState()
140 List<Integer> indexes = new ArrayList<>(); in onBindDialogView_allButtonsEnabled_hideHelpText() local
141 indexes.add(0); in onBindDialogView_allButtonsEnabled_hideHelpText()
142 indexes.add(1); in onBindDialogView_allButtonsEnabled_hideHelpText()
143 when(mCallback.getSelectableIndex()).thenReturn(indexes); in onBindDialogView_allButtonsEnabled_hideHelpText()
155 List<Integer> indexes = new ArrayList<>(); in onBindDialogView_buttonDisabled_showHelpText() local
156 indexes.add(0); in onBindDialogView_buttonDisabled_showHelpText()
157 when(mCallback.getSelectableIndex()).thenReturn(indexes); in onBindDialogView_buttonDisabled_showHelpText()
/packages/providers/MediaProvider/src/com/android/providers/media/playlist/
DPlaylist.java123 public int removeMultiple(int... indexes) { in removeMultiple() argument
125 Arrays.sort(indexes); in removeMultiple()
127 for (int i = indexes.length - 1; i >= 0; --i) { in removeMultiple()
130 if (indexes[i] >=0 && indexes[i] < size) { in removeMultiple()
131 mItems.remove(indexes[i]); in removeMultiple()
/packages/modules/NeuralNetworks/common/
DModelUtils.cpp49 void remapIndexes(std::vector<uint32_t>* indexes, const std::vector<uint32_t>& mapping) { in remapIndexes() argument
50 CHECK(indexes != nullptr); in remapIndexes()
51 for (uint32_t& index : (*indexes)) { in remapIndexes()
81 auto markUsed = [&used](const std::vector<uint32_t>& indexes) { in identifyUsedOperands() argument
82 std::for_each(indexes.begin(), indexes.end(), in identifyUsedOperands()
DCpuExecutor.cpp666 void CpuExecutor::updateForArguments(const std::vector<uint32_t>& indexes, in updateForArguments() argument
670 CHECK_EQ(indexes.size(), arguments.size()); in updateForArguments()
671 for (size_t i = 0; i < indexes.size(); i++) { in updateForArguments()
672 const uint32_t operandIndex = indexes[i]; in updateForArguments()
753 const std::vector<uint32_t>& indexes, in executeOperation()
755 size_t actualCount = indexes.size(); in executeOperation()
762 if (operands[indexes[i]].lifetime == Operand::LifeTime::NO_VALUE) { in executeOperation()
772 &operands](const std::vector<uint32_t>& indexes) { in executeOperation() argument
773 for (size_t i = 0; i < indexes.size(); i++) { in executeOperation()
774 for (size_t j = 0; j < operands[indexes[i]].dimensions.size(); j++) { in executeOperation()
[all …]
DValidateHal.cpp555 static bool validateModelInputOutputs(const hardware::hidl_vec<uint32_t> indexes, in validateModelInputOutputs() argument
559 for (uint32_t i : indexes) { in validateModelInputOutputs()
573 std::vector<uint32_t> sortedIndexes = indexes; in validateModelInputOutputs()
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DGenerateCorpus.cpp114 Indexes convertIndexes(const std::vector<uint32_t>& indexes) { in convertIndexes() argument
116 for (uint32_t index : indexes) { in convertIndexes()
DConverter.cpp119 std::vector<uint32_t> convert(const Indexes& indexes) { in convert() argument
120 const auto& repeatedIndex = indexes.index(); in convert()
/packages/services/Car/cpp/computepipe/proto/
DPacketDescriptor.proto10 // Corresponding indexes.
/packages/apps/Camera2/src/com/android/camera/data/
DLocalFilmstripDataAdapter.java43 public void onMetadataUpdated(List<Integer> indexes); in onMetadataUpdated() argument
/packages/modules/Uwb/service/uci/jni/src/
Duci_jni_android_new.rs741 let indexes = response.ranging_round_indexes; in create_ranging_round_status() localVariable
745 env.byte_array_from_slice(indexes.as_ref()).map_err(|_| Error::ForeignFunctionInterface)?, in create_ranging_round_status()
753 JValue::Int(indexes.len() as i32), in create_ranging_round_status()
894 let indexes = env in native_set_ranging_rounds_dt_tag() localVariable
897 uci_manager.session_update_dt_tag_ranging_rounds(session_id, indexes) in native_set_ranging_rounds_dt_tag()
/packages/apps/SettingsIntelligence/proto/
Dsettings_intelligence_log.proto40 // Search service indexes database
/packages/modules/NeuralNetworks/common/include/
DCpuExecutor.h166 void updateForArguments(const std::vector<uint32_t>& indexes,
/packages/modules/NeuralNetworks/driver/sample_hidl/
DSampleDriverFloatXNNPACK.cpp72 void updateForArguments(const std::vector<uint32_t>& indexes, in updateForArguments() argument
76 CHECK_EQ(indexes.size(), arguments.size()); in updateForArguments()
77 for (size_t i = 0; i < indexes.size(); i++) { in updateForArguments()
78 const uint32_t operandIndex = indexes[i]; in updateForArguments()
/packages/modules/NeuralNetworks/common/types/src/
DValidation.cpp748 Result<void> validateModelSubgraphInputOutputs(const std::vector<uint32_t>& indexes, in validateModelSubgraphInputOutputs() argument
752 for (uint32_t i : indexes) { in validateModelSubgraphInputOutputs()
762 std::vector<uint32_t> sortedIndexes = indexes; in validateModelSubgraphInputOutputs()
/packages/apps/Camera2/src/com/android/camera/
DCameraActivity.java773 public void onMetadataUpdated(List<Integer> indexes) {
779 for (Integer index : indexes) {
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java8113 final int[] indexes = resolvePlaylistIndexes(playlistUri, queryArgs);
8120 if (indexes.length == 0) {
8125 count = playlist.removeMultiple(indexes);
8208 int[] indexes = resolvePlaylistIndexes(playlistUri, queryArgs);
8209 if (indexes.length == 1) {
8210 return indexes[0];
/packages/modules/GeoTZ/output_data/odbl/
DLICENSE153 indexes; the data entry and output sheets; and the Field names of
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2cellunions_to_tzs2ranges/data/
DLICENSE153 indexes; the data entry and output sheets; and the Field names of
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/mergetzs2ranges/data/
DLICENSE153 indexes; the data entry and output sheets; and the Field names of
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/createtzs2protodatafile/data/
DLICENSE153 indexes; the data entry and output sheets; and the Field names of
/packages/modules/GeoTZ/tzbb_data/
DDATA_LICENSE153 indexes; the data entry and output sheets; and the Field names of
DLICENSE153 indexes; the data entry and output sheets; and the Field names of
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/canonicalizetzs2polygons/data/output_polygons/
DLICENSE153 indexes; the data entry and output sheets; and the Field names of
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2polygons_tzs2cellunions/data/
DLICENSE153 indexes; the data entry and output sheets; and the Field names of
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/geojsontz_to_tzs2polygons/data/
DLICENSE153 indexes; the data entry and output sheets; and the Field names of

12