Home
last modified time | relevance | path

Searched refs:serviceListener (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/servicewatcher/
DServiceWatcher.java211 @Nullable ServiceListener<? super TBoundServiceInfo> serviceListener) { in create() argument
212 return create(context, FgThread.getHandler(), tag, serviceSupplier, serviceListener); in create()
223 @Nullable ServiceListener<? super TBoundServiceInfo> serviceListener) { in create() argument
224 return new ServiceWatcherImpl<>(context, handler, tag, serviceSupplier, serviceListener); in create()
DServiceWatcherImpl.java82 ServiceListener<? super TBoundServiceInfo> serviceListener) { in ServiceWatcherImpl() argument
87 mServiceListener = serviceListener; in ServiceWatcherImpl()
/frameworks/av/camera/tests/
DCameraBinderTests.cpp416 sp<TestCameraServiceListener> serviceListener; member in CameraClientBinderTest
455 serviceListener = new TestCameraServiceListener(); in SetUp()
457 service->addListener(serviceListener, &statuses); in SetUp()
459 serviceListener->onStatusChanged(it.status, String16(it.cameraId)); in SetUp()
477 EXPECT_TRUE(serviceListener->waitForNumCameras(numCameras)); in TEST_F()
482 int32_t s = serviceListener->getStatus(cameraId); in TEST_F()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescerTest.java88 NotificationHandler serviceListener = requireNonNull(mListenerCaptor.getValue()); in setUp() local
89 mNoMan.addListener(serviceListener); in setUp()
/frameworks/av/drm/drmserver/
DDrmManager.cpp768 sp<IDrmServiceListener> serviceListener = mServiceListeners.valueFor(uniqueId); in onInfo() local
769 serviceListener->notify(event); in onInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java280 NotificationHandler serviceListener = requireNonNull(mListenerCaptor.getValue()); in setUp() local
281 mNoMan.addListener(serviceListener); in setUp()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp2353 sp<ServiceListener> serviceListener = in addListenerHelper() local
2356 auto ret = serviceListener->initialize(isProcessLocalTest); in addListenerHelper()
2367 mListenerList.emplace_back(serviceListener); in addListenerHelper()