/chre-3.4.0/host/common/include/chre_host/ |
D | log.h | 34 #define CHRE_LOG(level, stream, format, ...) \ argument 36 ALOG(level, LOG_TAG, format, ##__VA_ARGS__); \ 37 fprintf(stream, "%s:%d: " format "\n", __func__, __LINE__, ##__VA_ARGS__); \ 40 #define LOGE(format, ...) CHRE_LOG(LOG_ERROR, stderr, format, ##__VA_ARGS__) argument 41 #define LOGW(format, ...) CHRE_LOG(LOG_WARN, stdout, format, ##__VA_ARGS__) argument 42 #define LOGI(format, ...) CHRE_LOG(LOG_INFO, stdout, format, ##__VA_ARGS__) argument 43 #define LOGD(format, ...) CHRE_LOG(LOG_DEBUG, stdout, format, ##__VA_ARGS__) argument 46 __attribute__((format(printf, 1, 2))) inline void chreLogNull( in chreLogNull() 49 #define LOGV(format, ...) chreLogNull(format, ##__VA_ARGS__) argument 51 #define LOGV(format, ...) CHRE_LOG(LOG_VERBOSE, stdout, format, ##__VA_ARGS__) argument
|
/chre-3.4.0/platform/include/chre/platform/ |
D | log.h | 75 #define LOGE(format, ...) CHRE_LOG_NULL(format, ##__VA_ARGS__) argument 80 #define LOGW(format, ...) CHRE_LOG_NULL(format, ##__VA_ARGS__) argument 85 #define LOGI(format, ...) CHRE_LOG_NULL(format, ##__VA_ARGS__) argument 90 #define LOGD(format, ...) CHRE_LOG_NULL(format, ##__VA_ARGS__) argument 95 #define LOGV(format, ...) CHRE_LOG_NULL(format, ##__VA_ARGS__) argument
|
/chre-3.4.0/chpp/include/chpp/ |
D | log.h | 59 #define CHPP_LOGE(format, ...) CHRE_LOG_NULL(format, ##__VA_ARGS__) argument 64 #define CHPP_LOGW(format, ...) CHRE_LOG_NULL(format, ##__VA_ARGS__) argument 69 #define CHPP_LOGI(format, ...) CHRE_LOG_NULL(format, ##__VA_ARGS__) argument 74 #define CHPP_LOGD(format, ...) CHRE_LOG_NULL(format, ##__VA_ARGS__) argument
|
/chre-3.4.0/chpp/api_parser/ |
D | chre_api_to_chpp.py | 78 out.append("// This file was automatically generated by {}\n".format( 80 out.append("// Date: {} UTC\n".format(datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S'))) 81 out.append("// Source: {} @ commit {}\n\n".format(self.json['filename'], self.commit_hash)) 89 print("---- {} ----".format(output_filename)) 91 print("---- end of {} ----\n".format(output_filename)) 124 raise RuntimeError("Couldn't figure out new type name for {}".format(chre_type)) 137 return " // Input ignored; always set to {}".format(annotation['value']) 139 return " // References {} instances of {}".format( 167 raise RuntimeError("Pointer types require annotation\n{}".format( 177 return "[{}]".format(self._get_array_len(member_info['type'])) [all …]
|
/chre-3.4.0/util/nanoapp/ |
D | audio.cc | 21 const char *getChreAudioFormatString(uint8_t format) { in getChreAudioFormatString() argument 22 switch (format) { in getChreAudioFormatString()
|
/chre-3.4.0/platform/linux/ |
D | platform_audio.cc | 55 if (dataEvent.format == CHRE_AUDIO_DATA_FORMAT_16_BIT_SIGNED_PCM) { in audioSourceCallback() 121 audioSource->format = source->dataEvent.format; in getAudioSource() 142 } else if ((audioInfo.format & SF_FORMAT_ULAW) == SF_FORMAT_ULAW) { in addAudioSource() 143 source->dataEvent.format = CHRE_AUDIO_DATA_FORMAT_8_BIT_U_LAW; in addAudioSource() 146 } else if ((audioInfo.format & SF_FORMAT_PCM_16) == SF_FORMAT_PCM_16) { in addAudioSource() 147 source->dataEvent.format = CHRE_AUDIO_DATA_FORMAT_16_BIT_SIGNED_PCM; in addAudioSource() 151 FATAL_ERROR("Invalid format 0x%08x", audioInfo.format); in addAudioSource()
|
/chre-3.4.0/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/ |
D | SensorDatapoint.java | 35 String str = String.format("<SensorDatapoint timestamp: %d, values: [ ", timestamp); in toString() 37 str += String.format("%f ", val); in toString()
|
D | ChreCrossValidatorSensor.java | 129 Assert.assertTrue(String.format("Sensor type %d is not recognized", apSensorType), in ChreCrossValidatorSensor() 147 Assume.assumeTrue(String.format("Sensor could not be instantiated for sensor type %d.", in ChreCrossValidatorSensor() 257 setErrorStr(String.format("Incorrect sensor type %d when expecting %d", in parseInfoResponseFromNanoappMessage() 284 String.format(kParseDataErrorPrefix in parseSensorDataFromNanoappMessage() 292 setErrorStr(String.format(kParseDataErrorPrefix in parseSensorDataFromNanoappMessage() 337 setErrorStr(String.format("incorrect sensor type %d when expecting %d", in onSensorChanged() 516 String.format("AP and CHRE three axis datapoint values differ on index %d", index) in assertSensorDatapointsSimilar()
|
D | ChreCrossValidatorBase.java | 132 Log.d(TAG, String.format("Unloaded napp: 0x%X", state.getNanoAppId())); in unloadAllNanoApps()
|
D | ChreCrossValidatorWifi.java | 260 setErrorStr(String.format("Received message with unexpected type: %d", in parseDataFromNanoAppMessage() 294 String.format("Bssid did not match expected format %s bssid = %s", in bssidToBytes()
|
/chre-3.4.0/chre_api/legacy/v1_2/chre/ |
D | audio.h | 149 uint8_t format; member 260 uint8_t format; member
|
/chre-3.4.0/chre_api/legacy/v1_3/chre/ |
D | audio.h | 149 uint8_t format; member 260 uint8_t format; member
|
/chre-3.4.0/chre_api/legacy/v1_4/chre/ |
D | audio.h | 149 uint8_t format; member 260 uint8_t format; member
|
D | toolchain.h | 32 __attribute__((format(printf, formatPos, argStart)))
|
/chre-3.4.0/chre_api/include/chre_api/chre/ |
D | audio.h | 149 uint8_t format; member 260 uint8_t format; member
|
D | toolchain.h | 33 __attribute__((format(printf, formatPos, argStart)))
|
/chre-3.4.0/util/include/chre/util/nanoapp/ |
D | audio.h | 31 const char *getChreAudioFormatString(uint8_t format);
|
/chre-3.4.0/platform/android/ |
D | platform_audio.cc | 52 if (dataEvent.format == CHRE_AUDIO_DATA_FORMAT_16_BIT_SIGNED_PCM) { in audioReadCallback() 168 audioSource->format = mDataEvent.format; in getAudioSource() 180 mDataEvent.format = CHRE_AUDIO_DATA_FORMAT_16_BIT_SIGNED_PCM; in initAudioDataEvent()
|
/chre-3.4.0/platform/shared/ |
D | log_buffer_manager.cc | 22 void chrePlatformLogToBuffer(chreLogLevel chreLogLevel, const char *format, in chrePlatformLogToBuffer() argument 25 va_start(args, format); in chrePlatformLogToBuffer() 27 chre::LogBufferManagerSingleton::get()->logVa(chreLogLevel, format, args); in chrePlatformLogToBuffer()
|
/chre-3.4.0/apps/test/common/chre_audio_concurrency_test/src/ |
D | chre_audio_concurrency_test_manager.cc | 189 if (data->format == CHRE_AUDIO_DATA_FORMAT_8_BIT_U_LAW) { in validateAudioDataEvent() 191 } else if (data->format != CHRE_AUDIO_DATA_FORMAT_16_BIT_SIGNED_PCM) { in validateAudioDataEvent() 192 LOGE("Invalid format %" PRIu8, data->format); in validateAudioDataEvent()
|
/chre-3.4.0/apps/test/chqts/src/general_test/ |
D | basic_audio_test.cc | 120 } else if (source.format != CHRE_AUDIO_DATA_FORMAT_8_BIT_U_LAW && in validateAudioSource() 121 source.format != CHRE_AUDIO_DATA_FORMAT_16_BIT_SIGNED_PCM) { in validateAudioSource() 139 source.format == CHRE_AUDIO_DATA_FORMAT_16_BIT_SIGNED_PCM); in validateMinimumAudioSource()
|
/chre-3.4.0/apps/audio_stress_test/ |
D | audio_stress_test.cc | 110 source.sampleRate, chre::getChreAudioFormatString(source.format)); in discoverAudioHandle() 117 source.format == kBufferFormat) { in discoverAudioHandle()
|
/chre-3.4.0/external/ |
D | .clang-format | 17 # External libraries shouldn't be formatted so they retain the format they were
|
/chre-3.4.0/chre_api/ |
D | .clang-format | 17 # Legacy headers shouldn't be formatted so they retain the format they were
|
/chre-3.4.0/platform/slpi/include/chre/target_platform/ |
D | log.h | 42 void chrePlatformLogToBuffer(enum chreLogLevel chreLogLevel, const char *format,
|