/frameworks/libs/modules-utils/java/com/android/modules/utils/testing/ |
D | AbstractExtendedMockitoRule.java | 82 private MockitoSession mMockitoSession; field in AbstractExtendedMockitoRule 88 mMockitoSession = builder.mMockitoSession; in AbstractExtendedMockitoRule() 101 + ", mockitoSession=" + mMockitoSession in AbstractExtendedMockitoRule() 193 if (mMockitoSession != null) { 194 Log.d(TAG, "NOT creating session as set on builder: " + mMockitoSession); 197 mMockitoSession = mSessionBuilder.startMocking(); 233 Log.d(TAG, "Finishing mockito session " + mMockitoSession + " on " + description 237 mMockitoSession.finishMocking(e); 238 mMockitoSession = null; 282 @Nullable MockitoSession mMockitoSession; [all …]
|
/frameworks/base/tests/LocalizationTest/java/com/android/internal/app/ |
D | LocalizationTest.kt | 40 private lateinit var mMockitoSession: MockitoSession variable in com.android.android.internal.app.LocalizationTest 44 mMockitoSession = mockitoSession() in setUp() 52 mMockitoSession.finishMocking() in tearDown()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerStartableTest.java | 61 private MockitoSession mMockitoSession; field in BatteryControllerStartableTest 69 mMockitoSession = mockitoSession() in setUp() 93 mMockitoSession.finishMocking(); in tearDown()
|
D | BatteryControllerTest.java | 80 private MockitoSession mMockitoSession; field in BatteryControllerTest 85 mMockitoSession = mockitoSession() in setUp() 105 mMockitoSession.finishMocking(); in tearDown()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/freeform/ |
D | FreeformTaskListenerTests.java | 70 private StaticMockitoSession mMockitoSession; field in FreeformTaskListenerTests 74 mMockitoSession = mockitoSession().initMocks(this) in setup() 112 mMockitoSession.finishMocking(); in tearDown()
|
/frameworks/base/services/tests/dreamservicetests/src/com/android/server/dreams/ |
D | DreamManagerServiceMockingTest.java | 73 private MockitoSession mMockitoSession; field in DreamManagerServiceMockingTest 89 mMockitoSession = mockitoSession() in setUp() 98 mMockitoSession.finishMocking(); in tearDown()
|
/frameworks/base/core/tests/mockingcoretests/src/android/window/ |
D | ConfigurationHelperTest.java | 56 MockitoSession mMockitoSession; field in ConfigurationHelperTest 61 mMockitoSession = mockitoSession() in setUp() 71 mMockitoSession.finishMocking(); in tearDown()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/ |
D | DisplayLayoutTest.java | 60 private MockitoSession mMockitoSession; field in DisplayLayoutTest 64 mMockitoSession = mockitoSession() in setup() 73 mMockitoSession.finishMocking(); in tearDown()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/usage/ |
D | UserUsageStatsServiceTest.java | 61 private MockitoSession mMockitoSession; field in UserUsageStatsServiceTest 72 mMockitoSession = mockitoSession() in setUp() 94 if (mMockitoSession != null) { in tearDown() 95 mMockitoSession.finishMocking(); in tearDown()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | AppChildProcessTest.java | 71 private StaticMockitoSession mMockitoSession; field in AppChildProcessTest 90 mMockitoSession = mockitoSession() in setUp() 121 if (mMockitoSession != null) { in tearDown() 122 mMockitoSession.finishMocking(); in tearDown()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/ |
D | NavigationBarControllerImplTest.java | 84 private StaticMockitoSession mMockitoSession; field in NavigationBarControllerImplTest 119 mMockitoSession = mockitoSession().mockStatic(Utilities.class).startMocking(); in setUp() 140 mMockitoSession.finishMocking(); in tearDown()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/blob/ |
D | BlobStoreManagerServiceTest.java | 64 private MockitoSession mMockitoSession; field in BlobStoreManagerServiceTest 84 mMockitoSession = mockitoSession() in setUp() 106 if (mMockitoSession != null) { in tearDown() 107 mMockitoSession.finishMocking(); in tearDown()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/sensorprivacy/ |
D | CameraPrivacyLightControllerTest.java | 76 private MockitoSession mMockitoSession; field in CameraPrivacyLightControllerTest 162 mMockitoSession = ExtendedMockito.mockitoSession() in setUp() 171 mMockitoSession.finishMocking(); in tearDown()
|
/frameworks/base/services/tests/selinux/src/com/android/server/selinux/ |
D | SelinuxAuditLogsCollectorTest.java | 66 private MockitoSession mMockitoSession; field in SelinuxAuditLogsCollectorTest 83 mMockitoSession = mockitoSession().mockStatic(FrameworkStatsLog.class).startMocking(); in setUp() 89 mMockitoSession.finishMocking(); in tearDown()
|
/frameworks/base/services/tests/mockingservicestests/src/android/service/games/ |
D | GameSessionTest.java | 69 private MockitoSession mMockitoSession; field in GameSessionTest 73 mMockitoSession = mockitoSession() in setUp() 86 mMockitoSession.finishMocking(); in tearDown()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileLifecycleManagerTest.java | 115 private MockitoSession mMockitoSession; field in TileLifecycleManagerTest 126 mMockitoSession = mockitoSession() in setUp() 159 if (mMockitoSession != null) { in tearDown() 160 mMockitoSession.finishMocking(); in tearDown()
|
/frameworks/base/core/tests/mockingcoretests/src/android/view/ |
D | DisplayTest.java | 84 private StaticMockitoSession mMockitoSession; field in DisplayTest 92 mMockitoSession = mockitoSession() in setupTests() 113 if (mMockitoSession != null) { in teardownTests() 114 mMockitoSession.finishMocking(); in teardownTests()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/draganddrop/ |
D | DragAndDropPolicyTest.java | 129 private MockitoSession mMockitoSession; field in DragAndDropPolicyTest 134 mMockitoSession = mockitoSession() in setUp() 176 mMockitoSession.finishMocking(); in tearDown()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsUpgradeTest.java | 104 private MockitoSession mMockitoSession; field in AppOpsUpgradeTest 146 mMockitoSession = mockitoSession() in setUp() 192 mMockitoSession.finishMocking(); in tearDown()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | DesktopModeWindowDecorationTests.java | 144 private StaticMockitoSession mMockitoSession; field in DesktopModeWindowDecorationTests 158 mMockitoSession = mockitoSession() in setUp() 180 mMockitoSession.finishMocking(); in tearDown()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | DeviceProvisionedCoordinatorTest.java | 62 private MockitoSession mMockitoSession; field in DeviceProvisionedCoordinatorTest
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | StagingManagerTest.java | 93 private MockitoSession mMockitoSession; field in StagingManagerTest 100 mMockitoSession = ExtendedMockito.mockitoSession() in setUp() 119 if (mMockitoSession != null) { in tearDown() 120 mMockitoSession.finishMocking(); in tearDown()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/ |
D | InternetDialogDelegateTest.java | 107 private MockitoSession mMockitoSession; field in InternetDialogDelegateTest 125 mMockitoSession = ExtendedMockito.mockitoSession() in setUp() 171 mMockitoSession.finishMocking(); in tearDown()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SystemServicesTestRule.java | 137 private StaticMockitoSession mMockitoSession; field in SystemServicesTestRule 197 mMockitoSession = mockitoSession() 481 mMockitoSession.finishMocking();
|
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
D | TestPhoneWindowManager.java | 180 private StaticMockitoSession mMockitoSession; field in TestPhoneWindowManager 271 mMockitoSession = mockitoSession() in setUp() 404 mMockitoSession.finishMocking(); in tearDown()
|