/system/media/camera/docs/ |
D | metadata_helpers_test.py | 167 self.assertEquals("word.{0}".format(wbr_string), wbr("word.")) 168 self.assertEquals("word/{0}".format(wbr_string), wbr("word/")) 169 self.assertEquals("word_{0}".format(wbr_string), wbr("word_")) 171 self.assertEquals("word.{0}break".format(wbr_string), wbr("word.break")) 172 self.assertEquals("word/{0}break".format(wbr_string), wbr("word/break")) 173 self.assertEquals("word_{0}break".format(wbr_string), wbr("word_break")) 176 self.assertEquals("word_{0}break_{0}again".format(wbr_string), 178 self.assertEquals("word_{0}break_{0}again_{0}emphasis".format(wbr_string), 182 self.assertEquals("word_{0}breakIgnored".format(wbr_string), 184 self.assertEquals("wordIgnored".format(wbr_string), [all …]
|
/system/core/liblog/ |
D | README | 11 ALOG(android_priority, tag, format, ...) 13 LOG_PRI(priority, tag, format, ...) 14 LOG_PRI_VA(priority, tag, format, args) 16 ALOGV(format, ...) 17 SLOGV(format, ...) 18 RLOGV(format, ...) 19 ALOGV_IF(cond, format, ...) 20 SLOGV_IF(cond, format, ...) 21 RLOGV_IF(cond, format, ...) 23 ALOGD(format, ...) [all …]
|
D | fake_log_device.c | 280 LogFormat format; in configureInitialState() local 282 format = FORMAT_BRIEF; in configureInitialState() 285 format = FORMAT_BRIEF; in configureInitialState() 287 format = FORMAT_PROCESS; in configureInitialState() 289 format = FORMAT_PROCESS; in configureInitialState() 291 format = FORMAT_PROCESS; in configureInitialState() 293 format = FORMAT_PROCESS; in configureInitialState() 295 format = FORMAT_PROCESS; in configureInitialState() 297 format = FORMAT_PROCESS; in configureInitialState() 299 format = (LogFormat) atoi(fstr); // really?! in configureInitialState() [all …]
|
D | logprint.c | 51 AndroidLogPrintFormat format; member 202 p_ret->format = FORMAT_BRIEF; in android_log_format_new() 242 AndroidLogPrintFormat format) in android_log_setPrintFormat() argument 244 switch (format) { in android_log_setPrintFormat() 272 p_format->format = format; in android_log_setPrintFormat() 285 static AndroidLogPrintFormat format; in android_log_formatFromString() local 287 if (strcmp(formatString, "brief") == 0) format = FORMAT_BRIEF; in android_log_formatFromString() 288 else if (strcmp(formatString, "process") == 0) format = FORMAT_PROCESS; in android_log_formatFromString() 289 else if (strcmp(formatString, "tag") == 0) format = FORMAT_TAG; in android_log_formatFromString() 290 else if (strcmp(formatString, "thread") == 0) format = FORMAT_THREAD; in android_log_formatFromString() [all …]
|
/system/extras/libfec/ |
D | fec_private.h | 147 #define __log(func, type, format, args...) \ argument 148 fprintf(stderr, "fec: <%d> " type ": %s: " format "\n", \ 153 #define __log(func, type, format, args...) \ argument 154 KLOG_##func("fec", "<%d> " type ": %s: " format "\n", \ 159 #define debug(format, args...) argument 161 #define debug(format, args...) __log(DEBUG, "debug", format, ##args) argument 164 #define warn(format, args...) __log(WARNING, "warning", format, ##args) argument 165 #define error(format, args...) __log(ERROR, "error", format, ##args) argument
|
/system/core/include/android/ |
D | log.h | 103 __attribute__ ((format(gnu_printf, 3, 4))) 105 __attribute__ ((format(printf, 3, 4))) 108 __attribute__ ((format(printf, 3, 4))) 130 __attribute__ ((format(gnu_printf, 3, 4))) 132 __attribute__ ((format(printf, 3, 4))) 135 __attribute__ ((format(printf, 3, 4)))
|
/system/media/audio_utils/ |
D | tinysndfile.c | 79 handle->info.format = SF_FORMAT_WAV; in sf_open_read() 152 unsigned format = little2u(&fmt[0]); in sf_open_read() local 154 switch (format) { in sf_open_read() 164 fprintf(stderr, "unsupported format %u\n", format); in sf_open_read() 214 handle->info.format |= SF_FORMAT_PCM_U8; in sf_open_read() 217 handle->info.format |= SF_FORMAT_PCM_16; in sf_open_read() 220 handle->info.format |= SF_FORMAT_PCM_24; in sf_open_read() 223 if (format == WAVE_FORMAT_IEEE_FLOAT) in sf_open_read() 224 handle->info.format |= SF_FORMAT_FLOAT; in sf_open_read() 226 handle->info.format |= SF_FORMAT_PCM_32; in sf_open_read() [all …]
|
D | conversion.cpp | 26 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames, bool limit) { in mono_blend() argument 30 switch (format) { in mono_blend() 65 ALOGE("mono_blend: invalid format %d", format); in mono_blend()
|
/system/media/alsa_utils/ |
D | alsa_device_proxy.c | 53 if (config->format != PCM_FORMAT_INVALID && profile_is_format_valid(profile, config->format)) { in proxy_prepare() 54 proxy->alsa_config.format = config->format; in proxy_prepare() 57 config->format, profile->default_config.format); in proxy_prepare() 58 proxy->alsa_config.format = profile->default_config.format; in proxy_prepare() 91 if (config->format >= 0 && (size_t)config->format < ARRAY_SIZE(format_byte_size_map)) { in proxy_prepare() 92 proxy->frame_size = format_byte_size_map[config->format] * proxy->alsa_config.channels; in proxy_prepare() 150 return proxy->alsa_config.format; in proxy_get_format()
|
/system/core/base/ |
D | stringprintf.cpp | 26 void StringAppendV(std::string* dst, const char* format, va_list ap) { in StringAppendV() argument 35 int result = vsnprintf(space, sizeof(space), format, backup_ap); in StringAppendV() 58 result = vsnprintf(buf, length, format, backup_ap); in StringAppendV() 77 void StringAppendF(std::string* dst, const char* format, ...) { in StringAppendF() argument 79 va_start(ap, format); in StringAppendF() 80 StringAppendV(dst, format, ap); in StringAppendF()
|
/system/core/libbacktrace/ |
D | BacktraceLog.h | 25 #define BACK_LOGW(format, ...) \ argument 26 ALOGW("%s: " format, __PRETTY_FUNCTION__, ##__VA_ARGS__) 28 #define BACK_LOGE(format, ...) \ argument 29 ALOGE("%s: " format, __PRETTY_FUNCTION__, ##__VA_ARGS__)
|
/system/tools/aidl/ |
D | code_writer.cpp | 37 bool Write(const char* format, ...) override { in Write() argument 39 va_start(ap, format); in Write() 40 android::base::StringAppendV(output_, format, ap); in Write() 62 bool Write(const char* format, ...) override { in Write() argument 65 va_start(ap, format); in Write() 66 success = vfprintf(output_, format, ap) >= 0; in Write()
|
/system/bt/embdrv/sbc/decoder/include/ |
D | oi_utils.h | 209 void OI_Printf(const OI_CHAR *format, ...); 219 void OI_VPrintf(const OI_CHAR *format, va_list argp); 236 const OI_CHAR* format, ...); 254 const OI_CHAR *format, va_list argp);
|
/system/media/audio/include/system/ |
D | audio.h | 830 audio_format_t format; // audio format member 849 format: AUDIO_FORMAT_DEFAULT, 864 audio_format_t format; member 873 format: AUDIO_FORMAT_DEFAULT, 879 format: AUDIO_FORMAT_DEFAULT, 892 audio_format_t format; member 900 format: AUDIO_FORMAT_DEFAULT 1038 audio_format_t format; /* format if applicable */ member 1416 static inline bool audio_is_valid_format(audio_format_t format) in audio_is_valid_format() argument 1418 switch (format & AUDIO_FORMAT_MAIN_MASK) { in audio_is_valid_format() [all …]
|
/system/media/audio_utils/spdif/ |
D | SPDIFEncoder.cpp | 36 SPDIFEncoder::SPDIFEncoder(audio_format_t format) in SPDIFEncoder() argument 48 switch(format) { in SPDIFEncoder() 63 "SPDIFEncoder: invalid audio format = 0x%08X", format); in SPDIFEncoder() 86 bool SPDIFEncoder::isFormatSupported(audio_format_t format) in isFormatSupported() argument 88 switch(format) { in isFormatSupported()
|
/system/core/libpixelflinger/codeflinger/ |
D | texturing.cpp | 145 const int h = parts.iterated.format.c[i].h; in init_iterated_color() 146 const int l = parts.iterated.format.c[i].l; in init_iterated_color() 277 tmu.format = c->formats[tmu.format_idx]; in decodeTMUNeeds() 278 tmu.bits = tmu.format.size*8; in decodeTMUNeeds() 284 && tmu.format.size!=3; // XXX: only 8, 16 and 32 modes for now in decodeTMUNeeds() 295 if (tmu.format.c[0].h) tmu.mask |= 0x1; in decodeTMUNeeds() 296 if (tmu.format.c[1].h) tmu.mask |= 0x2; in decodeTMUNeeds() 297 if (tmu.format.c[2].h) tmu.mask |= 0x4; in decodeTMUNeeds() 298 if (tmu.format.c[3].h) tmu.mask |= 0x8; in decodeTMUNeeds() 302 if (!tmu.format.c[GGLFormat::ALPHA].h) { in decodeTMUNeeds() [all …]
|
/system/core/include/sysutils/ |
D | NetlinkListener.h | 38 NetlinkListener(int socket, int format); 40 NetlinkListener(int socket, int format = NETLINK_FORMAT_ASCII);
|
/system/extras/tests/workloads/ |
D | pwrsummary.sh | 33 (-o) format=$2; shift;; 64 if [ "$format" = csv ]; then 157 if [ "$format" = csv ]; then 195 if [ "$format" = csv ]; then
|
/system/core/adf/libadf/include/adf/ |
D | adf.h | 155 __u32 format, __u32 *offset, __u32 *pitch); 164 __u32 w, __u32 h, __u32 format, int buf_fd, __u32 offset, 215 bool adf_overlay_engine_supports_format(int fd, __u32 format); 232 void adf_format_str(__u32 format, char buf[ADF_FORMAT_STR_SIZE]);
|
/system/core/libutils/ |
D | Printer.cpp | 41 void Printer::printFormatLine(const char* format, ...) { in printFormatLine() argument 43 va_start(arglist, format); in printFormatLine() 48 if (vasprintf(&formattedString, format, arglist) < 0) { // returns -1 on error in printFormatLine()
|
/system/core/libpixelflinger/ |
D | clear.cpp | 53 const uint32_t size = c->formats[s.format].size; in memset2d() 108 if (c->state.buffers.color.format == 0) in ggl_clear() 111 if (c->state.buffers.depth.format == 0) in ggl_clear() 114 if (c->state.buffers.stencil.format == 0) in ggl_clear() 122 c->state.buffers.color.format, in ggl_clear()
|
/system/core/adf/libadf/ |
D | adf.c | 405 __u32 format, __u32 *offset, __u32 *pitch) in adf_interface_simple_buffer_alloc() argument 413 data.format = format; in adf_interface_simple_buffer_alloc() 425 __u32 w, __u32 h, __u32 format, int buf_fd, __u32 offset, in adf_interface_simple_post() argument 435 data.buf.format = format; in adf_interface_simple_post() 626 bool adf_overlay_engine_supports_format(int fd, __u32 format) in adf_overlay_engine_supports_format() argument 637 if (data.supported_formats[i] == format) { in adf_overlay_engine_supports_format() 702 void adf_format_str(__u32 format, char buf[ADF_FORMAT_STR_SIZE]) in adf_format_str() argument 704 buf[0] = format & 0xFF; in adf_format_str() 705 buf[1] = (format >> 8) & 0xFF; in adf_format_str() 706 buf[2] = (format >> 16) & 0xFF; in adf_format_str() [all …]
|
/system/core/libsysutils/src/ |
D | NetlinkListener.cpp | 40 NetlinkListener::NetlinkListener(int socket, int format) : in NetlinkListener() argument 41 SocketListener(socket, false), mFormat(format) { in NetlinkListener()
|
/system/core/include/system/ |
D | window.h | 113 int format; member 735 int w, int h, int format) __deprecated; 739 int w, int h, int format) in native_window_set_buffers_geometry() argument 742 w, h, format); in native_window_set_buffers_geometry() 799 int format) in native_window_set_buffers_format() argument 801 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_FORMAT, format); in native_window_set_buffers_format()
|
/system/netd/server/ |
D | NetlinkHandler.h | 28 NetlinkHandler(NetlinkManager *nm, int listenerSocket, int format); 37 void notify(int code, const char *format, ...);
|