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.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()
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.ServiceListing77 private lateinit var mockSL: ServiceListing101 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()