Lines Matching refs:intent
124 Intent intent = new Intent(ManagerService.this, TestsListActivity.class);
125 intent.setAction(Intent.ACTION_SHUTDOWN);
126 /** This flag is needed because we send the intent from the service */
127 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
128 startActivity(intent);
156 public int onStartCommand(Intent intent, int flags, int startId) {
157 mAllTestsRelativePath = intent.getStringExtra("path");
163 public IBinder onBind(Intent intent) {
190 * This sends an intent to TestsListActivity to restart LayoutTestsExecutor.
200 Intent intent = new Intent(this, TestsListActivity.class);
201 intent.setAction(Intent.ACTION_REBOOT);
202 /** This flag is needed because we send the intent from the service */
203 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
204 intent.putExtra("crashedTestIndex", mCurrentlyRunningTestIndex);
205 startActivity(intent);