Home
last modified time | relevance | path

Searched refs:len (Results 1 – 12 of 12) sorted by relevance

/developers/build/prebuilts/gradle/CardEmulation/Application/src/main/java/com/example/android/cardemulation/
DCardService.java141 int len = s.length(); in HexStringToByteArray() local
142 if (len % 2 == 1) { in HexStringToByteArray()
145 byte[] data = new byte[len / 2]; // Allocate 1 byte per 2 hex characters in HexStringToByteArray()
146 for (int i = 0; i < len; i += 2) { in HexStringToByteArray()
/developers/samples/android/connectivity/nfc/CardEmulation/Application/src/main/java/com/example/android/cardemulation/
DCardService.java141 int len = s.length(); in HexStringToByteArray() local
142 if (len % 2 == 1) { in HexStringToByteArray()
145 byte[] data = new byte[len / 2]; // Allocate 1 byte per 2 hex characters in HexStringToByteArray()
146 for (int i = 0; i < len; i += 2) { in HexStringToByteArray()
/developers/build/prebuilts/gradle/CardReader/Application/src/main/java/com/example/android/cardreader/
DLoyaltyCardReader.java140 int len = s.length(); in HexStringToByteArray() local
141 byte[] data = new byte[len / 2]; in HexStringToByteArray()
142 for (int i = 0; i < len; i += 2) { in HexStringToByteArray()
/developers/samples/android/connectivity/nfc/CardReader/Application/src/main/java/com/example/android/cardreader/
DLoyaltyCardReader.java140 int len = s.length(); in HexStringToByteArray() local
141 byte[] data = new byte[len / 2]; in HexStringToByteArray()
142 for (int i = 0; i < len; i += 2) { in HexStringToByteArray()
/developers/build/prebuilts/gradle/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/
DImageProvider.kt200 val len = ar.length() in getResourceIdArray() constant
201 val resIds = IntArray(len) in getResourceIdArray()
202 for (i in 0..len - 1) { in getResourceIdArray()
/developers/samples/android/content/documentsUi/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/
DImageProvider.kt200 val len = ar.length() in getResourceIdArray() constant
201 val resIds = IntArray(len) in getResourceIdArray()
202 for (i in 0..len - 1) { in getResourceIdArray()
/developers/samples/android/content/documentsUi/ContentProviderPaging/app/src/main/java/com/example/android/contentproviderpaging/
DImageProvider.java232 int len = ar.length(); in getResourceIdArray() local
233 int[] resIds = new int[len]; in getResourceIdArray()
234 for (int i = 0; i < len; i++) { in getResourceIdArray()
/developers/build/prebuilts/gradle/ContentProviderPaging/app/src/main/java/com/example/android/contentproviderpaging/
DImageProvider.java232 int len = ar.length(); in getResourceIdArray() local
233 int[] resIds = new int[len]; in getResourceIdArray()
234 for (int i = 0; i < len; i++) { in getResourceIdArray()
/developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/
DDeviceDetailFragment.java281 int len; in copyFile() local
283 while ((len = inputStream.read(buf)) != -1) { in copyFile()
284 out.write(buf, 0, len); in copyFile()
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/
DTvContractUtils.java287 int len; in copy() local
288 while ((len = is.read(buffer)) != -1) { in copy()
289 os.write(buffer, 0, len); in copy()
/developers/samples/android/content/documentsUi/StorageProvider/Application/src/main/java/com/example/android/storageprovider/
DMyCloudProvider.java601 int len = ar.length();
602 int[] resIds = new int[len];
603 for (int i = 0; i < len; i++) {
/developers/build/prebuilts/gradle/StorageProvider/Application/src/main/java/com/example/android/storageprovider/
DMyCloudProvider.java601 int len = ar.length();
602 int[] resIds = new int[len];
603 for (int i = 0; i < len; i++) {