Home
last modified time | relevance | path

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

12

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dbloom_filter.h39 mFilter.set(getIndex(position)); in setInFilter()
43 return mFilter.test(getIndex(position)); in isInFilter()
49 AK_FORCE_INLINE size_t getIndex(const int position) const { in getIndex() function
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/table/packed/read/
DBaseTypedPackedTable.java96 public int getIndex() { in getIndex() method in BaseTypedPackedTable.BasePackedTableEntry
97 return mEntry.getIndex(); in getIndex()
DPackedTableReader.java321 public int getIndex() { in getIndex() method in PackedTableReader.Entry
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DProgramDataManagerTest.java120 int index = stub.getIndex(mClock.currentTimeMillis(), channelId); in testProgramUtils()
161 int index = stub.getIndex(mClock.currentTimeMillis(), channelId); in testGetPrograms()
193 int index = stub.getIndex(mClock.currentTimeMillis(), testChannelId); in testCurrentProgramListener()
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
DValueMetricsTests.java107 assertThat(bucketInfo.getValues(0).getIndex()).isEqualTo(0); in testValueMetric()
183 assertThat(bucketInfo.getValues(0).getIndex()).isEqualTo(0); in testPullerAcrossBuckets()
264 assertThat(bucketInfo.getValues(0).getIndex()).isEqualTo(0); in testMultipleEventsPerBucket()
459 .peek(value -> assertThat(value.getIndex()).isEqualTo(0)) in testValueMetricWithConditionAndActivation()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DStatsLogCompatManager.java455 return info.getTask().getIndex(); in getPageId()
461 return info.getContainerInfo().getHotseat().getIndex(); in getPageId()
463 return info.getContainerInfo().getPredictedHotseatContainer().getIndex(); in getPageId()
474 return info.getContainerInfo().getFolder().getHotseat().getIndex(); in getParentPageId()
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/read/
DPopulatedSuffixTableBlock.java148 public int getIndex() { in getIndex() method in PopulatedSuffixTableBlock.Entry
149 return mSuffixTableEntry.getIndex(); in getIndex()
DSuffixTableBlock.java196 public abstract int getIndex(); in getIndex() method in SuffixTableBlock.Entry
/packages/apps/Contacts/src/com/android/contacts/util/
DDateUtils.java83 noYearParsed = parsePosition.getIndex() == string.length(); in parseDate()
95 if (parsePosition.getIndex() == string.length()) { in parseDate()
/packages/modules/NeuralNetworks/common/
DMetaModel.cpp152 uint32_t getIndex(Operand operand) { in getIndex() function in android::nn::MetaModel::OrigOperandToSlicedInputOperandIndex
264 origOperandToSlicedInputOperandIndex->getIndex(origOperands[output]); in processOperations()
454 origOperandToSlicedInputOperandIndex.getIndex(origOperands[origInputIndex]); in makeSlice()
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/table/reader/
DTable.java52 int getIndex(); in getIndex() method
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/table/packed/
DPackedTableReaderWriterTest.java211 assertTrue(setOf(0, 1).contains(tableReader.getEntry(100).getIndex())); in addEntry_outOfOrder()
411 assertEquals(1, entry.getIndex()); in entryBasicInfo_int()
433 assertEquals(1, entry.getIndex()); in entryBasicInfo_long()
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/
DFavoriteNumberEntity.java44 public int getIndex() { in getIndex() method in FavoriteNumberEntity
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DTsPreference.java46 int attr = a.getIndex(i); in initStyleAttributes()
/packages/modules/NetworkStack/common/moduleutils/src/android/net/util/
DInterfaceParams.java56 return new InterfaceParams(name, netif.getIndex(), macAddr, netif.getMTU()); in getByName()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DLruListTest.java71 public void getIndex() { in getIndex() method in LruListTest
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
DSlicePreference.java75 int attr = a.getIndex(i); in initStyleAttributes()
DEmbeddedSliceSwitchPreference.java77 int attr = a.getIndex(i); in initStyleAttributes()
/packages/apps/Settings/src/com/android/settings/widget/
DDisabledCheckBoxPreference.java64 int attr = a.getIndex(i); in setupDisabledCheckBoxPreference()
/packages/services/Car/car-admin-ui-lib/src/main/java/com/android/car/admin/ui/
DUserAvatarView.java49 int attr = a.getIndex(i); in UserAvatarView()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyVisualAttributes.java92 final int attrId = keyAttr.getIndex(i); in newInstance()
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/
DProgramUtils.java83 int index = program.getIndex(timeMs, channelId); in populatePrograms()
DProgramInfo.java161 public int getIndex(long timeMs, long channelId) { in getIndex() method in ProgramInfo
/packages/services/BuiltInPrintService/src/com/android/bips/render/
DPdfRenderService.java135 if (mPage != null && mPage.getIndex() != page) {
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestService.java146 protected MtpDeviceIndex getIndex() { in getIndex() method in IngestService

12