Home
last modified time | relevance | path

Searched defs:mockContext (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tests/net/java/android/net/util/
DKeepaliveUtilsTest.kt63 val mockContext = getMockedContextWithStringArrayRes( in testGetSupportedKeepalives() constant
91 val mockContext = getMockedContextWithStringArrayRes( in testGetSupportedKeepalives() constant
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DBluetoothEventManagerTest.java74 Context mockContext = mock(Context.class); in ifUserHandleIsNull_registerReceiverIsCalled() local
85 Context mockContext = mock(Context.class); in ifUserHandleSpecified_registerReceiverAsUserIsCalled() local
/frameworks/base/core/tests/coretests/src/android/app/timezone/
DRulesUpdaterContractTest.java60 Context mockContext = mock(Context.class); in sendBroadcast() local
/frameworks/base/core/tests/coretests/src/android/content/pm/
DCrossProfileAppsTest.java74 public void mockContext() { in mockContext() method in CrossProfileAppsTest
/frameworks/base/services/tests/servicestests/src/com/android/server/search/
DSearchablesTest.java102 MyMockContext mockContext = new MyMockContext(mContext, mockPM); in testSearchablesListReal() local
122 MyMockContext mockContext = new MyMockContext(mContext, mockPM); in testSearchablesListEmpty() local
/frameworks/base/tests/net/java/android/net/
DNetworkTemplateTest.kt51 private val mockContext = mock(Context::class.java) constant in android.net.NetworkTemplateTest
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiNetworkScoreCacheTest.java66 @Mock private Context mockContext; // isn't used, can be null field in WifiNetworkScoreCacheTest
/frameworks/base/wifi/tests/src/android/net/wifi/rtt/
DWifiRttManagerTest.java59 public Context mockContext; field in WifiRttManagerTest
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringNotificationUpdaterTest.kt81 @Mock private lateinit var mockContext: Context variable in com.android.networkstack.tethering.TetheringNotificationUpdaterTest
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java184 Context mockContext() { in mockContext() method in WifiConnectivityManagerTest
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java165 MyMockContext mockContext = new MyMockContext(realTestContext, mMockContext); in setUp() local
3207 MyMockContext(Context testContext, Context mockContext) { in MyMockContext()
3308 Context mockContext, in TestInjector()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java129 public Context mockContext; field in RttServiceImplTest
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java75 public Context mockContext; field in WifiAwareManagerTest