/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | SurfaceTransaction.java | 28 private final Transaction mTransaction = new Transaction(); field in SurfaceTransaction 42 return mTransaction; in getTransaction() 61 mTransaction.setAlpha(mSurface, alpha); in setAlpha() 70 mTransaction.setMatrix(mSurface, matrix, mTmpValues); in setMatrix() 79 mTransaction.setWindowCrop(mSurface, windowCrop); in setWindowCrop() 88 mTransaction.setLayer(mSurface, relativeLayer); in setLayer() 97 mTransaction.setCornerRadius(mSurface, radius); in setCornerRadius() 106 mTransaction.setShadowRadius(mSurface, radius); in setShadowRadius() 115 mTransaction.show(mSurface); in setShow()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/ |
D | DebugReportingJobHandlerTest.java | 84 @Mock private ITransaction mTransaction; field in DebugReportingJobHandlerTest 108 return mTransaction; in createNewTransaction() 156 verify(mTransaction, times(2)).begin(); in testSendDebugReportForSuccess() 157 verify(mTransaction, times(2)).end(); in testSendDebugReportForSuccess() 180 verify(mTransaction, times(1)).begin(); in testSendDebugReportForFailure() 181 verify(mTransaction, times(1)).end(); in testSendDebugReportForFailure() 211 verify(mTransaction, times(5)).begin(); in testPerformScheduledReportsForMultipleReports() 212 verify(mTransaction, times(5)).end(); in testPerformScheduledReportsForMultipleReports() 246 verify(mTransaction, times(1)).begin(); in testPerformScheduledReports_ThreadInterrupted() 247 verify(mTransaction, times(1)).end(); in testPerformScheduledReports_ThreadInterrupted() [all …]
|
D | AggregateReportingJobHandlerTest.java | 114 @Mock ITransaction mTransaction; field in AggregateReportingJobHandlerTest 140 return mTransaction; in createNewTransaction() 236 verify(mTransaction, times(2)).begin(); in testSendReportForPendingReportSuccess() 237 verify(mTransaction, times(2)).end(); in testSendReportForPendingReportSuccess() 293 verify(mTransaction, times(3)).begin(); in testSendReportSuccess_reinstallAttributionEnabled_persistsAppReportHistory() 294 verify(mTransaction, times(3)).end(); in testSendReportSuccess_reinstallAttributionEnabled_persistsAppReportHistory() 353 verify(mTransaction, times(3)).begin(); in testSendReportSuccess_reinstallAttributionEnabled_skipNullAggregateReport() 354 verify(mTransaction, times(3)).end(); in testSendReportSuccess_reinstallAttributionEnabled_skipNullAggregateReport() 412 verify(mTransaction, times(3)).begin(); in testSendReportSuccess_reinstallAttributionDisabled_doesNotPersistsAppReportHistory() 413 verify(mTransaction, times(3)).end(); in testSendReportSuccess_reinstallAttributionDisabled_doesNotPersistsAppReportHistory() [all …]
|
D | EventReportingJobHandlerTest.java | 101 @Mock ITransaction mTransaction; field in EventReportingJobHandlerTest 128 return mTransaction; in createNewTransaction() 216 verify(mTransaction, times(2)).begin(); in testSendReportForPendingReportSuccess() 217 verify(mTransaction, times(2)).end(); in testSendReportForPendingReportSuccess() 260 verify(mTransaction, times(2)).begin(); in testSendReportForPendingDebugReportSuccess() 261 verify(mTransaction, times(2)).end(); in testSendReportForPendingDebugReportSuccess() 328 verify(mTransaction, times(2)).begin(); in testSendReportSuccess_reinstallAttributionEnabled_persistsAppReportHistory() 329 verify(mTransaction, times(2)).end(); in testSendReportSuccess_reinstallAttributionEnabled_persistsAppReportHistory() 399 verify(mTransaction, times(2)).begin(); in testSendReportSuccess_reinstallAttributionDisabled_doesNotPersistsAppReportHistory() 400 verify(mTransaction, times(2)).end(); in testSendReportSuccess_reinstallAttributionDisabled_doesNotPersistsAppReportHistory() [all …]
|
D | ReportingJobServiceTest.java | 97 @Mock private ITransaction mTransaction; field in ReportingJobServiceTest 126 return mTransaction; in createNewTransaction()
|
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/provider/ |
D | ChreCommunicationTest.java | 66 @Mock ContextHubTransaction<List<NanoAppState>> mTransaction; field in ChreCommunicationTest 86 when(mManager.queryNanoApps(any())).thenReturn(mTransaction); in setUp() 105 verify(mTransaction).setOnCompleteListener(mOnQueryCompleteListenerCaptor.capture(), any()); in testStart() 106 mOnQueryCompleteListenerCaptor.getValue().onComplete(mTransaction, mTransactionResponse); in testStart() 115 verify(mTransaction).setOnCompleteListener(mOnQueryCompleteListenerCaptor.capture(), any()); in testStop() 116 mOnQueryCompleteListenerCaptor.getValue().onComplete(mTransaction, mTransactionResponse); in testStop() 126 verify(mTransaction).setOnCompleteListener(mOnQueryCompleteListenerCaptor.capture(), any()); in testNotReachMinVersion() 127 mOnQueryCompleteListenerCaptor.getValue().onComplete(mTransaction, mTransactionResponse); in testNotReachMinVersion() 138 verify(mTransaction).setOnCompleteListener(mOnQueryCompleteListenerCaptor.capture(), any()); in test_getNanoVersion() 139 mOnQueryCompleteListenerCaptor.getValue().onComplete(mTransaction, mTransactionResponse); in test_getNanoVersion() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | LauncherBackAnimationController.java | 111 private final SurfaceControl.Transaction mTransaction = new SurfaceControl.Transaction(); field in LauncherBackAnimationController 294 mTransaction in startBack() 341 mTransaction in addScrimLayer() 352 mTransaction.remove(mScrimLayer); in removeScrimLayer() 403 mTransaction.setMatrix(mBackTarget.leash, mTransformMatrix, new float[9]); in applyTransform() 404 mTransaction.setWindowCrop(mBackTarget.leash, mStartRect); in applyTransform() 405 mTransaction.setCornerRadius(mBackTarget.leash, cornerRadius); in applyTransform() 411 mTransaction.setFrameTimelineVsync(Choreographer.getInstance().getVsyncId()); in applyTransaction() 412 mTransaction.apply(); in applyTransaction() 525 mTransaction.setAlpha(mScrimLayer, value * mScrimAlpha); in startTransitionAnimations()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/display/ |
D | DisplayMirroringFragment.java | 120 SurfaceControl.Transaction mTransaction = new SurfaceControl.Transaction(); in releaseMirroredSurfaces() local 122 mTransaction.remove(mMirrorSurfaceControl1); in releaseMirroredSurfaces() 124 mTransaction.apply(); in releaseMirroredSurfaces() 144 SurfaceControl.Transaction mTransaction = new SurfaceControl.Transaction(); in mirrorDisplayOnSurfaceView() local 145 mTransaction in mirrorDisplayOnSurfaceView()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/ |
D | AttributionJobHandlerTest.java | 165 ITransaction mTransaction; field in AttributionJobHandlerTest 181 return mTransaction; in createNewTransaction() 253 verify(mTransaction, times(2)).begin(); in shouldIgnoreNonPendingTrigger() 254 verify(mTransaction, times(2)).end(); in shouldIgnoreNonPendingTrigger() 269 verify(mTransaction, times(2)).begin(); in shouldIgnoreIfNoSourcesFound() 270 verify(mTransaction, times(2)).end(); in shouldIgnoreIfNoSourcesFound() 314 verify(mTransaction, times(2)).begin(); in shouldRejectBasedOnDedupKey() 315 verify(mTransaction, times(2)).end(); in shouldRejectBasedOnDedupKey() 357 verify(mTransaction, times(2)).begin(); in shouldRejectBasedOnDedupKey_dedupAlignFlagOff() 358 verify(mTransaction, times(2)).end(); in shouldRejectBasedOnDedupKey_dedupAlignFlagOff() [all …]
|
/packages/services/Car/car-lib/src/android/car/view/ |
D | MirroredSurfaceView.java | 58 private final SurfaceControl.Transaction mTransaction; field in MirroredSurfaceView 90 mTransaction = transaction; in MirroredSurfaceView() 177 mTransaction.setVisibility(mMirroredSurface, /* visible= */true) in reparentMirroredSurface() 187 mTransaction.reparent(mMirroredSurface, null).apply(); in removeMirroredSurface() 211 mTransaction.setGeometry(mMirroredSurface, mSourceBounds, destBounds, Surface.ROTATION_0) in calculateScale()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/graphicsdriver/ |
D | GraphicsDriverEnableAngleAsSystemDriverControllerTest.java | 64 @Mock private FragmentTransaction mTransaction; field in GraphicsDriverEnableAngleAsSystemDriverControllerTest 75 doReturn(mTransaction).when(mFragmentManager).beginTransaction(); in setUp() 96 verify(mTransaction).add(any(RebootConfirmationDialogFragment.class), any()); in onPreferenceChange_switchOn_shouldEnableAngleAsSystemDriver() 112 verify(mTransaction).add(any(RebootConfirmationDialogFragment.class), any()); in onPreferenceChange_switchOff_shouldDisableAngleAsSystemDriver()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/ |
D | SettingsPanelActivityTest.java | 78 private FragmentTransaction mTransaction; field in SettingsPanelActivityTest 96 when(mFragmentManager.beginTransaction()).thenReturn(mTransaction); in setUp() 97 when(mTransaction.add(anyInt(), any())).thenReturn(mTransaction); in setUp() 98 when(mTransaction.commit()).thenReturn(0); // don't care about return value in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | FreeformWindowsPreferenceControllerTest.java | 69 private FragmentTransaction mTransaction; field in FreeformWindowsPreferenceControllerTest 78 doReturn(mTransaction).when(mFragmentManager).beginTransaction(); in setup() 110 verify(mTransaction).add(any(RebootConfirmationDialogFragment.class), any()); in onPreferenceChange_switchEnabled_shouldEnableFreeformWindows()
|
D | DesktopModePreferenceControllerTest.java | 70 private FragmentTransaction mTransaction; field in DesktopModePreferenceControllerTest 79 doReturn(mTransaction).when(mFragmentManager).beginTransaction(); in setup() 111 verify(mTransaction).add(any(RebootConfirmationDialogFragment.class), any()); in onPreferenceChange_switchEnabled_shouldEnableDesktopMode()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/deletion/ |
D | MeasurementDataDeleterTest.java | 144 @Mock private ITransaction mTransaction; field in MeasurementDataDeleterTest 175 return mTransaction; in createNewTransaction()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/ |
D | AsyncRegistrationQueueRunnerTest.java | 198 @Mock private ITransaction mTransaction; field in AsyncRegistrationQueueRunnerTest 222 return mTransaction; in createNewTransaction()
|