HomeSort by relevance Sort by last modified time
    Searched full:getpath (Results 1 - 25 of 3608) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/services/tests/servicestests/src/com/android/server/wm/
TaskSnapshotPersisterLoaderTest.java 59 final File[] files = new File[] { new File(sFilesDir.getPath() + "/snapshots/1.proto"),
60 new File(sFilesDir.getPath() + "/snapshots/1.jpg"),
61 new File(sFilesDir.getPath() + "/snapshots/1_reduced.jpg")};
81 assertFalse(new File(sFilesDir.getPath() + "/snapshots/1.proto").exists());
82 assertFalse(new File(sFilesDir.getPath() + "/snapshots/1.jpg").exists());
83 assertFalse(new File(sFilesDir.getPath() + "/snapshots/1_reduced.jpg").exists());
120 new File(sFilesDir.getPath() + "/snapshots/3.proto"),
121 new File(sFilesDir.getPath() + "/snapshots/4.proto")};
123 new File(sFilesDir.getPath() + "/snapshots/100.proto"),
124 new File(sFilesDir.getPath() + "/snapshots/1.proto")
    [all...]
  /cts/tests/tests/transition/src/android/transition/cts/
ArcMotionTest.java 37 Path path = arcMotion.getPath(0, 100, 100, 0);
41 path = arcMotion.getPath(100, 0, 0, -100);
45 path = arcMotion.getPath(0, -100, -100, 0);
49 path = arcMotion.getPath(-100, 0, 0, 100);
62 path = arcMotion.getPath(0, 120, 160, 0);
66 path = arcMotion.getPath(0, 160, 120, 0);
70 path = arcMotion.getPath(-120, 0, 0, 160);
74 path = arcMotion.getPath(-160, 0, 0, 120);
78 path = arcMotion.getPath(0, -120, -160, 0);
82 path = arcMotion.getPath(0, -160, -120, 0)
    [all...]
  /frameworks/support/transition/tests/src/android/support/transition/
ArcMotionTest.java 38 Path path = arcMotion.getPath(0, 100, 100, 0);
42 path = arcMotion.getPath(100, 0, 0, -100);
46 path = arcMotion.getPath(0, -100, -100, 0);
50 path = arcMotion.getPath(-100, 0, 0, 100);
63 path = arcMotion.getPath(0, 120, 160, 0);
67 path = arcMotion.getPath(0, 160, 120, 0);
71 path = arcMotion.getPath(-120, 0, 0, 160);
75 path = arcMotion.getPath(-160, 0, 0, 120);
79 path = arcMotion.getPath(0, -120, -160, 0);
83 path = arcMotion.getPath(0, -160, -120, 0)
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
LastMileLoggerTest.java 62 mLastMileLogger = new LastMileLogger(mWifiInjector, mTraceDataFile.getPath(),
63 mTraceEnableFile.getPath(), mTraceReleaseFile.getPath());
68 new LastMileLogger(mWifiInjector, mTraceDataFile.getPath(), mTraceEnableFile.getPath(),
69 mTraceReleaseFile.getPath());
77 assertEquals("1", IoUtils.readFileAsString(mTraceEnableFile.getPath()));
94 assertEquals("0", IoUtils.readFileAsString(mTraceEnableFile.getPath()));
121 assertEquals("0", IoUtils.readFileAsString(mTraceEnableFile.getPath()));
143 assertEquals("0", IoUtils.readFileAsString(mTraceEnableFile.getPath()));
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
MountServiceTests.java 66 public String getPath() {
117 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG
120 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG
133 assertTrue("mountObb call on " + file.getPath() + " should succeed",
134 sm.mountObb(file.getPath(), null, observer));
140 assertTrue("OBB should be mounted", sm.isObbMounted(file.getPath()));
144 file.getPath(), observer.getPath());
154 assertTrue("mountObb call on " + file.getPath() + " should succeed", sm.mountObb(file
155 .getPath(), null, observer))
    [all...]
  /packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
DownloadCompletionReceiver.java 51 Path sourceFile = FileSystems.getDefault().getPath(completedFile.getPath());
68 .getPath(context.getFilesDir().getPath(), "images/animals/", fileName)
76 .getPath(context.getFilesDir().getPath(), "images/image.png")
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
FileWriterTest.java 42 fos = new FileOutputStream(f.getPath());
48 br = new BufferedReader(new FileReader(f.getPath()));
98 fos = new FileOutputStream(f.getPath());
101 fis = new FileInputStream(f.getPath());
115 fos = new FileOutputStream(f.getPath());
118 bw = new BufferedWriter(new FileWriter(f.getPath()));
121 br = new BufferedReader(new FileReader(f.getPath()));
133 fos = new FileOutputStream(f.getPath());
136 bw = new BufferedWriter(new FileWriter(f.getPath(), true));
139 br = new BufferedReader(new FileReader(f.getPath()));
    [all...]
