Home
last modified time | relevance | path

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

1234

/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java129 if (mPacket.remaining() < ETHER_HEADER_LEN) { in parseEther()
130 sj.add("runt:").add(asString(mPacket.remaining())); in parseEther()
166 if (mPacket.remaining() < ARP_PAYLOAD_LEN) { in parseARP()
167 sj.add("runt:").add(asString(mPacket.remaining())); in parseARP()
203 if (mPacket.remaining() < ipv4HeaderLength || in parseIPv4()
204 mPacket.remaining() < IPV4_HEADER_MIN_LEN) { in parseIPv4()
205 sj.add("runt:").add(asString(mPacket.remaining())); in parseIPv4()
237 if (mPacket.remaining() < IPV6_HEADER_LEN) { in parseIPv6()
238 sj.add("runt:").add(asString(mPacket.remaining())); in parseIPv6()
263 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/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);
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollEnrolling.java177 public void onEnrollmentProgressChange(int steps, int remaining) { in onEnrollmentProgressChange() argument
179 Log.v(TAG, "Steps: " + steps + " Remaining: " + remaining); in onEnrollmentProgressChange()
181 mPreviewFragment.onEnrollmentProgressChange(steps, remaining); in onEnrollmentProgressChange()
184 showError("Steps: " + steps + " Remaining: " + remaining); in onEnrollmentProgressChange()
187 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);
/packages/modules/DnsResolver/
DDnsTlsSocket.cpp446 size_t remaining = buffer.size(); in sslRead() local
447 while (remaining > 0) { in sslRead()
448 int ret = SSL_read(mSsl.get(), buffer.limit() - remaining, remaining); in sslRead()
450 if (remaining < buffer.size()) in sslRead()
451 LOG(WARNING) << "SSL closed with " << remaining << " of " << buffer.size() in sslRead()
470 remaining -= ret; in sslRead()
/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()
762 String remaining = null; in parseMime() local
771 remaining = parseMimeHeaders(messageParts[0]); in parseMime()
773 if (remaining != null) { in parseMime()
774 messageBody = remaining + messageParts[1]; in parseMime()
776 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/Settings/src/com/android/settings/homepage/contextualcards/
DFaceReEnrollDialog.java103 public void onRemovalSucceeded(Face face, int remaining) { in removeFaceAndReEnroll()
104 super.onRemovalSucceeded(face, remaining); in removeFaceAndReEnroll()
105 if (remaining != 0) { in removeFaceAndReEnroll()
/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/common/netlinkclient/src/android/net/netlink/
DStructNlAttr.java46 if (byteBuffer == null || byteBuffer.remaining() < NLA_HEADERLEN) { in peek()
73 if (struct == null || byteBuffer.remaining() < struct.getAlignedLength()) { in parse()
164 if (byteBuffer == null || byteBuffer.remaining() != Integer.BYTES) { in getValueAsInt()
DRtNetlinkNeighborMessage.java52 while (byteBuffer != null && byteBuffer.remaining() > 0) { in findNextAttrOfType()
60 if (byteBuffer.remaining() < nlAttr.getAlignedLength()) { in findNextAttrOfType()
104 if (byteBuffer.remaining() < kAdditionalSpace) { in parse()
/packages/modules/IPsec/src/java/com/android/internal/net/crypto/
DKeyGenerationUtils.java49 while (keyMatBuffer.remaining() > 0) { in prfPlus()
57 previousMac, 0, Math.min(previousMac.length, keyMatBuffer.remaining())); in prfPlus()
/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/Settings/src/com/android/settings/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/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java953 if (packet.remaining() < MIN_PACKET_LENGTH_L2) { in decodeFullPacket()
955 "L2 packet too short, %d < %d", packet.remaining(), MIN_PACKET_LENGTH_L2); in decodeFullPacket()
973 if (packet.remaining() < MIN_PACKET_LENGTH_L3) { in decodeFullPacket()
975 "L3 packet too short, %d < %d", packet.remaining(), MIN_PACKET_LENGTH_L3); in decodeFullPacket()
1032 if (pktType > ENCAP_BOOTP || packet.remaining() < MIN_PACKET_LENGTH_BOOTP) { in decodeFullPacket()
1035 packet.remaining(), MIN_PACKET_LENGTH_BOOTP); in decodeFullPacket()
1081 if (packet.remaining() < 4) { in decodeFullPacket()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeDeletePayload.java89 || inputBuffer.remaining() != 0) { in IkeDeletePayload()
97 || inputBuffer.remaining() != SPI_LEN_IPSEC * numSpi) { in IkeDeletePayload()
/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()

1234