Home
last modified time | relevance | path

Searched refs:ServiceListing (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DServiceListingTest.java56 private ServiceListing mServiceListing;
66 mServiceListing = new ServiceListing.Builder(mContext) in setUp()
91 mServiceListing = new ServiceListing.Builder(mContext) in testValidator()
104 ServiceListing.Callback callback = mock(ServiceListing.Callback.class); in testValidator()
132 mServiceListing = new ServiceListing.Builder(mContext) in testNoValidator()
139 ServiceListing.Callback callback = mock(ServiceListing.Callback.class); in testNoValidator()
152 ServiceListing.Callback callback = mock(ServiceListing.Callback.class); in testCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsListingControllerImpl.kt28 import com.android.settingslib.applications.ServiceListing in <lambda>()
45 private fun createServiceListing(context: Context): ServiceListing { in <lambda>()
46 return ServiceListing.Builder(context).apply { in <lambda>()
68 private val serviceListingBuilder: (Context) -> ServiceListing,
107 private val serviceListingCallback = ServiceListing.Callback { list -> in list()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DServiceListing.java43 public class ServiceListing { class
59 private ServiceListing(Context context, String tag, in ServiceListing() method in ServiceListing
248 public ServiceListing build() { in build()
249 return new ServiceListing(mContext, mTag, mSetting, mIntentAction, mPermission, mNoun, in build()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsListingControllerImplTest.kt33 import com.android.settingslib.applications.ServiceListing
77 private lateinit var mockSL: ServiceListing
101 ArgumentCaptor.forClass(ServiceListing.Callback::class.java)
158 val mockServiceListing = mock(ServiceListing::class.java) in testImmediateListingReload_doesNotCrash()
159 var callback: ServiceListing.Callback? = null in testImmediateListingReload_doesNotCrash()
160 `when`(mockServiceListing.addCallback(any<ServiceListing.Callback>())).then { in testImmediateListingReload_doesNotCrash()