Home
last modified time | relevance | path

Searched refs:con (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/graphics/jni/
Dandroid_renderscript_RenderScript.cpp93 nContextFinish(JNIEnv *_env, jobject _this, RsContext con) in nContextFinish() argument
95 LOG_API("nContextFinish, con(%p)", con); in nContextFinish()
96 rsContextFinish(con); in nContextFinish()
100 nAssignName(JNIEnv *_env, jobject _this, RsContext con, jint obj, jbyteArray str) in nAssignName() argument
102 LOG_API("nAssignName, con(%p), obj(%p)", con, (void *)obj); in nAssignName()
105 rsAssignName(con, (void *)obj, (const char *)cptr, len); in nAssignName()
110 nGetName(JNIEnv *_env, jobject _this, RsContext con, jint obj) in nGetName() argument
112 LOG_API("nGetName, con(%p), obj(%p)", con, (void *)obj); in nGetName()
114 rsaGetName(con, (void *)obj, &name); in nGetName()
122 nObjDestroy(JNIEnv *_env, jobject _this, RsContext con, jint obj) in nObjDestroy() argument
[all …]
/frameworks/base/graphics/java/android/renderscript/
DRenderScript.java76 native int nContextGetUserMessage(int con, int[] data); in nContextGetUserMessage() argument
77 native String nContextGetErrorMessage(int con); in nContextGetErrorMessage() argument
78 native int nContextPeekMessage(int con, int[] subID); in nContextPeekMessage() argument
79 native void nContextInitToClient(int con); in nContextInitToClient() argument
80 native void nContextDeinitToClient(int con); in nContextDeinitToClient() argument
106 native void rsnContextDestroy(int con); in rsnContextDestroy() argument
111 native void rsnContextSetSurface(int con, int w, int h, Surface sur); in rsnContextSetSurface() argument
116 native void rsnContextSetSurfaceTexture(int con, int w, int h, SurfaceTexture sur); in rsnContextSetSurfaceTexture() argument
121 native void rsnContextSetPriority(int con, int p); in rsnContextSetPriority() argument
126 native void rsnContextDump(int con, int bits); in rsnContextDump() argument
[all …]
/frameworks/base/libs/rs/
DrsThreadIO.cpp120 bool ThreadIO::playCoreCommands(Context *con, bool waitForCommand, uint64_t timeToWait) { in playCoreCommands() argument
122 uint64_t startTime = con->getTime(); in playCoreCommands()
128 if (con->props.mLogTimes) { in playCoreCommands()
129 con->timerSet(Context::RS_TIMER_IDLE); in playCoreCommands()
134 delay = timeToWait - (con->getTime() - startTime); in playCoreCommands()
144 if (con->props.mLogTimes) { in playCoreCommands()
145 con->timerSet(Context::RS_TIMER_INTERNAL); in playCoreCommands()
152 LOGE("playCoreCommands error con %p, cmd %i", con, cmdID); in playCoreCommands()
155 gPlaybackFuncs[cmdID](con, data, cmdSize << 2); in playCoreCommands()
DrsFileA3D.cpp364 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext con, uint32_t index, RsFile file) { in rsaFileA3DGetEntryByIndex() argument
378 void rsaFileA3DGetNumIndexEntries(RsContext con, int32_t *numEntries, RsFile file) { in rsaFileA3DGetNumIndexEntries() argument
388 void rsaFileA3DGetIndexEntries(RsContext con, RsFileIndexEntry *fileEntries, uint32_t numEntries, R… in rsaFileA3DGetIndexEntries() argument
409 RsFile rsaFileA3DCreateFromMemory(RsContext con, const void *data, uint32_t len) { in rsaFileA3DCreateFromMemory() argument
415 Context *rsc = static_cast<Context *>(con); in rsaFileA3DCreateFromMemory()
423 RsFile rsaFileA3DCreateFromAsset(RsContext con, void *_asset) { in rsaFileA3DCreateFromAsset() argument
424 Context *rsc = static_cast<Context *>(con); in rsaFileA3DCreateFromAsset()
433 RsFile rsaFileA3DCreateFromFile(RsContext con, const char *path) { in rsaFileA3DCreateFromFile() argument
439 Context *rsc = static_cast<Context *>(con); in rsaFileA3DCreateFromFile()
DrsContext.cpp55 Context::PushState::PushState(Context *con) { in PushState() argument
56 mRsc = con; in PushState()
57 if (con->mIsGraphicsContext) { in PushState()
58 mFragment.set(con->getProgramFragment()); in PushState()
59 mVertex.set(con->getProgramVertex()); in PushState()
60 mStore.set(con->getProgramStore()); in PushState()
61 mRaster.set(con->getProgramRaster()); in PushState()
62 mFont.set(con->getFont()); in PushState()
733 void rsaGetName(RsContext con, void * obj, const char **name) { in rsaGetName() argument
DrsMesh.cpp278 void rsaMeshGetVertexBufferCount(RsContext con, RsMesh mv, int32_t *numVtx) { in rsaMeshGetVertexBufferCount() argument
283 void rsaMeshGetIndexCount(RsContext con, RsMesh mv, int32_t *numIdx) { in rsaMeshGetIndexCount() argument
288 void rsaMeshGetVertices(RsContext con, RsMesh mv, RsAllocation *vtxData, uint32_t vtxDataCount) { in rsaMeshGetVertices() argument
298 void rsaMeshGetIndices(RsContext con, RsMesh mv, RsAllocation *va, uint32_t *primType, uint32_t idx… in rsaMeshGetIndices() argument
DrsThreadIO.h40 bool playCoreCommands(Context *con, bool waitForCommand, uint64_t timeToWait);
DRenderScript.h45 const void* rsaAllocationGetType(RsContext con, RsAllocation va);
DrsAllocation.cpp331 static void AllocationGenerateScriptMips(RsContext con, RsAllocation va);
464 static void AllocationGenerateScriptMips(RsContext con, RsAllocation va) { in AllocationGenerateScriptMips() argument
465 Context *rsc = static_cast<Context *>(con); in AllocationGenerateScriptMips()
573 const void * rsaAllocationGetType(RsContext con, RsAllocation va) { in rsaAllocationGetType() argument
DrsElement.cpp353 void rsaElementGetNativeData(RsContext con, RsElement elem, in rsaElementGetNativeData() argument
366 void rsaElementGetSubElements(RsContext con, RsElement elem, uint32_t *ids, in rsaElementGetSubElements() argument
DrsType.cpp277 void rsaTypeGetNativeData(RsContext con, RsType type, uint32_t *typeData, uint32_t typeDataSize) { in rsaTypeGetNativeData() argument
/frameworks/base/core/java/android/net/http/
DConnectionThread.java134 String con = mConnection == null ? "" : mConnection.toString(); in toString() local
136 return "cid " + mId + " " + active + " " + con; in toString()
DRequestQueue.java175 Connection con = mIdleCache.getConnection(host); in getConnection() local
176 if (con == null) { in getConnection()
178 con = Connection.getConnection(mContext, host, mProxyHost, in getConnection()
181 return con; in getConnection()
/frameworks/compile/libbcc/tests/data/src/
Drollo3.c4 int main(void* con, int ft, int launchID) in main() argument
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java205 Context con = super.getContext(); in testAppFilesCreateFile() local
207 FileOutputStream fos = con.openFileOutput(fileName, Context.MODE_PRIVATE); in testAppFilesCreateFile()
220 Context con = super.getContext(); in testAppCacheCreateFile() local
221 File file = new File(con.getCacheDir(), fileName); in testAppCacheCreateFile()
404 Context con = super.getContext(); in createTestFiles2() local