/frameworks/rs/driver/ |
D | rsdGL.cpp | 130 static void DumpDebug(RsdHal *dc) { in DumpDebug() argument 131 ALOGE(" EGL ver %i %i", dc->gl.egl.majorVersion, dc->gl.egl.minorVersion); in DumpDebug() 132 ALOGE(" EGL context %p surface %p, Display=%p", dc->gl.egl.context, dc->gl.egl.surface, in DumpDebug() 133 dc->gl.egl.display); in DumpDebug() 134 ALOGE(" GL vendor: %s", dc->gl.gl.vendor); in DumpDebug() 135 ALOGE(" GL renderer: %s", dc->gl.gl.renderer); in DumpDebug() 136 ALOGE(" GL Version: %s", dc->gl.gl.version); in DumpDebug() 137 ALOGE(" GL Extensions: %s", dc->gl.gl.extensions); in DumpDebug() 138 ALOGE(" GL int Versions %i %i", dc->gl.gl.majorVersion, dc->gl.gl.minorVersion); in DumpDebug() 140 ALOGV("MAX Textures %i, %i %i", dc->gl.gl.maxVertexTextureUnits, in DumpDebug() [all …]
|
D | rsdBcc.cpp | 44 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdScriptInit() local 46 dc->mCpuRef->createScript(script, resName, cacheDir, bitcode, in rsdScriptInit() 58 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdInitIntrinsic() local 59 RsdCpuReference::CpuScript * cs = dc->mCpuRef->createIntrinsic(s, iid, e); in rsdInitIntrinsic() 103 int rsdScriptInvokeRoot(const Context *dc, Script *s) { in rsdScriptInvokeRoot() argument 108 void rsdScriptInvokeInit(const Context *dc, Script *s) { in rsdScriptInvokeInit() argument 113 void rsdScriptInvokeFreeChildren(const Context *dc, Script *s) { in rsdScriptInvokeFreeChildren() argument 118 void rsdScriptInvokeFunction(const Context *dc, Script *s, in rsdScriptInvokeFunction() argument 126 void rsdScriptInvokeReduce(const Context *dc, Script *s, in rsdScriptInvokeReduce() argument 135 void rsdScriptSetGlobalVar(const Context *dc, const Script *s, in rsdScriptSetGlobalVar() argument [all …]
|
D | rsdFrameBufferObj.cpp | 125 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in setActive() local 131 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_WIDTH, &width); in setActive() 132 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_HEIGHT, &height); in setActive() 150 if(dc->gl.wndSurface != dc->gl.currentWndSurface) { in setActive() 151 rsdGLSetInternalSurface(rsc, dc->gl.wndSurface); in setActive()
|
D | rsdProgram.cpp | 64 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramVertexSetActive() local 67 dc->gl.shaderCache->setActiveVertex((RsdShader*)pv->mHal.drv); in rsdProgramVertexSetActive() 71 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramVertexDestroy() local 80 dc->gl.shaderCache->cleanupVertex(drv); in rsdProgramVertexDestroy() 98 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramFragmentSetActive() local 101 dc->gl.shaderCache->setActiveFragment((RsdShader*)pf->mHal.drv); in rsdProgramFragmentSetActive() 105 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in rsdProgramFragmentDestroy() local 114 dc->gl.shaderCache->cleanupFragment(drv); in rsdProgramFragmentDestroy()
|
D | rsdCore.cpp | 331 RsdHal *dc = (RsdHal *)calloc(1, sizeof(RsdHal)); in rsdHalInit() local 332 if (!dc) { in rsdHalInit() 336 rsc->mHal.drv = dc; in rsdHalInit() 338 dc->mCpuRef = RsdCpuReference::create(rsc, version_major, version_minor, in rsdHalInit() 340 if (!dc->mCpuRef) { in rsdHalInit() 343 free(dc); in rsdHalInit() 352 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in SetPriority() local 354 dc->mCpuRef->setPriority(priority); in SetPriority() 357 if (dc->mHasGraphics) { in SetPriority() 364 RsdHal *dc = (RsdHal *)rsc->mHal.drv; in Shutdown() local [all …]
|
D | rsdBcc.h | 31 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,
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayContentTests.java | 234 final DisplayContent dc = createNewDisplay(); in testMoveStackBetweenDisplays() local 237 final TaskStack stack = createTaskStackOnDisplay(dc); in testMoveStackBetweenDisplays() 238 assertEquals(dc.getDisplayId(), stack.getDisplayContent().getDisplayId()); in testMoveStackBetweenDisplays() 239 assertEquals(dc, stack.getParent().getParent()); in testMoveStackBetweenDisplays() 240 assertEquals(dc, stack.getDisplayContent()); in testMoveStackBetweenDisplays() 244 dc); in testMoveStackBetweenDisplays() 246 assertEquals(dc, task.getDisplayContent()); in testMoveStackBetweenDisplays() 247 assertEquals(dc, token.getDisplayContent()); in testMoveStackBetweenDisplays() 371 final DisplayContent dc = createNewDisplay(); in doTestFocusedWindowMultipleDisplays() local 377 final WindowState window2 = createWindow(null, TYPE_BASE_APPLICATION, dc, "window2"); in doTestFocusedWindowMultipleDisplays() [all …]
|
D | WindowTestUtils.java | 51 static TestAppWindowToken createAppWindowTokenInTask(DisplayContent dc, Task task) { in createAppWindowTokenInTask() argument 52 final TestAppWindowToken newToken = createTestAppWindowToken(dc); in createAppWindowTokenInTask() 57 static TestAppWindowToken createTestAppWindowToken(DisplayContent dc) { in createTestAppWindowToken() argument 58 synchronized (dc.mWmService.mGlobalLock) { in createTestAppWindowToken() 59 return new TestAppWindowToken(dc); in createTestAppWindowToken() 67 private TestAppWindowToken(DisplayContent dc) { in TestAppWindowToken() argument 68 super(dc.mWmService, new IApplicationToken.Stub() { in TestAppWindowToken() 73 }, new ComponentName("", ""), false, dc, true /* fillsParent */); in TestAppWindowToken() 102 static TestWindowToken createTestWindowToken(int type, DisplayContent dc) { in createTestWindowToken() argument 103 return createTestWindowToken(type, dc, false /* persistOnEmpty */); in createTestWindowToken() [all …]
|
D | WallpaperControllerTests.java | 49 final DisplayContent dc = createNewDisplay(); in testWallpaperScreenshot() local 50 assertFalse(dc.mWallpaperController.canScreenshotWallpaper()); in testWallpaperScreenshot() 54 true, dc, true /* ownerCanManageAppTokens */); in testWallpaperScreenshot() 57 assertFalse(dc.mWallpaperController.canScreenshotWallpaper()); in testWallpaperScreenshot() 62 assertFalse(dc.mWallpaperController.canScreenshotWallpaper()); in testWallpaperScreenshot() 68 assertFalse(dc.mWallpaperController.canScreenshotWallpaper()); in testWallpaperScreenshot() 72 assertTrue(dc.mWallpaperController.canScreenshotWallpaper()); in testWallpaperScreenshot()
|
D | WindowTestsBase.java | 258 DisplayContent dc, int windowingMode, int activityType, int type) { in createWindowToken() argument 261 return WindowTestUtils.createTestWindowToken(type, dc); in createWindowToken() 264 return createAppWindowToken(dc, windowingMode, activityType); in createWindowToken() 268 AppWindowToken createAppWindowToken(DisplayContent dc, int windowingMode, int activityType) { in createAppWindowToken() argument 269 return createTestAppWindowToken(dc, windowingMode, activityType); in createAppWindowToken() 272 WindowTestUtils.TestAppWindowToken createTestAppWindowToken(DisplayContent dc, int in createTestAppWindowToken() argument 274 final TaskStack stack = createTaskStackOnDisplay(windowingMode, activityType, dc); in createTestAppWindowToken() 277 WindowTestUtils.createTestAppWindowToken(dc); in createTestAppWindowToken() 299 int type, DisplayContent dc, String name) { in createWindowOnStack() argument 301 final WindowToken token = createWindowToken(dc, windowingMode, activityType, type); in createWindowOnStack() [all …]
|
D | AppTransitionTests.java | 190 DisplayContent dc = createNewDisplay(Display.STATE_ON); in testLoadAnimationSafely() local 191 assertNull(dc.mAppTransition.loadAnimationSafely( in testLoadAnimationSafely() 197 final DisplayContent dc = createNewDisplay(Display.STATE_ON); in testCancelRemoteAnimationWhenFreeze() local 199 dc, "exiting app"); in testCancelRemoteAnimationWhenFreeze() 214 dc.prepareAppTransition(TRANSIT_ACTIVITY_CLOSE, in testCancelRemoteAnimationWhenFreeze() 216 assertEquals(TRANSIT_ACTIVITY_CLOSE, dc.mAppTransition.getAppTransition()); in testCancelRemoteAnimationWhenFreeze() 217 dc.mAppTransition.overridePendingAppTransitionRemote(adapter); in testCancelRemoteAnimationWhenFreeze() 219 assertTrue(dc.mClosingApps.size() > 0); in testCancelRemoteAnimationWhenFreeze() 222 assertTrue(dc.isAppAnimating()); in testCancelRemoteAnimationWhenFreeze() 224 dc.mAppTransition.freeze(); in testCancelRemoteAnimationWhenFreeze() [all …]
|
D | WindowTokenTests.java | 77 final DisplayContent dc = mDisplayContent; in testChildRemoval() local 78 final WindowTestUtils.TestWindowToken token = WindowTestUtils.createTestWindowToken(0, dc); in testChildRemoval() 80 assertEquals(token, dc.getWindowToken(token.token)); in testChildRemoval() 87 assertEquals(token, dc.getWindowToken(token.token)); in testChildRemoval() 92 assertEquals(null, dc.getWindowToken(token.token)); in testChildRemoval()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcNetworkAgent.java | 70 private DcNetworkAgent(DataConnection dc, String tag, Phone phone, NetworkInfo ni, in DcNetworkAgent() argument 73 super(dc.getHandler().getLooper(), phone.getContext(), tag, ni, in DcNetworkAgent() 74 dc.getNetworkCapabilities(), dc.getLinkProperties(), score, misc, in DcNetworkAgent() 78 mNetworkCapabilities = dc.getNetworkCapabilities(); in DcNetworkAgent() 80 mDataConnection = dc; in DcNetworkAgent() 81 logd(tag + " created for data connection " + dc.getName()); in DcNetworkAgent() 96 public static DcNetworkAgent createDcNetworkAgent(DataConnection dc, Phone phone, in createDcNetworkAgent() argument 102 return new DcNetworkAgent(dc, tag, phone, ni, score, misc, factorySerialNumber, in createDcNetworkAgent() 112 public synchronized void acquireOwnership(@NonNull DataConnection dc, in acquireOwnership() argument 114 mDataConnection = dc; in acquireOwnership() [all …]
|
D | DcController.java | 135 void addDc(DataConnection dc) { in addDc() argument 137 mDcListAll.add(dc); in addDc() 141 void removeDc(DataConnection dc) { in removeDc() argument 143 mDcListActiveByCid.remove(dc.mCid); in removeDc() 144 mDcListAll.remove(dc); in removeDc() 148 public void addActiveDcByCid(DataConnection dc) { in addActiveDcByCid() argument 149 if (DBG && dc.mCid < 0) { in addActiveDcByCid() 150 log("addActiveDcByCid dc.mCid < 0 dc=" + dc); in addActiveDcByCid() 153 mDcListActiveByCid.put(dc.mCid, dc); in addActiveDcByCid() 163 void removeActiveDcByCid(DataConnection dc) { in removeActiveDcByCid() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayWindowSettings.java | 287 int getWindowingModeLocked(DisplayContent dc) { in getWindowingModeLocked() argument 288 final DisplayInfo displayInfo = dc.getDisplayInfo(); in getWindowingModeLocked() 290 return getWindowingModeLocked(entry, dc.getDisplayId()); in getWindowingModeLocked() 293 void setWindowingModeLocked(DisplayContent dc, int mode) { in setWindowingModeLocked() argument 294 final DisplayInfo displayInfo = dc.getDisplayInfo(); in setWindowingModeLocked() 297 dc.setWindowingMode(mode); in setWindowingModeLocked() 301 int getRemoveContentModeLocked(DisplayContent dc) { in getRemoveContentModeLocked() argument 302 final DisplayInfo displayInfo = dc.getDisplayInfo(); in getRemoveContentModeLocked() 305 if (dc.isPrivate()) { in getRemoveContentModeLocked() 315 void setRemoveContentModeLocked(DisplayContent dc, int mode) { in setRemoveContentModeLocked() argument [all …]
|
D | RootWindowContainer.java | 172 final DisplayContent dc = mChildren.get(i); in updateFocusedWindowLocked() local 173 changed |= dc.updateFocusedWindowLocked(mode, updateInputWindows, topFocusedDisplayId); in updateFocusedWindowLocked() 174 final WindowState newFocus = dc.mCurrentFocus; in updateFocusedWindowLocked() 181 topFocusedDisplayId = dc.getDisplayId(); in updateFocusedWindowLocked() 183 } else if (topFocusedDisplayId == INVALID_DISPLAY && dc.mFocusedApp != null) { in updateFocusedWindowLocked() 187 topFocusedDisplayId = dc.getDisplayId(); in updateFocusedWindowLocked() 204 final DisplayContent dc = getDisplayContent(mTopFocusedDisplayId); in getTopFocusedDisplayContent() local 205 return dc != null ? dc : getDisplayContent(DEFAULT_DISPLAY); in getTopFocusedDisplayContent() 238 final DisplayContent dc = new DisplayContent(display, mWmService, activityDisplay); in createDisplayContent() local 242 mWmService.mDisplayWindowSettings.applySettingsToDisplayLocked(dc); in createDisplayContent() [all …]
|
D | BlackFrame.java | 42 int l, int t, int r, int b, DisplayContent dc) throws OutOfResourcesException { in BlackSurface() argument 49 surface = dc.makeOverlay() in BlackSurface() 55 transaction.setLayerStack(surface, dc.getDisplayId()); in BlackSurface() 115 Rect outer, Rect inner, int layer, DisplayContent dc, in BlackFrame() argument 128 outer.left, outer.top, inner.right, inner.top, dc); in BlackFrame() 132 outer.left, inner.top, inner.left, outer.bottom, dc); in BlackFrame() 136 inner.left, inner.bottom, outer.right, outer.bottom, dc); in BlackFrame() 140 inner.right, outer.top, outer.right, inner.bottom, dc); in BlackFrame()
|
D | WindowAnimator.java | 157 final DisplayContent dc = mService.mRoot.getDisplayContent(displayId); in animate() local 174 accessibilityController.onRotationChangedLocked(dc); in animate() 181 dc.updateWindowsForAnimator(); in animate() 182 dc.updateBackgroundForAnimator(); in animate() 183 dc.prepareSurfaces(); in animate() 188 final DisplayContent dc = mService.mRoot.getDisplayContent(displayId); in animate() local 190 dc.checkAppWindowsReadyToShow(); in animate() 197 orAnimating(dc.getDockedDividerController().animate(mCurrentTime)); in animate() 283 final DisplayContent dc = in dumpLocked() local 285 dc.dumpWindowAnimators(pw, subPrefix); in dumpLocked()
|
D | WindowToken.java | 109 DisplayContent dc, boolean ownerCanManageAppTokens) { in WindowToken() argument 110 this(service, _token, type, persistOnEmpty, dc, ownerCanManageAppTokens, in WindowToken() 115 DisplayContent dc, boolean ownerCanManageAppTokens, boolean roundedCornerOverlay) { in WindowToken() argument 122 onDisplayChanged(dc); in WindowToken() 260 void onDisplayChanged(DisplayContent dc) { in onDisplayChanged() argument 261 dc.reParentWindowToken(this); in onDisplayChanged() 268 super.onDisplayChanged(dc); in onDisplayChanged()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaConnection.java | 130 public GsmCdmaConnection (GsmCdmaPhone phone, DriverCall dc, GsmCdmaCallTracker ct, int index) { in GsmCdmaConnection() argument 138 mAddress = dc.number; in GsmCdmaConnection() 141 mIsIncoming = dc.isMT; in GsmCdmaConnection() 143 mCnapName = dc.name; in GsmCdmaConnection() 144 mCnapNamePresentation = dc.namePresentation; in GsmCdmaConnection() 145 mNumberPresentation = dc.numberPresentation; in GsmCdmaConnection() 146 mUusInfo = dc.uusInfo; in GsmCdmaConnection() 150 mParent = parentFromDCState(dc.state); in GsmCdmaConnection() 151 mParent.attach(this, dc); in GsmCdmaConnection() 155 setAudioQuality(getAudioQualityFromDC(dc.audioQuality)); in GsmCdmaConnection() [all …]
|
D | RadioResponse.java | 1658 DriverCall dc; in responseCurrentCalls() local 1661 dc = new DriverCall(); in responseCurrentCalls() 1664 dc.state = DriverCall.stateFromCLCC((int) (calls.get(i).state)); in responseCurrentCalls() 1665 dc.index = calls.get(i).index; in responseCurrentCalls() 1666 dc.TOA = calls.get(i).toa; in responseCurrentCalls() 1667 dc.isMpty = calls.get(i).isMpty; in responseCurrentCalls() 1668 dc.isMT = calls.get(i).isMT; in responseCurrentCalls() 1669 dc.als = calls.get(i).als; in responseCurrentCalls() 1670 dc.isVoice = calls.get(i).isVoice; in responseCurrentCalls() 1671 dc.isVoicePrivacy = calls.get(i).isVoicePrivacy; in responseCurrentCalls() [all …]
|
D | GsmCdmaCallTracker.java | 828 DriverCall dc = null; in handlePollCalls() local 832 dc = (DriverCall) polledCalls.get(curDC); in handlePollCalls() 834 if (dc.index == i+1) { in handlePollCalls() 837 dc = null; in handlePollCalls() 842 if (conn != null || dc != null) { in handlePollCalls() 847 conn+", dc=" + dc); in handlePollCalls() 849 if (conn == null && dc != null) { in handlePollCalls() 851 if (mPendingMO != null && mPendingMO.compareTo(dc)) { in handlePollCalls() 858 mPendingMO.update(dc); in handlePollCalls() 884 log("pendingMo=" + mPendingMO + ", dc=" + dc); in handlePollCalls() [all …]
|
D | GsmCdmaCall.java | 70 public void attach(Connection conn, DriverCall dc) { in attach() argument 73 mState = stateFromDCState (dc.state); in attach() 116 /*package*/ boolean update (GsmCdmaConnection conn, DriverCall dc) { in update() argument 120 newState = stateFromDCState(dc.state); in update()
|
/frameworks/native/libs/gui/tests/ |
D | BufferQueue_test.cpp | 137 sp<DummyConsumer> dc(new DummyConsumer); in TEST_F() local 138 ASSERT_EQ(OK, mConsumer->consumerConnect(dc, false)); in TEST_F() 174 sp<DummyConsumer> dc(new DummyConsumer); in TEST_F() local 175 mConsumer->consumerConnect(dc, false); in TEST_F() 210 sp<DummyConsumer> dc(new DummyConsumer); in TEST_F() local 211 mConsumer->consumerConnect(dc, false); in TEST_F() 254 sp<DummyConsumer> dc(new DummyConsumer); in TEST_F() local 255 mConsumer->consumerConnect(dc, false); in TEST_F() 301 sp<DummyConsumer> dc(new DummyConsumer); in TEST_F() local 302 mConsumer->consumerConnect(dc, false); in TEST_F() [all …]
|
/frameworks/rs/rsov/driver/ |
D | rsovScript.h | 165 extern void rsovScriptInvokeFunction(const android::renderscript::Context *dc, 187 extern int rsovScriptInvokeRoot(const android::renderscript::Context *dc, 190 extern void rsovScriptInvokeInit(const android::renderscript::Context *dc, 194 const android::renderscript::Context *dc, 220 extern void rsovScriptSetGlobal(const android::renderscript::Context *dc, 223 extern void rsovScriptGetGlobal(const android::renderscript::Context *dc, 226 extern void rsovScriptDestroy(const android::renderscript::Context *dc, 230 const android::renderscript::Context *dc,
|