/frameworks/wilhelm/src/desktop/ |
H A D | SDL.cpp | 47 SDL_AudioSpec fmt; local 48 fmt.freq = 44100; 49 fmt.format = AUDIO_S16; 50 fmt.channels = STEREO_CHANNELS; 52 fmt.samples = SndFile_BUFSIZE; 54 fmt.samples = SndFile_BUFSIZE / sizeof(short); 56 fmt.callback = SDL_callback; 57 fmt.userdata = (void *) thisEngine; 59 if (SDL_OpenAudio(&fmt, NULL) < 0) {
|
/frameworks/base/libs/hwui/utils/ |
H A D | TraceUtils.h | 21 #define ATRACE_FORMAT(fmt, ...) \ 22 TraceUtils::TraceEnder __traceEnder = (TraceUtils::atraceFormatBegin(fmt, ##__VA_ARGS__), TraceUtils::TraceEnder()) 24 #define ATRACE_FORMAT_BEGIN(fmt, ...) \ 25 TraceUtils::atraceFormatBegin(fmt, ##__VA_ARGS__) 37 static void atraceFormatBegin(const char* fmt, ...) { argument 44 va_start(ap, fmt); 45 vsnprintf(buf, BUFFER_SIZE, fmt, ap);
|
/frameworks/base/tools/aapt/ |
H A D | IndentPrinter.h | 20 void print(const char* fmt, ...) { argument 23 va_start(args, fmt); 24 vfprintf(mStream, fmt, args); 28 void println(const char* fmt, ...) { argument 31 va_start(args, fmt); 32 vfprintf(mStream, fmt, args);
|
H A D | SourcePos.cpp | 114 SourcePos::error(const char* fmt, ...) const argument 117 va_start(ap, fmt); 118 String8 msg = String8::formatV(fmt, ap); 124 SourcePos::warning(const char* fmt, ...) const argument 127 va_start(ap, fmt); 128 String8 msg = String8::formatV(fmt, ap); 134 SourcePos::printf(const char* fmt, ...) const argument 137 va_start(ap, fmt); 138 String8 msg = String8::formatV(fmt, ap);
|
/frameworks/av/services/camera/libcameraservice/utils/ |
H A D | LatencyHistogram.cpp | 72 void CameraLatencyHistogram::log(const char* fmt, ...) { argument 78 va_start(args, fmt); 79 String8 histogramName = String8::formatV(fmt, args);
|
/frameworks/av/media/libstagefright/omx/ |
H A D | OMXUtils.cpp | 206 const OMX_COLOR_FORMATTYPE fmt = params.eColorFormat; local 211 if (fmt != OMX_COLOR_FormatYUV420Planar && 212 fmt != OMX_COLOR_FormatYUV420PackedPlanar && 213 fmt != OMX_COLOR_FormatYUV420SemiPlanar && 214 fmt != OMX_COLOR_FormatYUV420PackedSemiPlanar && 215 fmt != (OMX_COLOR_FORMATTYPE)HAL_PIXEL_FORMAT_YV12) { 216 ALOGW("do not know color format 0x%x = %d", fmt, fmt); 233 fmt, fmt, param [all...] |
/frameworks/base/libs/common_time/ |
H A D | utils.cpp | 67 void LogRing::log(int prio, const char* tag, const char* fmt, ...) { argument 69 va_start(argp, fmt); 70 internalLog(prio, tag, fmt, argp); 74 void LogRing::log(const char* fmt, ...) { argument 76 va_start(argp, fmt); 77 internalLog(0, NULL, fmt, argp); 83 const char* fmt, 87 String8 s(String8::formatV(fmt, argp)); 110 LOG_PRI_VA(prio, tag, fmt, argp); 81 internalLog(int prio, const char* tag, const char* fmt, va_list argp) argument
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | ProgramFragmentFixedFunction.java | 244 * @param fmt specifies the format of the texture and how its 251 public Builder setTexture(EnvMode env, Format fmt, int slot) argument 256 mSlots[slot] = new Slot(env, fmt);
|
/frameworks/base/cmds/idmap/ |
H A D | inspect.cpp | 18 void printe(const char *fmt, ...); 115 void printe(const char *fmt, ...) { argument 118 va_start(ap, fmt); 120 vfprintf(stderr, fmt, ap); 128 void print(const char *section, const char *subsection, uint32_t value, const char *fmt, ...) { argument 131 va_start(ap, fmt); 133 vprintf(fmt, ap); 138 void print_path(const char *section, const char *subsection, const char *fmt, ...) { argument 141 va_start(ap, fmt); 143 vprintf(fmt, a [all...] |
/frameworks/base/core/jni/ |
H A D | android_os_SELinux.cpp | 337 static int log_callback(int type, const char *fmt, ...) { argument 352 va_start(ap, fmt); 353 LOG_PRI_VA(priority, "SELinux", fmt, ap);
|
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 157 ALOGV("%s: Dequeue buffer from %p %dx%d (fmt=%x, size=%x)", 418 int32_t fmt = 0; local 419 status_t err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt); 425 return fmt; 435 int32_t fmt = 0; local 436 status_t err = anw->query(anw.get(), NATIVE_WINDOW_DEFAULT_DATASPACE, &fmt); 442 return fmt;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PanelBar.java | 31 public static final void LOG(String fmt, Object... args) { argument 33 Log.v(TAG, String.format(fmt, args));
|
/frameworks/native/cmds/installd/ |
H A D | installd.cpp | 284 static int log_callback(int type, const char *fmt, ...) { argument 299 va_start(ap, fmt); 300 LOG_PRI_VA(priority, "SELinux", fmt, ap);
|
H A D | otapreopt.cpp | 1111 static int log_callback(int type, const char *fmt, ...) { argument 1126 va_start(ap, fmt); 1127 LOG_PRI_VA(priority, "SELinux", fmt, ap);
|
/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureClient_test.cpp | 713 int fmt = -1; local 716 ASSERT_EQ(OK, anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt)); 717 EXPECT_EQ(fmts[i], fmt);
|
/frameworks/av/media/ndk/ |
H A D | NdkImage.cpp | 256 int32_t fmt = mLockedBuffer->flexFormat; local 257 switch (fmt) { 292 ALOGE("Pixel format: 0x%x is unsupported", fmt); 316 int32_t fmt = mLockedBuffer->flexFormat; local 317 switch (fmt) { 375 ALOGE("%s Pixel format: 0x%x is unsupported", __FUNCTION__, fmt); 439 int32_t fmt = mLockedBuffer->flexFormat; local 441 switch (fmt) { 589 ALOGE("Pixel format: 0x%x is unsupported", fmt);
|
/frameworks/base/media/java/android/media/ |
H A D | ImageReader.java | 1024 int fmt, int maxImgs, long consumerUsage); 1023 nativeInit(Object weakSelf, int w, int h, int fmt, int maxImgs, long consumerUsage) argument
|
/frameworks/av/media/libnbaio/ |
H A D | NBLog.cpp | 71 // skip start fmt 84 // skip start fmt 91 // skip start fmt 105 // copy fmt start entry 271 void NBLog::Writer::logf(const char *fmt, ...) argument 277 va_start(ap, fmt); 278 Writer::logvf(fmt, ap); // the Writer:: is needed to avoid virtual dispatch for LockedWriter 282 void NBLog::Writer::logvf(const char *fmt, va_list ap) argument 288 int length = vsnprintf(buffer, sizeof(buffer), fmt, ap); 342 void NBLog::Writer::logStart(const char *fmt) argument 363 logFormat(const char *fmt, ...) argument 375 logVFormat(const char *fmt, va_list argp) argument 510 logf(const char *fmt, ...) argument 520 logvf(const char *fmt, va_list ap) argument 558 logStart(const char *fmt) argument 886 const char* fmt = fmtEntry.formatString(); local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | voAMRWBEnc.c | 1857 VO_AUDIO_FORMAT* fmt = (VO_AUDIO_FORMAT*)pData; local 1858 fmt->Channels = 1; 1859 fmt->SampleRate = 16000; 1860 fmt->SampleBits = 16;
|
/frameworks/av/services/camera/libcameraservice/api2/ |
H A D | CameraDeviceClient.cpp | 538 "Camera %s: Error creating output stream (%d x %d, fmt %x, dataSpace %x): %s (%d)", 600 "Camera %s: Error creating output stream (%d x %d, fmt %x, dataSpace %x): %s (%d)", 901 int32_t fmt = streamConfigs.data.i32[i]; local 906 if (fmt == format) {
|
/frameworks/base/media/jni/ |
H A D | android_media_ImageReader.cpp | 785 int32_t fmt = applyFormatOverrides( local 792 if (isPossiblyYUV(fmt)) { 793 fmt = HAL_PIXEL_FORMAT_YCbCr_420_888; 796 fmt, buffer->mDataSpace);
|
H A D | android_media_Utils.cpp | 665 int32_t fmt = buffer->flexFormat; local 667 bool usingRGBAOverride = usingRGBAToJpegOverride(fmt, containerFormat); 668 fmt = applyFormatOverrides(fmt, containerFormat); 669 switch (fmt) {
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuCore.cpp | 561 FormatBuf fmt; local 563 format_bytes(&fmt, accumPtr, mtls->accumSize); 565 fmt[0] = 0; 568 mtls->accumFunc, idx, xStart, xEnd, fmt); 600 FormatBuf fmt; local 602 format_bytes(&fmt, accumPtr, mtls->accumSize); 604 fmt[0] = 0; 607 mtls->accumFunc, idx, yStart, yEnd, fmt); 635 FormatBuf fmt; local 637 format_bytes(&fmt, accumPt 785 FormatBuf fmt; local 804 FormatBuf fmt; local 813 FormatBuf fmt; local [all...] |
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
H A D | UT_reduce.java | 128 result += "(" + fmt.format(inputCells) + " cells"; 130 result += ", " + fmt.format(inputBytes) + " bytes"; 136 private static java.text.DecimalFormat fmt; field in class:UT_reduce.timing 139 fmt = new java.text.DecimalFormat("###,###");
|
/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 500 char* fmt = strtok_r(prevFmts, ",", &savePtr); local 501 while (fmt) { 502 int actual = previewFormatToEnum(fmt); 506 fmt = strtok_r(NULL, ",", &savePtr);
|