• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package com.android.test.input;
2 
3 import android.view.MotionEvent;
4 
5 interface IAnrTestService {
6     /**
7      * Provide the activity information. This includes:
8      * windowToken: the windowToken of the activity window
9      * displayId: the display id on which the activity is positioned
10      * pid: the pid of the activity
11      */
provideActivityInfo(IBinder windowToken, int displayId, int pid)12     void provideActivityInfo(IBinder windowToken, int displayId, int pid);
13     /**
14      * Provide the MotionEvent received by the remote activity.
15      */
notifyMotion(in MotionEvent event)16     void notifyMotion(in MotionEvent event);
17 }
18