FileReaderTest.java 43 bw = new BufferedWriter(new FileWriter(f.getPath()));
58 bw = new BufferedWriter(new FileWriter(f.getPath()));
61 FileInputStream fis = new FileInputStream(f.getPath());
75 bw = new BufferedWriter(new FileWriter(f.getPath()));
78 br = new FileReader(f.getPath());
FileTest.java 87 File f = new File(tempDirectory.getPath(), "input.tst");
88 assertEquals("Created Incorrect File ", addTrailingSlash(tempDirectory.getPath()) + "input.tst", f.getPath());
119 assertEquals("Assert 1: wrong path result ", path.getPath(), file
120 .getPath());
132 String dirName = tempDirectory.getPath();
141 dirName, f.getPath());
171 fileName = addTrailingSlash(tempDirectory.getPath());
175 assertEquals("Created incorrect File", fileName, f.getPath());
189 dirName = tempDirectory.getPath();
    [all...]
  /cts/libs/vogar-expect/src/vogar/commands/
Rm.java 27 new Command("rm", "-f", file.getPath()).execute();
31 new Command("rm", "-rf", directory.getPath()).execute();
  /frameworks/base/tools/aapt/
OutputSet.h 37 inline const android::String8& getPath() const {
41 bool operator<(const OutputEntry& o) const { return getPath() < o.mPath; }
42 bool operator==(const OutputEntry& o) const { return getPath() == o.mPath; }
  /cts/tests/tests/gesture/src/android/gesture/cts/
GestureStrokeTest.java 40 * Test {@link GestureStroke#getPath()} when set of empty points are provided.
45 assertNull(emptyStroke.getPath());
49 * Test {@link GestureStroke#getPath()} when a single point is provided.
53 Path emptyPath = emptyStroke.getPath();
59 * Test {@link GestureStroke#getPath()} when a line is provided.
63 Path linePath = lineStroke.getPath();
78 // expect the same results generated by getPath
  /external/vogar/src/vogar/android/
DeviceFilesystem.java 50 while (dir != null && !dir.getPath().equals("/sdcard") && !dir.getPath().equals("/")) {
70 args.add(name.getPath());
86 args.add(dir.getPath());
96 if (fileString.equals(dir.getPath() + ": No such file or directory")) {
99 if (fileString.equals(dir.getPath())) {
DeviceFileCache.java 72 new Command(log, "adb", "shell", "mv", temporary.getPath(), cachedFile.getPath()).execute();
77 new Command(log, "adb", "shell", "cat", source.getPath(), ">", temporary.getPath())
  /frameworks/rs/
rsCacheDir.cpp 37 jmethodID getPath = env->GetMethodID(fileClass, "getPath", "()Ljava/lang/String;");
38 jstring path_string = (jstring)env->CallObjectMethod(cache_dir, getPath);
  /packages/providers/MediaProvider/src/com/android/providers/media/
MtpService.java 57 final String path = primary.getPath();
130 volumeMountedLocked(volume.getPath());
132 Log.e(TAG, "StorageVolume not mounted " + volume.getPath());
152 subdirs[i] = file.getPath();
190 " with storage " + primary.getPath() + (mMtpDisabled ? " disabled" : ""));
194 primary.getPath(), subdirs);
250 if (volume.getPath().equals(path)) {
265 mStorageMap.put(storage.getPath(), storage);
272 + " at " + storage.getPath());
284 MtpStorage storage = mStorageMap.remove(volume.getPath());
    [all...]
  /external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
AbstractFileSystemEntryTestCase.groovy 39 assertNull("path", entry.getPath())
41 assert entry.getPath() == PATH
49 assertEquals("path", PATH, entry.getPath())
51 assert entry.getPath() == ""
  /libcore/ojluni/src/main/java/sun/nio/fs/
AbstractPath.java 43 return startsWith(getFileSystem().getPath(other));
48 return endsWith(getFileSystem().getPath(other));
53 return resolve(getFileSystem().getPath(other));
66 return resolveSibling(getFileSystem().getPath(other));
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
StateListDrawableTest.java 30 assertThat(((ShadowBitmapDrawable) shadowOf(drawableForState)).getPath(), is("/foo"));
43 assertThat(((ShadowBitmapDrawable) shadowOf(drawableForState)).getPath(), is("/foo"));
  /external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/
ScriptProcess.java 38 public String getPath() {
39 return mScript.getPath();
  /frameworks/base/core/tests/coretests/src/android/net/
WebAddressTest.java 30 assertEquals("/b/c/g", webAddress.getPath());
38 assertEquals("/?si=1", webAddress.getPath());
  /frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/vo/
Constructor.kt 38 override fun log(): String = field.getPath()
43 override fun log(): String = embedded.field.getPath()
  /hardware/libhardware/modules/input/evdev/
InputDeviceManager.cpp 31 ALOGE("got input event for unknown node %s", node->getPath().c_str());
43 ALOGE("could not remove unknown node %s", node->getPath().c_str());
  /external/vogar/src/vogar/
SshTarget.java 69 .args("rm", "-r", file.getPath())
102 local.getPath(), host + ":" + remote.getPath()).execute();
111 host + ":" + remote.getPath(), local.getPath()).execute();
  /frameworks/base/core/tests/coretests/src/android/database/
DatabaseErrorHandlerTest.java 46 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null,
68 BufferedWriter writer = new BufferedWriter(new FileWriter(mDatabaseFile.getPath()));
94 SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null,
116 mDatabaseFile.getPath());
120 mDatabaseFile.getPath());

Completed in 1233 milliseconds

1 2 3 4 5 6 7 8 91011>>