Searched defs:format (Results 1 - 25 of 72) sorted by relevance

123

/system/chre/util/nanoapp/
H A Daudio.cc21 const char *getChreAudioFormatString(uint8_t format) { argument
22 switch (format) {
/system/keymaster/km_openssl/
H A Dasymmetric_key.cpp35 keymaster_error_t AsymmetricKey::formatted_key_material(keymaster_key_format_t format, argument
38 if (format != KM_KEY_FORMAT_X509)
/system/core/adf/libadfhwc/include/adfhwc/
H A Dadfhwc.h46 * Converts HAL pixel formats to equivalent ADF/DRM format FourCCs.
48 static inline uint32_t adf_fourcc_for_hal_pixel_format(int format) argument
50 switch (format) {
/system/core/libsysutils/src/
H A DNetlinkListener.cpp42 NetlinkListener::NetlinkListener(int socket, int format) : argument
43 SocketListener(socket, false), mFormat(format) {
/system/core/libunwindstack/
H A DLog.cpp39 void log(uint8_t indent, const char* format, ...) { argument
42 real_format = android::base::StringPrintf("%*s%s", 2 * indent, " ", format);
44 real_format = format;
47 va_start(args, format);
/system/core/base/
H A Dstringprintf.cpp26 void StringAppendV(std::string* dst, const char* format, va_list ap) { argument
35 int result = vsnprintf(space, sizeof(space), format, backup_ap);
58 result = vsnprintf(buf, length, format, backup_ap);
77 void StringAppendF(std::string* dst, const char* format, ...) { argument
79 va_start(ap, format);
80 StringAppendV(dst, format, ap);
/system/libvintf/include/vintf/
H A DMatrixHal.h41 HalFormat format = HalFormat::HIDL; member in struct:android::vintf::MatrixHal
H A DManifestHal.h45 : format(fmt),
53 HalFormat format = HalFormat::HIDL; member in struct:android::vintf::ManifestHal
H A DXmlFile.h42 inline XmlSchemaFormat format() const { return mFormat; } function in struct:android::vintf::MatrixXmlFile
/system/media/audio_utils/
H A Dmono_blend.cpp26 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames, bool limit) { argument
30 switch (format) {
65 ALOGE("mono_blend: invalid format %d", format);
H A Dpower.cpp34 constexpr inline bool isFormatSupported(audio_format_t format) { argument
35 switch (format) {
82 static_assert(isFormatSupported(FORMAT), "unsupported format");
110 static_assert(isFormatSupported(FORMAT), "unsupported format");
242 float audio_utils_compute_energy_mono(const void *buffer, audio_format_t format, size_t samples) argument
244 switch (format) {
264 LOG_ALWAYS_FATAL("invalid format: %#x", format);
268 float audio_utils_compute_power_mono(const void *buffer, audio_format_t format, size_t samples) argument
271 audio_utils_compute_energy_mono(buffer, format, sample
274 audio_utils_is_compute_power_format_supported(audio_format_t format) argument
[all...]
/system/media/audio_utils/tests/
H A Dformat_tests.cpp21 #include <audio_utils/format.h>
24 /** returns true if the format is a common source or destination format.
25 memcpy_by_audio_format() allows interchange between any PCM format and the
27 static bool is_common_format(audio_format_t format) { argument
28 return format == AUDIO_FORMAT_PCM_16_BIT || format == AUDIO_FORMAT_PCM_FLOAT;
36 // Create PCM 16 bit data based on PCM 8 bit format because PCM 8 bit is convertible
65 // either source or destination (or both) need to be a common format
/system/core/liblog/
H A Dlog_time.cpp31 LIBLOG_ABI_PRIVATE char* log_time::strptime(const char* s, const char* format) { argument
50 char fmt[strlen(format) + 1];
51 strcpy(fmt, format);
H A Dstderr_write.c100 AndroidLogPrintFormat format = android_log_formatFromString(arg); local
102 if (format == FORMAT_OFF) {
105 if (android_log_setPrintFormat(ctx->logformat, format) <= 0) {
113 AndroidLogPrintFormat format = android_log_formatFromString("threadtime"); local
114 android_log_setPrintFormat(ctx->logformat, format);
/system/keymaster/legacy_support/
H A Dkeymaster_passthrough_key.cpp54 KeymasterPassthroughKey::formatted_key_material(keymaster_key_format_t format, argument
74 keymaster_error_t error = engine_->ExportKey(format, key_material(), client_id, app_data,
/system/media/audio_utils/include/audio_utils/
H A Dsndfile.h40 int format; member in struct:__anon2047
H A DSimpleLog.h61 * \param format the format string, similar to printf().
66 [[gnu::format(printf, 2 /* string-index */, 3 /* first-to-check */)]]
67 void log(const char *format, ...) argument
70 va_start(args, format);
72 logv(-1 /* nowNs */, format, args);
82 * \param format the format string, similar to printf().
87 [[gnu::format(printf, 3 /* string-index */, 4 /* first-to-check */)]]
88 void log(int64_t nowNs, const char *format, argument
105 logv(int64_t nowNs, const char *format, va_list args) argument
[all...]
/system/core/libutils/
H A DPrinter.cpp39 void Printer::printFormatLine(const char* format, ...) { argument
41 va_start(arglist, format);
46 if (vasprintf(&formattedString, format, arglist) < 0) { // returns -1 on error
47 ALOGE("%s: Failed to format string", __FUNCTION__);
/system/core/logd/
H A DLogWhiteBlackList.cpp39 std::string Prune::format() { function in class:Prune
106 // See README.property for description of filter format
218 std::string PruneList::format() { function in class:PruneList
235 string += android::base::StringPrintf(fmt, (*it).format().c_str());
242 string += android::base::StringPrintf(fmt, (*it).format().c_str());
H A DCommandListener.cpp292 const char* format = NULL; local
301 static const char _format[] = "format=";
303 format = argv[i] + strlen(_format);
315 if (format || name) {
316 cli->sendMsg("can not mix id= with either format= or name=");
324 package_string(mBuf.formatGetEventTag(uid, name, format)).c_str());
/system/libvintf/
H A DManifestInstance.cpp69 HalFormat ManifestInstance::format() const { function in class:android::vintf::ManifestInstance
/system/netd/server/
H A DNetlinkManager.cpp68 int groups, int format, bool configNflog) {
122 NetlinkHandler *handler = new NetlinkHandler(this, *sock, format);
67 setupSocket(int *sock, int netlinkFamily, int groups, int format, bool configNflog) argument
H A Dndc.cpp92 const char *format = needs_quoting ? "%s\"%s\"%s" : "%s%s%s"; local
95 if (asprintf(&tmp_final_cmd, format, final_cmd, argv[i],
/system/chre/chre_api/include/chre_api/chre/
H A Daudio.h50 * Indicates a change in the format and/or rate of audio data provided to a
100 * description of the format of the provided audio data.
146 * The format for data provided to the nanoapp. This will be assigned to one
149 uint8_t format; member in struct:chreAudioSource
255 * The format of this audio data. This enumeration and union of pointers below
260 uint8_t format; member in struct:chreAudioDataEvent
355 * sample rate, format, etc.) may map to one physical audio source. It is
/system/core/healthd/
H A DAnimationParser.cpp45 std::string format = base::StringPrintf(" %s%%n%%c", prefix); local
46 if (sscanf(str, format.c_str(), &start, &c) != 1) {
102 LOGE("Bad animation format: %s\n", line.c_str());
111 LOGE("Bad clock_display format: %s\n", line.c_str());
116 LOGE("Bad percent_display format: %s\n", line.c_str());

Completed in 2654 milliseconds

123