/frameworks/av/media/libstagefright/ |
H A D | MediaCodecListOverrides.cpp | 94 sp<AMessage> format = new AMessage(); local 95 format->setString("mime", mime); 100 format->setInt32("bitrate", bitrate); 101 format->setInt32("encoder", 1); 110 format->setInt32("width", width); 111 format->setInt32("height", height); 118 format->setInt32("color-format", colorFormats[0]); 120 format->setFloat("frame-rate", 10.0); 121 format 134 sp<AMessage> format = getMeasureFormat(true /* isEncoder */, mime, caps); local 187 sp<AMessage> format = getMeasureFormat(isEncoder, mime, caps); local [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkImageReader.cpp | 42 AImageReader::isSupportedFormat(int32_t format) { argument 43 switch (format) { 59 AImageReader::getNumPlanesForFormat(int32_t format) { argument 60 switch (format) { 143 AImageReader::AImageReader(int32_t width, int32_t height, int32_t format, int32_t maxImages) : argument 144 mWidth(width), mHeight(height), mFormat(format), mMaxImages(maxImages), 145 mNumPlanes(getNumPlanesForFormat(format)), 159 String8 consumerName = String8::format("ImageReader-%dx%df%xm%d-%d-%d", 184 ALOGE("Failed to set CpuConsumer buffer format"); 278 ALOGE("NV21 format i 439 AImageReader_new( int32_t width, int32_t height, int32_t format, int32_t maxImages, AImageReader** reader) argument 530 AImageReader_getFormat(const AImageReader* reader, int32_t* format) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_ExifInterface.cpp | 140 && image_data.thumbnail.format == ::piex::Image::kJpegCompressed) { 142 map.add(String8("ThumbnailOffset"), String8::format("%d", image_data.thumbnail.offset)); 143 map.add(String8("ThumbnailLength"), String8::format("%d", image_data.thumbnail.length)); 150 String8::format("%u", image_data.exif_orientation)); 153 String8::format("%u", image_data.full_width)); 156 String8::format("%u", image_data.full_height)); 178 String8::format("%u", image_data.iso)); 187 const char* format; local 189 format = "%6.4f"; 191 format [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | Preconditions.java | 281 String.format( 285 String.format( 308 String.format( 312 String.format( 335 String.format( 339 String.format( 364 String.format("%s[%d] must not be null", valueName, i)); 392 String.format("%s[%d] must not be null", valueName, ctr)); 449 String.format("%s[%d] is out of range of [%f, %f] (too low)", 453 String.format(" [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
H A D | WifiStressTest.java | 92 logv(String.format("mReconnectIterations(%d), mSsid(%s), mPassword(%s)," 150 writeOutput(String.format("iteration %d out of %d", i, mScanIterations)); 151 writeOutput(String.format("average scanning time is %d", averageScanTime)); 152 writeOutput(String.format("ssid appear %d out of %d scan iterations", 174 logv(String.format("scan result: " + sr.toString())); 187 writeOutput(String.format("iteration %d out of %d", i - 1, mScanIterations)); 188 writeOutput(String.format("average scanning time is %d", scanTimeSum / (i - 1))); 189 writeOutput(String.format("ssid appear %d out of %d scan iterations", 228 writeOutput(String.format("iteration %d out of %d", 291 writeOutput(String.format("iteratio [all...] |
/frameworks/base/location/java/android/location/ |
H A D | GnssClock.java | 477 final String format = " %-15s = %s\n"; 481 builder.append(String.format(format, "LeapSecond", hasLeapSecond() ? mLeapSecond : null)); 483 builder.append(String.format( 490 builder.append(String.format( 491 format, 495 builder.append(String.format( 502 builder.append(String.format( 509 builder.append(String.format( 510 format, [all...] |
H A D | GpsClock.java | 442 final String format = " %-15s = %s\n"; 446 builder.append(String.format(format, "Type", getTypeString())); 448 builder.append(String.format(format, "LeapSecond", hasLeapSecond() ? mLeapSecond : null)); 450 builder.append(String.format( 457 builder.append(String.format( 458 format, 462 builder.append(String.format( 469 builder.append(String.format( [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | CommonTimeManagementService.java | 182 pw.println(String.format( 196 pw.println(String.format(" Native service : %s", 199 pw.println(String.format(" Bound interface : %s", 201 pw.println(String.format(" Allow WiFi : %s", ALLOW_WIFI ? "yes" : "no")); 202 pw.println(String.format(" Allow Auto Disable : %s", AUTO_DISABLE ? "yes" : "no")); 203 pw.println(String.format(" Server Priority : %d", mEffectivePrio)); 204 pw.println(String.format(" No iface timeout : %d", NO_INTERFACE_TIMEOUT)); 258 Log.w(TAG, String.format("Native service died, will reconnect in %d mSec", 337 Log.e(TAG, String.format("Binding common time service to %s.", bindIface)); 345 Log.e(TAG, String.format("Switchin [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
H A D | CpuVideoTrackDecoder.java | 58 protected CpuVideoTrackDecoder(int trackIndex, MediaFormat format, Listener listener) { argument 59 super(trackIndex, format, listener); 61 mWidth = format.getInteger(MediaFormat.KEY_WIDTH); 62 mHeight = format.getInteger(MediaFormat.KEY_HEIGHT); 66 protected MediaCodec initMediaCodec(MediaFormat format) { argument 68 MediaCodec mediaCodec = findDecoderCodec(format, new int[] { 73 "Could not find a suitable decoder for format: " + format + "!"); 75 mediaCodec.configure(format, null, null, 0); 174 * <li>The codec can decode a video of the specified format 184 findDecoderCodec(MediaFormat format, int[] requiredColorFormats) argument [all...] |
/frameworks/native/libs/gui/ |
H A D | CpuConsumer.cpp | 63 static bool isPossiblyYUV(PixelFormat format) { argument 64 switch (static_cast<int>(format)) { 118 PixelFormat format = mSlots[slot].mGraphicBuffer->getPixelFormat(); local 119 PixelFormat flexFormat = format; 120 if (isPossiblyYUV(format)) { 136 if (format != HAL_PIXEL_FORMAT_YCbCr_420_888) { 137 CC_LOGV("locking buffer of format %#x as flex YUV", format); 139 } else if (format == HAL_PIXEL_FORMAT_YCbCr_420_888) { 184 nativeBuffer->format [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
H A D | InputStreamBuffer.java | 102 String.format("Buffer size %d must be positive.", bufferSize)); 138 String.format("Index %d beyond length.", index)); 164 String.format("Index %d is before buffer %d", index, mOffset)); 236 Log.d(TAG, String.format("advanceTo %d buffer: %s", i, this)); 266 String.format("Index %d is before buffer %d", index, mOffset)); 284 Log.w(TAG, String.format( 307 Log.d(TAG, String.format("fill %d buffer: %s", i, this)); 323 String.format("Index %d out of bounds. Length %d", i, mBuffer.length)); 335 return String.format("+%d+%d [%d]", mOffset, mBuffer.length, mFilled); 349 sb.append(String.format(" [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | InputStreamBuffer.java | 102 String.format("Buffer size %d must be positive.", bufferSize)); 138 String.format("Index %d beyond length.", index)); 164 String.format("Index %d is before buffer %d", index, mOffset)); 236 Log.d(TAG, String.format("advanceTo %d buffer: %s", i, this)); 266 String.format("Index %d is before buffer %d", index, mOffset)); 284 Log.w(TAG, String.format( 307 Log.d(TAG, String.format("fill %d buffer: %s", i, this)); 323 String.format("Index %d out of bounds. Length %d", i, mBuffer.length)); 335 return String.format("+%d+%d [%d]", mOffset, mBuffer.length, mFilled); 349 sb.append(String.format(" [all...] |
/frameworks/av/services/camera/libcameraservice/api2/ |
H A D | CameraDeviceClient.cpp | 35 String8::format("%s:%d: %s", __FUNCTION__, __LINE__, errorString)) 39 String8::format("%s:%d: " errorString, __FUNCTION__, __LINE__, \ 97 threadName = String8::format("CDU-%d-FrameProc", mCameraId); 230 String8 msg = String8::format( 243 String8 msg = String8::format( 277 String8 msg = String8::format("Camera %d: Canceling request ID %d doesn't match " 330 String8 msg = String8::format( 341 String8 msg = String8::format("Camera %d: Unsupported set of inputs/outputs provided", 346 String8 msg = String8::format("Camera %d: Error configuring streams: %s (%d)", 392 String8 msg = String8::format("Camer 447 int width, height, format; local 570 int width, height, format, surfaceType; local 645 createInputStream( int width, int height, int format, int32_t* newStreamId) argument 717 roundBufferDimensionNearest(int32_t width, int32_t height, int32_t format, android_dataspace dataSpace, const CameraMetadata& info, int32_t* outWidth, int32_t* outHeight) argument [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3IOStreamBase.cpp | 33 uint32_t width, uint32_t height, size_t maxSize, int format, 36 width, height, maxSize, format, dataSpace, rotation, setId), 46 (format != HAL_PIXEL_FORMAT_BLOB && format != HAL_PIXEL_FORMAT_RAW_OPAQUE)) { 47 ALOGE("%s: Bad format for size-only stream: %d", __FUNCTION__, 48 format); 77 lines.appendFormat(" Dims: %d x %d, format 0x%x, dataspace 0x%x\n", 79 camera3_stream::format, camera3_stream::data_space); 32 Camera3IOStreamBase(int id, camera3_stream_type_t type, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) argument
|
H A D | Camera3OutputStream.h | 44 uint32_t format; member in struct:android::camera3::StreamInfo 62 format(fmt), 82 uint32_t width, uint32_t height, int format, 93 uint32_t width, uint32_t height, size_t maxSize, int format, 102 Camera3OutputStream(int id, uint32_t width, uint32_t height, int format, 170 uint32_t width, uint32_t height, int format,
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpDevice.java | 150 * with the given format and parent. 154 * @param format the format of the object to return, or zero for all formats 159 public int[] getObjectHandles(int storageId, int format, int objectHandle) { argument 160 return native_get_object_handles(storageId, format, objectHandle); 219 * The size and format of the thumbnail data can be determined via 222 * For typical devices the format is JPEG. 379 public long getObjectSizeLong(int handle, int format) throws IOException { argument 380 return native_get_object_size_long(handle, format); 391 private native int[] native_get_object_handles(int storageId, int format, in argument 409 native_get_object_size_long(int handle, int format) argument [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | Frame.java | 45 Frame(FrameFormat format, FrameManager frameManager) { argument 46 mFormat = format.mutableCopy(); 50 Frame(FrameFormat format, FrameManager frameManager, int bindingType, long bindingId) { argument 51 mFormat = format.mutableCopy(); 171 protected void setFormat(FrameFormat format) { argument 172 mFormat = format.mutableCopy();
|
H A D | FilterSurfaceView.java | 116 int format, 120 mFormat = format; 127 mListener.surfaceChanged(holder, format, width, height); 115 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | AssertHelpers.java | 74 String msg = String.format( 93 String.format("%s: (%s should be greater than than %s; item index %d in %s)", 109 String.format("%s: (%s should be less than than %s; item index %d in %s)", 120 String.format("Value %s must be greater or equal to %s, but was lower", value, low), 123 String.format("Value %s must be less than or equal to %s, but was higher", 198 fail(String.format("%s : No elements from %s in %s", message,
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioSession.h | 36 audio_format_t format, 49 audio_format_t format() const { return mConfig.format; } function in class:android::AudioSession
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
H A D | Svc.java | 85 String format = " %-" + maxlen + "s %s"; 88 System.err.println(String.format(format, c.name(), c.shortHelp()));
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | UnrefedBitmapCache.java | 61 Log.d(TAG, String.format("AltBitmapCache: block %b", blocking)); 88 Log.d(TAG, String.format( 96 Log.d(TAG, String.format("AltBitmapCache: %s notified",
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardEntryCommitter.java | 64 Log.d(LOG_TAG, String.format("time to commit entries: %d ms", mTimeToCommit)); 92 Log.e(LOG_TAG, String.format("%s: %s", e.toString(), e.getMessage())); 95 Log.e(LOG_TAG, String.format("%s: %s", e.toString(), e.getMessage()));
|
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/ |
H A D | MediaStoreSaver.java | 51 Bitmap.CompressFormat format = Bitmap.CompressFormat.PNG; 54 format = Bitmap.CompressFormat.JPEG; 59 bitmap.compress(format, 100, fOut);
|
/frameworks/av/include/media/nbaio/ |
H A D | AudioBufferProviderSource.h | 30 AudioBufferProviderSource(AudioBufferProvider *provider, const NBAIO_Format& format); 37 //virtual NBAIO_Format format();
|