| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library android; | 5 library android; |
| 6 | 6 |
| 7 import "dart:io"; | 7 import "dart:io"; |
| 8 import "dart:async"; | 8 import "dart:async"; |
| 9 import "dart:core"; | 9 import "dart:core"; |
| 10 import "dart:utf"; | |
| 11 | 10 |
| 12 import "utils.dart"; | 11 import "utils.dart"; |
| 13 | 12 |
| 14 Future _executeCommand(String executable, | 13 Future _executeCommand(String executable, |
| 15 List<String> args, | 14 List<String> args, |
| 16 [String stdin = ""]) { | 15 [String stdin = ""]) { |
| 17 return _executeCommandRaw(executable, args, stdin).then((results) => null); | 16 return _executeCommandRaw(executable, args, stdin).then((results) => null); |
| 18 } | 17 } |
| 19 | 18 |
| 20 Future _executeCommandGetOutput(String executable, | 19 Future _executeCommandGetOutput(String executable, |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 */ | 314 */ |
| 316 class Intent { | 315 class Intent { |
| 317 String action; | 316 String action; |
| 318 String package; | 317 String package; |
| 319 String activity; | 318 String activity; |
| 320 String dataUri; | 319 String dataUri; |
| 321 | 320 |
| 322 Intent(this.action, this.package, this.activity, [this.dataUri]); | 321 Intent(this.action, this.package, this.activity, [this.dataUri]); |
| 323 } | 322 } |
| 324 | 323 |
| OLD | NEW |