/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyInterfaceImpl.cpp | 132 audio_format_t format, 146 format, channelMask, flags, offloadInfo); 155 audio_format_t format, 174 format, channelMask, flags, selectedDeviceId, offloadInfo); 266 audio_format_t format, 308 samplingRate, format, channelMask, 130 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument 149 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, audio_stream_type_t *stream, uid_t uid, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, audio_port_handle_t selectedDeviceId, const audio_offload_info_t *offloadInfo) argument 260 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, pid_t pid, uid_t uid, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags, audio_port_handle_t selectedDeviceId) argument
|
H A D | AudioPolicyInterfaceImplLegacy.cpp | 133 audio_format_t format, 147 format, channelMask, flags, offloadInfo); 240 audio_format_t format, 270 format, channelMask, (audio_in_acoustics_t) 0); 572 audio_format_t format, 585 *output = getOutput(*stream, samplingRate, format, channelMask, 131 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument 234 getInputForAttr(const audio_attributes_t *attr, audio_io_handle_t *input, audio_session_t session, pid_t pid __unused, uid_t uid __unused, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_input_flags_t flags __unused, audio_port_handle_t selectedDeviceId __unused) argument 566 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session __unused, audio_stream_type_t *stream, uid_t uid __unused, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, audio_port_handle_t selectedDeviceId __unused, const audio_offload_info_t *offloadInfo) argument
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Stream.cpp | 49 uint32_t width, uint32_t height, size_t maxSize, int format, 54 mName(String8::format("Camera3Stream[%d]", id)), 68 camera3_stream::format = format; member in class:android::camera3::camera3_stream 75 if ((format == HAL_PIXEL_FORMAT_BLOB || format == HAL_PIXEL_FORMAT_RAW_OPAQUE) && 77 ALOGE("%s: BLOB or RAW_OPAQUE format with size == 0", __FUNCTION__); 99 return camera3_stream::format; 47 Camera3Stream(int id, camera3_stream_type type, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation, int setId) argument
|
/frameworks/base/core/java/android/app/ |
H A D | NativeActivity.java | 111 int format, int width, int height); 271 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 274 onSurfaceChangedNative(mNativeHandle, holder.getSurface(), format, width, height); 327 void setWindowFormat(int format) { argument 328 getWindow().setFormat(format); 110 onSurfaceChangedNative(long handle, Surface surface, int format, int width, int height) argument
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | CameraDeviceUserShim.java | 570 public int createInputStream(int width, int height, int format) { argument
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | StreamConfigurationMap.java | 50 * for that format) that are supported by a camera device.</p> 52 * <p>This also contains the minimum frame durations and stall durations for each format/size 136 // For each format, track how many sizes there are available to configure 161 // For each depth format, track how many sizes there are available to configure 198 * Get the image {@code format} output formats in this stream configuration. 206 * @return an array of integer format 216 * Get the image {@code format} output formats for a reprocessing input format. 218 * <p>When submitting a {@link CaptureRequest} with an input Surface of a given format, 219 * the only allowed target outputs of the {@link CaptureRequest} are the ones with a format 266 getInputSizes(final int format) argument 294 isOutputSupportedFor(int format) argument 493 getOutputSizes(int format) argument 676 getHighResolutionOutputSizes(int format) argument 720 getOutputMinFrameDuration(int format, Size size) argument 867 getOutputStallDuration(int format, Size size) argument 955 checkArgumentFormatSupported(int format, boolean output) argument 998 checkArgumentFormatInternal(int format) argument 1033 checkArgumentFormat(int format) argument 1072 imageFormatToPublic(int format) argument 1115 depthFormatToPublic(int format) argument 1181 imageFormatToInternal(int format) argument 1223 imageFormatToDataspace(int format) argument 1257 getPublicFormatSizes(int format, boolean output, boolean highRes) argument 1270 getInternalFormatSizes(int format, int dataspace, boolean output, boolean highRes) argument 1359 getInternalFormatDuration(int format, int dataspace, Size size, int duration) argument 1423 isSupportedInternalConfiguration(int format, int dataspace, Size size) argument 1582 formatToString(int format) argument [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | DateUtils.java | 17 package android.text.format; 58 // The following FORMAT_* symbols are used for specifying the format of 96 // Date and time format strings that are constant and don't need to be 99 * This is not actually the preferred 24-hour date format in all locales. 304 * Example output strings for the US date format. 325 // Same reason as in formatDateRange() to explicitly indicate 12- or 24-hour format. 352 * Return given duration in a human-friendly format. For example, "4 385 * Formats an elapsed time in a format like "MM:SS" or "H:MM:SS" (using a form 421 return f.format(sElapsedFormatHMMSS, hours, minutes, seconds).toString(); 423 return f.format(sElapsedFormatMMS [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | VideoView.java | 278 * @param format the format of the subtitle track(s). Must contain at least 284 public void addSubtitleSource(InputStream is, MediaFormat format) { argument 286 mPendingSubtitleTracks.add(Pair.create(is, format)); 289 mMediaPlayer.addSubtitleSource(is, format); 606 public void surfaceChanged(SurfaceHolder holder, int format,
|
/frameworks/base/core/jni/ |
H A D | com_google_android_gles_jni_EGLImpl.cpp | 257 static PixelFormat convertPixelFormat(SkColorType format) argument 259 switch (format) { 296 pixmap.format = convertPixelFormat(nativeBitmap.colorType());
|
/frameworks/base/keystore/java/android/security/ |
H A D | KeyStore.java | 449 public int importKey(String alias, KeymasterArguments args, int format, byte[] keyData, argument 452 return mBinder.importKey(alias, args, format, keyData, uid, flags, 460 public int importKey(String alias, KeymasterArguments args, int format, byte[] keyData, argument 462 return importKey(alias, args, format, keyData, UID_SELF, flags, outCharacteristics); 465 public ExportResult exportKey(String alias, int format, KeymasterBlob clientId, argument 468 return mBinder.exportKey(alias, format, clientId, appId, uid); 474 public ExportResult exportKey(String alias, int format, KeymasterBlob clientId, argument 476 return exportKey(alias, format, clientId, appId, UID_SELF);
|
/frameworks/base/media/java/android/media/ |
H A D | ImageReader.java | 76 * Create a new reader for images of the desired size and format. 89 * If the {@code format} is {@link ImageFormat#PRIVATE PRIVATE}, the created 96 * PRIVATE} format images. The application can check if an existing reader's 97 * format by calling {@link #getImageFormat()}. 100 * {@link ImageFormat#PRIVATE PRIVATE} format {@link ImageReader 102 * data is not necessary, compared to ImageReaders using other format such 110 * @param format The format of the Image that this reader will produce. This 123 public static ImageReader newInstance(int width, int height, int format, int maxImages) { argument 124 return new ImageReader(width, height, format, maxImage 130 ImageReader(int width, int height, int format, int maxImages) argument 664 SurfaceImage(int format) argument [all...] |
H A D | SubtitleTrack.java | 65 public SubtitleTrack(MediaFormat format) { argument 66 mFormat = format;
|
/frameworks/base/media/java/android/media/tv/ |
H A D | ITvInputSessionWrapper.java | 266 public void dispatchSurfaceChanged(int format, int width, int height) { argument 268 format, width, height, 0));
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpDatabase.java | 79 // cached property groups for all properties for a given format 330 private int beginSendObject(String path, int format, int parent, argument 362 values.put(Files.FileColumns.FORMAT, format); 381 private void endSendObject(String path, int handle, int format, boolean succeeded) { argument 385 if (format == MtpConstants.FORMAT_ABSTRACT_AV_PLAYLIST) { 400 values.put(Files.FileColumns.FORMAT, format); 410 mMediaScanner.scanMtpFile(path, handle, format); 417 private Cursor createObjectQuery(int storageID, int format, int parent) throws RemoteException { argument 423 if (format == 0) { 438 // query specific format 517 getObjectList(int storageID, int format, int parent) argument 543 getNumObjects(int storageID, int format, int parent) argument 684 getSupportedObjectProperties(int format) argument 716 getObjectPropertyList(int handle, int format, int property, int groupCode, int depth) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_ImageWriter.cpp | 72 void setBufferFormat(int format) { mFormat = format; } argument 152 // Writer. Do the detach unconditionally for opaque format now. see b/19977520 256 // Get the dimension and format of the producer. 258 int32_t width, height, format; local 273 if ((res = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &format)) != OK) { 274 ALOGE("%s: Query Surface format failed: %s (%d)", __FUNCTION__, strerror(-res), res); 275 jniThrowRuntimeException(env, "Failed to query Surface format"); 278 ctx->setBufferFormat(format); 279 env->SetIntField(thiz, gImageWriterClassInfo.mWriterFormat, reinterpret_cast<jint>(format)); 735 int format = Image_getFormat(env, thiz); local [all...] |
H A D | android_media_MediaExtractor.cpp | 94 status_t JMediaExtractor::getTrackFormat(size_t index, jobject *format) const { 103 return ConvertMessageToMap(env, msg, format); 106 status_t JMediaExtractor::getFileFormat(jobject *format) const { 115 return ConvertMessageToMap(env, msg, format); 302 jobject format; local 303 status_t err = extractor->getTrackFormat(index, &format); 310 return format; 322 jobject format; local 323 status_t err = extractor->getFileFormat(&format); 330 return format; [all...] |
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPool.h | 60 audio_format_t format() { return mFormat; } function in class:android::Sample
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | GLFrame.java | 70 GLFrame(FrameFormat format, FrameManager frameManager) { argument 71 super(format, frameManager); 74 GLFrame(FrameFormat format, FrameManager frameManager, int bindingType, long bindingId) { argument 75 super(format, frameManager, bindingType, bindingId); 79 FrameFormat format = getFormat(); 82 // Check that we have a valid format 83 if (format.getBytesPerSample() != 4) { 85 } else if (format.getDimensionCount() != 2) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | Camera2SurfaceViewTestCase.java | 575 * @param format The format of this ImageReader to be created 579 protected void createImageReader(Size size, int format, int maxNumImages, argument 583 ImageReader r = makeImageReader(size, format, maxNumImages, listener, 625 // Use ImageFormat.YUV_420_888 for now. TODO: need figure out what's format for preview 688 * @param format The single capture image format 694 CaptureRequest.Builder stillRequest, Size previewSz, Size captureSz, int format, 698 Log.v(TAG, String.format("Prepare single capture (%s) and preview (%s)", 706 createImageReader(captureSz, format, maxNumImage 693 prepareCaptureAndStartPreview(CaptureRequest.Builder previewRequest, CaptureRequest.Builder stillRequest, Size previewSz, Size captureSz, int format, CaptureCallback resultListener, int maxNumImages, ImageReader.OnImageAvailableListener imageListener) argument 760 isReprocessSupported(String cameraId, int format) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | Camera2ReprocessCaptureTest.java | 114 Log.v(TAG, String.format("Reprocessing YUV to JPEG: %d/%d", iteration + 1, 135 Log.v(TAG, String.format("Reprocessing OPAQUE to JPEG: %d/%d", iteration + 1, 147 * Test all supported size and format combinations with preview. 161 Log.v(TAG, String.format("Reprocessing size format with preview: %d/%d", 189 Log.v(TAG, String.format("Reprocessing mixed burst with or without preview: " 207 * Test the input format and output format with the largest input and output sizes. 222 * Test the input format and output format wit 1109 getMaxSize(int format, StaticMetadata.StreamDirection direction) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | CameraMetadataTest.java | 268 builder.append(String.format("%x", elem)); 302 fail(String.format( 327 fail(String.format( 912 * - Use public image format constants here. 1309 int format, int width, int height, 1319 if (format == HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) { 1321 // in this case the 'is output format supported' is vacuously true 1324 sizes = configMap.getOutputSizes(format); 1327 configMap.isOutputSupportedFor(format)); 1331 sizes = configMap.getInputSizes(format); 1308 checkStreamConfigurationMapByFormatSize(StreamConfigurationMap configMap, int format, int width, int height, boolean output) argument 1346 checkStreamConfigurationMapDurationByFormatSize( StreamConfigurationMap configMap, int format, int width, int height, Duration durationKind, long expectedDuration) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 336 /*package*/ static boolean nativeCompress(long nativeBitmap, int format, int quality, argument
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraSettings.java | 243 * Sets the preview format. 245 * @param format 248 public void setPreviewFormat(int format) { argument 249 mCurrentPreviewFormat = format; 253 * @return The preview format. 284 * Sets the format for the photo. 286 * @param format The format for the photos taken. 289 public void setPhotoFormat(int format) { argument 290 mCurrentPhotoFormat = format; [all...] |
/frameworks/native/libs/gui/ |
H A D | BufferQueueProducer.cpp | 345 PixelFormat format, uint32_t usage) { 362 BQ_LOGV("dequeueBuffer: w=%u h=%u format=%#x, usage=%#x", width, height, 363 format, usage); 379 if (format == 0) { 380 format = mCore->mDefaultBufferFormat; 413 if (buffer->needsReallocation(width, height, format, usage)) { 429 buffer->needsReallocation(width, height, format, usage)) { 448 buffer->needsReallocation(width, height, format, usage)) 472 "slot=%d w=%d h=%d format=%u", 473 found, buffer->width, buffer->height, buffer->format); 343 dequeueBuffer(int *outSlot, sp<android::Fence> *outFence, uint32_t width, uint32_t height, PixelFormat format, uint32_t usage) argument 1222 allocateBuffers(uint32_t width, uint32_t height, PixelFormat format, uint32_t usage) argument [all...] |
H A D | IGraphicBufferProducer.cpp | 121 uint32_t height, PixelFormat format, uint32_t usage) { 126 data.writeInt32(static_cast<int32_t>(format)); 289 PixelFormat format, uint32_t usage) { 294 data.writeInt32(static_cast<int32_t>(format)); 485 PixelFormat format = static_cast<PixelFormat>(data.readInt32()); local 489 int result = dequeueBuffer(&buf, &fence, width, height, format, 601 PixelFormat format = static_cast<PixelFormat>(data.readInt32()); local 603 allocateBuffers(width, height, format, usage); 120 dequeueBuffer(int *buf, sp<Fence>* fence, uint32_t width, uint32_t height, PixelFormat format, uint32_t usage) argument 288 allocateBuffers(uint32_t width, uint32_t height, PixelFormat format, uint32_t usage) argument
|