Home
last modified time | relevance | path

Searched refs:curIndex (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DComprehensionTlv.java121 int curIndex = startIndex; in decode() local
128 int temp = data[curIndex++] & 0xff; in decode()
134 ", startIndex=" + startIndex + " curIndex=" + curIndex + in decode()
141 tag = ((data[curIndex] & 0xff) << 8) in decode()
142 | (data[curIndex + 1] & 0xff); in decode()
145 curIndex += 2; in decode()
157 temp = data[curIndex++] & 0xff; in decode()
161 length = data[curIndex++] & 0xff; in decode()
166 " startIndex=" + startIndex + " curIndex=" + curIndex + in decode()
170 length = ((data[curIndex] & 0xff) << 8) in decode()
[all …]
DBerTlv.java79 int curIndex = 0; in decode() local
86 tag = data[curIndex++] & 0xff; in decode()
89 int temp = data[curIndex++] & 0xff; in decode()
93 temp = data[curIndex++] & 0xff; in decode()
98 " curIndex=" + curIndex + " endIndex=" + endIndex); in decode()
106 " byte= " + Integer.toHexString(temp) + " curIndex=" + curIndex + in decode()
112 curIndex = 0; in decode()
118 " curIndex=" + curIndex + " endIndex=" + endIndex); in decode()
124 if (endIndex - curIndex < length) { in decode()
126 "Command had extra data endIndex=" + endIndex + " curIndex=" + curIndex + in decode()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
DDisplayDensityUtils.java117 int curIndex = 0; in DisplayDensityUtils() local
125 currentDensityIndex = curIndex; in DisplayDensityUtils()
127 entries[curIndex] = res.getString(SUMMARIES_SMALLER[i]); in DisplayDensityUtils()
128 values[curIndex] = density; in DisplayDensityUtils()
129 curIndex++; in DisplayDensityUtils()
134 currentDensityIndex = curIndex; in DisplayDensityUtils()
136 values[curIndex] = defaultDensity; in DisplayDensityUtils()
137 entries[curIndex] = res.getString(SUMMARY_DEFAULT); in DisplayDensityUtils()
138 curIndex++; in DisplayDensityUtils()
146 currentDensityIndex = curIndex; in DisplayDensityUtils()
[all …]
/frameworks/ml/nn/common/operations/
DMaximumMinimum.cpp43 std::vector<uint32_t> curIndex(outputShape.dimensions.size(), 0); in evalGeneric() local
47 NN_CHECK(outputShapeIndexed.indexToFlatIndex(curIndex, &outputFlatIndex)); in evalGeneric()
49 NN_CHECK(aShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &aFlatIndex)); in evalGeneric()
51 NN_CHECK(bShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &bFlatIndex)); in evalGeneric()
56 NN_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in evalGeneric()
69 std::vector<uint32_t> curIndex(outputShape.dimensions.size(), 0); in evalQuant8() local
73 NN_CHECK(outputShapeIndexed.indexToFlatIndex(curIndex, &outputFlatIndex)); in evalQuant8()
75 NN_CHECK(aShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &aFlatIndex)); in evalQuant8()
77 NN_CHECK(bShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &bFlatIndex)); in evalQuant8()
84 NN_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in evalQuant8()
DPow.cpp41 std::vector<uint32_t> curIndex(outputShape.dimensions.size(), 0); in evalGeneric() local
45 NN_CHECK(outputShapeIndexed.indexToFlatIndex(curIndex, &outputFlatIndex)); in evalGeneric()
47 NN_CHECK(baseShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &baseFlatIndex)); in evalGeneric()
49 NN_CHECK(exponentShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &exponentFlatIndex)); in evalGeneric()
54 NN_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in evalGeneric()
DLogicalAndOr.cpp44 std::vector<uint32_t> curIndex(outputShape.dimensions.size(), 0); in compute() local
48 NN_RET_CHECK(outputShapeIndexed.indexToFlatIndex(curIndex, &outputFlatIndex)); in compute()
50 NN_RET_CHECK(aShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &aFlatIndex)); in compute()
52 NN_RET_CHECK(bShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &bFlatIndex)); in compute()
56 NN_RET_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in compute()
DPRelu.cpp52 std::vector<uint32_t> curIndex(outputShape.dimensions.size(), 0); in eval() local
56 NN_RET_CHECK(outputShapeIndexed.indexToFlatIndex(curIndex, &outputFlatIndex)); in eval()
58 NN_RET_CHECK(aShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &aFlatIndex)); in eval()
60 NN_RET_CHECK(bShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &bFlatIndex)); in eval()
64 NN_RET_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in eval()
DComparisons.cpp49 std::vector<uint32_t> curIndex(outputShape.dimensions.size(), 0); in compute() local
53 NN_RET_CHECK(outputShapeIndexed.indexToFlatIndex(curIndex, &outputFlatIndex)); in compute()
55 NN_RET_CHECK(aShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &aFlatIndex)); in compute()
57 NN_RET_CHECK(bShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &bFlatIndex)); in compute()
68 NN_RET_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in compute()
DBroadcast.cpp215 std::vector<uint32_t> curIndex(outputShape.dimensions.size(), 0); in executeInt32() local
219 NN_RET_CHECK(outputShapeIndexed.indexToFlatIndex(curIndex, &outputFlatIndex)); in executeInt32()
221 NN_RET_CHECK(aShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &aFlatIndex)); in executeInt32()
223 NN_RET_CHECK(bShapeIndexed.broadcastedIndexToFlatIndex(curIndex, &bFlatIndex)); in executeInt32()
227 NN_RET_CHECK(outputShapeIndexed.nextIndexInplace(&curIndex, &lastIndex)); in executeInt32()
/frameworks/base/core/tests/coretests/src/android/content/
DAssetTest.java41 int curIndex = 0; in verifyTextAsset() local
44 assertEquals("At index " + curIndex in verifyTextAsset()
45 + " expected " + expectedString.charAt(curIndex) in verifyTextAsset()
47 buffer[i], expectedString.charAt(curIndex)); in verifyTextAsset()
48 curIndex++; in verifyTextAsset()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberFormattingTextWatcher.java131 int curIndex = cursor - 1; in reformat() local
146 if (i == curIndex) { in reformat()
/frameworks/base/core/java/android/widget/
DListPopupWindow.java947 int curIndex = mDropDownList.getSelectedItemPosition();
966 if ((below && keyCode == KeyEvent.KEYCODE_DPAD_UP && curIndex <= firstItem) ||
967 (!below && keyCode == KeyEvent.KEYCODE_DPAD_DOWN && curIndex >= lastItem)) {
1007 if (curIndex == lastItem) {
1011 curIndex == firstItem) {
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java954 int curIndex = -1;
956 for (curIndex = 0; curIndex < mItems.size(); curIndex++) {
957 final ItemInfo ii = mItems.get(curIndex);
965 curItem = addNewItem(mCurItem, curIndex);
973 int itemIndex = curIndex - 1;
991 curIndex--;
1001 curIndex++;
1007 itemIndex = curIndex + 1;
1039 calculatePageOffsets(curItem, curIndex, oldCurInfo);
1113 private void calculatePageOffsets(ItemInfo curItem, int curIndex, ItemInfo oldCurInfo) {
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java7118 int curIndex = 0; in dumpLocked() local
7119 while ((dit=getDailyItemLocked(curIndex)) != null) { in dumpLocked()
7120 curIndex++; in dumpLocked()