/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | ControlsProviderLifecycleManagerTest.kt | 138 val mockContext = mock<Context>() in testNullBinding() constant 283 val mockContext = mock<Context> { in testOnPackageUpdateWhileBound_unbound_thenBindAgain() constant 310 val mockContext = mock<Context> { in testOnPackageUpdateWhenNotBound_nothingHappens() constant 338 val mockContext = mock<Context> { in testRebindForPanelWithSameFlags() constant 366 val mockContext = mock<Context> { in testBindAfterSecurityExceptionWorks() constant
|
/frameworks/base/tests/vcn/java/com/android/server/vcn/ |
D | VcnTestUtils.java | 29 Context mockContext, Object service, String name, Class<?> serviceClass) { in setupSystemService() 35 public static IpSecManager setupIpSecManager(Context mockContext, IpSecService service) { in setupIpSecManager()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ValidateNotificationPeopleTest.java | 210 final Context mockContext = mock(Context.class); in testSearchContacts_workContact_queriesWorkContactProvider() local 241 final Context mockContext = mock(Context.class); in testSearchContacts_personalContact_queriesPersonalContactProvider() local 268 final Context mockContext = mock(Context.class); in testMergePhoneNumbers_noPhoneNumber() local 300 final Context mockContext = mock(Context.class); in testMergePhoneNumbers_hasNumber() local 339 final Context mockContext = mock(Context.class); in testValidatePeople_needsLookupWhenNoCache() local 361 final Context mockContext = mock(Context.class); in testValidatePeople_noLookupWhenCached_andPopulatesContactInfo() local 401 final Context mockContext = mock(Context.class); in validatePeople_reconsiderationWillNotBeDelayed() local
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | DisplayPowerStateTest.kt | 50 private val mockContext = mock<Context>() constant in com.android.server.display.DisplayPowerStateTest
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | AudioManagerUnitTest.java | 91 MockContext mockContext = mock(MockContext.class); in getVirtualDeviceMockContext() local
|
D | AudioRecordUnitTest.java | 132 MockContext mockContext = mock(MockContext.class); in getVirtualDeviceMockContext() local
|
D | AudioTrackUnitTest.java | 130 MockContext mockContext = mock(MockContext.class); in getVirtualDeviceMockContext() local
|
D | MediaPlayerUnitTest.java | 145 MockContext mockContext = mock(MockContext.class); in getVirtualDeviceMockContext() local
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | BluetoothEventManagerTest.java | 134 Context mockContext = mock(Context.class); in ifUserHandleIsNull_registerReceiverIsCalled() local 150 Context mockContext = mock(Context.class); in ifUserHandleSpecified_registerReceiverAsUserIsCalled() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/view/ |
D | TaskPreviewSizeProviderTest.kt | 46 private val mockContext = mock<Context>() constant
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | CrossProfileAppsTest.java | 97 public void mockContext() { in mockContext() method in CrossProfileAppsTest
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/additionalviewcontainer/ |
D | AdditionalSystemViewContainerTest.kt | 52 private lateinit var mockContext: Context variable in com.android.wm.shell.windowdecor.additionalviewcontainer.AdditionalSystemViewContainerTest
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/data/repository/ |
D | DisplayMetricsRepositoryTest.kt | 47 private val mockContext: Context = mock() constant in com.android.systemui.display.data.repository.DisplayMetricsRepositoryTest
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/ |
D | ClipboardImageLoaderTest.kt | 41 @Mock private lateinit var mockContext: Context variable in com.android.systemui.clipboardoverlay.ClipboardImageLoaderTest
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiNetworkScoreCacheTest.java | 66 @Mock private Context mockContext; // isn't used, can be null field in WifiNetworkScoreCacheTest
|
/frameworks/base/services/tests/media/mediarouterservicetest/src/com/android/server/media/ |
D | AudioManagerRouteControllerTest.java | 116 Context mockContext = Mockito.mock(Context.class); in setUp() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | FlashlightTileTest.kt | 34 @Mock private lateinit var mockContext: Context variable in com.android.systemui.qs.tiles.FlashlightTileTest
|
D | LocationTileTest.kt | 56 private lateinit var mockContext: Context variable in com.android.systemui.qs.tiles.LocationTileTest
|
D | UiModeNightTileTest.kt | 55 @Mock private lateinit var mockContext: Context variable in com.android.systemui.qs.tiles.UiModeNightTileTest
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/ |
D | DisplaySwitchLatencyTrackerTest.kt | 74 private val mockContext = mock<Context>() constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | CustomTileStatePersisterTest.kt | 69 private lateinit var mockContext: Context variable in com.android.systemui.qs.external.CustomTileStatePersisterTest
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ScreenDecorHwcLayerTest.kt | 48 @Mock private lateinit var mockContext: Context variable in com.android.systemui.ScreenDecorHwcLayerTest
|
D | DisplayCutoutBaseViewTest.kt | 52 @Mock private lateinit var mockContext: Context variable in com.android.systemui.DisplayCutoutBaseViewTest
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/broadcast/ |
D | BroadcastSenderTest.kt | 42 private lateinit var mockContext: Context variable in com.android.systemui.broadcast.BroadcastSenderTest
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/prediction/ |
D | ShareTargetPredictorTest.java | 423 Context mockContext = mock(Context.class); in buildShortcut() local
|