Home
last modified time | relevance | path

Searched refs:mCtx (Results 1 – 25 of 184) sorted by relevance

12345678

/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DRSTestCore.java31 ListActivity mCtx; field in RSTestCore
34 mCtx = ctx; in RSTestCore()
60 unitTests.add(new UT_primitives(this, mRes, mCtx)); in init()
61 unitTests.add(new UT_constant(this, mRes, mCtx)); in init()
62 unitTests.add(new UT_vector(this, mRes, mCtx)); in init()
63 unitTests.add(new UT_unsigned(this, mRes, mCtx)); in init()
64 unitTests.add(new UT_array_init(this, mRes, mCtx)); in init()
65 unitTests.add(new UT_array_alloc(this, mRes, mCtx)); in init()
66 unitTests.add(new UT_kernel(this, mRes, mCtx)); in init()
67 unitTests.add(new UT_kernel_struct(this, mRes, mCtx)); in init()
[all …]
DUnitTest.java28 protected Context mCtx; field in UnitTest
42 mCtx = ctx; in UnitTest()
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DRSTestCore.java31 ListActivity mCtx; field in RSTestCore
34 mCtx = ctx; in RSTestCore()
60 unitTests.add(new UT_apitest(this, mRes, mCtx)); in init()
61 unitTests.add(new UT_primitives(this, mRes, mCtx)); in init()
62 unitTests.add(new UT_instance(this, mRes, mCtx)); in init()
63 unitTests.add(new UT_constant(this, mRes, mCtx)); in init()
64 unitTests.add(new UT_vector(this, mRes, mCtx)); in init()
65 unitTests.add(new UT_unsigned(this, mRes, mCtx)); in init()
66 unitTests.add(new UT_array_init(this, mRes, mCtx)); in init()
67 unitTests.add(new UT_array_alloc(this, mRes, mCtx)); in init()
[all …]
DUnitTest.java28 protected Context mCtx; field in UnitTest
42 mCtx = ctx; in UnitTest()
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
DRSTestCore.java31 ListActivity mCtx; field in RSTestCore
34 mCtx = ctx; in RSTestCore()
60 unitTests.add(new UT_apitest(this, mRes, mCtx)); in init()
61 unitTests.add(new UT_primitives(this, mRes, mCtx)); in init()
62 unitTests.add(new UT_instance(this, mRes, mCtx)); in init()
63 unitTests.add(new UT_constant(this, mRes, mCtx)); in init()
64 unitTests.add(new UT_vector(this, mRes, mCtx)); in init()
65 unitTests.add(new UT_unsigned(this, mRes, mCtx)); in init()
66 unitTests.add(new UT_array_init(this, mRes, mCtx)); in init()
67 unitTests.add(new UT_array_alloc(this, mRes, mCtx)); in init()
[all …]
DUnitTest.java28 protected Context mCtx; field in UnitTest
42 mCtx = ctx; in UnitTest()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsic.cpp35 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in invokeFunction()
40 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in invokeRoot()
46 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in invokeInit()
51 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in setGlobalVar()
58 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in setGlobalVarWithElemDims()
63 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in setGlobalBind()
68 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in setGlobalObj()
107 RsdCpuScriptImpl * oldTLS = mCtx->setTLS(this); in invokeForEach()
108 mCtx->launchForEach(ains, inLen, aout, sc, &mtls); in invokeForEach()
109 mCtx->setTLS(oldTLS); in invokeForEach()
DrsCpuScript.cpp253 mCtx = ctx; in RsdCpuScriptImpl()
322 mCtx->lockMutex(); in init()
329 mCtx->unlockMutex(); in init()
335 if (mCtx->getContext()->getContextType() == RS_CONTEXT_TYPE_DEBUG) { in init()
339 int optLevel = mCtx->getContext()->getOptLevel(); in init()
347 bool emitGlobalInfo = mCtx->getEmbedGlobalInfo(); in init()
348 bool emitGlobalInfoSkipConstant = mCtx->getEmbedGlobalInfoSkipConstant(); in init()
370 mCtx->unlockMutex(); in init()
405 mCtx->unlockMutex(); in init()
409 if (!SharedLibraryUtils::createSharedLibrary(mCtx->getContext()->getDriverName(), in init()
[all …]
DrsCpuScriptGroup.cpp26 mCtx = ctx; in CpuScriptGroupImpl()
211 RsdCpuScriptImpl *si = (RsdCpuScriptImpl *)mCtx->lookupScript(s); in execute()
233 mCtx->launchForEach(ains, inLen, outs[ct], nullptr, &mtls); in execute()
262 RsdCpuScriptImpl *si = (RsdCpuScriptImpl *)mCtx->lookupScript(s); in execute()
278 RsdCpuScriptImpl *si = (RsdCpuScriptImpl *)mCtx->lookupScript(s); in execute()
286 mCtx->launchForEach(ains, inLen, outs[0], nullptr, &mtls); in execute()
291 RsdCpuScriptImpl *si = (RsdCpuScriptImpl *)mCtx->lookupScript(s); in execute()
DrsCpuIntrinsicBlur.cpp443 mScratch = new void *[mCtx->getThreadCount()]; in RsdCpuScriptIntrinsicBlur()
444 mScratchSize = new size_t[mCtx->getThreadCount()]; in RsdCpuScriptIntrinsicBlur()
445 memset(mScratch, 0, sizeof(void *) * mCtx->getThreadCount()); in RsdCpuScriptIntrinsicBlur()
446 memset(mScratchSize, 0, sizeof(size_t) * mCtx->getThreadCount()); in RsdCpuScriptIntrinsicBlur()
452 uint32_t threads = mCtx->getThreadCount(); in ~RsdCpuScriptIntrinsicBlur()
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
DRSTestCore.java32 Context mCtx; field in RSTestCore
35 mCtx = ctx; in RSTestCore()
67 unitTests.add(new UT_primitives(this, mRes, mCtx)); in init()
68 unitTests.add(new UT_vector(this, mRes, mCtx)); in init()
69 unitTests.add(new UT_rsdebug(this, mRes, mCtx)); in init()
70 unitTests.add(new UT_rstime(this, mRes, mCtx)); in init()
71 unitTests.add(new UT_rstypes(this, mRes, mCtx)); in init()
72 unitTests.add(new UT_alloc(this, mRes, mCtx)); in init()
73 unitTests.add(new UT_refcount(this, mRes, mCtx)); in init()
74 unitTests.add(new UT_foreach(this, mRes, mCtx)); in init()
[all …]
DRSTestView.java44 private Context mCtx; field in RSTestView
48 mCtx = context; in RSTestView()
61 mRender = new RSTestCore(mCtx); in surfaceChanged()
DUnitTest.java28 protected Context mCtx; field in UnitTest
42 mCtx = ctx; in UnitTest()
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
DRSTestCore.java32 Context mCtx; field in RSTestCore
35 mCtx = ctx; in RSTestCore()
67 unitTests.add(new UT_primitives(this, mRes, mCtx)); in init()
68 unitTests.add(new UT_vector(this, mRes, mCtx)); in init()
69 unitTests.add(new UT_rsdebug(this, mRes, mCtx)); in init()
70 unitTests.add(new UT_rstime(this, mRes, mCtx)); in init()
71 unitTests.add(new UT_rstypes(this, mRes, mCtx)); in init()
72 unitTests.add(new UT_alloc(this, mRes, mCtx)); in init()
73 unitTests.add(new UT_refcount(this, mRes, mCtx)); in init()
74 unitTests.add(new UT_foreach(this, mRes, mCtx)); in init()
[all …]
DRSTestView.java44 private Context mCtx; field in RSTestView
48 mCtx = context; in RSTestView()
61 mRender = new RSTestCore(mCtx); in surfaceChanged()
DUnitTest.java28 protected Context mCtx; field in UnitTest
42 mCtx = ctx; in UnitTest()
/frameworks/compile/slang/
Dslang_rs_context.cpp56 mCtx(Ctx), in RSContext()
174 clang::TranslationUnitDecl *TUDecl = mCtx.getTranslationUnitDecl(); in processExportType()
218 mAllocationType = mCtx.getTypeDeclType(TD); in setAllocationType()
222 mScriptCallType = mCtx.getTypeDeclType(TD); in setScriptCallType()
232 clang::TranslationUnitDecl *TUDecl = mCtx.getTranslationUnitDecl(); in processExports()
357 const clang::QualType VoidPtrType = mCtx.getPointerType(mCtx.VoidTy); in markUsedByReducePragma()
363 mCtx, DC, Loc, Loc, in markUsedByReducePragma()
364 &mCtx.Idents.get(std::string(".rs.reduce_fn.") + FD->getNameAsString()), in markUsedByReducePragma()
366 mCtx.getTrivialTypeSourceInfo(VoidPtrType), in markUsedByReducePragma()
371 clang::DeclRefExpr *const DRE = clang::DeclRefExpr::Create(mCtx, in markUsedByReducePragma()
[all …]
Dslang_rs_object_ref_count.h104 clang::ASTContext &mCtx; variable
157 : mCtx(C), RSInitFD(false), mTempID(0) { in RSObjectRefCount()
162 GetRSRefCountingFunctions(mCtx); in Init()
Dslang_rs_object_ref_count.cpp1465 mCtx, // AST context in VisitCallExpr()
1469 &mCtx.Idents.get(VarName), // Id in VisitCallExpr()
1471 mCtx.getTrivialTypeSourceInfo(RetTy), // Type info in VisitCallExpr()
1477 mCtx, Decls, sizeof(Decls) / sizeof(*Decls)); in VisitCallExpr()
1478 clang::DeclStmt* DS = new (mCtx) clang::DeclStmt(DGR, Loc, Loc); in VisitCallExpr()
1480 getCurrentScope()->InsertStmt(mCtx, DS); in VisitCallExpr()
1483 mCtx, // AST context in VisitCallExpr()
1493 mCtx, in VisitCallExpr()
1501 getCurrentScope()->ReplaceExpr(mCtx, CE, CastExpr); in VisitCallExpr()
1567 NewRS = CreateRetStmtWithTempVar(mCtx, GetDeclContext(), RS, getNextID()); in VisitReturnStmt()
[all …]
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
DRSTestCore.java32 Context mCtx; field in RSTestCore
35 mCtx = ctx; in RSTestCore()
67 unitTests.add(new UT_primitives(this, mRes, mCtx)); in init()
68 unitTests.add(new UT_rsdebug(this, mRes, mCtx)); in init()
69 unitTests.add(new UT_rstime(this, mRes, mCtx)); in init()
70 unitTests.add(new UT_rstypes(this, mRes, mCtx)); in init()
71 unitTests.add(new UT_math(this, mRes, mCtx)); in init()
72 unitTests.add(new UT_fp_mad(this, mRes, mCtx)); in init()
DRSTestView.java44 private Context mCtx; field in RSTestView
48 mCtx = context; in RSTestView()
61 mRender = new RSTestCore(mCtx); in surfaceChanged()
DUnitTest.java28 protected Context mCtx; field in UnitTest
42 mCtx = ctx; in UnitTest()
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp50 mCtx(NULL), in SoftVPX()
82 mCtx = new vpx_codec_ctx_t; in initDecoder()
95 (vpx_codec_ctx_t *)mCtx, in initDecoder()
106 vpx_codec_destroy((vpx_codec_ctx_t *)mCtx); in destroyDecoder()
107 delete (vpx_codec_ctx_t *)mCtx; in destroyDecoder()
108 mCtx = NULL; in destroyDecoder()
121 if (vpx_codec_decode((vpx_codec_ctx_t *)mCtx, NULL, 0, NULL, 0)) { in outputBuffers()
133 while ((mImg = vpx_codec_get_frame((vpx_codec_ctx_t *)mCtx, &iter))) { in outputBuffers()
140 mImg = vpx_codec_get_frame((vpx_codec_ctx_t *)mCtx, &iter); in outputBuffers()
275 (vpx_codec_ctx_t *)mCtx, inHeader->pBuffer + inHeader->nOffset, in onQueueFilled()
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/
DLingerMonitorTest.java59 @Mock Context mCtx; field in LingerMonitorTest
66 when(mCtx.getResources()).thenReturn(mResources); in setUp()
67 when(mCtx.getPackageName()).thenReturn("com.android.server.connectivity"); in setUp()
70 mMonitor = new TestableLingerMonitor(mCtx, mNotifier, HIGH_DAILY_LIMIT, HIGH_RATE_LIMIT); in setUp()
164 mMonitor = new TestableLingerMonitor(mCtx, mNotifier, HIGH_DAILY_LIMIT, LOW_RATE_LIMIT); in testRateLimiting()
189 mMonitor = new TestableLingerMonitor(mCtx, mNotifier, LOW_DAILY_LIMIT, HIGH_RATE_LIMIT); in testDailyLimiting()
326 caps, 50, mCtx, null, mMisc, null, mConnService); in nai()
/frameworks/base/services/core/java/com/android/server/fingerprint/
DFingerprintsUserState.java61 private final Context mCtx; field in FingerprintsUserState
65 mCtx = ctx; in FingerprintsUserState()
118 String name = mCtx.getString(com.android.internal.R.string.fingerprint_name_template, in getUniqueName()

12345678