/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/wilhelm/src/desktop/ |
H A D | SDL.c | 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/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.h | 20 void error(const char* fmt, ...) const; 21 void warning(const char* fmt, ...) const; 22 void printf(const char* fmt, ...) const;
|
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/base/libs/common_time/ |
H A D | utils.h | 54 void log(int prio, const char* tag, const char* fmt, ...); 57 void log(const char* fmt, ...); 78 void internalLog(int prio, const char* tag, const char* fmt, va_list va);
|
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/ex/framesequence/jni/utils/ |
H A D | log.h | 258 #define LOG_PRI_VA(priority, tag, fmt, args) \ 259 __android_log_vprint(priority, NULL, tag, fmt, args) 280 #define android_printAssert(cond, tag, fmt...) \ 282 __android_second(0, ## fmt, NULL) __android_rest(fmt))
|
/frameworks/base/cmds/idmap/ |
H A D | inspect.cpp | 17 void printe(const char *fmt, ...); 114 void printe(const char *fmt, ...) { argument 117 va_start(ap, fmt); 119 vfprintf(stderr, fmt, ap); 127 void print(const char *section, const char *subsection, uint32_t value, const char *fmt, ...) { argument 130 va_start(ap, fmt); 132 vprintf(fmt, ap); 137 void print_path(const char *section, const char *subsection, const char *fmt, ...) { argument 140 va_start(ap, fmt); 142 vprintf(fmt, a [all...] |
/frameworks/av/include/media/nbaio/ |
H A D | NBLog.h | 126 virtual void logf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); 127 virtual void logvf(const char *fmt, va_list ap); 160 virtual void logf(const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); 161 virtual void logvf(const char *fmt, va_list ap);
|
/frameworks/av/media/libnbaio/ |
H A D | NBLog.cpp | 103 void NBLog::Writer::logf(const char *fmt, ...) argument 109 va_start(ap, fmt); 110 Writer::logvf(fmt, ap); // the Writer:: is needed to avoid virtual dispatch for LockedWriter 114 void NBLog::Writer::logvf(const char *fmt, va_list ap) argument 120 int length = vsnprintf(buffer, sizeof(buffer), fmt, ap); 231 void NBLog::LockedWriter::logf(const char *fmt, ...) argument 236 va_start(ap, fmt); 237 Writer::logvf(fmt, ap); 241 void NBLog::LockedWriter::logvf(const char *fmt, va_list ap) argument 245 Writer::logvf(fmt, a [all...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | OMXNodeInstance.cpp | 43 #define CLOGW(fmt, ...) ALOGW("[%x:%s] " fmt, mNodeID, mName, ##__VA_ARGS__) 45 #define CLOG_ERROR_IF(cond, fn, err, fmt, ...) \ 46 ALOGE_IF(cond, #fn "(%x:%s, " fmt ") ERROR: %s(%#x)", \ 48 #define CLOG_ERROR(fn, err, fmt, ...) CLOG_ERROR_IF(true, fn, err, fmt, ##__VA_ARGS__) 49 #define CLOG_IF_ERROR(fn, err, fmt, ...) \ 50 CLOG_ERROR_IF((err) != OMX_ErrorNone, fn, err, fmt, ##__VA_ARGS__) 52 #define CLOGI_(level, fn, fmt, ...) \ 53 ALOGI_IF(DEBUG >= (level), #fn "(%x:%s, " fmt ")", mNodeI [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | DateView.java | 103 final String fmt = DateFormat.getBestDateTimePattern(l, mDatePattern); 104 mDateFormat = new SimpleDateFormat(fmt, l);
|
/frameworks/base/media/jni/ |
H A D | android_media_ImageReader.cpp | 399 int32_t fmt = buffer->flexFormat; local 401 bool usingRGBAOverride = usingRGBAToJpegOverride(fmt, readerFormat); 402 fmt = applyFormatOverrides(fmt, readerFormat); 403 switch (fmt) { 535 "Pixel format: 0x%x is unsupported", fmt); 552 int32_t fmt = buffer->flexFormat; local 554 fmt = applyFormatOverrides(fmt, halReaderFormat); 556 switch (fmt) { 614 int32_t fmt = buffer->flexFormat; local 1245 int32_t fmt = applyFormatOverrides(buffer->flexFormat, readerHalFormat); local [all...] |
H A D | android_media_ImageWriter.cpp | 839 int32_t fmt = buffer->flexFormat; local 841 bool usingRGBAOverride = usingRGBAToJpegOverride(fmt, writerFormat); 842 fmt = applyFormatOverrides(fmt, writerFormat); 843 switch (fmt) { 986 "Pixel format: 0x%x is unsupported", fmt);
|
/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/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 | 133 ALOGV("%s: Setting buffer count to %d, size to (%dx%d), fmt (0x%x)", __FUNCTION__, 168 ALOGV("%s: Dequeue buffer from %p %dx%d (fmt=%x, size=%x)", 429 int32_t fmt = 0; local 430 status_t err = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &fmt); 436 return fmt; 446 int32_t fmt = 0; local 447 status_t err = anw->query(anw.get(), NATIVE_WINDOW_DEFAULT_DATASPACE, &fmt); 453 return fmt;
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Device.h | 359 void setErrorState(const char *fmt, ...); 360 void setErrorStateV(const char *fmt, va_list args); 361 void setErrorStateLocked(const char *fmt, ...); 362 void setErrorStateLockedV(const char *fmt, va_list args); 517 void setErrorState(const char *fmt, ...);
|
H A D | Camera3Device.cpp | 29 #define CLOGE(fmt, ...) ALOGE("Camera %d: %s: " fmt, mId, __FUNCTION__, \ 33 #define SET_ERR(fmt, ...) setErrorState( \ 34 "%s: " fmt, __FUNCTION__, \ 36 #define SET_ERR_L(fmt, ...) setErrorStateLocked( \ 37 "%s: " fmt, __FUNCTION__, \ 1822 void Camera3Device::setErrorState(const char *fmt, ...) { argument 1825 va_start(args, fmt); 1827 setErrorStateLockedV(fmt, args); 1832 void Camera3Device::setErrorStateV(const char *fmt, va_lis argument 1837 setErrorStateLocked(const char *fmt, ...) argument 1846 setErrorStateLockedV(const char *fmt, va_list args) argument 3262 setErrorState(const char *fmt, ...) argument [all...] |
/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);
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | StreamConfigurationMap.java | 138 int fmt = config.getFormat(); 141 mAllOutputFormats.put(fmt, mAllOutputFormats.get(fmt) + 1); 145 if (configurationDuration.getFormat() == fmt && 158 map.put(fmt, map.get(fmt) + 1); 1291 int fmt = config.getFormat(); 1292 if (fmt == format && config.isOutput() == output) { 1299 if (d.getFormat() == fmt &&
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PanelBar.java | 33 public static final void LOG(String fmt, Object... args) { argument 35 Log.v(TAG, String.format(fmt, args));
|
/frameworks/native/opengl/libs/EGL/ |
H A D | trace.cpp | 88 void append(const char* fmt, ...) { argument 90 va_start(argp, fmt); 91 line_index += vsnprintf(line + line_index, lineSize-line_index, fmt, argp);
|
/frameworks/native/cmds/installd/ |
H A D | installd.cpp | 639 static int log_callback(int type, const char *fmt, ...) { argument 654 va_start(ap, fmt); 655 LOG_PRI_VA(priority, "SELinux", fmt, ap);
|