/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 606 void hwcTestSetPixel(GraphicBuffer *gBuf, unsigned char *buf, argument 630 *(buf + yPlaneOffset + y * yPlaneStride + x) = pixel & 0xff; 631 *(buf + uPlaneOffset + (y / 2) * uPlaneStride + (x / 2)) 633 *(buf + vPlaneOffset + (y / 2) * vPlaneStride + (x / 2)) 650 memmove(buf + ((gBuf->getStride() * attrib->bytes) * y) 657 unsigned char* buf = NULL; local 663 err = gBuf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf)); 672 hwcTestSetPixel(gBuf, buf, x, y, (x < gBuf->getWidth()) 696 unsigned char* buf = NULL; local 701 err = gBuf->lock(GRALLOC_USAGE_SW_WRITE_OFTEN, (void**)(&buf)); [all...] |
/frameworks/base/core/java/com/android/internal/backup/ |
H A D | LocalTransport.java | 183 byte[] buf = new byte[bufSize]; 202 buf = new byte[bufSize]; 204 changeSet.readEntityData(buf, 0, dataSize); 217 entity.write(buf, 0, dataSize); 502 byte[] buf = new byte[size]; 503 in.read(buf); 506 out.writeEntityData(buf, size);
|
/frameworks/base/core/jni/ |
H A D | android_net_LocalSocketImpl.cpp | 485 * Reads data from a socket into buf, processing any ancillary data 498 unsigned char *buf = (unsigned char *)buffer; local 506 iv.iov_base = buf; 550 void *buf, size_t len) 554 unsigned char *buffer = (unsigned char *)buf; 645 unsigned char buf; local 647 err = socket_read_all(env, object, fd, &buf, 1); 659 return (jint)buf; 549 socket_write_all(JNIEnv *env, jobject object, int fd, void *buf, size_t len) argument
|
H A D | android_opengl_GLES10Ext.cpp | 134 char* buf = (char*) _env->GetDirectBufferAddress(buffer); local 135 if (buf) { 138 buf += position << elementSizeShift; 143 return (void*) buf;
|
/frameworks/rs/driver/ |
H A D | rsdGL.cpp | 498 char buf[1024]; 499 snprintf(buf, sizeof(buf), "GL Error = 0x%08x, from: %s", err, msg); 502 rsc->setError(RS_ERROR_FATAL_DRIVER, buf); 506 rsc->setError(RS_ERROR_OUT_OF_MEMORY, buf); 509 rsc->setError(RS_ERROR_DRIVER, buf); 514 ALOGE("%p, %s", rsc, buf);
|
H A D | rsdRuntimeStubs.cpp | 725 char buf[256]; local 727 sprintf(buf, "Out range ElementAt X %i of %i", x, t->getLODDimX(0)); 728 rsc->setError(RS_ERROR_FATAL_DEBUG, buf); 734 sprintf(buf, "Vector size mismatch for ElementAt %i of %i", vecSize, e->getVectorSize()); 735 rsc->setError(RS_ERROR_FATAL_DEBUG, buf); 740 sprintf(buf, "Data type mismatch for ElementAt %i of %i", dt, e->getType()); 741 rsc->setError(RS_ERROR_FATAL_DEBUG, buf); 756 char buf[256]; local 758 sprintf(buf, "Out range ElementAt X %i of %i", x, t->getLODDimX(0)); 759 rsc->setError(RS_ERROR_FATAL_DEBUG, buf); 794 char buf[256]; local [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLLogWrapper.java | 130 private void formattedAppend(StringBuilder buf, int value, int format) { argument 133 buf.append(value); 136 buf.append(Float.intBitsToFloat(value)); 139 buf.append(value / 65536.0f); 145 StringBuilder buf = new StringBuilder(); 146 buf.append("{\n"); 150 buf.append(" [" + index + "] = "); 152 buf.append("out of bounds"); 154 formattedAppend(buf, arr[index], format); 156 buf 198 toString(int n, FloatBuffer buf) argument 208 toString(int n, int format, IntBuffer buf) argument 220 toString(int n, ShortBuffer buf) argument 230 arg(String name, int n, FloatBuffer buf) argument 234 arg(String name, int n, IntBuffer buf) argument 238 arg(String name, int n, ShortBuffer buf) argument [all...] |
/frameworks/native/libs/gui/ |
H A D | Surface.cpp | 129 ANativeWindowBuffer* buf; local 131 int result = c->dequeueBuffer(&buf, &fenceFd); 137 c->cancelBuffer(buf, -1); 140 *buffer = buf; 213 int buf = -1; local 215 status_t result = mGraphicBufferProducer->dequeueBuffer(&buf, &fence, swapIntervalZero, 227 sp<GraphicBuffer>& gbuf(mSlots[buf].buffer); 230 ALOGE_IF(fence == NULL, "Surface::dequeueBuffer: received null Fence! buf=%d", buf); 237 result = mGraphicBufferProducer->requestBuffer(buf, [all...] |
/frameworks/rs/ |
H A D | rsAllocation.cpp | 120 char buf[1024]; local 121 sprintf(buf, "Allocation::subData called with mismatched size expected %zu, got %zu", 123 rsc->setError(RS_ERROR_BAD_VALUE, buf); 150 char buf[1024]; local 151 sprintf(buf, "Allocation::read called with mismatched size expected %zu, got %zu", 153 rsc->setError(RS_ERROR_BAD_VALUE, buf); 169 char buf[1024]; local 170 sprintf(buf, "Allocation size mismatch, expected %zu, got %zu", (lineSize * h), sizeBytes); 171 rsc->setError(RS_ERROR_BAD_VALUE, buf); 262 char buf[102 local [all...] |
H A D | rsType.cpp | 149 char buf[1024]; local 157 snprintf(buf, sizeof(buf), "%s element: ", prefix); 158 mElement->dumpLOGV(buf);
|
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerDyn.cpp | 216 TC* buf = NULL; local 221 (void)posix_memalign(reinterpret_cast<void**>(&buf), 32, (c.mL+1)*c.mHalfNumCoefs*sizeof(TC)); 228 firKaiserGen(buf, c.mL, c.mHalfNumCoefs, stopBandAtten, fcr, atten); 229 c.mFirCoefs = buf; 233 mCoefBuffer = buf; 243 testFir(buf, c.mL, c.mHalfNumCoefs, fp, fs, /*passSteps*/ 1000, /*stopSteps*/ 100000,
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifParser.java | 560 byte[] buf = new byte[(int) numOfComp]; 562 buf, 0, (int) numOfComp); 563 tag.setValue(buf); 682 byte buf[] = new byte[tag.getComponentCount()]; 683 read(buf); 684 tag.setValue(buf);
|
/frameworks/av/cmds/screenrecord/ |
H A D | Overlay.cpp | 257 void Overlay::getTimeString_l(nsecs_t monotonicNsec, char* buf, size_t bufLen) { argument 268 strftime(buf, bufLen, format, &tm); 273 strlcat(buf, tmpBuf, bufLen);
|
/frameworks/av/media/libmedia/ |
H A D | Visualizer.cpp | 297 uint8_t buf[mCaptureSize]; local 298 status = getWaveForm(buf); 300 status = doFft(fft, buf);
|
/frameworks/av/services/camera/libcameraservice/device2/ |
H A D | Camera2Device.h | 117 status_t enqueue(camera_metadata_t *buf); 118 status_t dequeue(camera_metadata_t **buf, bool incrementCount = false); 129 status_t setStreamSlot(camera_metadata_t *buf);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.h | 132 int fbPost(int32_t id, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf); 139 const sp<GraphicBuffer>& buf); 324 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buf);
|
/frameworks/opt/net/wifi/service/tools/halutil/ |
H A D | halutil.cpp | 145 char buf[EVENT_BUF_SIZE]; local 147 if (wifi_get_iface_name(ifaceHandles[i], buf, sizeof(buf)) == WIFI_SUCCESS) { 148 if (strcmp(buf, "wlan0") == 0) { 149 printMsg("found interface %s\n", buf); 151 } else if (strcmp(buf, "p2p0") == 0) { 152 printMsg("found interface %s\n", buf); 250 char buf[256]; member in struct:__anon1460 263 strcpy(eventCache[eventsInCache].buf, msg); 279 strcpy(info.buf, eventCach [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuScript.cpp | 51 char buf[len + 1]; local 57 buf[i] = 'a' + r; 60 buf[i] = 'A' + (r - 26); 63 buf[i] = '0' + (r - 52); 66 buf[len] = '\0'; 67 return std::string(buf); 199 char buf[PROPERTY_VALUE_MAX]; 202 property_get("debug.rs.precision", buf, ""); 203 if (buf[0] != '\0') { 208 property_get("debug.rs.forcerecompile", buf, " [all...] |
/frameworks/av/drm/libdrmframework/include/ |
H A D | DrmManagerService.h | 105 DecryptHandle* openDecryptSession(int uniqueId, const DrmBuffer& buf,
|
H A D | NoOpDrmManagerClientImpl.h | 59 sp<DecryptHandle> openDecryptSession(int uniqueId, const DrmBuffer& buf,
|
/frameworks/av/include/drm/ |
H A D | DrmManagerClient.h | 88 * @param[in] buf Data to initiate decrypt session 93 sp<DecryptHandle> openDecryptSession(const DrmBuffer& buf, const String8& mimeType);
|
/frameworks/base/tools/aidl/ |
H A D | aidl_language.h | 164 void init_buffer_type(buffer_type* buf, int lineno);
|
/frameworks/native/include/gui/ |
H A D | IGraphicBufferConsumer.h | 200 virtual status_t releaseBuffer(int buf, uint64_t frameNumber,
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_context.h | 42 ElementArrayBuffer(GLvoid *buf, GLsizeiptr size);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyHandler.h | 240 static void addRR(const sp<ABuffer> &buf) { argument 241 uint8_t *ptr = buf->data() + buf->size(); 251 buf->setRange(0, buf->size() + 8); 374 sp<ABuffer> buf = new ABuffer(65536); local 375 buf->setRange(0, 0); 376 addRR(buf); 377 addSDES(rtpSocket, buf); 382 rtpSocket, buf [all...] |