Home
last modified time | relevance | path

Searched refs:outBuf (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_am_BatteryStatsService.cpp131 static jint nativeWaitWakeup(JNIEnv *env, jobject clazz, jobject outBuf) in nativeWaitWakeup() argument
133 if (outBuf == NULL) { in nativeWaitWakeup()
177 char* mergedreason = (char*)env->GetDirectBufferAddress(outBuf); in nativeWaitWakeup()
178 int remainreasonlen = (int)env->GetDirectBufferCapacity(outBuf); in nativeWaitWakeup()
408 static jint getPowerStatsHalPlatformData(JNIEnv* env, jobject outBuf) { in getPowerStatsHalPlatformData() argument
418 char *output = (char*)env->GetDirectBufferAddress(outBuf); in getPowerStatsHalPlatformData()
420 int remaining = (int)env->GetDirectBufferCapacity(outBuf); in getPowerStatsHalPlatformData()
471 static jint getPowerStatsHalSubsystemData(JNIEnv* env, jobject outBuf) { in getPowerStatsHalSubsystemData() argument
481 char *output = (char*)env->GetDirectBufferAddress(outBuf); in getPowerStatsHalSubsystemData()
483 int remaining = (int)env->GetDirectBufferCapacity(outBuf); in getPowerStatsHalSubsystemData()
[all …]
/frameworks/native/libs/ui/tests/
DGraphicBufferOverBinder_test.cpp99 status_t GetGraphicBuffer(sp<GraphicBuffer>* outBuf, uint32_t opCode) { in GetGraphicBuffer() argument
108 *outBuf = new GraphicBuffer(); in GetGraphicBuffer()
109 return reply.read(**outBuf); in GetGraphicBuffer()
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
DAMRWB_E_SAMPLE.c99 unsigned char *outBuf = OutputBuf; in encode() local
195 memcpy(outBuf, VOAMRWB_RFC3267_HEADER_INFO, size1); in encode()
196 outBuf += size1; in encode()
205 outData.Buffer = outBuf; in encode()
/frameworks/base/tools/aapt/
DZipFile.cpp746 unsigned char* outBuf = NULL; in compressFpToFp() local
756 outBuf = new unsigned char[kBufSize]; in compressFpToFp()
757 if (inBuf == NULL || outBuf == NULL) { in compressFpToFp()
771 zstream.next_out = outBuf; in compressFpToFp()
840 ALOGV("+++ writing %d bytes\n", (int) (zstream.next_out - outBuf)); in compressFpToFp()
841 if (fwrite(outBuf, 1, zstream.next_out - outBuf, dstFp) != in compressFpToFp()
842 (size_t)(zstream.next_out - outBuf)) in compressFpToFp()
845 (int) (zstream.next_out - outBuf)); in compressFpToFp()
849 zstream.next_out = outBuf; in compressFpToFp()
863 delete[] outBuf; in compressFpToFp()
/frameworks/base/libs/androidfw/
DStreamingZipInflater.cpp136 ssize_t StreamingZipInflater::read(void* outBuf, size_t count) { in read() argument
137 uint8_t* dest = (uint8_t*) outBuf; in read()
144 if (outBuf != NULL) memcpy(dest, mOutBuf + mOutDeliverable, deliverable); in read()
/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp121 int16_t *outBuf; // output buffer used when resampling member
872 session->outBuf = NULL; in Session_CreateEffect()
924 delete session->outBuf; in Session_ReleaseEffect()
925 session->outBuf = NULL; in Session_ReleaseEffect()
1241 session->outBuf, in PreProcessingFx_Process()
1243 memcpy(session->outBuf, in PreProcessingFx_Process()
1244 session->outBuf + fr * session->outChannelCount, in PreProcessingFx_Process()
1342 buf = (int16_t *)realloc(session->outBuf, in PreProcessingFx_Process()
1346 free(session->outBuf); in PreProcessingFx_Process()
1347 session->outBuf = NULL; in PreProcessingFx_Process()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DStreamingZipInflater.h43 ssize_t read(void* outBuf, size_t count);
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DBitwiseStreamsTest.java40 byte[] outBuf = outStream.toByteArray(); in testOne()
41 BitwiseInputStream inStream = new BitwiseInputStream(outBuf); in testOne()
/frameworks/rs/cpu_ref/
DrsCpuCore.cpp492 static const char *format_bytes(FormatBuf *outBuf, const uint8_t *inBuf, const int inBytes) { in format_bytes() argument
493 strlcpy(*outBuf, ": ", sizeof(*outBuf)); in format_bytes()
498 sprintf(*outBuf + pos, (i % 4 ? "." : "|")); in format_bytes()
501 sprintf(*outBuf + pos, "%02x", inBuf[i]); in format_bytes()
505 strlcpy(*outBuf + pos, "...", sizeof(FormatBuf) - pos); in format_bytes()
506 return *outBuf; in format_bytes()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp303 sp<GraphicBuffer>* outBuf) { in requestBuffer() argument
305 return mSource[SOURCE_SINK]->requestBuffer(pslot, outBuf); in requestBuffer()
311 *outBuf = mProducerBuffers[pslot]; in requestBuffer()
DVirtualDisplaySurface.h104 virtual status_t requestBuffer(int pslot, sp<GraphicBuffer>* outBuf);