Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 849) sorted by relevance

12345678910>>...34

/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dcam_semaphore.h53 static inline void cam_sem_init(cam_semaphore_t *s, int n) in cam_sem_init() argument
55 pthread_mutex_init(&(s->mutex), NULL); in cam_sem_init()
56 PTHREAD_COND_INIT(&(s->cond)); in cam_sem_init()
57 s->val = n; in cam_sem_init()
60 static inline void cam_sem_post(cam_semaphore_t *s) in cam_sem_post() argument
62 pthread_mutex_lock(&(s->mutex)); in cam_sem_post()
63 s->val++; in cam_sem_post()
64 pthread_cond_signal(&(s->cond)); in cam_sem_post()
65 pthread_mutex_unlock(&(s->mutex)); in cam_sem_post()
68 static inline int cam_sem_wait(cam_semaphore_t *s) in cam_sem_wait() argument
[all …]
/hardware/interfaces/tests/foo/1.0/default/lib/
DFooHelper.cpp6 return to_string(M.s); in to_string()
10 return to_string(M.s); in to_string()
13 std::string to_string(const hidl_string &s) { in to_string() argument
14 return std::string("'") + s.c_str() + "'"; in to_string()
18 std::string s; in QuuxToString() local
20 s = "Quux(first='"; in QuuxToString()
21 s += val.first.c_str(); in QuuxToString()
22 s += "', last='"; in QuuxToString()
23 s += val.last.c_str(); in QuuxToString()
24 s += "')"; in QuuxToString()
[all …]
/hardware/qcom/display/msm8960/liboverlay/
DmdpWrapper.h83 void dump(const char* const s, const msmfb_overlay_data& ov);
84 void dump(const char* const s, const msmfb_data& ov);
85 void dump(const char* const s, const mdp_overlay& ov);
86 void dump(const char* const s, const msmfb_overlay_3d& ov);
87 void dump(const char* const s, const uint32_t u[], uint32_t cnt);
88 void dump(const char* const s, const msmfb_img& ov);
89 void dump(const char* const s, const mdp_rect& ov);
92 void dump(const char* const s, const msm_rotator_img_info& rot);
93 void dump(const char* const s, const msm_rotator_data_info& rot);
96 void dump(const char* const s, const fb_fix_screeninfo& finfo);
[all …]
/hardware/qcom/display/msm8226/liboverlay/
DmdpWrapper.h103 void dump(const char* const s, const msmfb_overlay_data& ov);
104 void dump(const char* const s, const msmfb_data& ov);
105 void dump(const char* const s, const mdp_overlay& ov);
106 void dump(const char* const s, const msmfb_overlay_3d& ov);
107 void dump(const char* const s, const uint32_t u[], uint32_t cnt);
108 void dump(const char* const s, const msmfb_img& ov);
109 void dump(const char* const s, const mdp_rect& ov);
112 void dump(const char* const s, const msm_rotator_img_info& rot);
113 void dump(const char* const s, const msm_rotator_data_info& rot);
116 void dump(const char* const s, const fb_fix_screeninfo& finfo);
[all …]
/hardware/qcom/display/msm8084/liboverlay/
DmdpWrapper.h106 void dump(const char* const s, const msmfb_overlay_data& ov);
107 void dump(const char* const s, const msmfb_data& ov);
108 void dump(const char* const s, const mdp_overlay& ov);
109 void dump(const char* const s, const msmfb_overlay_3d& ov);
110 void dump(const char* const s, const uint32_t u[], uint32_t cnt);
111 void dump(const char* const s, const msmfb_img& ov);
112 void dump(const char* const s, const mdp_rect& ov);
115 void dump(const char* const s, const msm_rotator_img_info& rot);
116 void dump(const char* const s, const msm_rotator_data_info& rot);
119 void dump(const char* const s, const fb_fix_screeninfo& finfo);
[all …]
/hardware/libhardware/modules/camera/3_0/
DStream.cpp35 Stream::Stream(int id, camera3_stream_t *s) in Stream() argument
38 mStream(s), in Stream()
39 mType(s->stream_type), in Stream()
40 mWidth(s->width), in Stream()
41 mHeight(s->height), in Stream()
42 mFormat(s->format), in Stream()
152 bool Stream::isValidReuseStream(int id, camera3_stream_t *s) in isValidReuseStream() argument
159 if (s != mStream) { in isValidReuseStream()
161 __func__, mId, s, mStream); in isValidReuseStream()
164 if (s->stream_type != mType) { in isValidReuseStream()
[all …]
/hardware/qcom/display/msm8994/liboverlay/
DmdpWrapper.h106 void dump(const char* const s, const msmfb_overlay_data& ov);
107 void dump(const char* const s, const msmfb_data& ov);
108 void dump(const char* const s, const mdp_overlay& ov);
109 void dump(const char* const s, const uint32_t u[], uint32_t cnt);
110 void dump(const char* const s, const msmfb_img& ov);
111 void dump(const char* const s, const mdp_rect& ov);
114 void dump(const char* const s, const msm_rotator_img_info& rot);
115 void dump(const char* const s, const msm_rotator_data_info& rot);
118 void dump(const char* const s, const fb_fix_screeninfo& finfo);
119 void dump(const char* const s, const fb_var_screeninfo& vinfo);
[all …]
/hardware/libhardware/modules/usbcamera/
DStream.cpp36 Stream::Stream(int id, camera3_stream_t *s) in Stream() argument
39 mStream(s){ in Stream()
129 bool Stream::isValidReuseStream(int id, camera3_stream_t *s) { in isValidReuseStream() argument
135 if (s != mStream) { in isValidReuseStream()
137 __func__, mId, s, mStream); in isValidReuseStream()
140 if (s->stream_type != mStream->stream_type) { in isValidReuseStream()
142 "expect %s(%d)", __func__, mId, typeToString(s->stream_type), in isValidReuseStream()
143 s->stream_type, typeToString(mStream->stream_type), mStream->stream_type); in isValidReuseStream()
146 if (s->format != mStream->format) { in isValidReuseStream()
148 "expect %s(%d)", __func__, mId, formatToString(s->format), in isValidReuseStream()
[all …]
/hardware/qcom/sm8150/gps/gnss/
DXtraSystemStatusObserver.cpp134 string s = ss.str(); in updateLockStatus() local
135 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateLockStatus()
166 string s = ss.str(); in updateConnections() local
167 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateConnections()
180 string s = ss.str(); in updateTac() local
181 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateTac()
194 string s = ss.str(); in updateMccMnc() local
195 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateMccMnc()
208 string s = ss.str(); in updateXtraThrottle() local
209 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateXtraThrottle()
[all …]
/hardware/qcom/sm7250/gps/gnss/
DXtraSystemStatusObserver.cpp134 string s = ss.str(); in updateLockStatus() local
135 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateLockStatus()
166 string s = ss.str(); in updateConnections() local
167 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateConnections()
180 string s = ss.str(); in updateTac() local
181 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateTac()
194 string s = ss.str(); in updateMccMnc() local
195 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateMccMnc()
208 string s = ss.str(); in updateXtraThrottle() local
209 return ( LocIpc::send(*mSender, (const uint8_t*)s.data(), s.size()) ); in updateXtraThrottle()
[all …]
/hardware/qcom/wlan/qcwcn/wifi_hal/wifi_hal_ctrl/
Dwifi_hal_ctrl.c63 ctrl->s = socket(PF_UNIX, SOCK_DGRAM, 0); in wifihal_ctrl_open2()
64 if (ctrl->s < 0) { in wifihal_ctrl_open2()
77 close(ctrl->s); in wifihal_ctrl_open2()
91 if (bind(ctrl->s, (struct sockaddr *) &ctrl->local, in wifihal_ctrl_open2()
103 close(ctrl->s); in wifihal_ctrl_open2()
117 close(ctrl->s); in wifihal_ctrl_open2()
136 close(ctrl->s); in wifihal_ctrl_open2()
140 if (connect(ctrl->s, (struct sockaddr *) &ctrl->dest, in wifihal_ctrl_open2()
142 close(ctrl->s); in wifihal_ctrl_open2()
151 flags = fcntl(ctrl->s, F_GETFL); in wifihal_ctrl_open2()
[all …]
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp156 const auto& s = list[i]; in TEST_P() local
160 << s.sensorHandle << std::dec << " type=" << static_cast<int>(s.type) in TEST_P()
161 << " name=" << s.name); in TEST_P()
164 EXPECT_FALSE(s.typeAsString.empty()); in TEST_P()
167 EXPECT_NO_FATAL_FAILURE(assertTypeMatchStringType(s.type, s.typeAsString)); in TEST_P()
170 EXPECT_FALSE(s.name.empty()); in TEST_P()
171 EXPECT_FALSE(s.vendor.empty()); in TEST_P()
174 std::vector<std::string>& v = sensorTypeNameMap[static_cast<int32_t>(s.type)]; in TEST_P()
175 bool isUniqueName = std::find(v.begin(), v.end(), s.name) == v.end(); in TEST_P()
176 EXPECT_TRUE(isUniqueName) << "Duplicate sensor Name: " << s.name; in TEST_P()
[all …]
/hardware/interfaces/identity/support/tests/
Dcppbor_test.cpp40 stringstream s; in hexDump() local
42 s << setfill('0') << setw(2) << hex << (static_cast<unsigned>(c) & 0xff); in hexDump()
44 return s.str(); in hexDump()
71 EXPECT_EQ("\x00"s, Uint(0u).toString()); in TEST()
72 EXPECT_EQ("\x01"s, Uint(1u).toString()); in TEST()
73 EXPECT_EQ("\x0a"s, Uint(10u).toString()); in TEST()
74 EXPECT_EQ("\x17"s, Uint(23u).toString()); in TEST()
75 EXPECT_EQ("\x18\x18"s, Uint(24u).toString()); in TEST()
76 EXPECT_EQ("\x18\x19"s, Uint(25u).toString()); in TEST()
77 EXPECT_EQ("\x18\x64"s, Uint(100u).toString()); in TEST()
[all …]
/hardware/interfaces/weaver/1.0/vts/functional/
DVtsHalWeaverV1_0TargetTest.cpp56 auto ret = weaver->getConfig([&](WeaverStatus s, WeaverConfig c) { in TEST_P() argument
58 status = s; in TEST_P()
79 auto ret = weaver->getConfig([&](WeaverStatus s, WeaverConfig c) { in TEST_P() argument
81 status = s; in TEST_P()
89 ret = weaver->getConfig([&](WeaverStatus s, WeaverConfig c) { in TEST_P() argument
91 status = s; in TEST_P()
107 const auto configRet = weaver->getConfig([&](WeaverStatus s, WeaverConfig c) { in TEST_P() argument
108 status = s; in TEST_P()
134 const auto readRet = weaver->read(slotId, KEY, [&](WeaverReadStatus s, WeaverReadResponse r) { in TEST_P() argument
136 status = s; in TEST_P()
[all …]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
Dethernet.h159 #define eacopy(s, d) \ argument
161 ((uint16 *)(d))[0] = ((const uint16 *)(s))[0]; \
162 ((uint16 *)(d))[1] = ((const uint16 *)(s))[1]; \
163 ((uint16 *)(d))[2] = ((const uint16 *)(s))[2]; \
166 #define ether_copy(s, d) eacopy(s, d) argument
169 #define ether_rcopy(s, d) \ argument
171 ((uint16 *)(d))[2] = ((uint16 *)(s))[2]; \
172 ((uint16 *)(d))[1] = ((uint16 *)(s))[1]; \
173 ((uint16 *)(d))[0] = ((uint16 *)(s))[0]; \
200 #define ETHER_MOVE_HDR(d, s) \ argument
[all …]
/hardware/st/nfc/1.0/include/
Dhalcore.h50 #define LOG(s) \ argument
54 __android_log_print(ANDROID_LOG_DEBUG, "NfcHalCore", s); \
57 #define LOGE(s) \ argument
60 __android_log_print(ANDROID_LOG_ERROR, "NfcHalCore", s); \
63 #define LOGV(s, ...) \ argument
67 __android_log_print(ANDROID_LOG_DEBUG, "NfcHalCore", s, __VA_ARGS__); \
70 #define LOGVE(s, ...) \ argument
73 __android_log_print(ANDROID_LOG_ERROR, "NfcHalCore", s, __VA_ARGS__); \
/hardware/google/graphics/common/memtrack-pixel/core/
Dfilesystem.cpp16 struct stat s; in exists() local
17 return stat(p.string().c_str(), &s) == 0; in exists()
21 struct stat s; in is_directory() local
22 if (stat(p.string().c_str(), &s)) in is_directory()
25 return S_ISDIR(s.st_mode); in is_directory()
29 struct stat s; in is_symlink() local
30 if (lstat(p.string().c_str(), &s)) in is_symlink()
33 return S_ISLNK(s.st_mode); in is_symlink()
/hardware/qcom/sm8150/gps/android/2.1/
DGnssDebug.cpp145 V1_0::IGnssDebug::SatelliteData s = { }; in getDebugData() local
149 memset(&s, 0, sizeof(s)); in getDebugData()
150 s.svid = reports.mSatelliteInfo[i].svid; in getDebugData()
152 reports.mSatelliteInfo[i].constellation, s.constellation); in getDebugData()
154 reports.mSatelliteInfo[i].mEphemerisType, s.ephemerisType); in getDebugData()
156 reports.mSatelliteInfo[i].mEphemerisSource, s.ephemerisSource); in getDebugData()
158 reports.mSatelliteInfo[i].mEphemerisHealth, s.ephemerisHealth); in getDebugData()
160 s.ephemerisAgeSeconds = in getDebugData()
162 s.serverPredictionIsAvailable = in getDebugData()
164 s.serverPredictionAgeSeconds = in getDebugData()
[all …]
/hardware/qcom/sm7150/gps/android/2.0/
DGnssDebug.cpp145 V1_0::IGnssDebug::SatelliteData s = { }; in getDebugData() local
149 memset(&s, 0, sizeof(s)); in getDebugData()
150 s.svid = reports.mSatelliteInfo[i].svid; in getDebugData()
152 reports.mSatelliteInfo[i].constellation, s.constellation); in getDebugData()
154 reports.mSatelliteInfo[i].mEphemerisType, s.ephemerisType); in getDebugData()
156 reports.mSatelliteInfo[i].mEphemerisSource, s.ephemerisSource); in getDebugData()
158 reports.mSatelliteInfo[i].mEphemerisHealth, s.ephemerisHealth); in getDebugData()
160 s.ephemerisAgeSeconds = in getDebugData()
162 s.serverPredictionIsAvailable = in getDebugData()
164 s.serverPredictionAgeSeconds = in getDebugData()
[all …]
/hardware/qcom/sm7250/gps/android/2.1/
DGnssDebug.cpp145 V1_0::IGnssDebug::SatelliteData s = { }; in getDebugData() local
149 memset(&s, 0, sizeof(s)); in getDebugData()
150 s.svid = reports.mSatelliteInfo[i].svid; in getDebugData()
152 reports.mSatelliteInfo[i].constellation, s.constellation); in getDebugData()
154 reports.mSatelliteInfo[i].mEphemerisType, s.ephemerisType); in getDebugData()
156 reports.mSatelliteInfo[i].mEphemerisSource, s.ephemerisSource); in getDebugData()
158 reports.mSatelliteInfo[i].mEphemerisHealth, s.ephemerisHealth); in getDebugData()
160 s.ephemerisAgeSeconds = in getDebugData()
162 s.serverPredictionIsAvailable = in getDebugData()
164 s.serverPredictionAgeSeconds = in getDebugData()
[all …]
/hardware/qcom/sm8150/gps/android/2.0/
DGnssDebug.cpp145 V1_0::IGnssDebug::SatelliteData s = { }; in getDebugData() local
149 memset(&s, 0, sizeof(s)); in getDebugData()
150 s.svid = reports.mSatelliteInfo[i].svid; in getDebugData()
152 reports.mSatelliteInfo[i].constellation, s.constellation); in getDebugData()
154 reports.mSatelliteInfo[i].mEphemerisType, s.ephemerisType); in getDebugData()
156 reports.mSatelliteInfo[i].mEphemerisSource, s.ephemerisSource); in getDebugData()
158 reports.mSatelliteInfo[i].mEphemerisHealth, s.ephemerisHealth); in getDebugData()
160 s.ephemerisAgeSeconds = in getDebugData()
162 s.serverPredictionIsAvailable = in getDebugData()
164 s.serverPredictionAgeSeconds = in getDebugData()
[all …]
/hardware/qcom/sm7250/gps/android/2.0/
DGnssDebug.cpp145 V1_0::IGnssDebug::SatelliteData s = { }; in getDebugData() local
149 memset(&s, 0, sizeof(s)); in getDebugData()
150 s.svid = reports.mSatelliteInfo[i].svid; in getDebugData()
152 reports.mSatelliteInfo[i].constellation, s.constellation); in getDebugData()
154 reports.mSatelliteInfo[i].mEphemerisType, s.ephemerisType); in getDebugData()
156 reports.mSatelliteInfo[i].mEphemerisSource, s.ephemerisSource); in getDebugData()
158 reports.mSatelliteInfo[i].mEphemerisHealth, s.ephemerisHealth); in getDebugData()
160 s.ephemerisAgeSeconds = in getDebugData()
162 s.serverPredictionIsAvailable = in getDebugData()
164 s.serverPredictionAgeSeconds = in getDebugData()
[all …]
/hardware/qcom/sm8150p/gps/android/2.0/
DGnssDebug.cpp145 V1_0::IGnssDebug::SatelliteData s = { }; in getDebugData() local
149 memset(&s, 0, sizeof(s)); in getDebugData()
150 s.svid = reports.mSatelliteInfo[i].svid; in getDebugData()
152 reports.mSatelliteInfo[i].constellation, s.constellation); in getDebugData()
154 reports.mSatelliteInfo[i].mEphemerisType, s.ephemerisType); in getDebugData()
156 reports.mSatelliteInfo[i].mEphemerisSource, s.ephemerisSource); in getDebugData()
158 reports.mSatelliteInfo[i].mEphemerisHealth, s.ephemerisHealth); in getDebugData()
160 s.ephemerisAgeSeconds = in getDebugData()
162 s.serverPredictionIsAvailable = in getDebugData()
164 s.serverPredictionAgeSeconds = in getDebugData()
[all …]
/hardware/qcom/gps/msm8998/android/
DGnssDebug.cpp108 SatelliteData s = { }; in getDebugData() local
112 memset(&s, 0, sizeof(s)); in getDebugData()
113 s.svid = reports.mSatelliteInfo[i].svid; in getDebugData()
115 reports.mSatelliteInfo[i].constellation, s.constellation); in getDebugData()
117 reports.mSatelliteInfo[i].mEphemerisType, s.ephemerisType); in getDebugData()
119 reports.mSatelliteInfo[i].mEphemerisSource, s.ephemerisSource); in getDebugData()
121 reports.mSatelliteInfo[i].mEphemerisHealth, s.ephemerisHealth); in getDebugData()
123 s.ephemerisAgeSeconds = in getDebugData()
125 s.serverPredictionIsAvailable = in getDebugData()
127 s.serverPredictionAgeSeconds = in getDebugData()
[all …]
/hardware/qcom/gps/msm8909w_3100/android/
DGnssDebug.cpp108 SatelliteData s = { }; in getDebugData() local
112 memset(&s, 0, sizeof(s)); in getDebugData()
113 s.svid = reports.mSatelliteInfo[i].svid; in getDebugData()
115 reports.mSatelliteInfo[i].constellation, s.constellation); in getDebugData()
117 reports.mSatelliteInfo[i].mEphemerisType, s.ephemerisType); in getDebugData()
119 reports.mSatelliteInfo[i].mEphemerisSource, s.ephemerisSource); in getDebugData()
121 reports.mSatelliteInfo[i].mEphemerisHealth, s.ephemerisHealth); in getDebugData()
123 s.ephemerisAgeSeconds = in getDebugData()
125 s.serverPredictionIsAvailable = in getDebugData()
127 s.serverPredictionAgeSeconds = in getDebugData()
[all …]

12345678910>>...34