Home
last modified time | relevance | path

Searched refs:mockStatic (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/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()
398 HttpsTransport.class).mockStatic(SoapParser.class).startMocking(); in verifyExchangeSoapMessage()
445 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyRetrieveTrustRootCertsWithErrorInHTTPSResponse()
482 MockitoSession session = ExtendedMockito.mockitoSession().mockStatic( in verifyRetrieveTrustRootCertsWithoutError()
[all …]
/packages/apps/Nfc/tests/unit/src/com/android/nfc/
DEnableNfcFServiceTest.java64 .mockStatic(RoutingOptionManager.class) in setUp()
65 .mockStatic(NfcService.class) in setUp()
66 .mockStatic(NfcStatsLog.class) in setUp()
67 .mockStatic(UserHandle.class) in setUp()
68 .mockStatic(ForegroundUtils.class) in setUp()
DAidRoutingManagerTest.java55 .mockStatic(RoutingOptionManager.class) in setUp()
56 .mockStatic(NfcService.class) in setUp()
57 .mockStatic(NfcStatsLog.class) in setUp()
DNfcDispatcherTest.java76 .mockStatic(NfcStatsLog.class) in setUp()
77 .mockStatic(Ndef.class) in setUp()
78 .mockStatic(NfcWifiProtectedSetup.class) in setUp()
DHostNfcFEmulationManagerTest.java83 .mockStatic(Flags.class) in setUp()
84 .mockStatic(NfcStatsLog.class) in setUp()
85 .mockStatic(Message.class) in setUp()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DMeasurementHttpClientTest.java115 .mockStatic(FlagsFactory.class) in testSetup_ForComputeFromMappingsFlagTrue_SetsCorrectHeader()
139 .mockStatic(FlagsFactory.class) in testSetup_ForComputeFromMappingsFlagTrueAndExtServices_SetsCorrectHeader()
163 .mockStatic(FlagsFactory.class)
187 .mockStatic(FlagsFactory.class) in testSetup_ForComputeFromMappingsAndVersionAsStartRangeExtS_SetsCorrectHeader()
212 .mockStatic(FlagsFactory.class)
236 .mockStatic(FlagsFactory.class) in testSetup_ForComputeFromMappingsAndVersionAsEndRangeExtS_SetsCorrectHeader()
260 .mockStatic(FlagsFactory.class)
284 .mockStatic(FlagsFactory.class) in testSetup_ForComputeFromMappingsAndVersionNotInRangeExtS_SetsHeaderAsNotFound()
308 .mockStatic(FlagsFactory.class)
391 .mockStatic(WebAddresses.class) in testSetup_connectNonLocalhostToUntrustedServer_throws()
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanBroadcastReceiverTest.java75 .mockStatic(EpdgSelector.class) in setUp()
76 .mockStatic(IwlanDataService.class) in setUp()
77 .mockStatic(IwlanHelper.class) in setUp()
78 .mockStatic(SubscriptionManager.class) in setUp()
79 .mockStatic(IwlanEventListener.class) in setUp()
DIwlanCarrierConfigChangeListenerTest.java52 .mockStatic(IwlanDataService.class) in setUp()
53 .mockStatic(IwlanEventListener.class) in setUp()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/compat/
DBuildCompatUtilsTest.java46 .mockStatic(Build.class) in testIsDebuggable_SPlus_debuggable()
68 .mockStatic(Build.class) in testIsDebuggable_SPlus_notDebuggable()
88 .mockStatic(SdkLevel.class) in testIsDebuggable_RMinus_debuggable()
108 .mockStatic(SdkLevel.class) in testIsDebuggable_RMinus_notDebuggable()
DProcessCompatUtilsTest.java41 .mockStatic(Process.class) in setUp()
42 .mockStatic(SdkLevel.class) in setUp()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/util/
DDebugUtilsTest.java55 .mockStatic(Build.class) in setUp()
56 .mockStatic(Settings.Global.class) in setUp()
57 .mockStatic(FlagsFactory.class) in setUp()
58 .mockStatic(PackageUtils.class) in setUp()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/logging/
DDailyLoggingServiceTest.java72 .mockStatic(HealthFitnessStatsLog.class)
73 .mockStatic(DatabaseUtils.class)
74 .mockStatic(TransactionManager.class)
75 .mockStatic(HealthConnectManager.class)
76 .mockStatic(AccessLogsHelper.class)
77 .mockStatic(PreferenceHelper.class)
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/
DAutoDeleteServiceTest.java106 .mockStatic(PreferenceHelper.class)
107 .mockStatic(TransactionManager.class)
108 .mockStatic(RecordHelperProvider.class)
109 .mockStatic(AppInfoHelper.class)
110 .mockStatic(ActivityDateHelper.class)
111 .mockStatic(HealthDataCategoryPriorityHelper.class)
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DSdkRuntimeUtilTest.java41 .mockStatic(Process.class) in setUp()
42 .mockStatic(ProcessCompatUtils.class) in setUp()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/privacysources/
DAppDataSharingUpdatesPrivacySourceTest.kt78 .mockStatic(DeviceConfig::class.java) in setup()
79 .mockStatic(PermissionControllerApplication::class.java) in setup()
80 .mockStatic(Utils::class.java) in setup()
DSafetyCenterReceiverTest.kt100 .mockStatic(DeviceConfig::class.java) in privacySourceMap()
101 .mockStatic(PermissionControllerApplication::class.java) in privacySourceMap()
102 .mockStatic(Utils::class.java) in privacySourceMap()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/
DPermissionPackageChangesOrchestratorTest.java55 .mockStatic(TransactionManager.class)
56 .mockStatic(HealthConnectDeviceConfigManager.class)
57 .mockStatic(HealthDataCategoryPriorityHelper.class)
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/
DOnDevicePersonalizationDebugServiceTest.java58 .mockStatic(DebugUtils.class) in testIsEnabledTrueWhenDeveloperModeOn()
71 .mockStatic(DebugUtils.class) in testIsEnabledFalseWhenDeveloperModeOff()
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DMockSettings.java51 .mockStatic(Settings.Global.class) in MockSettings()
52 .mockStatic(Settings.System.class) in MockSettings()
53 .mockStatic(Settings.Secure.class); in MockSettings()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/
DHealthConnectManagerServiceTest.java69 .mockStatic(PreferenceHelper.class)
70 .mockStatic(BackupRestore.BackupRestoreJobService.class)
71 .mockStatic(HealthDataCategoryPriorityHelper.class)
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppInstallerInfoPreferenceTest.kt72 .mockStatic(AppStoreUtil::class.java) in setUp()
73 .mockStatic(Utils::class.java) in setUp()
74 .mockStatic(AppUtils::class.java) in setUp()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DMigrationBroadcastSchedulingTest.java68 .mockStatic(MigrationStateManager.class)
69 .mockStatic(PreferenceHelper.class)
70 .mockStatic(HealthConnectThreadScheduler.class)
71 .mockStatic(HealthConnectDeviceConfigManager.class)
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/network/
DNetworkBasePreferenceControllerTest.java68 .mockStatic(TelephonyManager.class, withSettings().lenient()) in setUp()
69 .mockStatic(DataUsageUtils.class, withSettings().lenient()) in setUp()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQnsProvisioningListenerTest.java70 .mockStatic(IwlanNetworkStatusTracker.class) in setUp()
71 .mockStatic(QnsUtils.class) in setUp()
72 .mockStatic(SubscriptionManager.class) in setUp()
73 .mockStatic(ProvisioningManager.class) in setUp()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DResetAppPrefFragmentTest.java99 .mockStatic(ServiceManager.class, withSettings().lenient()) in setUp()
100 .mockStatic(RestrictedLockUtilsInternal.class, withSettings().lenient()) in setUp()
101 .mockStatic(UserHandle.class, withSettings().lenient()) in setUp()

12345678910>>...13