Home
last modified time | relevance | path

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

123

/packages/services/DeviceAsWebcam/jni/
DBuffer.cpp65 bufferItem.buffer->getIndex()); in getFreeBufferIfAvailable()
79 i, (int)bufferItem.state, bufferTs, bufferItem.buffer->getIndex()); in filledProducerBufferAvailableLocked()
126 if (buffer->getIndex() == bufferItem.buffer->getIndex()) { in changeProducerBufferStateLocked()
134 buffer->getIndex()); in changeProducerBufferStateLocked()
DBuffer.h91 [[nodiscard]] virtual uint32_t getIndex() const = 0;
118 [[nodiscard]] uint32_t getIndex() const override { return mBuffer.index; } in getIndex() function
/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/NetworkStack/tests/unit/src/android/net/apf/
DJumpTableTest.kt81 assertEquals(0, j.getIndex("foo")) in testCodeGeneration()
82 assertEquals(1, j.getIndex("bar")) in testCodeGeneration()
83 assertEquals(2, j.getIndex("baz")) in testCodeGeneration()
86 j.getIndex("nonexistent") in testCodeGeneration()
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/models/jni/
DSelectionBoundary.java52 if (selectionBoundary.getIndex() >= 0) { in convert()
54 selectionBoundary.getIndex(), -1, -1, selectionBoundary.getIsRtl()); in convert()
61 public int getIndex() { in getIndex() method in SelectionBoundary
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DNetworkInterfaceWrapper.java60 public int getIndex() { in getIndex() method in NetworkInterfaceWrapper
61 return networkInterface.getIndex(); in getIndex()
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/storage/table/packed/read/
DBaseTypedPackedTable.java100 public int getIndex() { in getIndex() method in BaseTypedPackedTable.BasePackedTableEntry
101 return mEntry.getIndex(); in getIndex()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DDscpPolicyTracker.java161 return (netIface != null) ? netIface.getIndex() : 0; in getIfaceIndex()
333 TcUtils.tcFilterAddDevBpf(netIface.getIndex(), false, PRIO_DSCP, (short) ETH_P_ALL, in attachProgram()
350 TcUtils.tcFilterDelDev(netIface.getIndex(), false, PRIO_DSCP, (short) ETH_P_ALL); in detachProgram()
/packages/services/Telephony/utils/satellite/s2storage/src/readonly/java/com/android/telephony/sats2range/read/
DPopulatedSuffixTableBlock.java151 public int getIndex() { in getIndex() method in PopulatedSuffixTableBlock.Entry
152 return mSuffixTableEntry.getIndex(); in getIndex()
/packages/modules/GeoTZ/tzs2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/read/
DPopulatedSuffixTableBlock.java164 public int getIndex() { in getIndex() method in PopulatedSuffixTableBlock.Entry
165 return mSuffixTableEntry.getIndex(); in getIndex()
/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/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientService.java562 if (preset.getIndex() == index) { in getActivePresetInfo()
691 if (preset.getIndex() == presetIndex) { in getPresetInfo()
895 if (preset.getIndex() == presetIndex) { in isPresetIndexValid()
1015 if (iter.next().getIndex() == new_preset.getIndex()) { in updateDevicePresetsCache()
1037 if (iter.next().getIndex() == new_preset.getIndex()) { in updateDevicePresetsCache()
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/storage/table/reader/
DTable.java56 int getIndex(); in getIndex() method
/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/StatsD/tests/src/android/cts/statsd/metric/
DValueMetricsTests.java131 assertThat(bucketInfo.getValues(0).getIndex()).isEqualTo(0); in testValueMetric()
211 assertThat(bucketInfo.getValues(0).getIndex()).isEqualTo(0); in testPullerAcrossBuckets()
296 assertThat(bucketInfo.getValues(0).getIndex()).isEqualTo(0); in testMultipleEventsPerBucket()
502 .peek(value -> assertThat(value.getIndex()).isEqualTo(0)) in testValueMetricWithConditionAndActivation()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DTsPreference.java46 int attr = a.getIndex(i); in initStyleAttributes()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DStatsLogCompatManager.java806 return info.getTask().getIndex();
812 return info.getContainerInfo().getHotseat().getIndex();
814 return info.getContainerInfo().getPredictedHotseatContainer().getIndex();
816 return info.getContainerInfo().getTaskBarContainer().getIndex();
827 return info.getContainerInfo().getFolder().getHotseat().getIndex();
/packages/modules/NetworkStack/src/android/net/apf/
DDnsUtils.java289 gen.addLoadImmediate(R0, jumpTable.getIndex(parsedLabel)); in addMatchLabel()
316 gen.addLoadImmediate(R1, jumpTable.getIndex(LABEL_START_MATCH)); in addMatchLabel()
DJumpTable.java120 public int getIndex(@NonNull String label) { in getIndex() method in JumpTable
/packages/modules/NeuralNetworks/common/
DMetaModel.cpp153 uint32_t getIndex(Operand operand) { in getIndex() function in android::nn::MetaModel::OrigOperandToSlicedInputOperandIndex
265 origOperandToSlicedInputOperandIndex->getIndex(origOperands[output]); in processOperations()
464 origOperandToSlicedInputOperandIndex.getIndex(origOperands[origInputIndex]); in makeSlice()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DLruListTest.java71 public void getIndex() { in getIndex() method in LruListTest
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DInterfaceParams.java60 return new InterfaceParams(name, netif.getIndex(), macAddr, netif.getMTU()); in getByName()
/packages/modules/AdServices/adservices/libraries/health/runners/concurrent-longevity/adservices/src/android/adservices/test/longevity/concurrent/
DConcurrentProfile.java412 return Integer.compare(s1.getIndex(), s2.getIndex()); in compare()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothHapPresetInfo.java71 public int getIndex() { in getIndex() method in BluetoothHapPresetInfo
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/models/selection/
DSelectionBoundary.java127 public int getIndex() { in getIndex() method in SelectionBoundary

123