Home
last modified time | relevance | path

Searched defs:mockResources (Results 1 – 25 of 36) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DMediaVolumePreferenceTest.kt34 private val mockResources = mock<Resources>() constant
DCallVolumePreferenceTest.kt40 private var mockResources = mock<Resources>() variable
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/
DWallpaperAttributionsPreferenceTest.kt34 private val mockResources = mock<Resources>() constant
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DNetworkProviderScreenTest.kt38 private val mockResources = mock<Resources>() constant in com.android.settings.network.NetworkProviderScreenTest
DAirplaneModePreferenceTest.kt47 private val mockResources = mock<Resources>() constant in com.android.settings.network.AirplaneModePreferenceTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DDeviceStateAutoRotateSettingTestUtils.java32 public static void setDeviceStateRotationLockEnabled(boolean enable, Resources mockResources) { in setDeviceStateRotationLockEnabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DDisplayScreenTest.kt43 private val mockResources = mock<Resources>() constant
DBatteryPercentageSwitchPreferenceTest.kt41 private val mockResources = mock<Resources>() constant
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DPowerUsageSummaryScreenTest.kt45 private val mockResources = mock<Resources>() constant
/packages/modules/Nfc/NfcNci/tests/unit/src/com/android/nfc/
DRegisteredComponentCacheTest.java73 Resources mockResources = mock(Resources.class); in setUp() local
DNfcDeveloperOptionNotificationTest.java76 Resources mockResources = Mockito.mock(Resources.class); in setUp() local
DNfcBlockedNotificationTest.java67 Resources mockResources = Mockito.mock(Resources.class); in setUp() local
DDeviceConfigFacadeTest.java71 Resources mockResources = mock(Resources.class); in getMockedContext() local
DNfcTagAllowNotificationTest.java72 Resources mockResources = Mockito.mock(Resources.class); in setUp() local
DNfcReaderConflictOccurredTest.java96 Resources mockResources = Mockito.mock(Resources.class); in setUp() local
DNfcWifiProtectedSetupTest.java93 Resources mockResources = Mockito.mock(Resources.class); in setUp() local
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/
DBluetoothWiFiResetPreferenceControllerTest.kt53 private val mockResources = mock<Resources>() constant
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DZenModeVisEffectPreferenceControllerTest.java102 Resources mockResources = mock(Resources.class); in isAvailable() local
DZenRuleVisEffectPreferenceControllerTest.java102 Resources mockResources = mock(Resources.class); in isAvailable() local
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DAppFilterTest.kt39 private lateinit var mockResources: Resources variable in com.android.launcher3.AppFilterTest
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastSettingsTest.java241 Resources mockResources = mock(Resources.class); in testGetResources() local
308 Resources mockResources = mock(Resources.class); in testGetResourcesByOperator() local
DCellBroadcastAlertServiceTest.java665 Resources mockResources = mock(Resources.class); in testShouldDisplayMessage() local
800 Resources mockResources = mock(Resources.class); in testShouldDisplayMessageForExerciseAlerts() local
939 Resources mockResources = mock(Resources.class); in testShouldDisplayMessageForOperatorAlerts() local
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/lib/
DAppDataUsageRepositoryTest.kt59 private val mockResources = constant in com.android.settings.datausage.lib.AppDataUsageRepositoryTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModeNotifVisPreferenceControllerTest.java85 Resources mockResources = mock(Resources.class); in isAvailable() local
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallTest.java129 Resources mockResources = mContext.getResources(); in setUp() local
792 Resources mockResources = mContext.getResources(); in testGetFromCallerInfo_skipLookup() local
1136 Resources mockResources = mContext.getResources(); in testSkipLoadingCannedTextResponse() local

12