Search in sources :

Example 1 with KeyguardManagerCompat

use of com.android.systemui.shared.system.KeyguardManagerCompat in project android_packages_apps_Trebuchet by LineageOS.

the class RecentTasksListTest method setup.

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

Example 2 with KeyguardManagerCompat

use of com.android.systemui.shared.system.KeyguardManagerCompat in project Neo-Launcher by NeoApplications.

the class RecentTasksListTest method setup.

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

Example 3 with KeyguardManagerCompat

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

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 4 with KeyguardManagerCompat

use of com.android.systemui.shared.system.KeyguardManagerCompat in project android_packages_apps_404Launcher by P-404.

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 5 with KeyguardManagerCompat

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

the class RecentTasksListTest method setup.

@Before
public void setup() {
    LooperExecutor mockMainThreadExecutor = mock(LooperExecutor.class);
    KeyguardManagerCompat mockKeyguardManagerCompat = mock(KeyguardManagerCompat.class);
    mockActivityManagerWrapper = mock(ActivityManagerWrapper.class);
    mRecentTasksList = new RecentTasksList(mockMainThreadExecutor, mockKeyguardManagerCompat, mockActivityManagerWrapper);
}
Also used : ActivityManagerWrapper(com.android.systemui.shared.system.ActivityManagerWrapper) 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