Search in sources :

Example 6 with KeyguardManagerCompat

use of com.android.systemui.shared.system.KeyguardManagerCompat in project android_packages_apps_Launcher3 by ProtonAOSP.

the class RecentTasksListTest method setup.

@Before
public void setup() {
    MockitoAnnotations.initMocks(this);
    LooperExecutor mockMainThreadExecutor = mock(LooperExecutor.class);
    KeyguardManagerCompat mockKeyguardManagerCompat = mock(KeyguardManagerCompat.class);
    mRecentTasksList = new RecentTasksList(mockMainThreadExecutor, mockKeyguardManagerCompat, mockSystemUiProxy);
}
Also used : LooperExecutor(com.android.launcher3.util.LooperExecutor) KeyguardManagerCompat(com.android.systemui.shared.system.KeyguardManagerCompat) Before(org.junit.Before)

Example 7 with KeyguardManagerCompat

use of com.android.systemui.shared.system.KeyguardManagerCompat in project android_packages_apps_Launcher3 by AOSPA.

the class RecentTasksListTest method setup.

@Before
public void setup() {
    MockitoAnnotations.initMocks(this);
    LooperExecutor mockMainThreadExecutor = mock(LooperExecutor.class);
    KeyguardManagerCompat mockKeyguardManagerCompat = mock(KeyguardManagerCompat.class);
    mRecentTasksList = new RecentTasksList(mockMainThreadExecutor, mockKeyguardManagerCompat, mockSystemUiProxy);
}
Also used : LooperExecutor(com.android.launcher3.util.LooperExecutor) KeyguardManagerCompat(com.android.systemui.shared.system.KeyguardManagerCompat) Before(org.junit.Before)

Aggregations

LooperExecutor (com.android.launcher3.util.LooperExecutor)7 KeyguardManagerCompat (com.android.systemui.shared.system.KeyguardManagerCompat)7 Before (org.junit.Before)7 ActivityManagerWrapper (com.android.systemui.shared.system.ActivityManagerWrapper)3