/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/ |
D | DebugReportingJobServiceTest.java | 225 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOn_dontSchedule() local 254 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOn_dontSchedule_debugReportApi() local 284 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local 314 final Context mockContext = mock(Context.class); in scheduleIfNeeded_previouslyExecuted_dontForceSchedule_dontSchedule_debugReportApi() local 344 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_forceSchedule_schedule() local 374 final Context mockContext = mock(Context.class); in scheduleIfNeeded_previouslyExecuted_forceSchedule_schedule_debugReportApi() local 404 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyNotExecuted_dontForceSchedule_schedule() local 433 final Context mockContext = mock(Context.class); in scheduleIfNeeded_previouslyNotExecuted_dontForceSchedule_schedule_debugReportApi() local
|
D | EventReportingJobServiceTest.java | 209 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOn_dontSchedule() local 238 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local 267 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_forceSchedule_schedule() local 296 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyNotExecuted_dontForceSchedule_schedule() local
|
D | AggregateReportingJobServiceTest.java | 210 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOn_dontSchedule() local 239 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local 268 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_forceSchedule_schedule() local 297 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyNotExecuted_dontForceSchedule_schedule() local
|
D | EventFallbackReportingJobServiceTest.java | 210 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOn_dontSchedule() local 239 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local 268 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_forceSchedule_schedule() local 298 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyNotExecuted_dontForceSchedule_schedule() local
|
D | AggregateFallbackReportingJobServiceTest.java | 210 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOn_dontSchedule() local 240 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local 270 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_forceSchedule_schedule() local 300 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyNotExecuted_dontForceSchedule_schedule() local
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/ |
D | AsyncRegistrationQueueJobServiceTest.java | 200 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOn_dontSchedule() local 229 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local 258 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_forceSchedule_schedule() local 288 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyNotExecuted_dontForceSchedule_schedule() local
|
D | AsyncRegistrationFallbackJobServiceTest.java | 200 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOn_dontSchedule() local 230 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local 260 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_forceSchedule_schedule() local 290 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyNotExecuted_dontForceSchedule_schedule() local
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/ |
D | DeleteUninstalledJobServiceTest.java | 192 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOn_dontSchedule() local 221 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local 250 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_forceSchedule_schedule() local 279 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyNotExecuted_dontForceSchedule_schedule() local
|
D | DeleteExpiredJobServiceTest.java | 208 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOn_dontSchedule() local 237 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local 266 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_forceSchedule_schedule() local 295 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyNotExecuted_dontForceSchedule_schedule() local
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/attribution/ |
D | AttributionJobServiceTest.java | 208 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOn_dontSchedule() local 237 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local 266 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_forceSchedule_schedule() local 294 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyNotExecuted_dontForceSchedule_schedule() local
|
D | AttributionFallbackJobServiceTest.java | 208 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOn_dontSchedule() local 237 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_dontForceSchedule_dontSchedule() local 266 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyExecuted_forceSchedule_schedule() local 295 final Context mockContext = mock(Context.class); in scheduleIfNeeded_killSwitchOff_previouslyNotExecuted_dontForceSchedule_schedule() local
|
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/util/ |
D | KotlinUtilsTest.kt | 83 val mockContext = mock(Context::class.java) in <lambda>() constant 110 val mockContext = mock(Context::class.java) in <lambda>() constant 130 val mockContext = mock(Context::class.java) in <lambda>() constant
|
/packages/modules/Connectivity/tests/unit/java/android/net/util/ |
D | KeepaliveUtilsTest.kt | 75 val mockContext = getMockedContextWithStringArrayRes( in testGetSupportedKeepalives() constant 104 val mockContext = getMockedContextWithStringArrayRes( in testGetSupportedKeepalives() constant
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastSettingsTest.java | 172 Context mockContext = mock(Context.class); in testPreferenceChangeByUser() local 191 Context mockContext = mock(Context.class); in testGetResources() local 253 Context mockContext = mock(Context.class); in testGetResourcesByOperator() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | StorageItemPreferenceControllerTest.java | 173 final Context mockContext = getMockContext(); in launchImagesIntent_resolveActionViewNull_settingsIntent() local 190 final Context mockContext = getMockContext(); in launchAudioIntent_resolveActionViewNull_settingsIntent() local 270 final Context mockContext = getMockContext(); in launchDocumentsAndOtherIntent_resolveActionViewNull_settingsIntent() local 305 final Context mockContext = getMockContext(); in launchVideosIntent_resolveActionViewNull_settingsIntent() local
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkIdentitySetTest.kt | 35 private val mockContext = mock(Context::class.java) constant
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/compat/ |
D | PackageManagerCompatUtilsTest.java | 222 Context mockContext = mock(Context.class); in testIsAdServicesActivityEnabled_enabled() local 243 Context mockContext = mock(Context.class); in testIsAdServicesActivityEnabled_disabled() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | UtilsTest.java | 309 Context mockContext = mock(Context.class); in canCurrentUserDream_isMainUser_returnTrue() local 326 Context mockContext = mock(Context.class); in canCurrentUserDream_nullMainUser_returnFalse() local 337 Context mockContext = mock(Context.class); in canCurrentUserDream_notMainUser_returnFalse() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/ |
D | DreamSettingsTest.java | 136 final Context mockContext = mock(Context.class); in summaryText_whenDreamsAreOff() local 149 final Context mockContext = mock(Context.class); in summaryTest_WhenDreamsAreOn() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsHearingDeviceControlsControllerTest.java | 94 private void assertStartActivityWithExpectedFragment(Context mockContext, String fragmentName) { in assertStartActivityWithExpectedFragment()
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/ |
D | NfcTagOccurredTest.java | 73 Context mockContext = new ContextWrapper(context) { in setUp() local
|
D | NfcReaderConflictOccurredTest.java | 89 Context mockContext = new ContextWrapper(context) { in setUp() local
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | HelpersTest.java | 432 final Context mockContext = mock(Context.class); in checkDestinationFilePathRestrictions_noPermission() local 457 final Context mockContext = mock(Context.class); in checkDestinationFilePathRestrictions_installer() local 483 final Context mockContext = mock(Context.class); in checkDestinationFilePathRestrictions_WES() local
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/ |
D | NfcAidConflictOccurredTest.java | 79 Context mockContext = new ContextWrapper(context) { in setUp() local
|
D | NfcCardEmulationOccurredTest.java | 74 Context mockContext = new ContextWrapper(context) { in setUp() local
|