Home
last modified time | relevance | path

Searched refs:mLength (Results 1 – 22 of 22) sorted by relevance

/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DResizableIntArray.java29 private int mLength; field in ResizableIntArray
36 if (index < mLength) { in get()
39 throw new ArrayIndexOutOfBoundsException("length=" + mLength + "; index=" + index); in get()
43 if (index < mLength) { in addAt()
46 mLength = index; in addAt()
52 final int currentLength = mLength; in add()
55 mLength = currentLength + 1; in add()
83 return mLength; in getLength()
88 mLength = newLength; in setLength()
94 mLength = 0; in reset()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceRequest.java54 private int mLength; field in WifiP2pServiceRequest
84 mLength = query.length()/2 + 2; in WifiP2pServiceRequest()
86 mLength = 2; in WifiP2pServiceRequest()
101 mLength = length; in WifiP2pServiceRequest()
142 sb.append(String.format(Locale.US, "%02x", (mLength) & 0xff)); in getSupplicantQuery()
143 sb.append(String.format(Locale.US, "%02x", (mLength >> 8) & 0xff)); in getSupplicantQuery()
233 (req.mLength != mLength)) { in equals()
249 result = 31 * result + mLength; in hashCode()
262 dest.writeInt(mLength); in writeToParcel()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java352 if (fileInfo.mFileName == null || fileInfo.mLength == 0) { in processShareInfo()
362 Log.v(TAG, "length :" + fileInfo.mLength); in processShareInfo()
370 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in processShareInfo()
405 request.setHeader(HeaderSet.LENGTH, fileInfo.mLength); in sendFile()
461 if (!mInterrupted && (position != fileInfo.mLength)) { in sendFile()
476 if (position == fileInfo.mLength) { in sendFile()
507 while (!mInterrupted && okToProceed && (position < fileInfo.mLength)) { in sendFile()
534 percent = position * 100 / fileInfo.mLength; in sendFile()
550 + fileInfo.mLength); in sendFile()
555 } else if (!mInterrupted && position == fileInfo.mLength) { in sendFile()
[all …]
DBluetoothOppSendFileInfo.java79 public final long mLength; field in BluetoothOppSendFileInfo
86 mLength = length; in BluetoothOppSendFileInfo()
98 mLength = length; in BluetoothOppSendFileInfo()
DBluetoothOppReceiveFileInfo.java66 public long mLength; field in BluetoothOppReceiveFileInfo
77 mLength = length; in BluetoothOppReceiveFileInfo()
84 mLength = length; in BluetoothOppReceiveFileInfo()
DBluetoothOppObexServerSession.java471 while ((!mInterrupted) && (position != fileInfo.mLength)) { in receiveFile()
488 percent = position * 100 / fileInfo.mLength; in receiveFile()
526 if (position == fileInfo.mLength) { in receiveFile()
533 Log.d(TAG, "Reading file failed at " + position + " of " + fileInfo.mLength); in receiveFile()
562 Log.v(TAG, "length :" + fileInfo.mLength); in processShareInfo()
DBluetoothOppTransfer.java433 updateValues.put(BluetoothShare.TOTAL_BYTES, fileInfo.mLength); in markBatchFailed()
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepMessage.java66 private final int mLength; field in SnepMessage
145 mLength = input.getInt(); in SnepMessage()
149 ndefLength = mLength - 4; in SnepMessage()
153 ndefLength = mLength; in SnepMessage()
169 mLength = length; in SnepMessage()
232 return mLength; in getLength()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictIOUtils.java65 public int mLength; field in BinaryDictIOUtils.Position
69 mLength = length; in Position()
94 p.mNumOfPtNode + ", position=" + p.mPosition + ", length=" + p.mLength); in readUnigramsAndBigramsBinaryInner()
98 if (index != p.mLength) index = p.mLength; in readUnigramsAndBigramsBinaryInner()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/
Dsuggest_options.h27 : mOptions(options), mLength(length) {} in SuggestOptions()
70 const int mLength; variable
73 return 0 <= key && key < mLength; in isValidKey()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DAssetFileAddress.java32 public final long mLength; field in AssetFileAddress
37 mLength = length; in AssetFileAddress()
68 return String.format("%s (offset=%d, length=%d)", mFilename, mOffset, mLength); in toString()
DDictionaryFactory.java60 new ReadOnlyBinaryDictionary(f.mFilename, f.mOffset, f.mLength, in createMainDictionaryFromManager()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryFlagParser.java31 private long mLength; field in BatteryFlagParser
46 mLength = endTime - startTime; in onParsingStarted()
77 return mLength; in getPeriod()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DAssetFileAddress.java30 public final long mLength; field in AssetFileAddress
35 mLength = length; in AssetFileAddress()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DSentenceLevelAdapter.java56 public final int mLength; field in SentenceLevelAdapter.SentenceWordItem
60 mLength = end - start; in SentenceWordItem()
192 lengths[i] = item.mLength;
/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java81 private final int mLength; field in ConnectivityPacketSummary
114 mLength = Math.min(length, mBytes.length); in ConnectivityPacketSummary()
115 mPacket = ByteBuffer.wrap(mBytes, 0, mLength); in ConnectivityPacketSummary()
388 dhcpPacket = DhcpPacket.decodeFullPacket(mBytes, mLength, DhcpPacket.ENCAP_L2); in parseDHCPv4()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DDictionaryHeaderUtils.java28 new File(fileAddress.mFilename), fileAddress.mOffset, fileAddress.mLength); in getContentVersion()
DDictionaryInfoUtils.java437 fileAddress.mLength, new File(fileAddress.mFilename).lastModified(), version);
463 return new DictionaryInfo(id, locale, description, filenameToStoreOnDb, fileAddress.mLength,
/packages/apps/Bluetooth/tests/robotests/src/com/android/bluetooth/opp/
DOppSendFileInfoTest.java71 assertThat(sendFileInfo.mLength).isEqualTo(TEST_FILE_SIZE); in testFileOpen()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DInformationElementUtil.java1503 public int mLength = 0; field in InformationElementUtil.TrafficIndicationMap
1527 mLength = ie.bytes.length; in from()
1538 if (mLength <= MAX_TIM_LENGTH && mDtimPeriod > 0) { in from()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DInformationElementUtilTest.java1059 assertEquals(trafficIndicationMap.mLength, 4); in parseTrafficIndicationMapInformationElementValid()
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1099 Landroid/net/wifi/p2p/nsd/WifiP2pServiceRequest;->mLength:I