Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 55) sorted by relevance

123

/device/google/dragon/crash_collector/
Dcrash_collector.cc47 bool ReadDirectory(const std::string& path, std::vector<dirent>* entries) { in ReadDirectory()
59 bool RemoveRecursively(const std::string& path) { in RemoveRecursively()
88 if (stat(filename.string(), &attributes)) in MakeRoomForNewReport()
105 if (!RemoveRecursively(filename.string())) in MakeRoomForNewReport()
114 std::string GetSystemProperty(const std::string& key) { in GetSystemProperty()
117 return std::string(buf); in GetSystemProperty()
124 const std::string& pid, in WriteMetadata()
125 const std::string& uid, in WriteMetadata()
126 const std::string& gid, in WriteMetadata()
127 const std::string& signal, in WriteMetadata()
[all …]
Dcoredump_writer.h35 const std::string& coredump_filename,
36 const std::string& proc_files_dir);
53 std::string path;
78 const std::string& output_path);
84 const std::string& output_path);
87 const std::string coredump_filename_;
88 const std::string proc_files_dir_;
Dcoredump_writer.cc37 int64_t GetFreeDiskSpace(const std::string& path) { in GetFreeDiskSpace()
106 const std::string& coredump_filename, in CoredumpWriter()
107 const std::string& proc_files_dir) in CoredumpWriter()
362 const std::string& output_path) { in WriteAuxv()
388 const std::string& output_path) { in WriteMaps()
404 const std::string path = it != file_mappings.end() ? it->second.path : ""; in WriteMaps()
/device/google/contexthub/util/nanotool/
Dsensorevent.h101 std::string GetSensorName() const;
118 std::string GetSampleTimeStr(uint8_t index) const;
121 std::string ToString() const override;
123 virtual std::string StringForSample(uint8_t index) const = 0;
127 std::string StringForAllSamples() const;
138 virtual std::string StringForSample(uint8_t index) const override;
148 std::string StringForSample(uint8_t index) const override;
153 std::string StringForSample(uint8_t index) const override;
161 std::string StringForSample(uint8_t index) const override;
Dsensorevent.cpp146 std::string TimestampedSensorEvent::GetSampleTimeStr(uint8_t index) const { in GetSampleTimeStr()
153 return std::string(buffer); in GetSampleTimeStr()
169 std::string TimestampedSensorEvent::ToString() const { in ToString()
178 return std::string(buffer) + StringForAllSamples(); in ToString()
193 std::string TimestampedSensorEvent::StringForAllSamples() const { in StringForAllSamples()
194 std::string str; in StringForAllSamples()
203 std::string SingleAxisSensorEvent::StringForSample(uint8_t index) const { in StringForSample()
211 return std::string(buffer); in StringForSample()
220 std::string SingleAxisIntSensorEvent::StringForSample(uint8_t index) const { in StringForSample()
228 return std::string(buffer); in StringForSample()
[all …]
Dnanomessage.cpp42 std::string HardwareVersionInfo::ToString() const { in ToString()
57 return std::string(buffer); in ToString()
62 std::string WriteEventResponse::ToString() const { in ToString()
68 return std::string(buffer); in ToString()
94 std::string ReadEventRequest::ToString() const { in ToString()
100 return std::string(buffer); in ToString()
105 std::string ReadEventResponse::ToString() const { in ToString()
108 return std::string(buffer); in ToString()
205 std::string ConfigureSensorRequest::ToString() const { in ToString()
220 return std::string(buffer); in ToString()
Dnanomessage.h49 virtual std::string ToString() const = 0;
77 std::string ToString() const override;
108 std::string ToString() const override;
122 std::string ToString() const override;
131 virtual std::string ToString() const override;
173 std::string ToString() const override;
Dnanotool.cpp56 std::string filename;
61 static const std::vector<std::tuple<std::string, NanotoolCommand>> cmds = { in StrToCommand()
77 std::string name; in StrToCommand()
202 static bool ParseRate(const std::string& param, SensorSpec& spec) { in ParseRate()
203 static const std::vector<std::tuple<std::string, SensorSpecialRate>> rates = { in ParseRate()
210 std::string name; in ParseRate()
233 std::string param; in ParseSensorArg()
234 std::string pre_cal_ref; in ParseSensorArg()
342 args->filename = std::string(optarg); in ParseArgs()
Dcontexthub.h105 static std::string SensorTypeToAbbrevName(SensorType sensor_type);
107 static SensorType SensorAbbrevNameToType(const std::string& abbrev_name);
108 static std::string ListAllSensorAbbrevNames();
126 bool Flash(const std::string& filename);
Dcontexthub.cpp105 SensorType ContextHub::SensorAbbrevNameToType(const std::string& abbrev_name) { in SensorAbbrevNameToType()
109 std::string ContextHub::SensorTypeToAbbrevName(SensorType sensor_type) { in SensorTypeToAbbrevName()
112 return std::string(sensor_names_[i].name_abbrev); in SensorTypeToAbbrevName()
118 return std::string(sensor_aliases_[i].name_abbrev); in SensorTypeToAbbrevName()
125 return std::string(buffer); in SensorTypeToAbbrevName()
128 std::string ContextHub::ListAllSensorAbbrevNames() { in ListAllSensorAbbrevNames()
129 std::string sensor_list; in ListAllSensorAbbrevNames()
140 bool ContextHub::Flash(const std::string& filename) { in Flash()
Dlog.cpp98 std::string tabs; in DebugBuf()
/device/generic/goldfish/camera/
DEmulatedCameraHotplugThread.cpp231 open(filePath.string(), O_WRONLY | O_CREAT | O_TRUNC, in createFileIfNotExists()
235 __FUNCTION__, filePath.string(), strerror(errno), errno); in createFileIfNotExists()
242 __FUNCTION__, filePath.string(), strerror(errno), errno); in createFileIfNotExists()
289 camPath.string(), in addWatch()
294 __FUNCTION__, camPath.string(), strerror(errno), in addWatch()
341 open(filePath.string(), O_RDONLY, /*mode*/0)); in readFile()
344 __FUNCTION__, filePath.string(), strerror(errno), errno); in readFile()
357 __FUNCTION__, filePath.string(), length, buffer[0]); in readFile()
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/inc/
DQCameraUsbPriv.h66 #define ERROR_CHECK_EXIT_THREAD(rc, string) {\ argument
68 ALOGE("%s: Error %s", __func__, string);\
76 #define ERROR_CHECK_EXIT(rc, string) {\ argument
78 ALOGE("%s: Error %s", __func__, string);\
/device/sample/apps/LeanbackCustomizer/src/com/google/android/leanbacklauncher/partnercustomizer/
DPartnerReceiver.java93 titleId = R.string.ted; in postNotification()
94 backupTitleId = R.string.try_ted; in postNotification()
100 titleId = R.string.play_movies; in postNotification()
101 backupTitleId = R.string.try_play_movies; in postNotification()
/device/google/dragon/audio/hal/
Dcras_expr.c40 value->u.string = copy_str(begin, end); in value_set_string2()
71 value->u.string = strdup(original->u.string); in copy_value()
83 free((char *)value->u.string); in cras_expr_value_free()
84 value->u.string = NULL; in cras_expr_value_free()
219 if (strcmp(prev->u.string, value->u.string) != 0) in function_equal_real()
Dcras_expr.h34 const char *string; member
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/
DQCameraUsbParm.cpp203 camHal->pictSizeValues.string()); in usbCamInitDefaultParameters()
210 camHal->pictFormatValues.string()); in usbCamInitDefaultParameters()
222 camHal->thumbnailSizeValues.string()); in usbCamInitDefaultParameters()
239 camHal->prevFormatValues.string()); in usbCamInitDefaultParameters()
247 camHal->prevSizeValues.string()); in usbCamInitDefaultParameters()
329 strncpy(rc, str.string(), str.length()); in usbCamGetParameters()
/device/asus/fugu/libaudio/
DAudioHotplugThread.cpp207 ALOGD("AudioHotplugThread::getDeviceInfo opening %s", devicePath.string()); in getDeviceInfo()
208 int alsaFD = open(devicePath.string(), O_RDONLY); in getDeviceInfo()
210 ALOGE("AudioHotplugThread::getDeviceInfo open failed for %s", devicePath.string()); in getDeviceInfo()
/device/huawei/angler/dataservices/
Dconfigure.ac40 AC_CHECK_HEADERS([sys/socket.h stdint.h linux/netlink.h string.h stdio.h unistd.h stdlib.h linux/rm…
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Mem.cpp171 write(fd, result.string(), result.size()); in dump()
/device/generic/goldfish/opengl/system/renderControl_enc/
DREADME17 This function queries the host for EGL string (.i.e EGL_EXTENSIONS).
19 is the negative number of bytes required to store the string value
20 otherwise the string value is copied to buffer and its size is
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraParameters.cpp3958 set(KEY_SUPPORTED_PREVIEW_SIZES, previewSizeValues.string()); in initDefaultParameters()
3959 CDBG_HIGH("%s: supported preview sizes: %s", __func__, previewSizeValues.string()); in initDefaultParameters()
3972 set(KEY_SUPPORTED_VIDEO_SIZES, videoSizeValues.string()); in initDefaultParameters()
3973 CDBG_HIGH("%s: supported video sizes: %s", __func__, videoSizeValues.string()); in initDefaultParameters()
3980 set(KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO, vSize.string()); in initDefaultParameters()
3990 set(KEY_SUPPORTED_PICTURE_SIZES, pictureSizeValues.string()); in initDefaultParameters()
3991 CDBG_HIGH("%s: supported pic sizes: %s", __func__, pictureSizeValues.string()); in initDefaultParameters()
4012 set(KEY_SUPPORTED_PICTURE_SIZES, pictureSizeValues.string()); in initDefaultParameters()
4013 CDBG_HIGH("%s: scaled supported pic sizes: %s", __func__, pictureSizeValues.string()); in initDefaultParameters()
4026 set(KEY_SUPPORTED_JPEG_THUMBNAIL_SIZES, thumbnailSizeValues.string()); in initDefaultParameters()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraParameters.cpp4642 set(KEY_SUPPORTED_PREVIEW_SIZES, previewSizeValues.string()); in initDefaultParameters()
4643 CDBG_HIGH("%s: supported preview sizes: %s", __func__, previewSizeValues.string()); in initDefaultParameters()
4656 set(KEY_SUPPORTED_VIDEO_SIZES, videoSizeValues.string()); in initDefaultParameters()
4657 CDBG_HIGH("%s: supported video sizes: %s", __func__, videoSizeValues.string()); in initDefaultParameters()
4664 set(KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO, vSize.string()); in initDefaultParameters()
4674 set(KEY_SUPPORTED_PICTURE_SIZES, pictureSizeValues.string()); in initDefaultParameters()
4675 CDBG_HIGH("%s: supported pic sizes: %s", __func__, pictureSizeValues.string()); in initDefaultParameters()
4696 set(KEY_SUPPORTED_PICTURE_SIZES, pictureSizeValues.string()); in initDefaultParameters()
4697 CDBG_HIGH("%s: scaled supported pic sizes: %s", __func__, pictureSizeValues.string()); in initDefaultParameters()
4710 set(KEY_SUPPORTED_JPEG_THUMBNAIL_SIZES, thumbnailSizeValues.string()); in initDefaultParameters()
[all …]
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraParameters.cpp4642 set(KEY_SUPPORTED_PREVIEW_SIZES, previewSizeValues.string()); in initDefaultParameters()
4643 CDBG_HIGH("%s: supported preview sizes: %s", __func__, previewSizeValues.string()); in initDefaultParameters()
4656 set(KEY_SUPPORTED_VIDEO_SIZES, videoSizeValues.string()); in initDefaultParameters()
4657 CDBG_HIGH("%s: supported video sizes: %s", __func__, videoSizeValues.string()); in initDefaultParameters()
4664 set(KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO, vSize.string()); in initDefaultParameters()
4674 set(KEY_SUPPORTED_PICTURE_SIZES, pictureSizeValues.string()); in initDefaultParameters()
4675 CDBG_HIGH("%s: supported pic sizes: %s", __func__, pictureSizeValues.string()); in initDefaultParameters()
4696 set(KEY_SUPPORTED_PICTURE_SIZES, pictureSizeValues.string()); in initDefaultParameters()
4697 CDBG_HIGH("%s: scaled supported pic sizes: %s", __func__, pictureSizeValues.string()); in initDefaultParameters()
4710 set(KEY_SUPPORTED_JPEG_THUMBNAIL_SIZES, thumbnailSizeValues.string()); in initDefaultParameters()
[all …]
/device/sample/sdk_addon/
Dmanifest.ini5 # Add-ons are uniquely identified by a string composed of name, vendor and api.

123