/frameworks/av/services/audiopolicy/ |
H A D | audio_policy.conf | 36 # The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding 76 # formats AUDIO_FORMAT_PCM_16_BIT 109 formats AUDIO_FORMAT_PCM_16_BIT 118 formats AUDIO_FORMAT_PCM_16_BIT 132 formats AUDIO_FORMAT_PCM_16_BIT 140 formats AUDIO_FORMAT_PCM_16_BIT
|
H A D | AudioPolicyManager.cpp | 3502 // erase all current sample rates, formats and channel masks 3613 ALOGV("checkOutputsForDevice() supported formats %s", 3888 ALOGV("checkInputsForDevice() direct input sup formats %s", reply.string()); 6297 "loadInput() invalid supported formats"); 6343 "loadOutput() invalid supported formats"); 6533 port->formats[i] = mFormats[i]; 6579 if (format != 0) { // skip "dynamic" formats 6641 // by convention, "0' in the first entry in mFormats indicates the supported formats 7126 snprintf(buffer, SIZE, "%*s- formats: ", spaces, ""); 7464 ALOGV(" - formats [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioMixPort.java | 30 int[] formats, AudioGain[] gains) { 31 super(handle, role, samplingRates, channelMasks, formats, gains); 29 AudioMixPort(AudioHandle handle, int role, int[] samplingRates, int[] channelMasks, int[] formats, AudioGain[] gains) argument
|
H A D | AudioDevicePort.java | 40 int[] formats, AudioGain[] gains, int type, String address) { 44 samplingRates, channelMasks, formats, gains); 39 AudioDevicePort(AudioHandle handle, int[] samplingRates, int[] channelMasks, int[] formats, AudioGain[] gains, int type, String address) argument
|
H A D | AudioPort.java | 78 int[] formats, AudioGain[] gains) { 83 mFormats = formats; 120 public int[] formats() { method in class:AudioPort 77 AudioPort(AudioHandle handle, int role, int[] samplingRates, int[] channelMasks, int[] formats, AudioGain[] gains) argument
|
H A D | EncoderCapabilities.java | 108 * Returns the array of supported output file formats. 115 int[] formats = new int[nFormats]; 117 formats[i] = native_get_file_format(i); 119 return formats;
|
H A D | AudioService.java | 4849 int[] formats = devicePort.formats(); 4850 if (formats.length > 0) { 4852 for (int format : formats) {
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | StreamConfigurationMap.java | 48 * <p>This is the authoritative list for all <!-- input/ -->output formats (and sizes respectively 142 * Get the image {@code format} output formats in this stream configuration. 144 * <p>All image formats returned by this function will be defined in either {@link ImageFormat} 160 * Get the image {@code format} input formats in this stream configuration. 162 * <p>All image formats returned by this function will be defined in either {@link ImageFormat} 332 // Override RGB formats to IMPLEMENTATION_DEFINED, b/9487482 356 * <p>Since some of the supported classes may support additional formats beyond 361 * formats; in particular {@link #isOutputSupportedFor(Class)} will return {@code true} for 373 * an array of supported sizes for implementation-defined formats, 381 // Image reader is "supported", but never for implementation-defined formats; retur 951 imageFormatToPublic(int[] formats) argument 1012 imageFormatToInternal(int[] formats) argument [all...] |
/frameworks/native/opengl/libagl/ |
H A D | state.cpp | 371 GGLFormat const * formats = gglGetPixelFormatTable(); local 372 params[0] = formats[index].ah - formats[index].al; 377 GGLFormat const * formats = gglGetPixelFormatTable(); local 378 params[0] = formats[index].rh - formats[index].rl; 383 GGLFormat const * formats = gglGetPixelFormatTable(); local 384 params[0] = formats[index].gh - formats[index].gl; 389 GGLFormat const * formats local [all...] |
H A D | mipmap.cpp | 34 const GGLFormat& pixelFormat(c->rasterizer.formats[base->format]);
|
H A D | texture.cpp | 285 const GGLFormat& pixelFormat(c->rasterizer.formats[src.format]); 377 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); 1199 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); 1283 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]); 1521 const GGLFormat& pixelFormat(c->rasterizer.formats[formatIdx]);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcCommit.cpp | 27 * graphic formats: 67 * Measurements are made for each of the graphic formats specified as 68 * positional parameters on the command-line. If no graphic formats 237 static vector<string> formats; variable 321 * 2. Form a list of command-line specified graphic formats. If 322 * no formats are specified, then form a list of all known formats. 390 // Positional parameters provide the names of graphic formats that 392 // known graphic formats when no positional parameters are provided. 394 // No command-line specified graphic formats [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaProfiles.cpp | 58 Vector<output_format> formats = sProfiles->getOutputFileFormats(); local 59 int nSize = formats.size(); 64 return static_cast<jint>(formats[index]);
|
H A D | android_mtp_MtpDatabase.cpp | 296 jint* formats = env->GetIntArrayElements(array, 0); local 299 list->push(formats[i]); 300 env->ReleaseIntArrayElements(array, formats, 0); 314 jint* formats = env->GetIntArrayElements(array, 0); local 317 list->push(formats[i]); 318 env->ReleaseIntArrayElements(array, formats, 0);
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | configbq.c | 33 PCM formats[] = { variable 94 // loop over all formats 98 for (format = formats; format->numChannels; ++format) {
|
/frameworks/av/include/camera/ |
H A D | CameraParameters.h | 106 * Returns a Vector containing the supported preview formats 109 void getSupportedPreviewFormats(Vector<int>& formats) const; 140 // Supported image formats for preview frames. 160 // Supported image formats for captured pictures. 611 // Pixel color formats for KEY_PREVIEW_FORMAT, KEY_PICTURE_FORMAT, 684 * Returns the the supported preview formats as an enum given in graphics.h
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.cpp | 273 Vector<int32_t> formats; local 277 shimParams.getSupportedPreviewFormats(/*out*/formats); 282 formats.add(HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED); 287 size_t streamConfigSize = (sizes.size() * formats.size() + jpegSizes.size()) * INTS_PER_CONFIG; 292 for (size_t i = 0; i < formats.size(); ++i) { 294 streamConfigs.add(formats[i]);
|
/frameworks/base/core/java/android/hardware/ |
H A D | Camera.java | 853 * <p>For formats besides YV12, the size of the buffer is determined by 2874 * the available preview formats. 2935 * Gets the supported preview formats. {@link android.graphics.ImageFormat#NV21} 2939 * @return a list of supported preview formats. This method will always 2946 ArrayList<Integer> formats = new ArrayList<Integer>(); 2950 formats.add(f); 2952 return formats; 3023 * Gets the supported picture formats. 3025 * @return supported picture formats. This method will always return a 3031 ArrayList<Integer> formats [all...] |
/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 487 void CameraParameters::getSupportedPreviewFormats(Vector<int>& formats) const { 492 ALOGW("%s: No supported preview formats.", __FUNCTION__); 504 formats.add(actual);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | CameraMetadataTest.java | 1104 * and is converting the internal formats to public formats properly. 1312 int[] formats; 1318 formats = new int[] { HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED }; 1321 formats = configMap.getOutputFormats(); 1328 formats = configMap.getInputFormats(); 1333 assertArrayContains(format, formats);
|
/frameworks/base/core/java/android/text/format/ |
H A D | DateFormat.java | 256 * @return the {@link java.text.DateFormat} object that properly formats the time. 289 * @return the {@link java.text.DateFormat} object that properly formats the date. 354 * @return the {@link java.text.DateFormat} object that formats the date in long form. 364 * @return the {@link java.text.DateFormat} object that formats the date in long form.
|
/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncManager.java | 3275 final String[] formats = new String[mCols]; 3286 formats[col] = String.format("%%-%ds", maxLength); 3288 formats[mCols - 1] = "%s"; 3289 printRow(out, formats, mTable.get(0)); 3297 printRow(out, formats, row); 3301 private void printRow(PrintWriter out, String[] formats, Object[] row) { argument 3303 out.printf(String.format(formats[j], row[j].toString()));
|
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputHardwareManager.java | 872 if (!intArrayContains(audioSink.formats(), sinkFormat)) { 901 if (intArrayContains(mAudioSource.formats(), sinkConfig.format())) {
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioSystem.cpp | 826 jint jFormat = audioFormatFromNative(nAudioPort->formats[j]);
|