Home
last modified time | relevance | path

Searched refs:dc (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/rs/driver/
DrsdGL.cpp134 static void DumpDebug(RsdHal *dc) { in DumpDebug() argument
135 ALOGE(" EGL ver %i %i", dc->gl.egl.majorVersion, dc->gl.egl.minorVersion); in DumpDebug()
136 ALOGE(" EGL context %p surface %p, Display=%p", dc->gl.egl.context, dc->gl.egl.surface, in DumpDebug()
137 dc->gl.egl.display); in DumpDebug()
138 ALOGE(" GL vendor: %s", dc->gl.gl.vendor); in DumpDebug()
139 ALOGE(" GL renderer: %s", dc->gl.gl.renderer); in DumpDebug()
140 ALOGE(" GL Version: %s", dc->gl.gl.version); in DumpDebug()
141 ALOGE(" GL Extensions: %s", dc->gl.gl.extensions); in DumpDebug()
142 ALOGE(" GL int Versions %i %i", dc->gl.gl.majorVersion, dc->gl.gl.minorVersion); in DumpDebug()
144 ALOGV("MAX Textures %i, %i %i", dc->gl.gl.maxVertexTextureUnits, in DumpDebug()
[all …]
DrsdBcc.cpp45 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdScriptInit() local
47 dc->mCpuRef->createScript(script, resName, cacheDir, bitcode, in rsdScriptInit()
59 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdInitIntrinsic() local
60 RsdCpuReference::CpuScript * cs = dc->mCpuRef->createIntrinsic(s, iid, e); in rsdInitIntrinsic()
104 int rsdScriptInvokeRoot(const Context *dc, Script *s) { in rsdScriptInvokeRoot() argument
109 void rsdScriptInvokeInit(const Context *dc, Script *s) { in rsdScriptInvokeInit() argument
114 void rsdScriptInvokeFreeChildren(const Context *dc, Script *s) { in rsdScriptInvokeFreeChildren() argument
119 void rsdScriptInvokeFunction(const Context *dc, Script *s, in rsdScriptInvokeFunction() argument
127 void rsdScriptInvokeReduce(const Context *dc, Script *s, in rsdScriptInvokeReduce() argument
136 void rsdScriptSetGlobalVar(const Context *dc, const Script *s, in rsdScriptSetGlobalVar() argument
[all …]
DrsdProgram.cpp61 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramVertexSetActive() local
64 dc->gl.shaderCache->setActiveVertex((RsdShader*)pv->mHal.drv); in rsdProgramVertexSetActive()
68 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramVertexDestroy() local
77 dc->gl.shaderCache->cleanupVertex(drv); in rsdProgramVertexDestroy()
95 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramFragmentSetActive() local
98 dc->gl.shaderCache->setActiveFragment((RsdShader*)pf->mHal.drv); in rsdProgramFragmentSetActive()
102 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramFragmentDestroy() local
111 dc->gl.shaderCache->cleanupFragment(drv); in rsdProgramFragmentDestroy()
DrsdFrameBufferObj.cpp126 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in setActive() local
132 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_WIDTH, &width); in setActive()
133 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_HEIGHT, &height); in setActive()
151 if(dc->gl.wndSurface != dc->gl.currentWndSurface) { in setActive()
152 rsdGLSetInternalSurface(rsc, dc->gl.wndSurface); in setActive()
DrsdCore.cpp324 RsdHal *dc = (RsdHal *)calloc(1, sizeof(RsdHal)); in rsdHalInit() local
325 if (!dc) { in rsdHalInit()
329 rsc->mHal.drv = dc; in rsdHalInit()
331 dc->mCpuRef = RsdCpuReference::create(rsc, version_major, version_minor, in rsdHalInit()
333 if (!dc->mCpuRef) { in rsdHalInit()
336 free(dc); in rsdHalInit()
345 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in SetPriority() local
347 dc->mCpuRef->setPriority(priority); in SetPriority()
350 if (dc->mHasGraphics) { in SetPriority()
357 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in Shutdown() local
[all …]
DrsdBcc.h31 void rsdScriptInvokeFunction(const android::renderscript::Context *dc,
64 int rsdScriptInvokeRoot(const android::renderscript::Context *dc,
66 void rsdScriptInvokeInit(const android::renderscript::Context *dc,
68 void rsdScriptInvokeFreeChildren(const android::renderscript::Context *dc,
91 void rsdScriptSetGlobal(const android::renderscript::Context *dc,
96 void rsdScriptGetGlobal(const android::renderscript::Context *dc,
101 void rsdScriptDestroy(const android::renderscript::Context *dc,
105 const android::renderscript::Context *dc,
DrsdVertexArray.cpp84 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in setup() local
85 RsdVertexArrayState *state = dc->gl.vertexArrayState; in setup()
86 RsdShaderCache *sc = dc->gl.shaderCache; in setup()
DrsdMesh.cpp43 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdMeshDraw() local
44 if (!dc->gl.shaderCache->setup(rsc)) { in rsdMeshDraw()
DrsdScriptGroup.cpp32 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdScriptGroupInit() local
34 sg->mHal.drv = dc->mCpuRef->createScriptGroup(sg); in rsdScriptGroupInit()
DrsdShader.cpp387 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in setupSampler() local
416 if (!dc->gl.gl.OES_texture_npot && tex->getType()->getIsNp2()) { in setupSampler()
418 (dc->gl.gl.NV_texture_npot_2D_mipmap || dc->gl.gl.IMG_texture_npot)) { in setupSampler()
419 if (dc->gl.gl.NV_texture_npot_2D_mipmap) { in setupSampler()
455 float anisoValue = rsMin(dc->gl.gl.EXT_texture_max_aniso, s->mHal.state.aniso); in setupSampler()
456 if (dc->gl.gl.EXT_texture_max_aniso > 1.0f) { in setupSampler()
468 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in setupTextures() local
471 uint32_t numTexturesAvailable = dc->gl.gl.maxFragmentTextureImageUnits; in setupTextures()
DrsdFrameBuffer.cpp71 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdFrameBufferInit() local
72 dc->gl.currentFrameBuffer = fbo; in rsdFrameBufferInit()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcController.java126 void addDc(DataConnection dc) { in addDc() argument
127 mDcListAll.add(dc); in addDc()
130 void removeDc(DataConnection dc) { in removeDc() argument
131 mDcListActiveByCid.remove(dc.mCid); in removeDc()
132 mDcListAll.remove(dc); in removeDc()
135 public void addActiveDcByCid(DataConnection dc) { in addActiveDcByCid() argument
136 if (DBG && dc.mCid < 0) { in addActiveDcByCid()
137 log("addActiveDcByCid dc.mCid < 0 dc=" + dc); in addActiveDcByCid()
139 mDcListActiveByCid.put(dc.mCid, dc); in addActiveDcByCid()
146 void removeActiveDcByCid(DataConnection dc) { in removeActiveDcByCid() argument
[all …]
DDcTesterDeactivateAll.java56 for (DataConnection dc : mDcc.mDcListAll) {
57 dc.tearDownNow();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaConnection.java122 public GsmCdmaConnection (GsmCdmaPhone phone, DriverCall dc, GsmCdmaCallTracker ct, int index) { in GsmCdmaConnection() argument
130 mAddress = dc.number; in GsmCdmaConnection()
132 mIsIncoming = dc.isMT; in GsmCdmaConnection()
134 mCnapName = dc.name; in GsmCdmaConnection()
135 mCnapNamePresentation = dc.namePresentation; in GsmCdmaConnection()
136 mNumberPresentation = dc.numberPresentation; in GsmCdmaConnection()
137 mUusInfo = dc.uusInfo; in GsmCdmaConnection()
141 mParent = parentFromDCState(dc.state); in GsmCdmaConnection()
142 mParent.attach(this, dc); in GsmCdmaConnection()
598 update (DriverCall dc) { in update() argument
[all …]
DGsmCdmaCallTracker.java762 DriverCall dc = null; in handlePollCalls() local
766 dc = (DriverCall) polledCalls.get(curDC); in handlePollCalls()
768 if (dc.index == i+1) { in handlePollCalls()
771 dc = null; in handlePollCalls()
776 if (conn != null || dc != null) { in handlePollCalls()
781 conn+", dc=" + dc); in handlePollCalls()
783 if (conn == null && dc != null) { in handlePollCalls()
785 if (mPendingMO != null && mPendingMO.compareTo(dc)) { in handlePollCalls()
792 mPendingMO.update(dc); in handlePollCalls()
818 log("pendingMo=" + mPendingMO + ", dc=" + dc); in handlePollCalls()
[all …]
DGsmCdmaCall.java69 public void attach(Connection conn, DriverCall dc) { in attach() argument
72 mState = stateFromDCState (dc.state); in attach()
114 /*package*/ boolean update (GsmCdmaConnection conn, DriverCall dc) { in update() argument
118 newState = stateFromDCState(dc.state); in update()
DDriverCall.java151 compareTo(DriverCall dc) { in compareTo() argument
153 if (index < dc.index) { in compareTo()
155 } else if (index == dc.index) { in compareTo()
DCallTracker.java96 protected Connection getHoConnection(DriverCall dc) { in getHoConnection() argument
99 if (hoConn.getAddress() != null && hoConn.getAddress().contains(dc.number)) { in getHoConnection()
106 if (hoConn.getStateBeforeHandover() == Call.stateFromDCState(dc.state)) { in getHoConnection()
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp131 sp<DummyConsumer> dc(new DummyConsumer); in TEST_F() local
132 ASSERT_EQ(OK, mConsumer->consumerConnect(dc, false)); in TEST_F()
168 sp<DummyConsumer> dc(new DummyConsumer); in TEST_F() local
169 mConsumer->consumerConnect(dc, false); in TEST_F()
204 sp<DummyConsumer> dc(new DummyConsumer); in TEST_F() local
205 mConsumer->consumerConnect(dc, false); in TEST_F()
248 sp<DummyConsumer> dc(new DummyConsumer); in TEST_F() local
249 mConsumer->consumerConnect(dc, false); in TEST_F()
295 sp<DummyConsumer> dc(new DummyConsumer); in TEST_F() local
296 mConsumer->consumerConnect(dc, false); in TEST_F()
[all …]
/frameworks/base/docs/html-intl/intl/ru/distribute/googleplay/
Ddeveloper-console.jd33 <!-- <img src="{@docRoot}images/gp-dc-startscreen.jpg" style="width:480px;" /> -->
60 <img src="{@docRoot}images/gp-dc-home.png" class="border-img">
79 <img src="{@docRoot}images/gp-dc-profile.png" class="frame">
143 <img src="{@docRoot}images/gp-dc-invite.png" class="frame">
179 <img src="{@docRoot}images/gp-dc-details.png" class="frame">
237 <img src="{@docRoot}images/gp-dc-ab.png" class="frame">
511 <img src="{@docRoot}images/gp-dc-reviews.png" class="frame">
541 <img src="{@docRoot}images/gp-dc-stats.png">
/frameworks/base/docs/html-intl/intl/ja/distribute/googleplay/
Ddeveloper-console.jd32 <!-- <img src="{@docRoot}images/gp-dc-startscreen.jpg" style="width:480px;" /> -->
55 <img src="{@docRoot}images/gp-dc-home.png" class="border-img">
71 <img src="{@docRoot}images/gp-dc-profile.png" class="frame">
127 <img src="{@docRoot}images/gp-dc-invite.png" class="frame">
155 <img src="{@docRoot}images/gp-dc-details.png" class="frame">
195 <img src="{@docRoot}images/gp-dc-ab.png" class="frame">
391 <img src="{@docRoot}images/gp-dc-reviews.png" class="frame">
414 <img src="{@docRoot}images/gp-dc-stats.png">
/frameworks/base/docs/html-intl/intl/ko/distribute/googleplay/
Ddeveloper-console.jd33 <!-- <img src="{@docRoot}images/gp-dc-startscreen.jpg" style="width:480px;" /> -->
60 <img src="{@docRoot}images/gp-dc-home.png" class="border-img">
79 <img src="{@docRoot}images/gp-dc-profile.png" class="frame">
143 <img src="{@docRoot}images/gp-dc-invite.png" class="frame">
179 <img src="{@docRoot}images/gp-dc-details.png" class="frame">
237 <img src="{@docRoot}images/gp-dc-ab.png" class="frame">
511 <img src="{@docRoot}images/gp-dc-reviews.png" class="frame">
541 <img src="{@docRoot}images/gp-dc-stats.png">
/frameworks/base/docs/html-intl/intl/zh-tw/distribute/googleplay/
Ddeveloper-console.jd32 <!-- <img src="{@docRoot}images/gp-dc-startscreen.jpg" style="width:480px;" /> -->
55 <img src="{@docRoot}images/gp-dc-home.png" class="border-img">
71 <img src="{@docRoot}images/gp-dc-profile.png" class="frame">
127 <img src="{@docRoot}images/gp-dc-invite.png" class="frame">
155 <img src="{@docRoot}images/gp-dc-details.png" class="frame">
195 <img src="{@docRoot}images/gp-dc-ab.png" class="frame">
391 <img src="{@docRoot}images/gp-dc-reviews.png" class="frame">
414 <img src="{@docRoot}images/gp-dc-stats.png">
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/googleplay/
Ddeveloper-console.jd33 <!-- <img src="{@docRoot}images/gp-dc-startscreen.jpg" style="width:480px;" /> -->
60 <img src="{@docRoot}images/gp-dc-home.png" class="border-img">
79 <img src="{@docRoot}images/gp-dc-profile.png" class="frame">
143 <img src="{@docRoot}images/gp-dc-invite.png" class="frame">
179 <img src="{@docRoot}images/gp-dc-details.png" class="frame">
237 <img src="{@docRoot}images/gp-dc-ab.png" class="frame">
511 <img src="{@docRoot}images/gp-dc-reviews.png" class="frame">
541 <img src="{@docRoot}images/gp-dc-stats.png">
/frameworks/rs/cpu_ref/
DrsCpuCore.cpp114 RsdCpuReferenceImpl *dc = (RsdCpuReferenceImpl *)vrsc; in helperThreadProc() local
116 uint32_t idx = __sync_fetch_and_add(&dc->mWorkers.mLaunchCount, 1); in helperThreadProc()
120 dc->mWorkers.mLaunchSignals[idx].init(); in helperThreadProc()
121 dc->mWorkers.mNativeThreadId[idx] = gettid(); in helperThreadProc()
123 memset(&dc->mTlsStruct, 0, sizeof(dc->mTlsStruct)); in helperThreadProc()
124 int status = pthread_setspecific(gThreadTLSKey, &dc->mTlsStruct); in helperThreadProc()
139 while (!dc->mExit) { in helperThreadProc()
140 dc->mWorkers.mLaunchSignals[idx].wait(); in helperThreadProc()
141 if (dc->mWorkers.mLaunchCallback) { in helperThreadProc()
143 dc->mWorkers.mLaunchCallback(dc->mWorkers.mLaunchData, idx+1); in helperThreadProc()
[all …]

12