/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
MediaBytes.java | 23 private final byte[] mBytes; 27 mBytes = bytes; 31 return mBytes; 36 return mBytes.length;
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
inputstream_wrapper.cpp | 28 mEnv->ReleaseByteArrayElements(mByteArray, mBytes, JNI_COMMIT); 29 mBytes = NULL; 38 mBytes = mEnv->GetByteArrayElements(mByteArray, NULL); 39 if (mBytes == NULL || mEnv->ExceptionCheck()) { 60 mBytes[0] = (jbyte) 0xFF; 61 mBytes[1] = (jbyte) 0xD9;
|
stream_wrapper.cpp | 25 mBytes(NULL), 62 mBytes = env->GetByteArrayElements(mByteArray, NULL); 63 if (mBytes == NULL || env->ExceptionCheck()){ 77 if (mBytes != NULL) { 78 mEnv->ReleaseByteArrayElements(mByteArray, mBytes, JNI_ABORT); 79 mBytes = NULL; 84 mBytes = NULL; 96 return mBytes;
|
outputstream_wrapper.cpp | 26 mEnv->ReleaseByteArrayElements(mByteArray, mBytes, JNI_COMMIT); 27 mBytes = NULL; 40 mBytes = mEnv->GetByteArrayElements(mByteArray, NULL); 41 if (mBytes == NULL || mEnv->ExceptionCheck()) {
|
stream_wrapper.h | 40 jbyte* mBytes;
|
/art/test/027-arithmetic/src/ |
Main.java | 24 final int[] mBytes = { 30 i1 = mBytes[0] | mBytes[1] << 8 | mBytes[2] << 16 | mBytes[3] << 24; 31 i2 = mBytes[4] | mBytes[5] << 8 | mBytes[6] << 16 | mBytes[7] << 24; 39 l = (long)mBytes[0 [all...] |
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
SpamActivity.java | 23 byte[] mBytes; 29 mBytes = new byte[8*1024*1024];
|
/external/clang/test/Index/ |
initializer-memory.cpp | 16 // CHECK: TOTAL = {{.*}} (0.{{.*}} MBytes)
|
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
AudioFxDemo.java | 203 private byte[] mBytes; 215 mBytes = null; 223 mBytes = bytes; 231 if (mBytes == null) { 235 if (mPoints == null || mPoints.length < mBytes.length * 4) { 236 mPoints = new float[mBytes.length * 4]; 241 for (int i = 0; i < mBytes.length - 1; i++) { 242 mPoints[i * 4] = mRect.width() * i / (mBytes.length - 1); 244 + ((byte) (mBytes[i] + 128)) * (mRect.height() / 2) / 128; 245 mPoints[i * 4 + 2] = mRect.width() * (i + 1) / (mBytes.length - 1) [all...] |
/external/vboot_reference/tests/ |
sha_benchmark.c | 47 / (msecs / 10e3)); /* Mbytes/sec */ 49 fprintf(stderr, "# %s Time taken = %u ms, Speed = %f Mbytes/sec\n",
|
/hardware/intel/common/libmix/videoencoder/ |
IntelMetadataBuffer.cpp | 334 mBytes = NULL; 348 mBytes = NULL; 363 if (mBytes) 364 delete[] mBytes; 370 mExtraValues_Count(imb.mExtraValues_Count), mBytes(NULL), mSize(imb.mSize) 384 if (imb.mBytes) 386 mBytes = new uint8_t[mSize]; 387 memcpy(mBytes, imb.mBytes, mSize); 398 mBytes = NULL [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigIntegerModPowTest.java | 37 byte mBytes[] = {1, 2, 3}; 43 BigInteger modulus = new BigInteger(mSign, mBytes); 64 byte mBytes[] = {-128, 2, 3, 4, 5}; 71 BigInteger modulus = new BigInteger(mSign, mBytes); 87 byte mBytes[] = {-128, 2, 3, 4, 5}; 94 BigInteger modulus = new BigInteger(mSign, mBytes); 132 byte mBytes[] = {1, 2, 3}; 136 BigInteger modulus = new BigInteger(mSign, mBytes); 149 byte mBytes[] = {-12, 1, 0, 0, 0, 23, 44, 55, 66}; 153 BigInteger modulus = new BigInteger(mSign, mBytes); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
IntentTile.java | 184 private final byte[] mBytes; 187 mBytes = bytes; 192 final Bitmap b = BitmapFactory.decodeByteArray(mBytes, 0, mBytes.length); 198 return o instanceof BytesIcon && Arrays.equals(((BytesIcon) o).mBytes, mBytes); 203 return String.format("BytesIcon[len=%s]", mBytes.length);
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioAttributesTest.java | 52 final byte[] mbytes; 55 mbytes = srcParcel.marshall(); 56 dstParcel.unmarshall(mbytes, 0, mbytes.length);
|
/external/e2fsprogs/resize/ |
resource_track.c | 102 #define mbytes(x) (((x) + 1048575) / 1048576) macro 119 mbytes(bytes_read), 120 mbytes(bytes_written), 121 (double)mbytes(bytes_read + bytes_written) /
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
ImagePersistTask.java | 44 private final byte[] mBytes; 64 mBytes = bytes; 84 exifInterface.readExif(mBytes); 96 bitmap = BitmapFactory.decodeByteArray(mBytes, 0, mBytes.length); 129 outputStream.write(mBytes);
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
ByteStream.java | 35 private final byte[] mBytes; // this is never null. 65 mBytes = bytes; 89 return mBytes[mIndex + 1]; 104 return mBytes[mIndex++]; 118 return mBytes[mIndex++] & 0x000000FF; 190 if (longNewIndex < (long) mBytes.length) { 221 return mBytes.length - mIndex;
|
/art/test/107-int-math2/src/ |
Main.java | 204 final int[] mBytes = { 210 if (mBytes[0] != 0x11) return 20; 211 if (mBytes[1] != 0x22) return 21; 212 if (mBytes[2] != 0x33) return 22; 213 if (mBytes[3] != 0x44) return 23; 214 if (mBytes[4] != 0x88) return 24; 215 if (mBytes[5] != 0x99) return 25; 216 if (mBytes[6] != 0xaa) return 26; 217 if (mBytes[7] != 0xbb) return 27; 219 i1 = mBytes[0] | mBytes[1] << 8 | mBytes[2] << 16 | mBytes[3] << 24 [all...] |
/external/autotest/client/cros/multimedia/ |
system_facade_native.py | 85 """Returns the total memory available in the system in MBytes.""" 90 """Returns the currently free memory in the system in MBytes.""" 95 Returns the free memory in MBytes, counting buffers and cached as free.
|
/external/autotest/server/cros/multimedia/ |
system_facade_adapter.py | 77 """Returns the total memory available in the system in MBytes.""" 82 """Returns the currently free memory in the system in MBytes.""" 87 Returns the free memory in MBytes, counting buffers and cached as free.
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
CarVendorExtensionManagerTest.java | 243 private byte[] mBytes = null; 248 mBytes = toByteArray(propValue.value.bytes); 265 if (requestedPropValue.prop == CUSTOM_BYTES_PROP_ID_2 && mBytes != null) { 266 Log.d(TAG, "Returning byte array property, value size " + mBytes.length); 267 result.value.bytes.ensureCapacity(mBytes.length); 268 for (byte b : mBytes) {
|
/frameworks/base/core/java/com/android/internal/util/ |
FastXmlSerializer.java | 64 private ByteBuffer mBytes; 85 mBytes = ByteBuffer.allocate(mBufferLen); 248 if ((position = mBytes.position()) > 0) { 249 mBytes.flip(); 250 mOutputStream.write(mBytes.array(), 0, position); 251 mBytes.clear(); 260 CoderResult result = mCharset.encode(charBuffer, mBytes, true); 266 result = mCharset.encode(charBuffer, mBytes, true);
|
/art/test/003-omnibus-opcodes/src/ |
IntMath.java | 25 final int[] mBytes = { 31 i1 = mBytes[0] | mBytes[1] << 8 | mBytes[2] << 16 | mBytes[3] << 24; 32 i2 = mBytes[4] | mBytes[5] << 8 | mBytes[6] << 16 | mBytes[7] << 24; 39 l = (long)mBytes[0 [all...] |
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Acpi/AcpiTables/Dsdt/ |
QNC.asi | 38 // BIOS Firmware just below 4GByte of memory 8MBytes
|
/external/autotest/client/site_tests/hardware_SAT/ |
hardware_SAT.py | 82 mbytes = max(int(utils.freememtotal() * free_memory_fraction / 1024), 86 if sys.maxsize < 2**32 and mbytes > 2047: 87 mbytes = 2047 91 args = ' -M %d' % mbytes # megabytes to test
|