/cts/tests/tests/content/src/android/content/om/cts/ |
D | OverlayManagerTransactionTest.java | 86 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in registerFabricatedOverlay_withNull_shouldFail() local 88 assertThrows(NullPointerException.class, () -> transaction.registerFabricatedOverlay(null)); in registerFabricatedOverlay_withNull_shouldFail() 94 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in unregisterFabricatedOverlay_withNull_shouldFail() local 97 () -> transaction.unregisterFabricatedOverlay(null)); in unregisterFabricatedOverlay_withNull_shouldFail() 103 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in commit_withNullOverlayable_shouldFail() local 104 transaction.registerFabricatedOverlay( in commit_withNullOverlayable_shouldFail() 107 assertThrows(IllegalArgumentException.class, () -> mOverlayManager.commit(transaction)); in commit_withNullOverlayable_shouldFail() 113 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in commit_withEmptyOverlayable_shouldFail() local 114 transaction.registerFabricatedOverlay( in commit_withEmptyOverlayable_shouldFail() 117 assertThrows(IllegalArgumentException.class, () -> mOverlayManager.commit(transaction)); in commit_withEmptyOverlayable_shouldFail() [all …]
|
D | OverlayManagerTest.java | 165 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in getOverlayInfosForTarget_registerMultipleOverlays_shouldReturnRegisteredOverlays() local 166 transaction.registerFabricatedOverlay( in getOverlayInfosForTarget_registerMultipleOverlays_shouldReturnRegisteredOverlays() 168 transaction.registerFabricatedOverlay( in getOverlayInfosForTarget_registerMultipleOverlays_shouldReturnRegisteredOverlays() 170 overlayManager.commit(transaction); in getOverlayInfosForTarget_registerMultipleOverlays_shouldReturnRegisteredOverlays() 201 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in commit_selfTargetOverlay_isSelfTargetingTransaction_shouldSucceed() local 202 transaction.registerFabricatedOverlay(fabricatedOverlay); in commit_selfTargetOverlay_isSelfTargetingTransaction_shouldSucceed() 204 overlayManager.commit(transaction); in commit_selfTargetOverlay_isSelfTargetingTransaction_shouldSucceed() 215 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in commit_notSelfTargetOverlay_isSelfTargetingTransaction_shouldSucceed() local 216 transaction.registerFabricatedOverlay(fabricatedOverlay); in commit_notSelfTargetOverlay_isSelfTargetingTransaction_shouldSucceed() 218 overlayManager.commit(transaction); in commit_notSelfTargetOverlay_isSelfTargetingTransaction_shouldSucceed() [all …]
|
D | FabricatedOverlayFacilitator.java | 43 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in removeAllOverlays() local 47 transaction.unregisterFabricatedOverlay(overlayInfo.getOverlayIdentifier()); in removeAllOverlays() 49 overlayManager.commit(transaction); in removeAllOverlays()
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_FrameRateCtsActivity.cpp | 132 ASurfaceTransaction* transaction = ASurfaceTransaction_create(); in Surface() local 133 ASurfaceTransaction_setGeometry(transaction, mSurface, source, dest, in Surface() 135 ASurfaceTransaction_apply(transaction); in Surface() 136 ASurfaceTransaction_delete(transaction); in Surface() 140 ASurfaceTransaction* transaction = ASurfaceTransaction_create(); in ~Surface() local 141 ASurfaceTransaction_reparent(transaction, mSurface, nullptr); in ~Surface() 142 ASurfaceTransaction_apply(transaction); in ~Surface() 143 ASurfaceTransaction_delete(transaction); in ~Surface() 227 ASurfaceTransaction* transaction = ASurfaceTransaction_create(); in surfaceControlSetFrameRate() local 229 ASurfaceTransaction_setFrameRate(transaction, surfaceControl, frameRate, in surfaceControlSetFrameRate() [all …]
|
/cts/tests/tests/content/src/android/content/res/loader/cts/ |
D | ResourcesProviderTest.java | 81 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in loaderOverlay_withRegisteredOverlay_shouldSucceed() local 82 transaction.registerFabricatedOverlay( in loaderOverlay_withRegisteredOverlay_shouldSucceed() 84 mOverlayManager.commit(transaction); in loaderOverlay_withRegisteredOverlay_shouldSucceed() 209 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in loaderOverlay_withNotExistedOverlay_shouldFail() local 210 transaction.registerFabricatedOverlay( in loaderOverlay_withNotExistedOverlay_shouldFail() 212 mOverlayManager.commit(transaction); in loaderOverlay_withNotExistedOverlay_shouldFail() 231 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in loaderOverlay_applyOnResources_shouldSucceed() local 232 transaction.registerFabricatedOverlay(mFacilitator.prepare(mOverlayName, OVERLAYABLE_NAME)); in loaderOverlay_applyOnResources_shouldSucceed() 233 mOverlayManager.commit(transaction); in loaderOverlay_applyOnResources_shouldSucceed() 260 final OverlayManagerTransaction transaction = OverlayManagerTransaction.newInstance(); in loaderOverlay_applyMultipleOverlays_shouldHaveUnionResult() local [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Activities/ |
D | TestActivity.java | 115 FragmentTransaction transaction = fragmentManager.beginTransaction(); in onCreate() local 116 transaction.replace(R.id.contentFragment, fragment); in onCreate() 117 transaction.commit(); in onCreate() 405 FragmentTransaction transaction = fm.beginTransaction(); in switchToTestFragment() local 406 transaction.replace(R.id.contentFragment, fragment); in switchToTestFragment() 407 transaction.commit(); in switchToTestFragment() 426 FragmentTransaction transaction = fm.beginTransaction(); in switchToStartFragment() local 427 transaction.replace(R.id.contentFragment, fragment); in switchToStartFragment() 428 transaction.commit(); in switchToStartFragment()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | FrameRateCtsActivity.java | 210 try (SurfaceControl.Transaction transaction = new SurfaceControl.Transaction()) { in TestSurface() argument 211 transaction.setGeometry(mSurfaceControl, null, destFrame, Surface.ROTATION_0) in TestSurface() 242 try (SurfaceControl.Transaction transaction = new SurfaceControl.Transaction()) { in setFrameRate() argument 244 transaction in setFrameRate() 247 transaction in setFrameRate() 251 transaction.apply(); in setFrameRate() 269 try (SurfaceControl.Transaction transaction = new SurfaceControl.Transaction()) { in clearFrameRate() argument 270 transaction.clearFrameRate(mSurfaceControl); in clearFrameRate() 271 transaction.apply(); in clearFrameRate() 305 try (SurfaceControl.Transaction transaction = new SurfaceControl.Transaction()) { in setVisibility() argument [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | UnlockedDeviceRequiredKeysTest.java | 135 FragmentTransaction transaction = getFragmentManager().beginTransaction(); in showDialog() local 138 transaction.remove(fragment); in showDialog() 140 transaction.addToBackStack(null); in showDialog() 143 mDialogFragment.show(transaction, FRAGMENT_TAG); in showDialog()
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | AttachedSurfaceControlTest.java | 476 SurfaceControl.Transaction transaction = new SurfaceControl.Transaction(); in testSyncTransactionViewNotVisible() local 477 transaction.addTransactionCommittedListener(Runnable::run, in testSyncTransactionViewNotVisible() 479 view[0].getRootSurfaceControl().applyTransactionOnDraw(transaction); in testSyncTransactionViewNotVisible() 511 SurfaceControl.Transaction transaction = new SurfaceControl.Transaction(); in testSyncTransactionNothingToDraw() local 512 transaction.addTransactionCommittedListener(Runnable::run, in testSyncTransactionNothingToDraw() 514 view[0].getRootSurfaceControl().applyTransactionOnDraw(transaction); in testSyncTransactionNothingToDraw()
|
D | TrustedPresentationCallbackTest.java | 490 SurfaceControl.Transaction transaction = new SurfaceControl.Transaction(); in surfaceDestroyed() local 492 transaction.reparent(surfaceControl, null); in surfaceDestroyed() 494 transaction.apply(); in surfaceDestroyed()
|
D | SurfaceControlTest.java | 155 SurfaceControl.Transaction transaction = new SurfaceControl.Transaction(); in surfaceDestroyed() local 157 transaction.reparent(surfaceControl, null); in surfaceDestroyed() 159 transaction.apply(); in surfaceDestroyed() 1596 final SurfaceControl.Transaction[] transaction = new SurfaceControl.Transaction[1]; in testSurfaceTransaction_setFrameTimeline_preferredIndex() local 1605 transaction[0].setFrameTimeline( in testSurfaceTransaction_setFrameTimeline_preferredIndex() 1615 transaction[0] = helper.getTransaction(); in testSurfaceTransaction_setFrameTimeline_preferredIndex() 1616 setSolidBuffer(surfaceControl, transaction[0], DEFAULT_LAYOUT_WIDTH, in testSurfaceTransaction_setFrameTimeline_preferredIndex() 1647 final SurfaceControl.Transaction[] transaction = new SurfaceControl.Transaction[1]; in testSurfaceTransaction_setFrameTimeline_nonPreferredIndex() local 1659 transaction[0].setFrameTimeline(lastTimeline.getVsyncId()).apply(); in testSurfaceTransaction_setFrameTimeline_nonPreferredIndex() 1667 transaction[0] = helper.getTransaction(); in testSurfaceTransaction_setFrameTimeline_nonPreferredIndex() [all …]
|
D | ASurfaceControlTest.java | 386 final long transaction = nSurfaceTransaction_fromJava(jTransaction); in testSurfaceTransaction_fromJava() local 392 setSolidBuffer(surfaceControl, transaction, DEFAULT_LAYOUT_WIDTH, in testSurfaceTransaction_fromJava() 394 nSurfaceTransaction_apply(transaction); in testSurfaceTransaction_fromJava()
|
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | ASurfaceControlTestActivity.java | 324 try (SurfaceControl.Transaction transaction = new SurfaceControl.Transaction()) { in surfaceCreated() argument 325 transaction.addTransactionCommittedListener(Runnable::run, in surfaceCreated() 327 mAttachedSurfaceControl.applyTransactionOnDraw(transaction); in surfaceCreated()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/taskfragment/ |
D | TaskFragmentOrganizerTestBase.java | 419 public void onTransactionReady(@NonNull TaskFragmentTransaction transaction) { in onTransactionReady() argument 426 final List<TaskFragmentTransaction.Change> changes = transaction.getChanges(); in onTransactionReady() 469 onTransactionHandled(transaction.getTransactionToken(), in onTransactionReady()
|
/cts/tests/surfacecontrol/src/android/view/cts/util/ |
D | EmbeddedSCVHService.java | 147 Transaction transaction = new Transaction().addTransactionCommittedListener( in attachEmbedded() 149 v.getRootSurfaceControl().applyTransactionOnDraw(transaction); in attachEmbedded()
|
D | ASurfaceControlTestUtils.java | 142 SurfaceControl.Transaction transaction); in nSurfaceTransaction_fromJava() argument
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityOverlayTest.java | 288 final SurfaceControl.Transaction transaction = new SurfaceControl.Transaction(); in doOverlayWindowTest() local 289 transaction.setVisibility(sc, true).apply(); in doOverlayWindowTest() 290 transaction.close(); in doOverlayWindowTest()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | SurfaceViewTests.java | 562 SurfaceControl.Transaction transaction = new SurfaceControl.Transaction() 585 transaction.setBuffer(blueLayer, buffer, result.getFence()); 586 helper.getSurfaceView().applyTransactionToFrame(transaction);
|