/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifOutputStream.java | 484 byte buf[] = tag.getStringByte(); 485 if (buf.length == tag.getComponentCount()) { 486 buf[buf.length - 1] = 0; 487 dataOutputStream.write(buf); 489 dataOutputStream.write(buf); 507 buf = new byte[tag.getComponentCount()]; 508 tag.getBytes(buf); 509 dataOutputStream.write(buf);
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | AutomaticBrightnessController.java | 871 StringBuffer buf = new StringBuffer(); 872 buf.append('['); 876 buf.append(", "); 878 buf.append(getLux(i)); 879 buf.append(" / "); 880 buf.append(next - getTime(i)); 881 buf.append("ms"); 883 buf.append(']'); 884 return buf.toString();
|
/frameworks/rs/ |
H A D | rsAllocation.cpp | 199 char buf[1024]; local 200 snprintf(buf, sizeof(buf), 203 rsc->setError(RS_ERROR_BAD_VALUE, buf); 230 char buf[1024]; local 231 snprintf(buf, sizeof(buf), 234 rsc->setError(RS_ERROR_BAD_VALUE, buf); 250 char buf[1024]; local 251 snprintf(buf, sizeo 354 char buf[1024]; local [all...] |
/frameworks/base/cmds/incidentd/src/ |
H A D | Section.cpp | 68 uint8_t buf[20]; local 69 uint8_t* p = write_length_delimited_tag_header(buf, sectionId, size); 70 return WriteFully(fd, buf, p - buf) ? NO_ERROR : -errno; 172 for (vector<vector<uint8_t>>::const_iterator buf = headers.begin(); buf != headers.end(); 173 buf++) { 174 if (buf->empty()) continue; 178 write_section_header(fd, id, buf->size()); 179 WriteFully(fd, (uint8_t const*)buf 682 trimTail(char const* buf, size_t len) argument [all...] |
H A D | IncidentService.cpp | 355 FdBuffer buf; local 356 status_t error = buf.read(fileno(in), 60000); 361 fprintf(err, "Read %zu bytes\n", buf.size()); 362 PrivacyBuffer pBuf(p, buf.data());
|
H A D | Reporter.cpp | 109 char buf[100]; local 121 strftime(buf, sizeof(buf), "incident-%Y%m%d-%H%M%S", localtime(&mStartTime)); 122 mFilename = mIncidentDirectory + buf;
|
/frameworks/av/media/libstagefright/ |
H A D | FrameRenderTracker.cpp | 51 ANativeWindowBuffer *buf, int fenceFd, int index) { 60 if (it->mGraphicBuffer->handle == buf->handle) { 50 updateInfoForDequeuedBuffer( ANativeWindowBuffer *buf, int fenceFd, int index) argument
|
/frameworks/av/media/libstagefright/codecs/mpeg2dec/ |
H A D | SoftMPEG2.h | 27 #define ivd_aligned_free(buf) free(buf)
|
/frameworks/base/media/java/android/media/ |
H A D | AmrInputStream.java | 133 ByteBuffer buf = mCodec.getInputBuffer(index); 134 buf.put(mBuf, 0, numRead);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.h | 116 JNIEnv *env, bool input, size_t index, jobject *buf) const; 165 jobject *buf) const;
|
/frameworks/base/native/android/ |
H A D | asset_manager.cpp | 149 int AAsset_read(AAsset* asset, void* buf, size_t count) argument 151 return asset->mAsset->read(buf, (size_t)count);
|
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
H A D | ObbBackupService.java | 88 byte[] buf = new byte[4]; 89 out.write(buf);
|
/frameworks/base/services/net/java/android/net/netlink/ |
H A D | StructNlAttr.java | 148 final ByteBuffer buf = getValueAsByteBuffer(); 150 nla.pack(buf);
|
/frameworks/minikin/include/minikin/ |
H A D | Layout.h | 126 // The i parameter is an offset within the buf relative to start, it is < count, where 171 static float doLayoutWord(const uint16_t* buf, size_t start, size_t count, size_t bufSize, 178 void doLayoutRun(const uint16_t* buf, size_t start, size_t count, size_t bufSize, bool isRtl,
|
/frameworks/minikin/libs/minikin/ |
H A D | Locale.h | 87 Locale(const StringPiece& buf); 163 static EmojiStyle resolveEmojiStyle(const char* buf, size_t length);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | FramebufferSurface.cpp | 95 sp<GraphicBuffer> buf; local 98 status_t result = nextBuffer(slot, buf, acquireFence, dataspace);
|
/frameworks/native/services/surfaceflinger/ |
H A D | MonitoredProducer.cpp | 45 status_t MonitoredProducer::requestBuffer(int slot, sp<GraphicBuffer>* buf) { argument 46 return mProducer->requestBuffer(slot, buf);
|
/frameworks/av/cmds/screenrecord/ |
H A D | Overlay.cpp | 255 void Overlay::getTimeString_l(nsecs_t monotonicNsec, char* buf, size_t bufLen) { argument 261 snprintf(buf, bufLen, "%" PRId64, monotonicNsec); 271 strftime(buf, bufLen, format, &tm); 276 strlcat(buf, tmpBuf, bufLen);
|
H A D | Overlay.h | 100 void getTimeString_l(nsecs_t monotonicNsec, char* buf, size_t bufLen);
|
/frameworks/av/include/media/stagefright/ |
H A D | FrameRenderTracker.h | 103 // Called when we have dequeued a buffer |buf| from the native window to track render info. 108 Info *updateInfoForDequeuedBuffer(ANativeWindowBuffer *buf, int fenceFd, int index);
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
H A D | FrameRenderTracker.h | 103 // Called when we have dequeued a buffer |buf| from the native window to track render info. 108 Info *updateInfoForDequeuedBuffer(ANativeWindowBuffer *buf, int fenceFd, int index);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserDataPreparer.java | 309 final byte[] buf = Integer.toString(serialNumber).getBytes(StandardCharsets.UTF_8); 310 Os.setxattr(file.getAbsolutePath(), XATTR_SERIAL, buf, OsConstants.XATTR_CREATE); 324 final byte[] buf = Os.getxattr(file.getAbsolutePath(), XATTR_SERIAL); 325 final String serial = new String(buf);
|
/frameworks/native/include/binder/ |
H A D | ProcessState.h | 75 ssize_t getKernelReferences(size_t count, uintptr_t* buf);
|
/frameworks/native/include/gui/ |
H A D | BufferHubConsumer.h | 47 status_t releaseBuffer(int buf, uint64_t frameNumber, EGLDisplay display, EGLSyncKHR fence,
|
/frameworks/native/libs/binder/include/binder/ |
H A D | ProcessState.h | 75 ssize_t getKernelReferences(size_t count, uintptr_t* buf);
|