/external/qemu/android/filesystems/ |
partition_types_unittest.cpp | 44 const char* GetPath() const { 81 ::path_empty_file(part.GetPath()); 84 androidPartitionType_probeFile(part.GetPath())); 91 android_createEmptyExt4Image(part.GetPath(), 16*1024*1024, "cache"); 94 androidPartitionType_probeFile(part.GetPath())); 103 part.GetPath())) << "Could not create Yaffs2 partition image"; 106 androidPartitionType_probeFile(part.GetPath())); 115 part.GetPath())) << "Could not create EXT4 partition image"; 118 androidPartitionType_probeFile(part.GetPath()));
|
/art/compiler/ |
elf_fixup.cc | 41 LOG(WARNING) << "Failed fo fixup .dynamic in " << file->GetPath(); 45 LOG(WARNING) << "Failed fo fixup section headers in " << file->GetPath(); 49 LOG(WARNING) << "Failed fo fixup program headers in " << file->GetPath(); 53 LOG(WARNING) << "Failed fo fixup .dynsym in " << file->GetPath(); 57 LOG(WARNING) << "Failed fo fixup .symtab in " << file->GetPath(); 61 LOG(WARNING) << "Failed fo fixup .rel.dyn in " << file->GetPath(); 76 elf_file.GetFile().GetPath().c_str(), i, 96 elf_file.GetFile().GetPath().c_str(), i, 109 CHECK_EQ(ph->p_vaddr, ph->p_paddr) << elf_file.GetFile().GetPath() << " i=" << i; 111 << elf_file.GetFile().GetPath() << " i=" << i [all...] |
/external/lldb/test/python_api/default-constructor/ |
sb_filespec.py | 13 obj.GetPath(None, 0)
|
/external/chromium_org/tools/grit/grit/format/ |
html_inline_unittest.py | 74 source_resources.add(tmp_dir.GetPath(filename)) 76 resources = html_inline.GetResourceFilenames(tmp_dir.GetPath('index.html')) 77 resources.add(tmp_dir.GetPath('index.html')) 93 source_resources.add(tmp_dir.GetPath(filename)) 95 resources = html_inline.GetResourceFilenames(tmp_dir.GetPath('index.js')) 96 resources.add(tmp_dir.GetPath('index.js')) 147 source_resources.add(tmp_dir.GetPath(util.normpath(filename))) 149 result = html_inline.DoInline(tmp_dir.GetPath('index.html'), None) 151 resources.add(tmp_dir.GetPath('index.html')) 196 source_resources.add(tmp_dir.GetPath(filename) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
MountServiceTests.java | 78 public String getPath() { 129 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG 132 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG 145 assertTrue("mountObb call on " + file.getPath() + " should succeed", 146 sm.mountObb(file.getPath(), null, observer)); 152 assertTrue("OBB should be mounted", sm.isObbMounted(file.getPath())); 156 file.getPath(), observer.getPath()); 166 assertTrue("mountObb call on " + file.getPath() + " should succeed", sm.mountObb(file 167 .getPath(), null, observer)) [all...] |
/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();
|
/external/chromium_org/chrome/browser/ui/app_list/test/ |
fake_profile_store.cc | 17 loaded_profiles_[profile->GetPath()] = profile; 18 CallbacksByPath::iterator it = callbacks_.find(profile->GetPath()); 26 base::FilePath path(profile->GetPath());
|
/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
|
/art/runtime/ |
elf_file.cc | 162 file_->GetPath().c_str(), file_->Fd(), strerror(errno)); 169 file_->GetPath().c_str()); 177 file_->GetPath().c_str(), error_msg), 186 sizeof(Elf32_Ehdr), file_->GetPath().c_str()); 190 file_->GetPath().c_str(), error_msg), 198 file_->GetPath().c_str(), error_msg), 221 file_->GetPath().c_str()); 229 file_->GetPath().c_str()); 243 i, file_->GetPath().c_str()); 288 << file_->GetPath() << ": " << std::he [all...] |
/cts/tests/tests/os/src/android/os/storage/cts/ |
StorageManagerTest.java | 98 mStorageManager.isObbMounted(outFile.getPath())); 101 mStorageManager.getMountedObbPath(outFile.getPath())); 117 mStorageManager.isObbMounted(outFile.getPath())); 120 mStorageManager.getMountedObbPath(outFile.getPath())); 142 final String mountPath1 = checkMountedPath(oo1.getPath()); 149 final String mountPath2 = checkMountedPath(oo2.getPath()); 193 public String getPath() { 244 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG 247 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG 255 assertTrue("mountObb call on " + file.getPath() + " should succeed" [all...] |
/frameworks/base/services/core/java/com/android/server/updates/ |
SELinuxPolicyInstallReceiver.java | 134 Os.symlink(updateDir.getPath(), update.getPath()); 135 Os.rename(update.getPath(), current.getPath()); 137 Os.symlink(updateDir.getPath(), current.getPath()); 142 Os.symlink(contexts.getPath(), tmp.getPath()); 143 Os.rename(tmp.getPath(), current.getPath()); [all...] |
/external/chromium_org/chrome/browser/ |
app_controller_mac_unittest.mm | 55 manager.CreateTestingProfile("New Profile 1")->GetPath(); 57 manager.CreateTestingProfile("New Profile 2")->GetPath(); 73 EXPECT_EQ(dest_path2, [ac lastProfile]->GetPath());
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
TextToSpeechServiceTest.java | 59 int result = getTts().synthesizeToFile(UTTERANCE, createParams(), sampleFile.getPath()); 65 TextToSpeechWrapper.isSoundFile(sampleFile.getPath())); 80 assertFalse(TextToSpeechWrapper.isSoundFile(sampleFile.getPath())); 84 assertFalse(TextToSpeechWrapper.isSoundFile(sampleFile.getPath()));
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
csdetest.h | 38 virtual const char *getPath(char buffer[2048], const char *filename);
|
/external/robolectric/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"));
|
/frameworks/base/core/tests/coretests/src/android/net/ |
WebAddressTest.java | 30 assertEquals("/b/c/g", webAddress.getPath()); 38 assertEquals("/?si=1", webAddress.getPath());
|
/art/runtime/base/unix_file/ |
mapped_file.cc | 45 PLOG(WARNING) << "Failed to stat file '" << GetPath() << "'"; 53 PLOG(WARNING) << "Failed to mmap file '" << GetPath() << "' of size " 70 PLOG(ERROR) << "Failed to truncate file '" << GetPath() 80 PLOG(WARNING) << "Failed to mmap file '" << GetPath() << "' of size " 92 PLOG(WARNING) << "Failed unmap file '" << GetPath() << "' of size "
|
/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());
|
/libcore/luni/src/test/java/libcore/java/net/ |
URITest.java | 35 assertEquals("/directory/file", uri.getPath()); 94 assertEquals("/path", uri.getPath()); 100 assertEquals("/path", uri.getPath()); 106 assertEquals("", uri.getPath()); 176 assertEquals("/path", uri.getPath()); 182 assertEquals("", uri.getPath()); 189 assertEquals("", uri.getPath()); 196 assertEquals("/file@foo", uri.getPath()); 203 assertEquals("/file:colon", uri.getPath()); 208 assertEquals("/file", uri.getPath()); [all...] |
URLTest.java | 39 assertEquals("/directory/file", url.getPath()); 143 assertEquals("/path", url.getPath()); 155 assertEquals("/path", url.getPath()); 164 assertEquals("", url.getPath()); 176 assertEquals("", url.getPath()); 190 assertEquals("", url.getPath()); 245 assertEquals("/path", url.getPath()); 251 assertEquals("", url.getPath()); 258 assertEquals("", url.getPath()); 265 assertEquals("/file@foo", url.getPath()); [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MtpService.java | 55 final String path = primary.getPath(); 133 String path = volumes[i].getPath(); 157 subdirs[i] = file.getPath(); 165 primary.getPath(), subdirs); 242 if (volume.getPath().equals(path)) { 257 String path = storage.getPath(); 270 MtpStorage storage = mStorageMap.remove(volume.getPath()); 272 Log.e(TAG, "no MtpStorage for " + volume.getPath()); 276 Log.d(TAG, "removeStorageLocked " + storage.getStorageId() + " " + storage.getPath());
|