/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 342 nContextFinish(JNIEnv *_env, jobject _this, jlong con) in nContextFinish() argument 345 ALOGD("nContextFinish, con(%p)", (RsContext)con); in nContextFinish() 347 rsContextFinish((RsContext)con); in nContextFinish() 351 nClosureCreate(JNIEnv *_env, jobject _this, jlong con, jlong kernelID, in nClosureCreate() argument 463 (RsContext)con, (RsScriptKernelID)kernelID, (RsAllocation)returnValue, in nClosureCreate() 481 nInvokeClosureCreate(JNIEnv *_env, jobject _this, jlong con, jlong invokeID, in nInvokeClosureCreate() argument 539 (RsContext)con, (RsScriptInvokeID)invokeID, jParams, jParamLength, in nInvokeClosureCreate() 554 nClosureSetArg(JNIEnv *_env, jobject _this, jlong con, jlong closureID, in nClosureSetArg() argument 557 rsClosureSetArg((RsContext)con, (RsClosure)closureID, (uint32_t)index, in nClosureSetArg() 562 nClosureSetGlobal(JNIEnv *_env, jobject _this, jlong con, jlong closureID, in nClosureSetGlobal() argument [all …]
|
/frameworks/rs/support/jni/ |
D | android_renderscript_RenderScript.cpp | 347 nContextFinish(JNIEnv *_env, jobject _this, jlong con) in nContextFinish() argument 349 LOG_API("nContextFinish, con(%p)", (RsContext)con); in nContextFinish() 350 dispatchTab.ContextFinish((RsContext)con); in nContextFinish() 354 nClosureCreate(JNIEnv *_env, jobject _this, jlong con, jlong kernelID, in nClosureCreate() argument 443 (RsContext)con, (RsScriptKernelID)kernelID, (RsAllocation)returnValue, in nClosureCreate() 461 nInvokeClosureCreate(JNIEnv *_env, jobject _this, jlong con, jlong invokeID, in nInvokeClosureCreate() argument 500 (RsContext)con, (RsScriptInvokeID)invokeID, jParams, jParamLength, in nInvokeClosureCreate() 515 nClosureSetArg(JNIEnv *_env, jobject _this, jlong con, jlong closureID, in nClosureSetArg() argument 518 dispatchTab.ClosureSetArg((RsContext)con, (RsClosure)closureID, (uint32_t)index, in nClosureSetArg() 523 nClosureSetGlobal(JNIEnv *_env, jobject _this, jlong con, jlong closureID, in nClosureSetGlobal() argument [all …]
|
D | android_rscompat_usage_io.cpp | 9 extern "C" void AllocationSetSurface(JNIEnv *_env, jobject _this, RsContext con, RsAllocation alloc… in AllocationSetSurface() argument 12 con, alloc, sur); in AllocationSetSurface() 18 dispatchTab.AllocationSetSurface(con, alloc, s); in AllocationSetSurface()
|
/frameworks/base/rs/java/android/renderscript/ |
D | RenderScript.java | 137 native int nContextGetUserMessage(long con, int[] data); in nContextGetUserMessage() argument 138 native String nContextGetErrorMessage(long con); in nContextGetErrorMessage() argument 139 native int nContextPeekMessage(long con, int[] subID); in nContextPeekMessage() argument 140 native void nContextInitToClient(long con); in nContextInitToClient() argument 141 native void nContextDeinitToClient(long con); in nContextDeinitToClient() argument 229 native void rsnContextDestroy(long con); in rsnContextDestroy() argument 245 native void rsnContextSetSurface(long con, int w, int h, Surface sur); in rsnContextSetSurface() argument 250 native void rsnContextSetSurfaceTexture(long con, int w, int h, SurfaceTexture sur); in rsnContextSetSurfaceTexture() argument 255 native void rsnContextSetPriority(long con, int p); in rsnContextSetPriority() argument 260 native void rsnContextSetCacheDir(long con, String cacheDir); in rsnContextSetCacheDir() argument [all …]
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
D | RenderScript.java | 109 native int nContextGetUserMessage(long con, int[] data); in nContextGetUserMessage() argument 110 native String nContextGetErrorMessage(long con); in nContextGetErrorMessage() argument 111 native int nContextPeekMessage(long con, int[] subID); in nContextPeekMessage() argument 112 native void nContextInitToClient(long con); in nContextInitToClient() argument 113 native void nContextDeinitToClient(long con); in nContextDeinitToClient() argument 292 native void rsnContextDestroy(long con); in rsnContextDestroy() argument 308 native void rsnContextSetPriority(long con, int p); in rsnContextSetPriority() argument 313 native void rsnContextDump(long con, int bits); in rsnContextDump() argument 318 native void rsnContextFinish(long con); in rsnContextFinish() argument 324 native void rsnContextSendMessage(long con, int id, int[] data); in rsnContextSendMessage() argument [all …]
|
/frameworks/rs/ |
D | rsApiFileA3D.cpp | 26 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext con, uint32_t index, RsFile file) { in rsaFileA3DGetEntryByIndex() argument 40 void rsaFileA3DGetNumIndexEntries(RsContext con, int32_t *numEntries, RsFile file) { in rsaFileA3DGetNumIndexEntries() argument 50 void rsaFileA3DGetIndexEntries(RsContext con, RsFileIndexEntry *fileEntries, uint32_t numEntries, R… in rsaFileA3DGetIndexEntries() argument 71 RsFile rsaFileA3DCreateFromMemory(RsContext con, const void *data, uint32_t len) { in rsaFileA3DCreateFromMemory() argument 77 Context *rsc = static_cast<Context *>(con); in rsaFileA3DCreateFromMemory() 85 RsFile rsaFileA3DCreateFromAsset(RsContext con, void *_asset) { in rsaFileA3DCreateFromAsset() argument 90 RsFile rsaFileA3DCreateFromFile(RsContext con, const char *path) { in rsaFileA3DCreateFromFile() argument 96 Context *rsc = static_cast<Context *>(con); in rsaFileA3DCreateFromFile()
|
D | rsThreadIO.cpp | 102 bool ThreadIO::playCoreCommands(Context *con, int waitFd) { in playCoreCommands() argument 121 if (con->props.mLogTimes) { in playCoreCommands() 122 con->timerSet(Context::RS_TIMER_IDLE); in playCoreCommands() 142 if (con->props.mLogTimes) { in playCoreCommands() 143 con->timerSet(Context::RS_TIMER_INTERNAL); in playCoreCommands() 149 ALOGE("playCoreCommands error con %p, cmd %i", con, cmd->cmdID); in playCoreCommands() 152 gPlaybackFuncs[cmd->cmdID](con, data, cmd->bytes); in playCoreCommands() 154 if (con->props.mLogTimes) { in playCoreCommands() 155 con->timerSet(Context::RS_TIMER_IDLE); in playCoreCommands()
|
D | rsApiMesh.cpp | 22 void rsaMeshGetVertexBufferCount(RsContext con, RsMesh mv, int32_t *numVtx) { in rsaMeshGetVertexBufferCount() argument 27 void rsaMeshGetIndexCount(RsContext con, RsMesh mv, int32_t *numIdx) { in rsaMeshGetIndexCount() argument 32 void rsaMeshGetVertices(RsContext con, RsMesh mv, RsAllocation *vtxData, uint32_t vtxDataCount) { in rsaMeshGetVertices() argument 42 void rsaMeshGetIndices(RsContext con, RsMesh mv, RsAllocation *va, uint32_t *primType, uint32_t idx… in rsaMeshGetIndices() argument
|
D | rsApiStubs.h | 40 extern "C" void rsaContextSetNativeLibDir(RsContext con, char *libDir, size_t length); 44 extern "C" void rsaGetName(RsContext con, void * obj, const char **name); 50 extern "C" void rsaElementGetNativeData(RsContext con, RsElement elem, uint32_t *elemData, uint32_t… 51 extern "C" void rsaElementGetSubElements(RsContext con, RsElement elem, uintptr_t *ids, const char … 56 extern "C" void rsaTypeGetNativeData(RsContext con, RsType type, uintptr_t *typeData, uint32_t type… 63 extern "C" const void * rsaAllocationGetType(RsContext con, RsAllocation va); 148 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext con, uint32_t index, RsFile file); 149 RsFile rsaFileA3DCreateFromMemory(RsContext con, const void *data, uint32_t len); 150 RsFile rsaFileA3DCreateFromAsset(RsContext con, void *_asset); 151 RsFile rsaFileA3DCreateFromFile(RsContext con, const char *path); [all …]
|
D | rsApiContext.cpp | 44 extern "C" void rsaContextSetNativeLibDir(RsContext con, char *libDir, size_t length) { in rsaContextSetNativeLibDir() argument 46 Context *rsc = static_cast<Context *>(con); in rsaContextSetNativeLibDir() 72 extern "C" void rsaGetName(RsContext con, void * obj, const char **name) { in rsaGetName() argument
|
D | rsApiElement.cpp | 22 extern "C" void rsaElementGetNativeData(RsContext con, RsElement elem, in rsaElementGetNativeData() argument 35 extern "C" void rsaElementGetSubElements(RsContext con, RsElement elem, uintptr_t *ids, in rsaElementGetSubElements() argument
|
D | rsApiAllocation.cpp | 23 extern "C" const void * rsaAllocationGetType(RsContext con, RsAllocation va) { in rsaAllocationGetType() argument
|
D | rsContext.cpp | 70 Context::PushState::PushState(Context *con) { in PushState() argument 71 mRsc = con; in PushState() 73 if (con->mIsGraphicsContext) { in PushState() 74 mFragment.set(con->getProgramFragment()); in PushState() 75 mVertex.set(con->getProgramVertex()); in PushState() 76 mStore.set(con->getProgramStore()); in PushState() 77 mRaster.set(con->getProgramRaster()); in PushState() 78 mFont.set(con->getFont()); in PushState()
|
D | rsApiType.cpp | 26 extern "C" void rsaTypeGetNativeData(RsContext con, RsType type, uintptr_t *typeData, uint32_t type… in rsaTypeGetNativeData() argument
|
D | rsThreadIO.h | 43 bool playCoreCommands(Context *con, int waitFd);
|
D | rs.h | 46 const void* rsaAllocationGetType(RsContext con, RsAllocation va);
|
D | rsFileA3D.cpp | 361 void FileA3D::appendToFile(Context *con, ObjectBase *obj) { in appendToFile() argument 375 obj->serialize(con, mWriteStream); in appendToFile()
|
D | rsHidlAdaptation.h | 50 static IContext *GetIContextHandle(RsContext con); 80 static const void* AllocationGetType(RsContext con, RsAllocation va);
|
/frameworks/rs/cpp/ |
D | rsDispatch.h | 23 typedef void (*SetNativeLibDirFnPtr)(RsContext con, const char *nativeLibDir, size_t length); 24 typedef const void* (*AllocationGetTypeFnPtr)(RsContext con, RsAllocation va); 130 typedef void (*MeshGetVertexBufferCountFnPtr) (RsContext con, RsMesh mv, int32_t *numVtx); 131 typedef void (*MeshGetIndexCountFnPtr) (RsContext con, RsMesh mv, int32_t *numIdx); 132 typedef void (*MeshGetVerticesFnPtr) (RsContext con, RsMesh mv, RsAllocation *vtxData, uint32_t vtx… 133 typedef void (*MeshGetIndicesFnPtr) (RsContext con, RsMesh mv, RsAllocation *va, uint32_t *primType… 134 typedef RsObjectBase (*FileA3DGetEntryByIndexFnPtr) (RsContext con, uint32_t index, RsFile file); 135 typedef void (*FileA3DGetNumIndexEntriesFnPtr) (RsContext con, int32_t *numEntries, RsFile file); 136 typedef void (*FileA3DGetIndexEntriesFnPtr) (RsContext con, RsFileIndexEntry *fileEntries, uint32_t… 137 typedef RsFile (*FileA3DCreateFromMemoryFnPtr) (RsContext con, const void *data, uint32_t len); [all …]
|
D | ScriptIntrinsicBLAS.cpp | 107 nScriptIntrinsicBLAS_Single(RS* mRS, RsContext con, RsScript id, RsBlasFunction func, int TransA, in nScriptIntrinsicBLAS_Single() argument 115 …tryDispatch(mRS, RS::dispatch->ScriptForEachMulti(con, id, 0, in_allocs, NELEM(in_allocs), nullptr, in nScriptIntrinsicBLAS_Single() 121 nScriptIntrinsicBLAS_Double(RS* mRS, RsContext con, RsScript id, RsBlasFunction func, int TransA, in nScriptIntrinsicBLAS_Double() argument 129 …tryDispatch(mRS, RS::dispatch->ScriptForEachMulti(con, id, 0, in_allocs, NELEM(in_allocs), nullptr, in nScriptIntrinsicBLAS_Double() 134 nScriptIntrinsicBLAS_Complex(RS* mRS, RsContext con, RsScript id, RsBlasFunction func, int TransA, in nScriptIntrinsicBLAS_Complex() argument 142 …tryDispatch(mRS, RS::dispatch->ScriptForEachMulti(con, id, 0, in_allocs, NELEM(in_allocs), nullptr, in nScriptIntrinsicBLAS_Complex() 147 nScriptIntrinsicBLAS_Z(RS* mRS, RsContext con, RsScript id, RsBlasFunction func, int TransA, in nScriptIntrinsicBLAS_Z() argument 155 …tryDispatch(mRS, RS::dispatch->ScriptForEachMulti(con, id, 0, in_allocs, NELEM(in_allocs), nullptr, in nScriptIntrinsicBLAS_Z() 161 nScriptIntrinsicBLAS_BNNM(RS* mRS, RsContext con, RsScript id, int M, int N, int K, in nScriptIntrinsicBLAS_BNNM() argument 176 …tryDispatch(mRS, RS::dispatch->ScriptForEachMulti(con, id, 0, in_allocs, NELEM(in_allocs), nullptr, in nScriptIntrinsicBLAS_BNNM()
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
D | EGLExtcHeader.cpp | 114 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) { in toEGLHandle() argument 130 return _env->NewObject(cls, con, reinterpret_cast<jlong>(handle)); in toEGLHandle()
|
D | EGL14cHeader.cpp | 118 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) { in toEGLHandle() argument 134 return _env->NewObject(cls, con, reinterpret_cast<jlong>(handle)); in toEGLHandle()
|
/frameworks/base/core/jni/ |
D | android_opengl_EGLExt.cpp | 114 toEGLHandle(JNIEnv *_env, jclass cls, jmethodID con, void * handle) { in toEGLHandle() argument 130 return _env->NewObject(cls, con, reinterpret_cast<jlong>(handle)); in toEGLHandle()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DeviceAdminServiceController.java | 217 final DevicePolicyServiceConnection con = mConnections.valueAt(i); in dump() local 218 con.dump(prefix + " ", pw); in dump()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | AppCacheTest.java | 208 Context con = super.getContext(); in testAppFilesCreateFile() local 210 FileOutputStream fos = con.openFileOutput(fileName, Context.MODE_PRIVATE); in testAppFilesCreateFile() 223 Context con = super.getContext(); in testAppCacheCreateFile() local 224 File file = new File(con.getCacheDir(), fileName); in testAppCacheCreateFile() 407 Context con = super.getContext(); in createTestFiles2() local
|