Searched refs:write (Results 1 - 25 of 43) sorted by relevance

12

/device/ti/panda/audio/test/
H A DTestFlinger.py200 self._logfile.write(data)
212 self._logfile.write(data)
240 fobj.write("BEGINNING TEST SET %s\n" % (timestamp,))
241 fobj.write("====================================================================\n")
253 fobj.write("====================================================================\n")
254 fobj.write("CLOSING TEST SET %s\n" % (timestamp,))
H A Drun-tests.py173 log.write("\n" + verdict + "\n")
/device/google/accessory/arduino/AndroidAccessory/
H A DAndroidAccessory.h65 int write(void *buff, int len);
/device/samsung/crespo/libsensors/
H A DLightSensor.cpp64 write(fd, buf, strlen(buf)+1);
87 err = write(fd, buf, sizeof(buf));
H A DGyroSensor.cpp94 err = write(fd, buf, sizeof(buf));
117 write(fd, buf, strlen(buf)+1);
H A DProximitySensor.cpp81 write(fd, buf, sizeof(buf));
/device/samsung/tuna/libsensors/
H A DSamsungSensorBase.cpp106 err = write(fd, en ? "1" : "0", 2);
134 write(fd, buf, strlen(buf)+1);
/device/samsung/tuna/power/
H A Dpower_tuna.c49 len = write(fd, s, strlen(s));
120 len = write(tuna->boostpulse_fd, "1", 1);
/device/asus/grouper/power/
H A Dpower.c44 len = write(fd, s, strlen(s));
/device/google/accessory/arduino/USB_Host_Shield/
H A DMax_LCD.h101 virtual void write(uint8_t);
H A DMax_LCD.cpp246 write(charmap[i]);
257 inline void Max_LCD::write(uint8_t value) { function in class:Max_LCD
/device/moto/stingray/recovery/
H A Dmasterclear_bp.c192 @param[in] bytes_to_write - The number of bytes to write
193 @param[out] data - Data to write
198 - The write is synchronous, the function will block until the requested number of bytes are written
212 bytes_wrote = write(cmd_engine_fd, data, bytes_to_write);
215 LOGE("Failed to write to engine device, attempted to write %d bytes, but wrote %d.\n",bytes_to_write, bytes_wrote);
263 result = write(fd, MDM_CMD_SHUTDONW, sizeof(MDM_CMD_SHUTDONW)-1);
273 result = write(fd, MDM_CMD_NORMAL_MODE, sizeof(MDM_CMD_NORMAL_MODE)-1);
282 result = write(fd, MDM_CMD_POWERUP, sizeof(MDM_CMD_POWERUP)-1);
365 LOGE("write finishe
[all...]
/device/moto/wingray/taudio/
H A Dtctl.c179 FAILIF(write(piofd, "dma\n", sizeof("dma\n")) < 0,
182 FAILIF(write(piofd, "dma\n", sizeof("pio\n")) < 0,
H A Dtwav.c142 nw = write(ofd, buffer, nr);
156 FAILIF(write(ofd, &hdr, sizeof(hdr)) != sizeof(hdr),
157 "Could not write WAV header: %s\n", strerror(errno));
H A Dtplay.c63 printf("write length: %d\n", len);
76 nw = write(ofd, buffer, nr);
H A Dresample.c233 nw = write(ofd, buf, nr_out);
234 FAILIF(nw < 0, "could not write to %s: %s\n", output, strerror(errno));
247 FAILIF(write(ofd, &dst_hdr, sizeof(dst_hdr)) != sizeof(dst_hdr),
248 "Could not write WAV header: %s\n", strerror(errno));
H A Dtrec.c180 nw = write(ofd, buffer, nr);
194 FAILIF(write(ofd, &hdr, sizeof(hdr)) != sizeof(hdr),
195 "Could not write WAV header: %s\n", strerror(errno));
/device/samsung/tuna/reflash-bootloader/
H A Dreflash-bootloader.c78 ret = write(fd, buf, sizeof(buf));
80 error_errno("failed to write to /proc/sys/vm/drop_caches");
144 ret = write(to_fd, buf, to_write);
146 error_errno("failed to write to output file");
243 ret = write(to_fd, ptr, to_write);
245 error_errno("failed to write to output file");
311 /* Don't write the partition table, let the bootloader do it on next boot */
/device/generic/goldfish/audio/
H A DAudioHardwareGeneric.cpp171 ::write(fd, result.string(), result.size());
230 ssize_t AudioStreamOutGeneric::write(const void* buffer, size_t bytes) function in class:android_audio_legacy::AudioStreamOutGeneric
233 return ssize_t(::write(mFd, buffer, bytes));
263 ::write(fd, result.string(), result.size());
371 ::write(fd, result.string(), result.size());
/device/moto/stingray/whisper/
H A DSA_Phys_Linux.c279 nwritten = write(ttyFd, readwriteBuf, len*8);
287 DBG_ERROR("ERROR. write less than requested<%d>. written: %i",nwritten, len*8);
335 osize = write(ttyFd, pWake, 1);
397 osize = write(ttyFd, byteptr, 1);
/device/asus/grouper/liblights/
H A Dlights.c44 int amt = write(fd, buffer, bytes);
/device/samsung/crespo/liblight/
H A Dlights.c46 int amt = write(fd, buffer, bytes);
/device/samsung/tuna/recovery/
H A Drecovery_updater.c105 if (write(fd, &ftr, sizeof(ftr)) == sizeof(ftr)) {
113 return ErrorAbort(state, "%s() Cannot seek or write crypto footer %s\n", name, HSPA_PRIME_KEY_PARTITION);
H A Dbootloader.c223 written = write(mmcfd, curr, to_write);
276 written = write(mmcfd, curr, to_write);
/device/moto/stingray/liblights/
H A Dlights.c60 int amt = write(fd, buffer, bytes);
80 int amt = write(fd, buffer, bytes);

Completed in 429 milliseconds

12