Home
last modified time | relevance | path

Searched refs:mProfileUpdateReceiver (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DProfileDetailsBasePreferenceController.java45 final BroadcastReceiver mProfileUpdateReceiver = new BroadcastReceiver() { field in ProfileDetailsBasePreferenceController
103 getContext().registerReceiver(mProfileUpdateReceiver, filter); in registerForProfileEvents()
107 getContext().unregisterReceiver(mProfileUpdateReceiver); in unregisterForProfileEvents()
DProfilesBasePreferenceController.java48 final BroadcastReceiver mProfileUpdateReceiver = new BroadcastReceiver() { field in ProfilesBasePreferenceController
134 getContext().registerReceiver(mProfileUpdateReceiver, filter); in registerForProfileEvents()
138 getContext().unregisterReceiver(mProfileUpdateReceiver); in unregisterForProfileEvents()
DProfileGridRecyclerView.java84 private final BroadcastReceiver mProfileUpdateReceiver = new BroadcastReceiver() { field in ProfileGridRecyclerView
244 mProfileUpdateReceiver, in registerForProfileEvents()
252 mContext.unregisterReceiver(mProfileUpdateReceiver); in unregisterForProfileEvents()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/
DProfileDetailsBasePreferenceControllerTest.java88 verify(mContext).registerReceiver(eq(mPreferenceController.mProfileUpdateReceiver), any()); in testOnStart_registerListener()
98 verify(mContext).unregisterReceiver(mPreferenceController.mProfileUpdateReceiver); in testOnStop_unregisterListener()
DProfilesBasePreferenceControllerTest.java124 verify(mContext).registerReceiver(eq(mPreferenceController.mProfileUpdateReceiver), any()); in onCreate_registersOnUsersUpdateListener()
157 verify(mContext).unregisterReceiver(eq(mPreferenceController.mProfileUpdateReceiver)); in onDestroy_unregistersOnUsersUpdateListener()
227 mPreferenceController.mProfileUpdateReceiver.onReceive(mContext, new Intent()); in onUsersUpdated_updatesGroup()