Searched refs:ServiceListing (Results 1 – 4 of 4) sorted by relevance
56 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()
28 import com.android.settingslib.applications.ServiceListing46 private fun createServiceListing(context: Context): ServiceListing {47 return ServiceListing.Builder(context).apply {69 private val serviceListingBuilder: (Context) -> ServiceListing,108 private val serviceListingCallback = ServiceListing.Callback { list ->
43 public class ServiceListing { class59 private ServiceListing(Context context, String tag, in ServiceListing() method in ServiceListing248 public ServiceListing build() { in build()249 return new ServiceListing(mContext, mTag, mSetting, mIntentAction, mPermission, mNoun, in build()
33 import com.android.settingslib.applications.ServiceListing78 private lateinit var mockSL: ServiceListing102 ArgumentCaptor.forClass(ServiceListing.Callback::class.java)162 val mockServiceListing = mock(ServiceListing::class.java)163 var callback: ServiceListing.Callback? = null164 `when`(mockServiceListing.addCallback(any<ServiceListing.Callback>())).then {