Home
last modified time | relevance | path

Searched refs:UserLifecycleEventFilter (Results 1 – 25 of 47) sorted by relevance

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DUserLifecycleEventFilterTest.java31 import android.car.user.UserLifecycleEventFilter;
63 UserLifecycleEventFilter.Builder builder = new UserLifecycleEventFilter.Builder(); in testAddUser_nullUser_throws()
70 UserLifecycleEventFilter.Builder builder = new UserLifecycleEventFilter.Builder(); in testAddUser_specialUserHandle_throws()
81 UserLifecycleEventFilter.Builder builder = new UserLifecycleEventFilter.Builder(); in testBuild_emptyFilter_throws()
88 UserLifecycleEventFilter filterStarting = new UserLifecycleEventFilter.Builder() in testBuild_duplicateEventTypesIgnored()
98 UserLifecycleEventFilter filterStarting = new UserLifecycleEventFilter.Builder() in testBuild_duplicateUserIdsIgnored()
106 UserLifecycleEventFilter filterCurrentUser = new UserLifecycleEventFilter.Builder() in testBuild_currentUser_notEvaluatedAtFilterCreation()
117 UserLifecycleEventFilter filter = new UserLifecycleEventFilter.Builder() in testApply_nullEvent_throws()
125 UserLifecycleEventFilter filterStartingOrUnlocking = new UserLifecycleEventFilter.Builder() in testApply_eventTypesOnly_returnsTrue()
135 UserLifecycleEventFilter filterStartingOrUnlocking = new UserLifecycleEventFilter.Builder() in testApply_eventTypesOnly_returnsFalse()
[all …]
DAppLifecycleListenerTest.java27 import android.car.user.UserLifecycleEventFilter;
45 private static final UserLifecycleEventFilter STARTING_EVENT_FILTER =
46 new UserLifecycleEventFilter.Builder().addEventType(USER_LIFECYCLE_EVENT_TYPE_STARTING)
48 private static final UserLifecycleEventFilter USER111_FILTER =
49 new UserLifecycleEventFilter.Builder().addUser(USER111).build();
DCarUserManagerUnitTest.java53 import android.car.user.UserLifecycleEventFilter;
253 UserLifecycleEventFilter filter1 = new UserLifecycleEventFilter.Builder() in testAddListener_differentListenersWithFilter()
256 UserLifecycleEventFilter filter2 = new UserLifecycleEventFilter.Builder() in testAddListener_differentListenersWithFilter()
/packages/services/Car/car-lib/src/android/car/user/
DUserLifecycleEventFilter.java54 public final class UserLifecycleEventFilter implements Parcelable { class
196 public UserLifecycleEventFilter build() { in build()
200 return new UserLifecycleEventFilter(this); in build()
204 private UserLifecycleEventFilter(Builder builder) { in UserLifecycleEventFilter() method in UserLifecycleEventFilter
245 UserLifecycleEventFilter that = (UserLifecycleEventFilter) o; in equals()
287 /* package-private */ UserLifecycleEventFilter(@NonNull Parcel in) { in UserLifecycleEventFilter() method in UserLifecycleEventFilter
303 public static final @NonNull Parcelable.Creator<UserLifecycleEventFilter> CREATOR
304 = new Parcelable.Creator<UserLifecycleEventFilter>() {
306 public UserLifecycleEventFilter[] newArray(int size) {
307 return new UserLifecycleEventFilter[size];
[all …]
DUserLifecycleEventFilter.aidl19 parcelable UserLifecycleEventFilter;
/packages/services/Car/service/src/com/android/car/user/
DAppLifecycleListener.java26 import android.car.user.UserLifecycleEventFilter;
57 private @Nullable ArrayList<UserLifecycleEventFilter> mFilters;
60 @Nullable UserLifecycleEventFilter filter, BinderDeathCallback binderDeathCallback) { in AppLifecycleListener()
83 @Nullable List<UserLifecycleEventFilter> getFilters() { in getFilters()
87 void addFilter(@Nullable UserLifecycleEventFilter filter) { in addFilter()
125 UserLifecycleEventFilter filter = mFilters.get(i); in applyFilters()
DInternalLifecycleListener.java21 import android.car.user.UserLifecycleEventFilter;
30 public final @Nullable UserLifecycleEventFilter filter;
33 @Nullable UserLifecycleEventFilter filter) { in InternalLifecycleListener()
DCarUserNoticeService.java41 import android.car.user.UserLifecycleEventFilter;
415 UserLifecycleEventFilter userSwitchingEventFilter = new UserLifecycleEventFilter.Builder() in init()
DExperimentalCarUserService.java44 import android.car.user.UserLifecycleEventFilter;
151 UserLifecycleEventFilter userSwitchingEventFilter = new UserLifecycleEventFilter.Builder() in init()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUserManagerLifecycleEventFilterTest.java32 import android.car.user.UserLifecycleEventFilter;
82 new UserLifecycleEventFilter.Builder()
97 new UserLifecycleEventFilter.Builder()
107 new UserLifecycleEventFilter.Builder()
117 new UserLifecycleEventFilter.Builder()
216 public UserLifecycleEventFilter filter;
223 @Nullable UserLifecycleEventFilter filter) { in Listener()
DCarUserManagerTest.java35 import android.car.user.UserLifecycleEventFilter;
145 UserLifecycleEventFilter unlockingEventFilter = new UserLifecycleEventFilter.Builder() in testLifecycleMultipleListeners()
147 UserLifecycleEventFilter userFilter = new UserLifecycleEventFilter.Builder() in testLifecycleMultipleListeners()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userswitcher/
DUserSwitchTransitionViewMediator.java24 import android.car.user.UserLifecycleEventFilter;
74 UserLifecycleEventFilter filter = new UserLifecycleEventFilter.Builder() in registerListeners()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/users/
DCarMUPANDUserTrackerImpl.java29 import android.car.user.UserLifecycleEventFilter;
61 private final UserLifecycleEventFilter mFilter = new UserLifecycleEventFilter.Builder()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/
DUserPickerSharedState.java27 import android.car.user.UserLifecycleEventFilter;
98 private final UserLifecycleEventFilter mFilter = new UserLifecycleEventFilter.Builder()
DCarServiceMediator.java44 import android.car.user.UserLifecycleEventFilter;
80 private final Map<UserLifecycleListener, Pair<Executor, UserLifecycleEventFilter>>
123 void registerUserChangeEventsListener(Executor receiver, UserLifecycleEventFilter filter, in registerUserChangeEventsListener()
DUserEventManager.java41 import android.car.user.UserLifecycleEventFilter;
89 private final UserLifecycleEventFilter mFilter = new UserLifecycleEventFilter.Builder()
/packages/services/Car/service/src/com/android/car/
DCarPerUserServiceHelper.java28 import android.car.user.UserLifecycleEventFilter;
73 UserLifecycleEventFilter userSwitchingEventFilter = new UserLifecycleEventFilter.Builder() in CarPerUserServiceHelper()
/packages/services/Car/car-lib/src/android/car/app/
DCarTaskViewControllerSupervisor.java30 import android.car.user.UserLifecycleEventFilter;
107 UserLifecycleEventFilter filter = new UserLifecycleEventFilter.Builder() in CarTaskViewControllerSupervisor()
/packages/services/Car/car-lib/src/android/car/
DICarUserService.aidl23 import android.car.user.UserLifecycleEventFilter;
45 void setLifecycleListenerForApp(String pkgName, in UserLifecycleEventFilter filter, in setLifecycleListenerForApp()
/packages/services/Car/service/src/com/android/car/garagemode/
DGarageMode.java29 import android.car.user.UserLifecycleEventFilter;
218 UserLifecycleEventFilter userStoppedEventFilter = new UserLifecycleEventFilter.Builder() in init()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/systemui/keyguard/
DExperimentalCarKeyguardServiceTest.java45 import android.car.user.UserLifecycleEventFilter;
124 ArgumentCaptor<UserLifecycleEventFilter> filterCaptor = ArgumentCaptor.forClass( in onInit_registersListeners()
125 UserLifecycleEventFilter.class); in onInit_registersListeners()
/packages/services/Car/service/src/com/android/car/systeminterface/
DDisplayInterface.java35 import android.car.user.UserLifecycleEventFilter;
348 UserLifecycleEventFilter userSwitchingEventFilter = in startDisplayStateMonitoring()
349 new UserLifecycleEventFilter.Builder() in startDisplayStateMonitoring()
/packages/services/Car/service/src/com/android/car/systemui/keyguard/
DExperimentalCarKeyguardService.java38 import android.car.user.UserLifecycleEventFilter;
169 UserLifecycleEventFilter userEventFilter = new UserLifecycleEventFilter.Builder() in init()
/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/
DClusterHomeApplication.java48 import android.car.user.UserLifecycleEventFilter;
146 UserLifecycleEventFilter filter = new UserLifecycleEventFilter.Builder() in initClusterHome()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DSimpleUserPickerFragment.java27 import android.car.user.UserLifecycleEventFilter;
150 UserLifecycleEventFilter filter = new UserLifecycleEventFilter.Builder() in onViewCreated()

12