/frameworks/rs/rsov/compiler/spirit/ |
H A D | word_stream.h | 39 static InputWordStream *Create(const std::vector<uint8_t> &bytes);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 462 size_t num_bytes = s->bytes(); 565 status_t StagefrightRecorder::setParamMaxFileSizeBytes(int64_t bytes) { argument 566 ALOGV("setParamMaxFileSizeBytes: %lld bytes", (long long)bytes); 569 if (bytes <= 0) { 570 ALOGW("Max file size is not positive: %lld bytes. " 571 "Disabling file size limit.", (long long)bytes); 572 bytes = 0; // Disable the file size limit for zero or negative values. 573 } else if (bytes <= 1024) { // XXX: 1 kB 574 ALOGE("Max file size is too small: %lld bytes", (lon [all...] |
H A D | StagefrightRecorder.h | 187 status_t setParamMaxFileSizeBytes(int64_t bytes);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskSnapshotPersister.java | 319 final byte[] bytes = TaskSnapshotProto.toByteArray(proto); 325 fos.write(bytes);
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
H A D | NetdEventListenerServiceTest.java | 440 byte[] bytes = Base64.decode(buffer.toString(), Base64.DEFAULT); 441 IpConnectivityLog log = IpConnectivityLog.parseFrom(bytes);
|
/frameworks/base/services/net/java/android/net/dhcp/ |
H A D | DhcpPacket.java | 70 * larger than 1500 bytes even if the network supports it. 81 * IP: Version 4, Header Length 20 bytes 428 (HWADDR_LEN - mClientMac.length) // pad addr to 16 bytes 429 + 64 // empty server host name (64 bytes) 430 + 128); // empty boot file name (128 bytes) 533 * Adds an optional parameter containing an array of bytes. 649 // allows signed bytes to be converted correctly. 690 byte[] bytes = new byte[byteCount]; 691 buf.get(bytes); 692 int length = bytes [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 550 size_t bytes; member in struct:attrib 595 pixel >>= sizeof(pixel) * BITSPERBYTE - attrib->bytes * BITSPERBYTE; 610 size_t bytes; member in struct:attrib 648 memmove(buf + ((gBuf->getStride() * attrib->bytes) * y) 649 + (attrib->bytes * x), &pixel, attrib->bytes);
|
/frameworks/base/wifi/tests/src/android/net/wifi/aware/ |
H A D | WifiAwareManagerTest.java | 668 byte[] bytes = parcelW.marshall(); 672 parcelR.unmarshall(bytes, 0, bytes.length); 742 byte[] bytes = parcelW.marshall(); 746 parcelR.unmarshall(bytes, 0, bytes.length); 826 byte[] bytes = parcelW.marshall(); 830 parcelR.unmarshall(bytes, 0, bytes.length); 1084 * Validate that a non-32-bytes PM [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsState.java | 524 + " size: " + newSize + " bytes."); 1013 private static String fromBytes(byte[] bytes) { argument 1014 final StringBuffer sb = new StringBuffer(bytes.length / 2); 1016 final int last = bytes.length - 1; 1019 final char ch = (char) ((bytes[i] & 0xff) << 8 | (bytes[i + 1] & 0xff));
|
H A D | SettingsBackupAgent.java | 312 if (DEBUG_BACKUP) Log.d(TAG, systemSettingsData.length + " bytes of settings data"); 316 Log.d(TAG, secureSettingsData.length + " bytes of secure settings data"); 321 Log.d(TAG, globalSettingsData.length + " bytes of global settings data"); 325 if (DEBUG_BACKUP) Log.d(TAG, locale.length + " bytes of locale data"); 328 if (DEBUG_BACKUP) Log.d(TAG, lockSettingsData.length + " bytes of lock settings data"); 331 if (DEBUG_BACKUP) Log.d(TAG, softApConfigData.length + " bytes of softap config data"); 334 if (DEBUG_BACKUP) Log.d(TAG, netPoliciesData.length + " bytes of net policies data"); 338 Log.d(TAG, wifiFullConfigData.length + " bytes of wifi config data"); 373 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes of settings data"); 380 if (DEBUG_BACKUP) Log.d(TAG, nBytes + " bytes o 598 restoreSettings(byte[] settings, int bytes, Uri contentUri, HashSet<String> movedToGlobal) argument 882 restoreNewWifiConfigData(byte[] bytes) argument [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/timezone/ |
H A D | RulesManagerServiceTest.java | 906 byte[] bytes = new byte[length]; 908 bytes[i] = (byte) i; 910 return bytes; 1021 private static ParcelFileDescriptor createParcelFileDescriptor(byte[] bytes) argument 1025 fos.write(bytes);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | PersistentDataBlockService.java | 65 * Clients can read any number of bytes from the currently written block up to its total size by 75 /** Size of the block reserved for FPR credential, including 4 bytes for the size header. */ 470 Slog.e(TAG, "failed to read entire data block. bytes read: " + 660 byte[] bytes = new byte[length]; 661 inputStream.readFully(bytes); 662 return bytes;
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiEnterpriseConfig.java | 543 byte[] bytes = alias.getBytes(StandardCharsets.UTF_8); 544 StringBuilder sb = new StringBuilder(bytes.length * 2); 545 for (byte o : bytes) {
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | CameraOps.java | 214 byte[] bytes = new byte[buffer.remaining()]; 215 buffer.get(bytes); 216 imageOut.write(bytes);
|
/frameworks/av/media/libstagefright/ |
H A D | AudioSource.cpp | 210 uint8_t *data, size_t bytes) { 215 int32_t stopFrame = startFrame + bytes / sizeof(int16_t); 385 // Convert number of frames lost to number of bytes lost. 394 ALOGW("Lost audio record data: %zu bytes", numLostBytes); 208 rampVolume( int32_t startFrame, int32_t rampDurationFrames, uint8_t *data, size_t bytes) argument
|
/frameworks/base/core/java/android/os/storage/ |
H A D | IStorageManager.aidl | 297 void allocateBytes(String volumeUuid, long bytes, int flags, String callingPackage) = 78;
|
/frameworks/base/services/core/java/com/android/server/storage/ |
H A D | CacheQuotaStrategy.java | 86 private static final String ATTR_QUOTA_IN_BYTES = "bytes"; 296 * @return the number of bytes that were free on the device when the quotas were last calced. 373 "Previous bytes formatted incorrectly; aborting quota read."); 398 long bytes = Long.parseLong(parser.getAttributeValue(null, ATTR_QUOTA_IN_BYTES)); 400 .setVolumeUuid(uuid).setUid(uid).setQuota(bytes).build();
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberUtils.java | 795 * @param bytes the data buffer 797 * @param length is the number of bytes including TOA byte 806 calledPartyBCDToString (byte[] bytes, int offset, int length) { argument 815 if ((bytes[offset] & 0xf0) == (TOA_International & 0xf0)) { 820 ret, bytes, offset + 1, length - 1); 907 StringBuilder sb, byte [] bytes, int offset, int length) { 912 c = bcdToChar((byte)(bytes[i] & 0xf)); 926 b = (byte)((bytes[i] >> 4) & 0xf); 949 calledPartyBCDFragmentToString(byte [] bytes, int offset, int length) { argument 952 internalCalledPartyBCDFragmentToString(ret, bytes, offse 906 internalCalledPartyBCDFragmentToString( StringBuilder sb, byte [] bytes, int offset, int length) argument [all...] |
/frameworks/base/drm/jni/ |
H A D | android_drm_DrmManagerClient.cpp | 78 char* bytes = const_cast< char* > (env->GetStringUTFChars(string, NULL)); local 80 const int length = strlen(bytes) + 1; 82 strncpy(data, bytes, length); 85 env->ReleaseStringUTFChars(string, bytes);
|
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | AndroidKeyStoreSpi.java | 215 private static X509Certificate toCertificate(byte[] bytes) { argument 219 new ByteArrayInputStream(bytes)); 227 private static Collection<X509Certificate> toCertificates(byte[] bytes) { argument 231 new ByteArrayInputStream(bytes));
|
/frameworks/base/media/jni/audioeffect/ |
H A D | android_media_AudioEffect.cpp | 106 jbyte *bytes; local 159 bytes = env->GetByteArrayElements(array, NULL); 160 memcpy(bytes, p, size); 161 env->ReleaseByteArrayElements(array, bytes, 0);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiNative.java | 1371 pw.append("Frame bytes"); 1711 byte[] bytes = readKernelLogNative(); 1712 if (bytes != null) { 1715 CharBuffer decoded = decoder.decode(ByteBuffer.wrap(bytes)); 1718 return new String(bytes, StandardCharsets.ISO_8859_1);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | ScanResults.java | 86 ie.bytes = ssid.getBytes(Charset.forName("UTF-8"));
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternUtils.java | 999 final byte[] bytes = string.getBytes(); 1000 for (int i = 0; i < bytes.length; i++) { 1001 byte b = (byte) (bytes[i] - '1'); 1033 final byte[] bytes = pattern.getBytes(); 1035 res[i] = (byte) (bytes[i] - '1');
|
/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | DatabaseGeneralTest.java | 760 byte[] bytes = new byte[42]; 761 Arrays.fill(bytes, (byte) 0x28); 762 values.put("byteArray", bytes); 763 assertTrue(Arrays.equals(bytes, values.getAsByteArray("byteArray"))); 772 assertTrue(Arrays.equals(bytes, values.getAsByteArray("byteArray")));
|