Home
last modified time | relevance | path

Searched refs:remaining (Results 1 – 25 of 69) sorted by relevance

123

/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/
DByteArrayOutputStream.java152 int remaining = len; in write() local
154 while (remaining > 0) { in write()
155 int part = Math.min(remaining, currentBuffer.length - inBufferPos); in write()
156 System.arraycopy(b, off + len - remaining, currentBuffer, inBufferPos, part); in write()
157 remaining -= part; in write()
158 if (remaining > 0) { in write()
250 int remaining = count; in writeTo() local
253 int c = Math.min(buf.length, remaining); in writeTo()
255 remaining -= c; in writeTo()
256 if (remaining == 0) { in writeTo()
[all …]
/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java115 if (mPacket.remaining() < ETHER_HEADER_LEN) { in parseEther()
116 sj.add("runt:").add(asString(mPacket.remaining())); in parseEther()
152 if (mPacket.remaining() < ARP_PAYLOAD_LEN) { in parseARP()
153 sj.add("runt:").add(asString(mPacket.remaining())); in parseARP()
189 if (mPacket.remaining() < ipv4HeaderLength || in parseIPv4()
190 mPacket.remaining() < IPV4_HEADER_MIN_LEN) { in parseIPv4()
191 sj.add("runt:").add(asString(mPacket.remaining())); in parseIPv4()
223 if (mPacket.remaining() < IPV6_HEADER_LEN) { in parseIPv6()
224 sj.add("runt:").add(asString(mPacket.remaining())); in parseIPv6()
249 if (mPacket.remaining() < ICMPV6_HEADER_MIN_LEN) { in parseICMPv6()
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricEnrollSidecar.java42 void onEnrollmentProgressChange(int steps, int remaining); in onEnrollmentProgressChange() argument
63 int remaining; field in BiometricEnrollSidecar.QueuedEnrollmentProgress
64 public QueuedEnrollmentProgress(int enrollmentSteps, int remaining) { in QueuedEnrollmentProgress() argument
66 this.remaining = remaining; in QueuedEnrollmentProgress()
71 listener.onEnrollmentProgressChange(enrollmentSteps, remaining); in send()
162 protected void onEnrollmentProgress(int remaining) { in onEnrollmentProgress() argument
164 mEnrollmentSteps = remaining; in onEnrollmentProgress()
166 mEnrollmentRemaining = remaining; in onEnrollmentProgress()
167 mDone = remaining == 0; in onEnrollmentProgress()
169 mListener.onEnrollmentProgressChange(mEnrollmentSteps, remaining); in onEnrollmentProgress()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/
DBiometricEnrollSidecar.java42 void onEnrollmentProgressChange(int steps, int remaining); in onEnrollmentProgressChange() argument
63 int remaining; field in BiometricEnrollSidecar.QueuedEnrollmentProgress
64 public QueuedEnrollmentProgress(int enrollmentSteps, int remaining) { in QueuedEnrollmentProgress() argument
66 this.remaining = remaining; in QueuedEnrollmentProgress()
71 listener.onEnrollmentProgressChange(enrollmentSteps, remaining); in send()
162 protected void onEnrollmentProgress(int remaining) { in onEnrollmentProgress() argument
164 mEnrollmentSteps = remaining; in onEnrollmentProgress()
166 mEnrollmentRemaining = remaining; in onEnrollmentProgress()
167 mDone = remaining == 0; in onEnrollmentProgress()
169 mListener.onEnrollmentProgressChange(mEnrollmentSteps, remaining); in onEnrollmentProgress()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
DSapRilReceiver.java292 int remaining; in readMessage() local
297 remaining = 4; in readMessage()
299 countRead = is.read(buffer, offset, remaining); in readMessage()
307 remaining -= countRead; in readMessage()
308 } while (remaining > 0); in readMessage()
318 remaining = messageLength; in readMessage()
320 countRead = is.read(buffer, offset, remaining); in readMessage()
325 + remaining); in readMessage()
330 remaining -= countRead; in readMessage()
331 } while (remaining > 0); in readMessage()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
DSwappedDataInputStream.java136 int remaining = length; in readFully() local
138 while( remaining > 0 ) in readFully()
140 int location = offset + ( length - remaining ); in readFully()
141 int count = read( data, location, remaining ); in readFully()
148 remaining -= count; in readFully()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollEnrolling.java176 public void onEnrollmentProgressChange(int steps, int remaining) { in onEnrollmentProgressChange() argument
178 Log.v(TAG, "Steps: " + steps + " Remaining: " + remaining); in onEnrollmentProgressChange()
180 mPreviewFragment.onEnrollmentProgressChange(steps, remaining); in onEnrollmentProgressChange()
183 showError("Steps: " + steps + " Remaining: " + remaining); in onEnrollmentProgressChange()
186 if (remaining == 0) { in onEnrollmentProgressChange()
DFaceSettingsRemoveButtonPreferenceController.java101 public void onRemovalSucceeded(Face face, int remaining) {
102 if (remaining == 0) {
111 Log.v(TAG, "Remaining: " + remaining);
DFaceEnrollSidecar.java63 public void onEnrollmentProgress(int remaining) {
64 FaceEnrollSidecar.super.onEnrollmentProgress(remaining);
DFaceEnrollAnimationDrawable.java89 public void onEnrollmentProgressChange(int steps, int remaining) { in onEnrollmentProgressChange() argument
90 mParticleCollection.onEnrollmentProgressChange(steps, remaining); in onEnrollmentProgressChange()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/
DFaceEnrollEnrolling.java176 public void onEnrollmentProgressChange(int steps, int remaining) { in onEnrollmentProgressChange() argument
178 Log.v(TAG, "Steps: " + steps + " Remaining: " + remaining); in onEnrollmentProgressChange()
180 mPreviewFragment.onEnrollmentProgressChange(steps, remaining); in onEnrollmentProgressChange()
183 showError("Steps: " + steps + " Remaining: " + remaining); in onEnrollmentProgressChange()
186 if (remaining == 0) { in onEnrollmentProgressChange()
DFaceSettingsRemoveButtonPreferenceController.java100 public void onRemovalSucceeded(Face face, int remaining) {
101 if (remaining == 0) {
109 Log.v(TAG, "Remaining: " + remaining);
DFaceEnrollSidecar.java63 public void onEnrollmentProgress(int remaining) {
64 FaceEnrollSidecar.super.onEnrollmentProgress(remaining);
DFaceEnrollAnimationDrawable.java89 public void onEnrollmentProgressChange(int steps, int remaining) { in onEnrollmentProgressChange() argument
90 mParticleCollection.onEnrollmentProgressChange(steps, remaining); in onEnrollmentProgressChange()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapbMessageMime.java575 StringBuilder remaining = new StringBuilder(); in parseMimeHeaders() local
577 remaining.append(headers[i]); in parseMimeHeaders()
580 return remaining.toString(); in parseMimeHeaders()
756 String remaining = null; in parseMime() local
764 remaining = parseMimeHeaders(messageParts[0]); in parseMime()
766 if (remaining != null) { in parseMime()
767 messageBody = remaining + messageParts[1]; in parseMime()
769 Log.d(TAG, "parseMime remaining=" + remaining); in parseMime()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallServiceFixture.java91 public void setPostDial(String callId, String remaining) throws RemoteException { in setPostDial() argument
93 mPostDialById.put(callId, remaining); in setPostDial()
97 public void setPostDialWait(String callId, String remaining) throws RemoteException { in setPostDialWait() argument
99 mPostDialWaitById.put(callId, remaining); in setPostDialWait()
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DMultiDiscovery.java53 DiscoveredPrinter remaining = merged(printer.getUri()); in MultiDiscovery()
54 if (remaining == null) { in MultiDiscovery()
57 printerFound(remaining); in MultiDiscovery()
/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java240 for (int remaining = mLargeColumnUnitCount, i = 0; in makeAndAddColumn()
241 remaining > 0 && startPosition + i >= 0 && startPosition + i < mItemCount; in makeAndAddColumn()
245 remaining -= LAND_UNITS; in makeAndAddColumn()
248 remaining -= PORT_UNITS; in makeAndAddColumn()
249 if (remaining < 0) { in makeAndAddColumn()
250 remaining += (mSmallColumnUnitCount - mLargeColumnUnitCount); in makeAndAddColumn()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java888 if (packet.remaining() < MIN_PACKET_LENGTH_L2) { in decodeFullPacket()
890 "L2 packet too short, %d < %d", packet.remaining(), MIN_PACKET_LENGTH_L2); in decodeFullPacket()
908 if (packet.remaining() < MIN_PACKET_LENGTH_L3) { in decodeFullPacket()
910 "L3 packet too short, %d < %d", packet.remaining(), MIN_PACKET_LENGTH_L3); in decodeFullPacket()
967 if (pktType > ENCAP_BOOTP || packet.remaining() < MIN_PACKET_LENGTH_BOOTP) { in decodeFullPacket()
970 packet.remaining(), MIN_PACKET_LENGTH_BOOTP); in decodeFullPacket()
1016 if (packet.remaining() < 4) { in decodeFullPacket()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollSidecar.java54 public void onEnrollmentProgress(int remaining) {
55 FingerprintEnrollSidecar.super.onEnrollmentProgress(remaining);
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/fingerprint/
DFingerprintEnrollSidecar.java54 public void onEnrollmentProgress(int remaining) {
55 FingerprintEnrollSidecar.super.onEnrollmentProgress(remaining);
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DPackageDeletionTask.java74 int remaining = mPackagesRemaining.decrementAndGet(); in packageDeleted() local
75 if (remaining == 0) { in packageDeleted()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerNotificationBuilder.java380 final long remaining = timer.getRemainingTime(); in getChronometerBase() local
381 final long adjustedRemaining = remaining < 0 ? remaining : remaining + SECOND_IN_MILLIS; in getChronometerBase()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DNinePatchTexture.java273 float remaining = target - source + stretch; in stretch() local
289 float partX = remaining * partU / stretch; in stretch()
290 remaining -= partX; in stretch()
/packages/apps/Email/src/com/beetstra/jutf7/
DUTF7StyleCharsetEncoder.java107 if (out.remaining() < 2) in implFlush()
146 if (out.remaining() < 4) in encodeLoop()

123