/packages/modules/NetworkStack/src/android/net/util/ |
D | ConnectivityPacketSummary.java | 129 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/ |
D | BiometricEnrollSidecar.java | 42 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/ |
D | BiometricEnrollSidecar.java | 42 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/ |
D | SapRilReceiver.java | 292 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/ |
D | FaceEnrollEnrolling.java | 176 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()
|
D | FaceSettingsRemoveButtonPreferenceController.java | 100 public void onRemovalSucceeded(Face face, int remaining) { 101 if (remaining == 0) { 109 Log.v(TAG, "Remaining: " + remaining);
|
D | FaceEnrollSidecar.java | 63 public void onEnrollmentProgress(int remaining) { 64 FaceEnrollSidecar.super.onEnrollmentProgress(remaining);
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceEnrollEnrolling.java | 177 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()
|
D | FaceSettingsRemoveButtonPreferenceController.java | 101 public void onRemovalSucceeded(Face face, int remaining) { 102 if (remaining == 0) { 111 Log.v(TAG, "Remaining: " + remaining);
|
D | FaceEnrollSidecar.java | 63 public void onEnrollmentProgress(int remaining) { 64 FaceEnrollSidecar.super.onEnrollmentProgress(remaining);
|
/packages/modules/DnsResolver/ |
D | DnsTlsSocket.cpp | 446 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/ |
D | BluetoothMapbMessageMime.java | 575 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/ |
D | InCallServiceFixture.java | 91 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/ |
D | MultiDiscovery.java | 53 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/ |
D | FaceReEnrollDialog.java | 103 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/ |
D | GalleryThumbnailView.java | 240 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/ |
D | StructNlAttr.java | 46 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()
|
D | RtNetlinkNeighborMessage.java | 52 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/ |
D | KeyGenerationUtils.java | 49 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/ |
D | FingerprintEnrollSidecar.java | 54 public void onEnrollmentProgress(int remaining) { 55 FingerprintEnrollSidecar.super.onEnrollmentProgress(remaining);
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintEnrollSidecar.java | 54 public void onEnrollmentProgress(int remaining) { 55 FingerprintEnrollSidecar.super.onEnrollmentProgress(remaining);
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | PackageDeletionTask.java | 74 int remaining = mPackagesRemaining.decrementAndGet(); in packageDeleted() local 75 if (remaining == 0) { in packageDeleted()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpPacket.java | 953 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/ |
D | IkeDeletePayload.java | 89 || inputBuffer.remaining() != 0) { in IkeDeletePayload() 97 || inputBuffer.remaining() != SPI_LEN_IPSEC * numSpi) { in IkeDeletePayload()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | NinePatchTexture.java | 273 float remaining = target - source + stretch; in stretch() local 289 float partX = remaining * partU / stretch; in stretch() 290 remaining -= partX; in stretch()
|