Searched refs:NotifySwitchArgs (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/services/input/
H A DInputListener.h116 struct NotifySwitchArgs : public NotifyArgs { struct in namespace:android
122 inline NotifySwitchArgs() { } function in struct:android::NotifySwitchArgs
124 NotifySwitchArgs(nsecs_t eventTime, uint32_t policyFlags,
127 NotifySwitchArgs(const NotifySwitchArgs& other);
129 virtual ~NotifySwitchArgs() { }
165 virtual void notifySwitch(const NotifySwitchArgs* args) = 0;
184 virtual void notifySwitch(const NotifySwitchArgs* args);
H A DInputListener.cpp104 // --- NotifySwitchArgs ---
106 NotifySwitchArgs::NotifySwitchArgs(nsecs_t eventTime, uint32_t policyFlags, function in class:android::NotifySwitchArgs
112 NotifySwitchArgs::NotifySwitchArgs(const NotifySwitchArgs& other) : function in class:android::NotifySwitchArgs
117 void NotifySwitchArgs::notify(const sp<InputListenerInterface>& listener) const {
163 void QueuedInputListener::notifySwitch(const NotifySwitchArgs* args) {
164 mArgsQueue.push(new NotifySwitchArgs(*args));
H A DInputDispatcher.h378 virtual void notifySwitch(const NotifySwitchArgs* args);
H A DInputDispatcher.cpp2506 void InputDispatcher::notifySwitch(const NotifySwitchArgs* args) {
H A DInputReader.cpp1838 NotifySwitchArgs args(when, 0, mUpdatedSwitchValues, mUpdatedSwitchMask);
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp207 List<NotifySwitchArgs> mNotifySwitchArgsQueue;
264 void assertNotifySwitchWasCalled(NotifySwitchArgs* outEventArgs = NULL) {
290 virtual void notifySwitch(const NotifySwitchArgs* args) {
1500 NotifySwitchArgs args;

Completed in 573 milliseconds