Home
last modified time | relevance | path

Searched refs:setOnAddClickListener (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DAddPreferenceTest.java71 mPreference.setOnAddClickListener(p -> {}); in onBindViewHolder_hasListener_addButtonVisible()
83 mPreference.setOnAddClickListener(p -> {}); in setOnAddClickListener_listenerAddedAfterBinding_addButtonBecomesVisible()
90 mPreference.setOnAddClickListener(p -> {}); in setOnAddClickListener_listenerRemovedAfterBinding_addButtonNotVisible()
96 mPreference.setOnAddClickListener(null); in setOnAddClickListener_listenerRemovedAfterBinding_addButtonNotVisible()
107 mPreference.setOnAddClickListener(p -> {}); in setOnAddClickListener_listenerAddedAndRemovedAfterBinding_addButtonNotVisible()
111 mPreference.setOnAddClickListener(null); in setOnAddClickListener_listenerAddedAndRemovedAfterBinding_addButtonNotVisible()
127 mPreference.setOnAddClickListener(listener); in onClick_hasListenerBeforeBind_firesCorrectly()
143 mPreference.setOnAddClickListener(listener); in onClick_listenerAddedAfterBind_firesCorrectly()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileNetworkSummaryControllerTest.java260 verify(mPreference, never()).setOnAddClickListener(notNull()); in addButton_noSubscriptionsNoEuiccMgr_noAddClickListener()
270 verify(mPreference, never()).setOnAddClickListener(notNull()); in addButton_oneSubscriptionNoEuiccMgr_noAddClickListener()
277 verify(mPreference, never()).setOnAddClickListener(notNull()); in addButton_noSubscriptions_noAddClickListener()
286 verify(mPreference).setOnAddClickListener(notNull()); in addButton_oneSubscription_hasAddClickListener()
296 verify(mPreference).setOnAddClickListener(notNull()); in addButton_twoSubscriptions_hasAddClickListener()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DMobileNetworkSummaryController.java127 mPreference.setOnAddClickListener(null); in update()
146 mPreference.setOnAddClickListener(p -> startAddSimFlow()); in update()
/packages/apps/Settings/src/com/android/settings/network/
DMobileNetworkSummaryController.java138 mPreference.setOnAddClickListener(null); in update()
159 mPreference.setOnAddClickListener(p -> startAddSimFlow()); in update()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DAddPreference.java50 public void setOnAddClickListener(OnAddClickListener listener) { in setOnAddClickListener() method in AddPreference
/packages/apps/Settings/src/com/android/settings/widget/
DAddPreference.java50 public void setOnAddClickListener(OnAddClickListener listener) { in setOnAddClickListener() method in AddPreference