Searched refs:listener (Results 1 – 9 of 9) sorted by relevance
114 UeventListener *listener = mListeners.valueAt(0); in deinitialize() local116 delete listener; in deinitialize()141 UeventListener *listener = new UeventListener; in registerListener() local142 if (!listener) { in registerListener()146 listener->func = func; in registerListener()147 listener->data = data; in registerListener()149 mListeners.add(key, listener); in registerListener()194 UeventListener *listener; in onUevent() local200 listener = mListeners.valueFor(key); in onUevent()201 if (listener) { in onUevent()[all …]
44 SensorListener* listener = (SensorListener*) data; in sensor_events_listener() local47 while ((num_sensors = listener->mSensorEventQueue->read(sen_events, 8)) > 0) { in sensor_events_listener()80 listener->handleOrientation(orient, tilt); in sensor_events_listener()
42 SensorListener* listener = (SensorListener*) data; in sensor_events_listener() local45 while ((num_sensors = listener->mSensorEventQueue->read(sen_events, 8)) > 0) { in sensor_events_listener()78 listener->handleOrientation(orient, tilt); in sensor_events_listener()
142 const struct wl_drm_listener *listener, void *data) in wl_drm_add_listener() argument145 (void (**)(void)) listener, data); in wl_drm_add_listener()
4387 void Append(TestEventListener *listener);4388 TestEventListener* Release(TestEventListener* listener);4423 void TestEventRepeater::Append(TestEventListener *listener) { in Append() argument4424 listeners_.push_back(listener); in Append()4428 TestEventListener* TestEventRepeater::Release(TestEventListener *listener) { in Release() argument4430 if (listeners_[i] == listener) { in Release()4432 return listener; in Release()5055 void TestEventListeners::Append(TestEventListener* listener) { in Append() argument5056 repeater_->Append(listener); in Append()5062 TestEventListener* TestEventListeners::Release(TestEventListener* listener) { in Release() argument[all …]
369 sp<FrameListener> listener = stream->GetFrameListener(); in CaptureBurst() local415 ASSERT_EQ(OK, listener->waitForFrame(waitLimit)); in CaptureBurst()
158 NotifierListener &listener) { in configureCameraDevice() argument172 err = listener.getNotificationsFrom(dev); in configureCameraDevice()
84 * New feature: the event listener API
18453 void Append(TestEventListener* listener);18458 TestEventListener* Release(TestEventListener* listener);18497 void SetDefaultResultPrinter(TestEventListener* listener);18504 void SetDefaultXmlGenerator(TestEventListener* listener);