/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarDebugActivity.java | 131 int len = is.read(buf); 132 if (len <= 0) { 135 os.write(buf, 0, len); 136 totalLen += len;
|
/packages/services/Car/tools/emulator/ |
H A D | vhal_emulator.py | 117 msgLen = len(msgStr) 130 print("len = ", len(data), "str = ", ":".join("{:02x}".format(ord(d)) for d in data)) 157 if (len(b) == 4): 162 if (len(b) == msgLen):
|
/packages/apps/Dialer/java/com/android/dialer/app/ |
H A D | SpecialCharSequenceMgr.java | 141 int len = input.length(); 142 if (len <= 8 || !input.startsWith("*#*#") || !input.endsWith("#*#*")) { 145 String secretCode = input.substring(4, len - 4); 175 int len = input.length(); 176 if ((len > 1) && (len < 5) && (input.endsWith("#"))) { 179 final int index = Integer.parseInt(input.substring(0, len - 1));
|
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/buffer/ |
H A D | DvrStorageManager.java | 117 int len = in.readInt(); 118 if (len <= 0) { 121 byte [] strBytes = new byte[len]; 146 int len = in.readInt(); 147 if (len <= 0) { 150 byte [] bytes = new byte[len]; 152 ByteBuffer buffer = ByteBuffer.allocate(len);
|
/packages/services/Car/tools/bootanalyze/ |
H A D | bootanalyze.py | 177 num_runs = len(item[1]) 185 num_runs = len(item[1]) 195 num_runs = len(item[1]) 212 average_with_stddev.append((item[0], sum(item[1])/len(item[1]), stddev(item[1]),\ 213 len(item[1]))) 224 average = sum(item[1])/len(item[1]) 226 averaged_timing_points.append((item[0], average, std_dev, len(item[1]))) 380 while diff[0] < events[k] and len(diffs) > 1: 527 if len(words) > 1: 529 if len(zygote_pid [all...] |
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/ |
H A D | phNxpExtns_MifareStd.c | 426 p_data.ndef_data.len = NdefInfo.psUpperNdefMsg->length; 602 NFCSTATUS Mfc_SetReadOnly(uint8_t *secrtkey, uint8_t len) argument 609 memcpy(mif_secrete_key,secrtkey,len); 612 for (id = 0; id < len; id++) 793 NFCSTATUS Mfc_WriteNdef(uint8_t *p_data, uint32_t len) argument 799 if( p_data == NULL || len == 0 ) 822 else if( len > NdefInfo.NdefLength ) 830 NdefInfo.psUpperNdefMsg->length = len; 832 NdefInfo.AppWrLength = len; 834 if( 0 == len ) 936 Mfc_FormatNdef(uint8_t *secretkey, uint8_t len) argument 1069 Mfc_Transceive(uint8_t *p_data, uint32_t len) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
H A D | TaskConvertImageToRGBPreview.java | 280 int len = r * r * 4; 281 int[] colors = new int[len]; 569 final int len; 579 len = r * r * 4; 597 len = outputWidth * outputHeight; 604 int[] colors = new int[len]; 787 int len = r * r * 4; 788 int[] colors = new int[len]; 791 for (int i = 0; i < len; i++) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | FilterDrawRepresentation.java | 291 int len = mCurrent.noPoints * 2; 293 if ((len+2) > mCurrent.mPoints.length) { 296 mCurrent.mPoints[len] = x; 297 mCurrent.mPoints[len + 1] = y; 319 int len = mDrawing.size(); 325 for (int i = 0; i < len; i++) {
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
H A D | OpenWnnEngineJAJP.java | 383 int len = setSearchKey(text, maxLen); 386 setDictionaryForPrediction(len); 391 if (len == 0) { 455 int len = clause.stroke.length(); 456 ss[idx] = new StrSegmentClause(clause, pos, pos + len - 1); 457 pos += len;
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
H A D | WeekNumberTest.java | 206 int len = tests.length; 207 for (int index = 0; index < len; index++) {
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
H A D | PhoneNumberUtilsCompat.java | 57 int len = phoneNumber.length(); 58 for (int i = 0; i < len; i++) {
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | ListPreference.java | 150 for (int i = 0, len = mEntryValues.length; i < len; i++) {
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
H A D | StringUtils.java | 324 final int len = text.length(); 326 for (; index < len; index = text.offsetByCodePoints(index, 1)) { 331 if (index == len) return CAPITALIZE_NONE; 337 for (index = text.offsetByCodePoints(index, 1); index < len; 386 final int len = text.length(); 387 for (int i = 0; i < len; i = text.offsetByCodePoints(i, 1)) { 408 final int len = text.length(); 409 for (int i = 0; i < len; i = text.offsetByCodePoints(i, 1)) {
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/sqlite/ |
H A D | SqlChecker.java | 145 final int len = sql.length(); 146 while (pos < len) {
|
/packages/apps/Nfc/nci/jni/ |
H A D | NfcTag.cpp | 716 int len = 0; local 743 len = mTechParams [i].param.pb.sensb_res_len; 744 len = len - 4; //subtract 4 bytes for NFCID0 at byte 2 through 5 745 pollBytes.reset(e->NewByteArray(len)); 746 e->SetByteArrayRegion(pollBytes.get(), 0, len, (jbyte*) (mTechParams [i].param.pb.sensb_res+4)); 767 len = 10; 784 pollBytes.reset(e->NewByteArray(len)); 785 e->SetByteArrayRegion(pollBytes.get(), 0, len, (jbyte*) result); 874 ALOGV("%s: T4T; ISO_DEP for tech A; copy historical bytes; len 959 int len = 0; local [all...] |
/packages/apps/Gallery2/jni_jpegstream/src/ |
H A D | jpeg_hook.cpp | 32 int32_t len = dst->outStream->getBufferSize(); local 33 if (dst->outStream->write(len, 0) != J_SUCCESS) { 37 dst->mgr.free_in_buffer = len;
|
/packages/apps/Launcher3/src/com/android/launcher3/testing/ |
H A D | MemoryDumpActivity.java | 69 int len; 70 while ( 0 < (len = is.read(buf, 0, BUFSIZ)) ) { 71 zos.write(buf, 0, len);
|
/packages/apps/Music/tests/src/com/android/music/functional/ |
H A D | TestSongs.java | 92 int len; 93 while ((len = in.read(buf)) > 0) { 94 out.write(buf, 0, len);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | PackageIconLoader.java | 202 int len = path.size(); 204 if (len == 1) { 210 } else if (len == 2) {
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
H A D | ChannelUtils.java | 142 int len; 143 while ((len = is.read(buffer)) != -1) { 144 os.write(buffer, 0, len);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | AttachmentUtils.java | 222 int len = inputStream.read(bytes); 223 if (len <= 0) { 226 outputStream.write(bytes, 0, len);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/ |
H A D | Builder.java | 218 private int len; field in class:Builder.ChildNodeIterator 222 this.len = simpleNode.jjtGetNumChildren(); 231 return index < len;
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
H A D | nj_ext.h | 125 extern NJ_INT16 njd_l_get_ext_word_data(NJ_CLASS *iwnn, NJ_WORD *word, NJ_UINT16 *hinsi, NJ_UINT8 *len); 140 extern NJ_INT16 nje_convert_kata_to_hira(NJ_CHAR *kata, NJ_CHAR *hira, NJ_UINT16 len, NJ_UINT16 max_len, NJ_UINT8 type); 141 extern NJ_INT16 nje_convert_hira_to_kata(NJ_CHAR *hira, NJ_CHAR *kata, NJ_UINT16 len);
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
H A D | PanoramaActivity.java | 1072 int len = imageData.length - 8; 1073 int width = (imageData[len + 0] << 24) + ((imageData[len + 1] & 0xFF) << 16) 1074 + ((imageData[len + 2] & 0xFF) << 8) + (imageData[len + 3] & 0xFF); 1075 int height = (imageData[len + 4] << 24) + ((imageData[len + 5] & 0xFF) << 16) 1076 + ((imageData[len + 6] & 0xFF) << 8) + (imageData[len + 7] & 0xFF); 1077 Log.v(TAG, "ImLength = " + (len) [all...] |
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
H A D | PduComposer.java | 351 final int len = start.getLength(); 353 appendValueLength(len); 1059 int len = 0; 1060 while ((len = cr.read(buffer)) != -1) { 1061 mMessage.write(buffer, 0, len); 1062 mPosition += len; 1063 dataLength += len;
|