aboutsummaryrefslogtreecommitdiffstats
path: root/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/data/src/test/pkg/SdCardTest.java.txt
blob: e2719e9082c351d593bb9baa10f25788a69e3130 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package test.pkg;

import java.io.File;

import android.content.Intent;
import android.net.Uri;

/**
 * Ignore comments - create("/sdcard/foo")
 */
public class SdCardTest {
	private static final boolean PROFILE_STARTUP = true;
	private static final String SDCARD_TEST_HTML = "/sdcard/test.html";
	public static final String SDCARD_ROOT = "/sdcard";
	public static final String PACKAGES_PATH = "/sdcard/o/packages/";
	File deviceDir = new File("/sdcard/vr");

	public SdCardTest() {
		if (PROFILE_STARTUP) {
			android.os.Debug.startMethodTracing("/sdcard/launcher");
		}
		if (new File("/sdcard").exists()) {
		}
		String FilePath = "/sdcard/" + new File("test");
		System.setProperty("foo.bar", "file://sdcard");


		Intent intent = new Intent(Intent.ACTION_PICK);
		intent.setDataAndType(Uri.parse("file://sdcard/foo.json"), "application/bar-json");
		intent.putExtra("path-filter", "/sdcard(/.+)*");
		intent.putExtra("start-dir", "/sdcard");
	}
}