Searched refs:setLifecycleListenerForApp (Results 1 – 5 of 5) sorted by relevance
/packages/services/Car/car-lib/src/android/car/ |
D | ICarUserService.aidl | 46 void setLifecycleListenerForApp(String pkgName, in UserLifecycleEventFilter filter, in setLifecycleListenerForApp() method
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserServiceTest.java | 559 mCarUserService.setLifecycleListenerForApp("package1", /* filter= */null, in testResetLifecycleListenerForApp() 561 mCarUserService.setLifecycleListenerForApp("package2", /* filter= */null, in testResetLifecycleListenerForApp() 577 mCarUserService.setLifecycleListenerForApp("package1", /* filter= */null, in testOnUserLifecycleEvent_notifyReceiver_nullFilter() 579 mCarUserService.setLifecycleListenerForApp("package2", /* filter= */null, in testOnUserLifecycleEvent_notifyReceiver_nullFilter() 594 mCarUserService.setLifecycleListenerForApp("package1", in testOnUserLifecycleEvent_notifyReceiver_nonNullFilter() 598 mCarUserService.setLifecycleListenerForApp("package2", in testOnUserLifecycleEvent_notifyReceiver_nonNullFilter() 617 mCarUserService.setLifecycleListenerForApp("package1", in testOnUserLifecycleEvent_notifyReceiver_singleReceiverWithMultipleFilters() 621 mCarUserService.setLifecycleListenerForApp("package1", in testOnUserLifecycleEvent_notifyReceiver_singleReceiverWithMultipleFilters() 640 mCarUserService.setLifecycleListenerForApp("package1", /* filter= */ null, in testOnUserLifecycleEvent_postUnlockedEvent_notifiesServiceListenersOnly()
|
/packages/services/Car/tests/CarLibUnitTest/src/android/car/user/ |
D | CarUserManagerUnitTest.java | 244 verify(mService, times(2)).setLifecycleListenerForApp(any(), isNull(), any()); in testAddListener_differentListenersAddedTwice() 256 verify(mService).setLifecycleListenerForApp(any(), eq(filter1), any()); in testAddListener_differentListenersWithFilter() 257 verify(mService).setLifecycleListenerForApp(any(), eq(filter2), any()); in testAddListener_differentListenersWithFilter()
|
/packages/services/Car/car-lib/src/android/car/user/ |
D | CarUserManager.java | 893 mService.setLifecycleListenerForApp(packageName, filter, mReceiver); in addListenerInternal()
|
/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserService.java | 582 public void setLifecycleListenerForApp(String packageName, UserLifecycleEventFilter filter, in setLifecycleListenerForApp() method in CarUserService
|