Home
last modified time | relevance | path

Searched refs:valueIndex (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DValueParser.java45 int valueIndex = ctlv.getValueIndex(); in retrieveCommandDetails() local
48 cmdDet.commandNumber = rawValue[valueIndex] & 0xff; in retrieveCommandDetails()
49 cmdDet.typeOfCommand = rawValue[valueIndex + 1] & 0xff; in retrieveCommandDetails()
50 cmdDet.commandQualifier = rawValue[valueIndex + 2] & 0xff; in retrieveCommandDetails()
70 int valueIndex = ctlv.getValueIndex(); in retrieveDeviceIdentities() local
72 devIds.sourceId = rawValue[valueIndex] & 0xff; in retrieveDeviceIdentities()
73 devIds.destinationId = rawValue[valueIndex + 1] & 0xff; in retrieveDeviceIdentities()
93 int valueIndex = ctlv.getValueIndex(); in retrieveDuration() local
96 timeUnit = TimeUnit.values()[(rawValue[valueIndex] & 0xff)]; in retrieveDuration()
97 timeInterval = rawValue[valueIndex + 1] & 0xff; in retrieveDuration()
[all …]
DImageDescriptor.java56 static ImageDescriptor parse(byte[] rawData, int valueIndex) { in parse() argument
59 d.mWidth = rawData[valueIndex++] & 0xff; in parse()
60 d.mHeight = rawData[valueIndex++] & 0xff; in parse()
61 d.mCodingScheme = rawData[valueIndex++] & 0xff; in parse()
64 d.mImageId = (rawData[valueIndex++] & 0xff) << 8; in parse()
65 d.mImageId |= rawData[valueIndex++] & 0xff; in parse()
67 d.mHighOffset = (rawData[valueIndex++] & 0xff); // high byte offset in parse()
68 d.mLowOffset = rawData[valueIndex++] & 0xff; // low byte offset in parse()
70 d.mLength = ((rawData[valueIndex++] & 0xff) << 8 | (rawData[valueIndex++] & 0xff)); in parse()
DIconLoader.java242 int valueIndex = 0; in parseToBnW() local
243 int width = data[valueIndex++] & 0xFF; in parseToBnW()
244 int height = data[valueIndex++] & 0xFF; in parseToBnW()
255 currentByte = data[valueIndex++]; in parseToBnW()
293 int valueIndex = 0; in parseToRGB() local
294 int width = data[valueIndex++] & 0xFF; in parseToRGB()
295 int height = data[valueIndex++] & 0xFF; in parseToRGB()
296 int bitsPerImg = data[valueIndex++] & 0xFF; in parseToRGB()
297 int numOfClutEntries = data[valueIndex++] & 0xFF; in parseToRGB()
306 valueIndex = 6; in parseToRGB()
[all …]
DCommandParamsFactory.java527 int valueIndex = ctlv.getValueIndex(); in processGetInput() local
528 input.minLen = rawValue[valueIndex] & 0xff; in processGetInput()
529 input.maxLen = rawValue[valueIndex + 1] & 0xff; in processGetInput()
751 int valueIndex = ctlv.getValueIndex(); in processSetUpEventList() local
757 eventValue = rawValue[valueIndex] & 0xff; in processSetUpEventList()
758 valueIndex++; in processSetUpEventList()
806 int valueIndex = ctlv.getValueIndex(); in processLaunchBrowser() local
810 valueIndex, valueLen); in processLaunchBrowser()
882 int valueIndex = ctlv.getValueIndex(); in processPlayTone() local
883 int toneVal = rawValue[valueIndex]; in processPlayTone()
[all …]
DComprehensionTlv.java53 int valueIndex) { in ComprehensionTlv() argument
57 mValueIndex = valueIndex; in ComprehensionTlv()
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/
DIccUtils.java498 int valueIndex = 0; in parseToBnW() local
499 int width = data[valueIndex++] & 0xFF; in parseToBnW()
500 int height = data[valueIndex++] & 0xFF; in parseToBnW()
511 currentByte = data[valueIndex++]; in parseToBnW()
541 int valueIndex = 0; in parseToRGB() local
542 int width = data[valueIndex++] & 0xFF; in parseToRGB()
543 int height = data[valueIndex++] & 0xFF; in parseToRGB()
544 int bits = data[valueIndex++] & 0xFF; in parseToRGB()
545 int colorNumber = data[valueIndex++] & 0xFF; in parseToRGB()
546 int clutOffset = ((data[valueIndex++] & 0xFF) << 8) in parseToRGB()
[all …]
/frameworks/base/core/java/android/util/
DSparseSetArray.java109 public T valueAt(int intIndex, int valueIndex) { in valueAt() argument
110 return mData.valueAt(intIndex).valueAt(valueIndex); in valueAt()
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java447 int valueIndex = mListenerMap.indexOfValue(listener); in putListener() local
448 checkArgument(valueIndex == -1, "listener already in use"); in putListener()
466 int valueIndex = mListenerMap.indexOfValue(listener); in getListenerKey() local
467 checkArgument(valueIndex != -1, "listener not registered"); in getListenerKey()
468 return mListenerMap.keyAt(valueIndex); in getListenerKey()
/frameworks/base/cmds/statsd/src/metrics/
DValueMetricProducer.cpp314 for (int i = 0; i < (int)bucket.valueIndex.size(); i ++) { in onDumpReportLocked()
315 int index = bucket.valueIndex[i]; in onDumpReportLocked()
721 interval.valueIndex = i; in onMatchedLogEventInternalLocked()
876 if (bucket.valueIndex.size() > 0) { in flushCurrentBucketLocked()
903 bucket.valueIndex.push_back(interval.valueIndex); in buildPartialBucket()
DValueMetricProducer.h39 std::vector<int> valueIndex; member
154 int valueIndex; member
/frameworks/base/cmds/statsd/tests/metrics/
DValueMetricProducer_test.cpp1614 EXPECT_EQ(0, valueProducer.mPastBuckets.begin()->second[0].valueIndex[0]); in TEST()
1616 EXPECT_EQ(1, valueProducer.mPastBuckets.begin()->second[0].valueIndex[1]); in TEST()
1620 EXPECT_EQ(1, valueProducer.mPastBuckets.begin()->second[1].valueIndex[0]); in TEST()