Home
last modified time | relevance | path

Searched refs:byteSize (Results 1 – 17 of 17) sorted by relevance

/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DExif.java34 public static int getOrientation(final InputStream inputStream, final long byteSize) { in getOrientation() argument
71 if (has(jpeg, byteSize, 1)) { in getOrientation()
81 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) { in getOrientation()
103 if (length < 2 || !has(jpeg, byteSize, offset + length - 1)) { in getOrientation()
198 private static boolean has(final InputStreamBuffer jpeg, final long byteSize, final int index) { in has() argument
199 if (byteSize >= 0) { in has()
200 return index < byteSize; in has()
/frameworks/opt/bitmap/src/com/android/bitmap/util/
DExif.java39 public static int getOrientation(final InputStream inputStream, final long byteSize) { in getOrientation() argument
76 if (has(jpeg, byteSize, 1)) { in getOrientation()
86 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) { in getOrientation()
108 if (length < 2 || !has(jpeg, byteSize, offset + length - 1)) { in getOrientation()
203 private static boolean has(final InputStreamBuffer jpeg, final long byteSize, final int index) { in has() argument
204 if (byteSize >= 0) { in has()
205 return index < byteSize; in has()
/frameworks/opt/bitmap/src/com/android/bitmap/
DDecodeTask.java153 final long byteSize; in decode() local
155 byteSize = fd.getStatSize(); in decode()
157 byteSize = -1; in decode()
172 orientation = Exif.getOrientation(in, byteSize); in decode()
/frameworks/ml/nn/runtime/
DTypeManager.cpp286 return info->isTensor ? sizeOfTensorData(info->byteSize, dimensions) : info->byteSize; in getSizeOfData()
296 return info->isTensor ? sizeOfTensorDataOverflowsUInt32(info->byteSize, dimensions) : false; in sizeOfDataOverflowsUInt32()
/frameworks/ml/nn/runtime/test/fibonacci_extension/
DFibonacciDriver.cpp162 .byteSize = 8, in getSupportedExtensions()
167 .byteSize = 8, in getSupportedExtensions()
/frameworks/ml/nn/common/
DUtilsTest.cpp87 .byteSize = 4, in TEST()
109 .byteSize = 1, in TEST()
DUtils.cpp566 ? extensionOperandTypeInfo->byteSize in validateTensorDimensions()
/frameworks/base/libs/hwui/hwui/
DAnimatedImageDrawable.h109 size_t byteSize() const { return sizeof(*this) + mBytesUsed; } in byteSize() function
/frameworks/ml/nn/extensions/
DREADME.md170 .byteSize = 8,
175 .byteSize = 8,
/frameworks/base/cmds/statsd/src/metrics/
DMetricsManager.cpp514 size_t MetricsManager::byteSize() { in byteSize() function in android::os::statsd::MetricsManager
517 totalSize += metricProducer->byteSize(); in byteSize()
DMetricsManager.h129 virtual size_t byteSize();
DMetricProducer.h171 size_t byteSize() const { in byteSize() function
/frameworks/base/core/jni/android/graphics/
DAnimatedImageDrawable.cpp238 return drawable->byteSize(); in AnimatedImageDrawable_nNativeByteSize()
/frameworks/base/cmds/statsd/src/
DStatsLogProcessor.cpp334 return it->second->byteSize(); in GetMetricsSize()
550 size_t totalBytes = metricsManager.byteSize(); in flushIfNecessaryLocked()
/frameworks/base/cmds/statsd/tests/
DStatsLogProcessor_test.cpp58 MOCK_METHOD0(byteSize, size_t());
78 EXPECT_CALL(mockMetricsManager, byteSize()).Times(1); in TEST()
100 EXPECT_CALL(mockMetricsManager, byteSize()) in TEST()
132 EXPECT_CALL(mockMetricsManager, byteSize()) in TEST()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp273 size_t byteSize() const { in byteSize() function in android::IdmapEntries
398 data += entries.byteSize() / sizeof(uint16_t); in parseIdmap()
399 size -= entries.byteSize(); in parseIdmap()
/frameworks/ml/nn/runtime/test/
DTestValidation.cpp145 .byteSize = 1, in SetUp()