Home
last modified time | relevance | path

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

12345678910>>...13

/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec_utils.h62 #define OMX_SWVDEC_LOG_LOW(string, ...) \ argument
65 ALOGD("--- %s(): " string, __FUNCTION__, ##__VA_ARGS__); \
69 #define OMX_SWVDEC_LOG_HIGH(string, ...) \ argument
72 ALOGI("--- %s(): " string, __FUNCTION__, ##__VA_ARGS__); \
76 #define OMX_SWVDEC_LOG_ERROR(string, ...) \ argument
79 ALOGE("!!! %s(): " string, __FUNCTION__, ##__VA_ARGS__); \
83 #define OMX_SWVDEC_LOG_API(string, ...) \ argument
86 ALOGI(">>> %s(): " string, __FUNCTION__, ##__VA_ARGS__); \
90 #define OMX_SWVDEC_LOG_CALLBACK(string, ...) \ argument
93 ALOGI("<<< %s(): " string, __FUNCTION__, ##__VA_ARGS__); \
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Domx_swvdec_utils.h61 #define OMX_SWVDEC_LOG_LOW(string, ...) \ argument
64 ALOGD("--- %s(): " string, __FUNCTION__, ##__VA_ARGS__); \
68 #define OMX_SWVDEC_LOG_HIGH(string, ...) \ argument
71 ALOGI("--- %s(): " string, __FUNCTION__, ##__VA_ARGS__); \
75 #define OMX_SWVDEC_LOG_ERROR(string, ...) \ argument
78 ALOGE("!!! %s(): " string, __FUNCTION__, ##__VA_ARGS__); \
82 #define OMX_SWVDEC_LOG_API(string, ...) \ argument
85 ALOGI(">>> %s(): " string, __FUNCTION__, ##__VA_ARGS__); \
89 #define OMX_SWVDEC_LOG_CALLBACK(string, ...) \ argument
92 ALOGI("<<< %s(): " string, __FUNCTION__, ##__VA_ARGS__); \
/hardware/interfaces/drm/1.0/vts/functional/
Dvendor_modules.h33 explicit VendorModules(const std::string& dir) { in VendorModules()
43 DrmHalVTSVendorModule* getModule(const std::string& path);
48 std::vector<std::string> getPathList() const {return mPathList;} in getPathList()
51 std::vector<std::string> mPathList;
52 std::map<std::string, std::unique_ptr<SharedLibrary>> mOpenLibraries;
57 void scanModules(const std::string& dir);
59 inline bool endsWith(const std::string& str, const std::string& suffix) const { in endsWith()
Ddrm_hal_vendor_module_api.h90 virtual std::string getServiceName() const = 0;
131 const std::string& url) = 0;
143 const std::string name;
150 const std::string serverUrl;
161 const std::string mimeType;
166 const std::map<std::string, std::string> optionalParameters;
231 const std::string& serverUrl) = 0;
Dvendor_modules.cpp27 using std::string;
32 void VendorModules::scanModules(const std::string &directory) { in scanModules()
40 string fullpath = directory + "/" + entry->d_name; in scanModules()
49 DrmHalVTSVendorModule* VendorModules::getModule(const string& path) { in getModule()
/hardware/interfaces/tests/foo/1.0/default/lib/include/hidl-test/
DFooHelper.h20 std::string to_string(const IFoo::StringMatrix5x3 &M);
21 std::string to_string(const IFoo::StringMatrix3x5 &M);
23 std::string to_string(const hidl_string &s);
26 std::string to_string(const T *elems, size_t n) { in to_string()
27 std::string out; in to_string()
41 std::string to_string(const hidl_array<T, SIZE> &array) { in to_string()
46 std::string to_string(const hidl_array<T, SIZE1, SIZE2> &array) { in to_string()
47 std::string out; in to_string()
70 std::string to_string(const hidl_vec<T> &vec) { in to_string()
74 std::string QuuxToString(const IFoo::Quux &val);
[all …]
/hardware/interfaces/tests/foo/1.0/default/lib/
DFooHelper.cpp5 std::string to_string(const IFoo::StringMatrix5x3 &M) { in to_string()
9 std::string to_string(const IFoo::StringMatrix3x5 &M) { in to_string()
13 std::string to_string(const hidl_string &s) { in to_string()
14 return std::string("'") + s.c_str() + "'"; in to_string()
17 std::string QuuxToString(const IFoo::Quux &val) { in QuuxToString()
18 std::string s; in QuuxToString()
29 std::string MultiDimensionalToString(const IFoo::MultiDimensional &val) { in MultiDimensionalToString()
30 std::string s; in MultiDimensionalToString()
/hardware/interfaces/tests/baz/1.0/
DIBaz.hal57 string first;
58 string last;
63 string s;
64 vec<string> vs;
65 string[2][2] multidimArray;
66 string[3] sArray;
77 doStuffAndReturnAString() generates (string something);
87 haveSomeStrings(string[3] array) generates (string[2] result);
88 haveAStringVec(vec<string> vector) generates (vec<string> result);
90 returnABunchOfStrings() generates (string a, string b, string c);
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp42 using ::std::string;
47 string service_name = "default";
226 string hex2str(string a) { in hex2str()
227 string b; in hex2str()
236 string rsa_key = hex2str(
260 string ec_256_key = hex2str(
267 string ec_521_key = hex2str(
344 std::string make_string(const uint8_t* data, size_t length) { in make_string()
345 return std::string(reinterpret_cast<const char*>(data), length); in make_string()
348 template <size_t N> std::string make_string(const uint8_t (&a)[N]) { in make_string()
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/
DConnectionDetector.h55 std::string mDevice;
63 BaseDynamicSensorDaemon *d, const std::string &path, const std::string &regex);
70 bool matches(const std::string &name) const;
74 std::string getFullName(const std::string name) const;
76 std::string mPath;
DHidRawSensor.h74 std::string name;
75 std::string vendor;
76 std::string permission;
77 std::string typeString;
91 std::string uniqueId;
108 const std::vector<uint8_t> &buffer, std::string *d);
126 bool detectAndroidCustomSensor(const std::string &description);
136 std::string dump() const;
DBaseDynamicSensorDaemon.h38 virtual bool onConnectionChange(const std::string &deviceKey, bool connected);
40 virtual BaseSensorVector createSensor(const std::string &deviceKey) = 0;
41 virtual void removeSensor(const std::string &/*deviceKey*/) {}; in removeSensor() argument
44 std::unordered_map<std::string, BaseSensorVector> mDeviceKeySensorMap;
DHidRawSensorDaemon.cpp41 this, std::string(DEV_PATH), std::string(DEV_NAME_REGEX)); in HidRawSensorDaemon()
44 BaseSensorVector HidRawSensorDaemon::createSensor(const std::string &deviceKey) { in createSensor()
65 void HidRawSensorDaemon::removeSensor(const std::string &deviceKey) { in removeSensor()
/hardware/libhardware/modules/input/evdev/
DInputHub.h60 virtual const std::string& getPath() const = 0;
63 virtual const std::string& getName() const = 0;
65 virtual const std::string& getLocation() const = 0;
67 virtual const std::string& getUniqueId() const = 0;
135 virtual status_t registerDevicePath(const std::string& path) = 0;
136 virtual status_t unregisterDevicePath(const std::string& path) = 0;
161 virtual status_t registerDevicePath(const std::string& path) override;
162 virtual status_t unregisterDevicePath(const std::string& path) override;
171 status_t scanDir(const std::string& path);
172 std::shared_ptr<InputDeviceNode> openNode(const std::string& path);
[all …]
/hardware/interfaces/tests/foo/1.0/
DIFoo.hal52 string name;
53 string address;
65 string first;
66 string last;
75 typedef string[3] ThreeStrings;
76 typedef string[5] FiveStrings;
117 string s;
118 vec<string> vs;
119 string[2][2] multidimArray;
120 string[3] sArray;
[all …]
/hardware/libhardware/tests/input/evdev/
DInputMocks.h35 virtual const std::string& getPath() const override { return mPath; } in getPath()
36 virtual const std::string& getName() const override { return mName; } in getName()
37 virtual const std::string& getLocation() const override { return mLocation; } in getLocation()
38 virtual const std::string& getUniqueId() const override { return mUniqueId; } in getUniqueId()
40 void setPath(const std::string& path) { mPath = path; } in setPath()
41 void setName(const std::string& name) { mName = name; } in setName()
42 void setLocation(const std::string& location) { mLocation = location; } in setLocation()
43 void setUniqueId(const std::string& uniqueId) { mUniqueId = uniqueId; } in setUniqueId()
104 std::string mPath = "/test";
105 std::string mName = "Test Device";
[all …]
/hardware/interfaces/health/1.0/default/
Dconvert.cpp29 config.batteryStatusPath = hc->batteryStatusPath.string(); in convertToHealthConfig()
30 config.batteryHealthPath = hc->batteryHealthPath.string(); in convertToHealthConfig()
31 config.batteryPresentPath = hc->batteryPresentPath.string(); in convertToHealthConfig()
32 config.batteryCapacityPath = hc->batteryCapacityPath.string(); in convertToHealthConfig()
33 config.batteryVoltagePath = hc->batteryVoltagePath.string(); in convertToHealthConfig()
34 config.batteryTemperaturePath = hc->batteryTemperaturePath.string(); in convertToHealthConfig()
35 config.batteryTechnologyPath = hc->batteryTechnologyPath.string(); in convertToHealthConfig()
36 config.batteryCurrentNowPath = hc->batteryCurrentNowPath.string(); in convertToHealthConfig()
37 config.batteryCurrentAvgPath = hc->batteryCurrentAvgPath.string(); in convertToHealthConfig()
38 config.batteryChargeCounterPath = hc->batteryChargeCounterPath.string(); in convertToHealthConfig()
[all …]
/hardware/interfaces/usb/1.0/default/
DUsb.cpp41 int32_t readFile(std::string filename, std::string& contents) { in readFile()
52 std::string appendRoleNodeHelper(const std::string portName, PortRoleType type) { in appendRoleNodeHelper()
53 std::string node("/sys/class/dual_role_usb/" + portName); in appendRoleNodeHelper()
65 std::string convertRoletoString(PortRole role) { in convertRoletoString()
87 std::string filename = appendRoleNodeHelper(std::string(portName.c_str()), in switchRole()
90 std::string written; in switchRole()
118 Status getCurrentRoleHelper(std::string portName, in getCurrentRoleHelper()
120 std::string filename; in getCurrentRoleHelper()
121 std::string roleName; in getCurrentRoleHelper()
163 Status getTypeCPortNamesHelper(std::vector<std::string>& names) { in getTypeCPortNamesHelper()
[all …]
/hardware/interfaces/gnss/1.0/default/
DGnssConfiguration.cpp39 std::string config = "SUPL_ES=" + std::to_string(enabled ? 1 : 0) + "\n"; in setSuplEs()
50 std::string config = "SUPL_VER=" + std::to_string(version) + "\n"; in setSuplVersion()
62 std::string config = "SUPL_MODE=" + std::to_string(mode) + "\n"; in setSuplMode()
73 std::string config = "LPP_PROFILE=" + std::to_string(lppProfile) + "\n"; in setLppProfile()
84 std::string config = "A_GLONASS_POS_PROTOCOL_SELECT=" + in setGlonassPositioningProtocol()
96 std::string config = "GPS_LOCK=" + std::to_string(lock) + "\n"; in setGpsLock()
107 std::string config = "USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=" + std::to_string(enabled ? 1 : 0) in setEmergencySuplPdn()
/hardware/interfaces/camera/provider/2.4/default/
DCameraProvider.h79 std::map<std::string, camera_device_status_t> mCameraStatusMap; // camera id -> status
80 std::map<std::string, bool> mOpenLegacySupported; // camera id -> open_legacy HAL1.0 supported
81 SortedVector<std::string> mCameraIds; // the "0"/"1" legacy camera Ids
83 SortedVector<std::pair<std::string, std::string>> mCameraDeviceNames;
95 static std::string getLegacyCameraId(const hidl_string& deviceName);
99 static std::string getHidlDeviceName(std::string cameraId, int deviceVersion);
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidLocal.cpp42 if (string.empty()) { in getString()
45 return (index >= string.size()) ? string.back() : string[index]; in getString()
83 string.push_back(unsignedInteger); in append()
98 string.push_back(j); in append()
DHidReport.h68 static std::string reportTypeToString(int type);
69 std::string getStringType() const;
70 std::string getExponentString() const;
71 std::string getUnitString() const;
72 std::string getFlagString() const;
/hardware/interfaces/camera/device/3.2/default/
DCameraDevice_3_2.h61 const std::string& cameraId,
62 const SortedVector<std::pair<std::string, std::string>>& cameraDeviceNames);
85 const std::string mCameraId;
94 const SortedVector<std::pair<std::string, std::string>>& mCameraDeviceNames;
/hardware/interfaces/radio/1.0/vts/functional/
Dradio_hidl_hal_ims.cpp61 std::string facility = ""; in TEST_F()
62 std::string password = ""; in TEST_F()
64 std::string appId = ""; in TEST_F()
84 std::string facility = ""; in TEST_F()
86 std::string password = ""; in TEST_F()
88 std::string appId = ""; in TEST_F()
108 std::string facility = ""; in TEST_F()
109 std::string oldPassword = ""; in TEST_F()
110 std::string newPassword = ""; in TEST_F()
167 std::string challenge = ""; in TEST_F()
/hardware/interfaces/health/1.0/
Dtypes.hal93 string batteryStatusPath;
100 string batteryHealthPath;
106 string batteryPresentPath;
113 string batteryCapacityPath;
119 string batteryVoltagePath;
125 string batteryTemperaturePath;
131 string batteryTechnologyPath;
137 string batteryCurrentNowPath;
143 string batteryCurrentAvgPath;
149 string batteryChargeCounterPath;
[all …]

12345678910>>...13