Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
H A DControlsListingControllerImpl.kt28 import com.android.settingslib.applications.ServiceListing
46 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 ->
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
H A DControlsListingControllerImplTest.kt33 import com.android.settingslib.applications.ServiceListing
78 private lateinit var mockSL: ServiceListing
102 ArgumentCaptor.forClass(ServiceListing.Callback::class.java)
162 val mockServiceListing = mock(ServiceListing::class.java)
163 var callback: ServiceListing.Callback? = null
164 `when`(mockServiceListing.addCallback(any<ServiceListing.Callback>())).then {