Searched refs:dc (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/rs/driver/
H A DrsdGL.cpp134 static void DumpDebug(RsdHal *dc) { argument
135 ALOGE(" EGL ver %i %i", dc->gl.egl.majorVersion, dc->gl.egl.minorVersion);
136 ALOGE(" EGL context %p surface %p, Display=%p", dc->gl.egl.context, dc->gl.egl.surface,
137 dc->gl.egl.display);
138 ALOGE(" GL vendor: %s", dc->gl.gl.vendor);
139 ALOGE(" GL renderer: %s", dc->gl.gl.renderer);
140 ALOGE(" GL Version: %s", dc->gl.gl.version);
141 ALOGE(" GL Extensions: %s", dc
153 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
[all...]
H A DrsdCore.cpp201 RsdHal *dc = (RsdHal *)calloc(1, sizeof(RsdHal)); local
202 if (!dc) {
206 rsc->mHal.drv = dc;
208 dc->mCpuRef = RsdCpuReference::create(rsc, version_major, version_minor,
210 if (!dc->mCpuRef) {
213 free(dc);
220 dc->mCpuRef->setSetupCompilerCallback(NULL);
239 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
241 dc->mCpuRef->setPriority(priority);
244 if (dc
251 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
[all...]
H A DrsdFrameBufferObj.cpp126 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
132 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_WIDTH, &width);
133 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_HEIGHT, &height);
151 if(dc->gl.wndSurface != dc->gl.currentWndSurface) {
152 rsdGLSetInternalSurface(rsc, dc->gl.wndSurface);
H A DrsdProgram.cpp61 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
64 dc->gl.shaderCache->setActiveVertex((RsdShader*)pv->mHal.drv);
68 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
77 dc->gl.shaderCache->cleanupVertex(drv);
95 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
98 dc->gl.shaderCache->setActiveFragment((RsdShader*)pf->mHal.drv);
102 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
111 dc->gl.shaderCache->cleanupFragment(drv);
H A DrsdBcc.cpp45 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
46 RsdCpuReference::CpuScript * cs = dc->mCpuRef->createScript(script, resName, cacheDir,
57 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
58 RsdCpuReference::CpuScript * cs = dc->mCpuRef->createIntrinsic(s, iid, e);
95 int rsdScriptInvokeRoot(const Context *dc, Script *s) { argument
100 void rsdScriptInvokeInit(const Context *dc, Script *s) { argument
105 void rsdScriptInvokeFreeChildren(const Context *dc, Script *s) { argument
110 void rsdScriptInvokeFunction(const Context *dc, Script *s, argument
118 void rsdScriptSetGlobalVar(const Context *dc, const Script *s, argument
124 void rsdScriptGetGlobalVar(const Context *dc, cons argument
131 rsdScriptSetGlobalVarWithElemDims(const Context *dc, const Script *s, uint32_t slot, void *data, size_t dataLength, const android::renderscript::Element *elem, const uint32_t *dims, size_t dimLength) argument
139 rsdScriptSetGlobalBind(const Context *dc, const Script *s, uint32_t slot, Allocation *data) argument
144 rsdScriptSetGlobalObj(const Context *dc, const Script *s, uint32_t slot, ObjectBase *data) argument
149 rsdScriptDestroy(const Context *dc, Script *s) argument
156 rsdScriptGetAllocationForPointer(const android::renderscript::Context *dc, const android::renderscript::Script *sc, const void *ptr) argument
[all...]
H A DrsdBcc.h31 void rsdScriptInvokeFunction(const android::renderscript::Context *dc,
56 int rsdScriptInvokeRoot(const android::renderscript::Context *dc,
58 void rsdScriptInvokeInit(const android::renderscript::Context *dc,
60 void rsdScriptInvokeFreeChildren(const android::renderscript::Context *dc,
83 void rsdScriptSetGlobal(const android::renderscript::Context *dc,
88 void rsdScriptGetGlobal(const android::renderscript::Context *dc,
93 void rsdScriptDestroy(const android::renderscript::Context *dc,
97 const android::renderscript::Context *dc,
H A DrsdMesh.cpp43 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
44 if (!dc->gl.shaderCache->setup(rsc)) {
H A DrsdScriptGroup.cpp32 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
34 sg->mHal.drv = dc->mCpuRef->createScriptGroup(sg);
H A DrsdVertexArray.cpp84 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
85 RsdVertexArrayState *state = dc->gl.vertexArrayState;
86 RsdShaderCache *sc = dc->gl.shaderCache;
H A DrsdFrameBuffer.cpp71 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
72 dc->gl.currentFrameBuffer = fbo;
H A DrsdPath.cpp147 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
148 if (!dc->gl.shaderCache->setup(rsc)) {
H A DrsdShader.cpp385 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
414 if (!dc->gl.gl.OES_texture_npot && tex->getType()->getIsNp2()) {
416 (dc->gl.gl.NV_texture_npot_2D_mipmap || dc->gl.gl.IMG_texture_npot)) {
417 if (dc->gl.gl.NV_texture_npot_2D_mipmap) {
453 float anisoValue = rsMin(dc->gl.gl.EXT_texture_max_aniso, s->mHal.state.aniso);
454 if (dc->gl.gl.EXT_texture_max_aniso > 1.0f) {
466 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local
469 uint32_t numTexturesAvailable = dc->gl.gl.maxFragmentTextureImageUnits;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcController.java107 void addDc(DataConnection dc) { argument
108 mDcListAll.add(dc);
111 void removeDc(DataConnection dc) { argument
112 mDcListActiveByCid.remove(dc.mCid);
113 mDcListAll.remove(dc);
116 void addActiveDcByCid(DataConnection dc) { argument
117 if (DBG && dc.mCid < 0) {
118 log("addActiveDcByCid dc.mCid < 0 dc=" + dc);
123 removeActiveDcByCid(DataConnection dc) argument
[all...]
H A DDcRetryAlarmController.java78 DcRetryAlarmController(PhoneBase phone, DataConnection dc) { argument
79 mLogTag = dc.getName();
81 mDc = dc;
105 * Using dc.mRetryManager and the result of the SETUP_DATA_CALL determine
108 * @param dc is the DataConnection
112 int getSuggestedRetryTime(DataConnection dc, AsyncResult ar) { argument
122 } else if (dc.mRetryManager.isRetryNeeded()) {
123 retryDelay = dc.mRetryManager.getRetryTimer();
134 log("getSuggestedRetryTime: " + retryDelay + " response=" + response + " dc=" + dc);
[all...]
H A DDcTesterDeactivateAll.java56 for (DataConnection dc : mDcc.mDcListAll) {
57 dc.tearDownNow();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaCall.java82 attach(Connection conn, DriverCall dc) { argument
85 mState = stateFromDCState (dc.state);
134 update (CdmaConnection conn, DriverCall dc) { argument
138 newState = stateFromDCState(dc.state);
H A DCdmaConnection.java108 CdmaConnection (Context context, DriverCall dc, CdmaCallTracker ct, int index) { argument
115 mAddress = dc.number;
117 mIsIncoming = dc.isMT;
119 mCnapName = dc.name;
120 mCnapNamePresentation = dc.namePresentation;
121 mNumberPresentation = dc.numberPresentation;
125 mParent = parentFromDCState (dc.state);
126 mParent.attach(this, dc);
447 update (DriverCall dc) { argument
453 newParent = parentFromDCState(dc
[all...]
H A DCdmaCallTracker.java527 DriverCall dc = null;
531 dc = (DriverCall) polledCalls.get(curDC);
533 if (dc.index == i+1) {
536 dc = null;
541 conn+", dc=" + dc);
543 if (conn == null && dc != null) {
545 if (mPendingMO != null && mPendingMO.compareTo(dc)) {
552 mPendingMO.update(dc);
577 log("pendingMo=" + mPendingMO + ", dc
1146 checkMtFindNewRinging(DriverCall dc, int i) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmCall.java84 attach(Connection conn, DriverCall dc) { argument
87 mState = stateFromDCState (dc.state);
135 update (GsmConnection conn, DriverCall dc) { argument
139 newState = stateFromDCState(dc.state);
H A DGsmConnection.java110 GsmConnection (Context context, DriverCall dc, GsmCallTracker ct, int index) { argument
117 mAddress = dc.number;
119 mIsIncoming = dc.isMT;
121 mCnapName = dc.name;
122 mCnapNamePresentation = dc.namePresentation;
123 mNumberPresentation = dc.numberPresentation;
124 mUusInfo = dc.uusInfo;
128 mParent = parentFromDCState (dc.state);
129 mParent.attach(this, dc);
416 update (DriverCall dc) { argument
[all...]
H A DGsmCallTracker.java452 DriverCall dc = null;
456 dc = (DriverCall) polledCalls.get(curDC);
458 if (dc.index == i+1) {
461 dc = null;
466 conn+", dc=" + dc);
468 if (conn == null && dc != null) {
470 if (mPendingMO != null && mPendingMO.compareTo(dc)) {
477 mPendingMO.update(dc);
496 mConnections[i] = new GsmConnection(mPhone.getContext(), dc, thi
[all...]
/frameworks/native/libs/gui/tests/
H A DBufferQueue_test.cpp107 sp<DummyConsumer> dc(new DummyConsumer);
108 ASSERT_EQ(OK, mConsumer->consumerConnect(dc, false));
143 sp<DummyConsumer> dc(new DummyConsumer);
144 mConsumer->consumerConnect(dc, false);
178 sp<DummyConsumer> dc(new DummyConsumer);
179 mConsumer->consumerConnect(dc, false);
195 sp<DummyConsumer> dc(new DummyConsumer);
196 mConsumer->consumerConnect(dc, false);
210 sp<DummyConsumer> dc(new DummyConsumer);
211 ASSERT_EQ(OK, mConsumer->consumerConnect(dc, fals
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDriverCall.java151 compareTo(DriverCall dc) { argument
153 if (index < dc.index) {
155 } else if (index == dc.index) {
157 } else { /*index > dc.index*/
H A DCallTracker.java97 protected Connection getHoConnection(DriverCall dc) { argument
100 if (hoConn.getAddress() != null && hoConn.getAddress().contains(dc.number)) {
107 if (hoConn.getStateBeforeHandover() == Call.stateFromDCState(dc.state)) {
/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp128 RsdCpuReferenceImpl *dc = (RsdCpuReferenceImpl *)vrsc; local
130 uint32_t idx = __sync_fetch_and_add(&dc->mWorkers.mLaunchCount, 1);
132 //ALOGV("RS helperThread starting %p idx=%i", dc, idx);
134 dc->mWorkers.mLaunchSignals[idx].init();
135 dc->mWorkers.mNativeThreadId[idx] = gettid();
137 memset(&dc->mTlsStruct, 0, sizeof(dc->mTlsStruct));
138 int status = pthread_setspecific(gThreadTLSKey, &dc->mTlsStruct);
153 while (!dc->mExit) {
154 dc
[all...]

Completed in 280 milliseconds

12