Home
last modified time | relevance | path

Searched refs:nibble (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DSignature.java70 private static final int parseHexDigit(int nibble) { in parseHexDigit() argument
71 if ('0' <= nibble && nibble <= '9') { in parseHexDigit()
72 return nibble - '0'; in parseHexDigit()
73 } else if ('a' <= nibble && nibble <= 'f') { in parseHexDigit()
74 return nibble - 'a' + 10; in parseHexDigit()
75 } else if ('A' <= nibble && nibble <= 'F') { in parseHexDigit()
76 return nibble - 'A' + 10; in parseHexDigit()
78 throw new IllegalArgumentException("Invalid character " + nibble + " in hex string"); in parseHexDigit()
/frameworks/av/media/libstagefright/rtsp/
DMyTransmitter.h250 char nibble = key[i] >> 4; in H() local
251 if (nibble <= 9) { in H()
252 nibble += '0'; in H()
254 nibble += 'a' - 10; in H()
256 out->append(&nibble, 1); in H()
258 nibble = key[i] & 0x0f; in H()
259 if (nibble <= 9) { in H()
260 nibble += '0'; in H()
262 nibble += 'a' - 10; in H()
264 out->append(&nibble, 1); in H()
DARTSPConnection.cpp928 char nibble = key[i] >> 4; in H() local
929 if (nibble <= 9) { in H()
930 nibble += '0'; in H()
932 nibble += 'a' - 10; in H()
934 out->append(&nibble, 1); in H()
936 nibble = key[i] & 0x0f; in H()
937 if (nibble <= 9) { in H()
938 nibble += '0'; in H()
940 nibble += 'a' - 10; in H()
942 out->append(&nibble, 1); in H()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiUtils.java243 int nibble = (newPath >> i) & 0xF; in isAffectingActiveRoutingPath() local
244 if (nibble != 0) { in isAffectingActiveRoutingPath()
DHdmiCecLocalDeviceTv.java1377 int nibble = (childPath >> i) & 0xF; in isParentPath() local
1378 if (nibble != 0) { in isParentPath()
/frameworks/base/packages/Osu/src/com/android/hotspot2/
DUtils.java47 int nibble = Utils.fromHex(s.charAt(n), true); // Set lenient to not blow up on ':' in parseMac() local
48 if (nibble >= 0) { // ... and use only legit hex. in parseMac()
49 mac = (mac << 4) | nibble; in parseMac()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DUtils.java51 int nibble = Utils.fromHex(s.charAt(n), true); // Set lenient to not blow up on ':' in parseMac() local
52 if (nibble >= 0) { // ... and use only legit hex. in parseMac()
53 mac = (mac << 4) | nibble; in parseMac()