Searched refs:p (Results 1 – 7 of 7) sorted by relevance
/hardware/libhardware_legacy/gps/ |
D | gps_qemu.c | 36 const char* p; member 48 nmea_tokenizer_init( NmeaTokenizer* t, const char* p, const char* end ) in nmea_tokenizer_init() argument 54 if (p < end && p[0] == '$') in nmea_tokenizer_init() 55 p += 1; in nmea_tokenizer_init() 58 if (end > p && end[-1] == '\n') { in nmea_tokenizer_init() 60 if (end > p && end[-1] == '\r') in nmea_tokenizer_init() 65 if (end >= p+3 && end[-3] == '*') { in nmea_tokenizer_init() 69 while (p < end) { in nmea_tokenizer_init() 70 const char* q = p; in nmea_tokenizer_init() 72 q = memchr(p, ',', end-p); in nmea_tokenizer_init() [all …]
|
/hardware/ril/libril/ |
D | ril.cpp | 120 void (*dispatchFunction) (Parcel &p, struct RequestInfo *pRI); 121 int(*responseFunction) (Parcel &p, void *response, size_t responselen); 126 int (*responseFunction) (Parcel &p, void *response, size_t responselen); 195 static void dispatchVoid (Parcel& p, RequestInfo *pRI); 196 static void dispatchString (Parcel& p, RequestInfo *pRI); 197 static void dispatchStrings (Parcel& p, RequestInfo *pRI); 198 static void dispatchInts (Parcel& p, RequestInfo *pRI); 199 static void dispatchDial (Parcel& p, RequestInfo *pRI); 200 static void dispatchSIM_IO (Parcel& p, RequestInfo *pRI); 201 static void dispatchCallForward(Parcel& p, RequestInfo *pRI); [all …]
|
/hardware/ril/rild/ |
D | rild.c | 144 char buffer[1024], *p, *q; in main() local 210 p = strstr( buffer, KERNEL_OPTION ); in main() 211 if (p == NULL) in main() 214 p += sizeof(KERNEL_OPTION)-1; in main() 215 q = strpbrk( p, " \t\n\r" ); in main() 219 snprintf( arg_device, sizeof(arg_device), DEV_PREFIX "%s", p ); in main()
|
/hardware/msm7k/libcamera2/ |
D | QualcommCameraHardware.cpp | 254 CameraParameters p; in initDefaultParameters() local 259 p.setPreviewSize(ps->width, ps->height); in initDefaultParameters() 260 p.setPreviewFrameRate(15); in initDefaultParameters() 261 p.setPreviewFormat("yuv420sp"); // informative in initDefaultParameters() 262 p.setPictureFormat("jpeg"); // informative in initDefaultParameters() 264 p.set("jpeg-quality", "100"); // maximum quality in initDefaultParameters() 265 p.set("jpeg-thumbnail-width", THUMBNAIL_WIDTH_STR); // informative in initDefaultParameters() 266 p.set("jpeg-thumbnail-height", THUMBNAIL_HEIGHT_STR); // informative in initDefaultParameters() 267 p.set("jpeg-thumbnail-quality", "90"); in initDefaultParameters() 269 p.setPictureSize(DEFAULT_PICTURE_WIDTH, DEFAULT_PICTURE_HEIGHT); in initDefaultParameters() [all …]
|
/hardware/msm7k/libcamera/ |
D | QualcommCameraHardware.cpp | 312 CameraParameters p; in initDefaultParameters() local 315 p.setPreviewSize(ps->width, ps->height); in initDefaultParameters() 316 p.setPreviewFrameRate(15); in initDefaultParameters() 317 p.setPreviewFormat("yuv420sp"); in initDefaultParameters() 318 p.setPictureFormat("jpeg"); // we do not look at this currently in initDefaultParameters() 319 p.setPictureSize(2048, 1536); in initDefaultParameters() 320 p.set("jpeg-quality", "100"); // maximum quality in initDefaultParameters() 324 p.set("jpeg-thumbnail-width", "512"); in initDefaultParameters() 325 p.set("jpeg-thumbnail-height", "384"); in initDefaultParameters() 326 p.set("jpeg-thumbnail-quality", "90"); in initDefaultParameters() [all …]
|
/hardware/msm7k/libaudio/ |
D | AudioHardware.cpp | 587 const uint8_t* p = static_cast<const uint8_t*>(buffer); in write() local 632 ssize_t written = ::write(mFd, p, count); in write() 635 p += written; in write() 819 uint8_t* p = static_cast<uint8_t*>(buffer); in read() local 840 p += bytesRead; in read()
|
/hardware/ril/reference-ril/ |
D | reference-ril.c | 718 char *line, *p; local 767 for (p = line ; *p != '\0' ;p++) { 768 if (*p == ',') commas++;
|