Home
last modified time | relevance | path

Searched refs:mockitoSession (Results 1 – 25 of 364) sorted by relevance

12345678910>>...15

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DMeasurementHttpClientTest.java113 final MockitoSession mockitoSession = in testSetup_ForComputeFromMappingsFlagTrue_SetsCorrectHeader() local
114 ExtendedMockito.mockitoSession() in testSetup_ForComputeFromMappingsFlagTrue_SetsCorrectHeader()
129 mockitoSession.finishMocking(); in testSetup_ForComputeFromMappingsFlagTrue_SetsCorrectHeader()
137 final MockitoSession mockitoSession = in testSetup_ForComputeFromMappingsFlagTrueAndExtServices_SetsCorrectHeader()
138 ExtendedMockito.mockitoSession() in testSetup_ForComputeFromMappingsFlagTrueAndExtServices_SetsCorrectHeader()
153 mockitoSession.finishMocking(); in testSetup_ForComputeFromMappingsFlagTrueAndExtServices_SetsCorrectHeader()
161 final MockitoSession mockitoSession = local
162 ExtendedMockito.mockitoSession()
177 mockitoSession.finishMocking();
185 final MockitoSession mockitoSession = in testSetup_ForComputeFromMappingsAndVersionAsStartRangeExtS_SetsCorrectHeader()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/compat/
DBuildCompatUtilsTest.java45 ExtendedMockito.mockitoSession() in testIsDebuggable_SPlus_debuggable()
67 ExtendedMockito.mockitoSession() in testIsDebuggable_SPlus_notDebuggable()
87 ExtendedMockito.mockitoSession() in testIsDebuggable_RMinus_debuggable()
107 ExtendedMockito.mockitoSession() in testIsDebuggable_RMinus_notDebuggable()
127 ExtendedMockito.mockitoSession().spyStatic(SystemProperties.class).startMocking(); in testComputeIsDebuggable_notDebuggable()
143 ExtendedMockito.mockitoSession().spyStatic(SystemProperties.class).startMocking(); in testComputeIsDebuggable_debuggable()
/packages/modules/Permission/tests/apex/java/com/android/role/persistence/
DRolesPersistenceTest.kt24 import com.android.dx.mockito.inline.extended.ExtendedMockito.mockitoSession
45 private lateinit var mockitoSession: MockitoSession variable in com.android.role.persistence.RolesPersistenceTest
71 mockitoSession = in mockApexEnvironment()
72 mockitoSession() in mockApexEnvironment()
84 mockitoSession.finishMocking() in finishMockingApexEnvironment()
/packages/modules/Permission/tests/apex/java/com/android/permission/persistence/
DRuntimePermissionsPersistenceTest.kt25 import com.android.dx.mockito.inline.extended.ExtendedMockito.mockitoSession
46 private lateinit var mockitoSession: MockitoSession variable in com.android.permission.persistence.RuntimePermissionsPersistenceTest
69 mockitoSession = in mockApexEnvironment()
70 mockitoSession() in mockApexEnvironment()
82 mockitoSession.finishMocking() in finishMockingApexEnvironment()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/privacysources/
DNotificationListenerPregrantsTest.kt40 private lateinit var mockitoSession: MockitoSession variable in com.android.permissioncontroller.tests.mocking.privacysources.NotificationListenerPregrantsTest
50 mockitoSession = in setup()
51 ExtendedMockito.mockitoSession() in setup()
61 mockitoSession.finishMocking() in cleanup()
DTextStorageRepositoryTest.kt45 private lateinit var mockitoSession: MockitoSession in <lambda>() variable in com.android.permissioncontroller.tests.mocking.privacysources.TextStorageRepositoryTest
53 mockitoSession = in <lambda>()
54 ExtendedMockito.mockitoSession() in <lambda>()
65 mockitoSession.finishMocking() in <lambda>()
DAppDataSharingUpdatesPrivacySourceTest.kt69 private lateinit var mockitoSession: MockitoSession variable in com.android.permissioncontroller.tests.mocking.privacysources.AppDataSharingUpdatesPrivacySourceTest
76 mockitoSession = in setup()
77 ExtendedMockito.mockitoSession() in setup()
98 mockitoSession.finishMocking() in cleanup()
DAccessibilitySourceServiceTest.kt58 private lateinit var mockitoSession: MockitoSession variable in com.android.permissioncontroller.tests.mocking.privacysources.AccessibilitySourceServiceTest
68 mockitoSession = in setup()
69 ExtendedMockito.mockitoSession() in setup()
84 mockitoSession.finishMocking() in cleanup()
DSafetyCenterReceiverTest.kt85 private lateinit var mockitoSession: MockitoSession variable in com.android.permissioncontroller.tests.mocking.privacysources.SafetyCenterReceiverTest
98 mockitoSession = in privacySourceMap()
99 ExtendedMockito.mockitoSession() in privacySourceMap()
136 mockitoSession.finishMocking() in cleanup()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/hibernation/
DHibernationControllerTest.kt29 import com.android.dx.mockito.inline.extended.ExtendedMockito.mockitoSession
68 private var mockitoSession: MockitoSession? = null variable in com.android.permissioncontroller.tests.mocking.hibernation.HibernationControllerTest
81 mockitoSession = in setUp()
82 mockitoSession() in setUp()
100 mockitoSession?.finishMocking() in finish()
DHibernationPolicyTest.kt72 private lateinit var mockitoSession: MockitoSession variable in com.android.permissioncontroller.tests.mocking.hibernation.HibernationPolicyTest
78 mockitoSession = in setup()
79 ExtendedMockito.mockitoSession() in setup()
103 mockitoSession.finishMocking() in cleanup()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/v33/
DPermissionDecisionStorageImplTest.kt65 private lateinit var mockitoSession: MockitoSession variable in com.android.permissioncontroller.tests.mocking.permission.service.v33.PermissionDecisionStorageImplTest
71 mockitoSession = in setup()
72 ExtendedMockito.mockitoSession() in setup()
88 mockitoSession.finishMocking() in <lambda>()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/
DPersistedStoragePackageUninstalledReceiverTest.kt64 private lateinit var mockitoSession: MockitoSession variable in com.android.permissioncontroller.tests.mocking.permission.service.PersistedStoragePackageUninstalledReceiverTest
72 mockitoSession = in setup()
73 ExtendedMockito.mockitoSession() in setup()
94 mockitoSession.finishMocking() in finish()
DPermissionEventCleanupJobServiceTest.kt54 private lateinit var mockitoSession: MockitoSession variable in com.android.permissioncontroller.tests.mocking.permission.service.PermissionEventCleanupJobServiceTest
60 mockitoSession = in setup()
61 ExtendedMockito.mockitoSession() in setup()
83 mockitoSession.finishMocking() in cleanup()
DPermissionChangeStorageImplTest.kt64 private lateinit var mockitoSession: MockitoSession variable in com.android.permissioncontroller.tests.mocking.permission.service.PermissionChangeStorageImplTest
70 mockitoSession = in setup()
71 ExtendedMockito.mockitoSession() in setup()
87 mockitoSession.finishMocking() in <lambda>()
DPermissionStorageTimeChangeReceiverTest.kt76 private lateinit var mockitoSession: MockitoSession variable in com.android.permissioncontroller.tests.mocking.permission.service.PermissionStorageTimeChangeReceiverTest
83 mockitoSession = in setup()
84 ExtendedMockito.mockitoSession() in setup()
108 mockitoSession.finishMocking() in finish()
DBasePermissionEventStorageTest.kt75 private lateinit var mockitoSession: MockitoSession variable in com.android.permissioncontroller.tests.mocking.permission.service.BasePermissionEventStorageTest
81 mockitoSession = in setup()
82 ExtendedMockito.mockitoSession() in setup()
100 mockitoSession.finishMocking() in <lambda>()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuServerConnectionTest.java140 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyInitAndConnect()
168 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyValidateProviderWithMultipleProviderLangs()
194 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyValidateProviderWithMismatchedProviderLang()
219 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyValidateProviderWithSameLangButDifferentRegion()
323 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyInitAndConnectInvalidProviderIdentity()
371 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyExchangeSoapMessageWithException()
397 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyExchangeSoapMessage()
445 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyRetrieveTrustRootCertsWithErrorInHTTPSResponse()
482 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyRetrieveTrustRootCertsWithoutError()
539 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyCleanup()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/appops/data/repository/
DAppOpRepositoryTest.kt57 private var mockitoSession: MockitoSession? = null variable in com.android.permissioncontroller.tests.mocking.appops.data.repository.AppOpRepositoryTest
67 mockitoSession = in setup()
68 ExtendedMockito.mockitoSession() in setup()
83 mockitoSession?.finishMocking() in finish()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DDesktopSystemShortcutTest.kt23 import com.android.dx.mockito.inline.extended.ExtendedMockito.mockitoSession
77 private lateinit var mockitoSession: StaticMockitoSession variable in com.android.quickstep.DesktopSystemShortcutTest
81 mockitoSession = in setUp()
82 mockitoSession() in setUp()
93 mockitoSession.finishMocking() in tearDown()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetylabel/
DSafetyLabelChangesJobServiceTest.kt63 private lateinit var mockitoSession: MockitoSession variable in com.android.permissioncontroller.tests.mocking.safetylabel.SafetyLabelChangesJobServiceTest
79 mockitoSession = in setUp()
80 ExtendedMockito.mockitoSession() in setUp()
115 mockitoSession.finishMocking() in cleanup()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/user/
DUserDataCollectionJobServiceTest.java78 MockitoSession session = ExtendedMockito.mockitoSession() in onStartJobTest()
104 MockitoSession session = ExtendedMockito.mockitoSession().startMocking(); in onStartJobTestKillSwitchEnabled()
127 MockitoSession session = ExtendedMockito.mockitoSession() in onStartJobTestUserControlRevoked()
148 MockitoSession session = ExtendedMockito.mockitoSession().strictness( in onStopJobTest()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/profiling/
DLogcatStopWatchTest.java33 ExtendedMockito.mockitoSession().spyStatic(Log.class).startMocking(); in testSingleStopSingleWrite()
48 ExtendedMockito.mockitoSession().spyStatic(Log.class).startMocking(); in testMultipleStopsSingleWrite()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxVerifierReceiverUnitTest.java77 ExtendedMockito.mockitoSession().spyStatic(DeviceConfig.class).initMocks(this); in setup()
99 ExtendedMockito.mockitoSession().spyStatic(DeviceConfig.class).startMocking(); in verifierBroadcastReceived_startsDexParsing()
121 ExtendedMockito.mockitoSession().spyStatic(DeviceConfig.class).startMocking(); in verifierBroadcastReceived_doesNotStartDexParsing()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/ui/model/
DPermissionUsageViewModelTest.kt62 private var mockitoSession: MockitoSession? = null variable in com.android.permissioncontroller.tests.mocking.permission.ui.model.PermissionUsageViewModelTest
73 mockitoSession = in setup()
74 ExtendedMockito.mockitoSession() in setup()
103 mockitoSession?.finishMocking() in finish()

12345678910>>...15