| 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:async"; | 7 import "dart:async"; |
| 8 import "dart:convert" show LineSplitter, UTF8; | 8 import "dart:convert" show LineSplitter, UTF8; |
| 9 import "dart:core"; | 9 import "dart:core"; |
| 10 import "dart:io"; | 10 import "dart:io"; |
| 11 | 11 |
| 12 import "path.dart"; |
| 12 import "utils.dart"; | 13 import "utils.dart"; |
| 13 | 14 |
| 14 Future _executeCommand(String executable, | 15 Future _executeCommand(String executable, |
| 15 List<String> args, | 16 List<String> args, |
| 16 [String stdin = ""]) { | 17 [String stdin = ""]) { |
| 17 return _executeCommandRaw(executable, args, stdin).then((results) => null); | 18 return _executeCommandRaw(executable, args, stdin).then((results) => null); |
| 18 } | 19 } |
| 19 | 20 |
| 20 Future _executeCommandGetOutput(String executable, | 21 Future _executeCommandGetOutput(String executable, |
| 21 List<String> args, | 22 List<String> args, |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 */ | 325 */ |
| 325 class Intent { | 326 class Intent { |
| 326 String action; | 327 String action; |
| 327 String package; | 328 String package; |
| 328 String activity; | 329 String activity; |
| 329 String dataUri; | 330 String dataUri; |
| 330 | 331 |
| 331 Intent(this.action, this.package, this.activity, [this.dataUri]); | 332 Intent(this.action, this.package, this.activity, [this.dataUri]); |
| 332 } | 333 } |
| 333 | 334 |
| OLD | NEW |