/system/update_engine/common/ |
hash_calculator_unittest.cc | 114 string data_path; local 116 utils::MakeTempFile("data.XXXXXX", &data_path, nullptr)); 117 ScopedPathUnlinker data_path_unlinker(data_path); 118 ASSERT_TRUE(utils::WriteFile(data_path.c_str(), "hi", 2)); 123 EXPECT_EQ(2, calc.UpdateFile(data_path, kLengths[i])); 132 EXPECT_EQ(0, calc.UpdateFile(data_path, 0)); 133 EXPECT_EQ(1, calc.UpdateFile(data_path, 1)); 140 string data_path; local 142 utils::MakeTempFile("data.XXXXXX", &data_path, nullptr)); 143 ScopedPathUnlinker data_path_unlinker(data_path); [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_tools.py | 62 data_path = os.path.join(directory, '_test.py') 65 with open(data_path, 'w') as f: 68 rc, out, err = assert_python_ok(self.script, '-d', data_path) 71 backup = data_path + '~' 75 with open(data_path) as f: 81 rc, out, err = assert_python_ok(self.script, '-c', data_path) 86 with open(data_path) as f: 90 with open(data_path, 'w') as f: 92 rc, out, err = assert_python_ok(self.script, '-r', data_path) 97 with open(data_path) as f [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_tools.py | 62 data_path = os.path.join(directory, '_test.py') 65 with open(data_path, 'w') as f: 68 rc, out, err = assert_python_ok(self.script, '-d', data_path) 71 backup = data_path + '~' 75 with open(data_path) as f: 81 rc, out, err = assert_python_ok(self.script, '-c', data_path) 86 with open(data_path) as f: 90 with open(data_path, 'w') as f: 92 rc, out, err = assert_python_ok(self.script, '-r', data_path) 97 with open(data_path) as f [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_tools.py | 62 data_path = os.path.join(directory, '_test.py') 65 with open(data_path, 'w') as f: 68 rc, out, err = assert_python_ok(self.script, '-d', data_path) 71 backup = data_path + '~' 75 with open(data_path) as f: 81 rc, out, err = assert_python_ok(self.script, '-c', data_path) 86 with open(data_path) as f: 90 with open(data_path, 'w') as f: 92 rc, out, err = assert_python_ok(self.script, '-r', data_path) 97 with open(data_path) as f [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_tools.py | 62 data_path = os.path.join(directory, '_test.py') 65 with open(data_path, 'w') as f: 68 rc, out, err = assert_python_ok(self.script, '-d', data_path) 71 backup = data_path + '~' 75 with open(data_path) as f: 81 rc, out, err = assert_python_ok(self.script, '-c', data_path) 86 with open(data_path) as f: 90 with open(data_path, 'w') as f: 92 rc, out, err = assert_python_ok(self.script, '-r', data_path) 97 with open(data_path) as f [all...] |
/frameworks/native/cmds/installd/ |
utils.h | 117 int64_t data_disk_free(const std::string& data_path); 121 void add_cache_files(cache_t* cache, const std::string& data_path); 123 void clear_cache_files(const std::string& data_path, cache_t* cache, int64_t free_size);
|
utils.cpp | 524 int64_t data_disk_free(const std::string& data_path) 527 if (statfs(data_path.c_str(), &sfs) == 0) { 530 PLOG(ERROR) << "Couldn't statfs " << data_path; 782 void add_cache_files(cache_t* cache, const std::string& data_path) { 787 const char* basepath = data_path.c_str(); 887 void clear_cache_files(const std::string& data_path, cache_t* cache, int64_t free_size) 912 if (data_disk_free(data_path) > free_size) { [all...] |
installd.cpp | 550 const char* data_path = getenv("ANDROID_DATA"); local 551 if (data_path == nullptr) { 561 return init_globals_from_data_and_root(data_path, root_path);
|
otapreopt.cpp | 604 const char* data_path = getenv("ANDROID_DATA"); local 605 if (data_path == nullptr) { 609 return init_globals_from_data_and_root(data_path, kOTARootDirectory);
|
/bootable/recovery/tests/component/ |
verifier_test.cpp | 39 static const char* DATA_PATH = getenv("ANDROID_DATA"); 94 android::base::StringPrintf("%s%s%s%s", DATA_PATH, NATIVE_TEST_PATH, 109 "%s%s%stest_key_%s.txt", DATA_PATH, NATIVE_TEST_PATH, 117 "%s%s%stest_key_e3.txt", DATA_PATH, NATIVE_TEST_PATH,
|
applypatch_test.cpp | 37 static const std::string DATA_PATH = getenv("ANDROID_DATA"); 70 &DATA_PATH[0],
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/ |
antlr3.rb | 107 DATA_PATH = ::File.join( PROJECT_PATH, 'java' ).freeze 124 def self.data_path( *args ) singleton method in class:ANTLR3 125 ::File.expand_path( ::File.join( DATA_PATH, *args ) ) 147 path = data_path "antlr-full-#{ ANTLR_VERSION_STRING }.jar"
|
/external/libvpx/libvpx/test/ |
video_source.h | 36 const char *const data_path = getenv("LIBVPX_TEST_DATA_PATH"); local 37 if (data_path == NULL) { 47 return data_path;
|
decode_perf_test.cc | 155 const std::string data_path = getenv("LIBVPX_TEST_DATA_PATH"); local 156 const std::string path_to_source = data_path + "/" + kNewEncodeOutputFile;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
video_source.h | 30 const char *const data_path = getenv("LIBVPX_TEST_DATA_PATH"); local 31 if (data_path == NULL) { 41 return data_path;
|
/cts/tests/tests/content/src/android/content/cts/ |
IntentFilterTest.java | 66 private static final String DATA_PATH = "testDataPath"; 538 mIntentFilter.addDataPath(DATA_PATH, PatternMatcher.PATTERN_LITERAL); 585 mIntentFilter.addDataPath(DATA_PATH, 1); [all...] |
/system/update_engine/payload_generator/ |
ab_generator_unittest.cc | 111 string data_path; local 113 "SplitReplaceOrReplaceBzTest_data.XXXXXX", &data_path, nullptr)); 114 ScopedPathUnlinker data_path_unlinker(data_path); 115 int data_fd = open(data_path.c_str(), O_RDWR, 000); 118 EXPECT_TRUE(utils::WriteFile(data_path.c_str(), op_blob.data(), 280 string data_path; local 282 "MergeReplaceOrReplaceBzTest_data.XXXXXX", &data_path, nullptr)); 283 ScopedPathUnlinker data_path_unlinker(data_path); 284 int data_fd = open(data_path.c_str(), O_RDWR, 000); 287 EXPECT_TRUE(utils::WriteFile(data_path.c_str(), blob_data.data() [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
TestUtil.java | 22 public static final String DATA_PATH = "/android/icu/dev/data/"; 30 is = TestUtil.class.getResourceAsStream(DATA_PATH + name);
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
TestUtil.java | 21 public static final String DATA_PATH = "/com/ibm/icu/dev/data/"; 29 is = TestUtil.class.getResourceAsStream(DATA_PATH + name);
|
/system/core/crash_reporter/ |
udev_collector_test.cc | 96 FilePath data_path = local 101 base::WriteFile(data_path,
|
/frameworks/base/services/core/java/com/android/server/storage/ |
DeviceStorageMonitorService.java | 103 private static final File DATA_PATH = Environment.getDataDirectory(); 166 mDataFileStats.restat(DATA_PATH.getAbsolutePath()); 328 mDataFileStats = new StatFs(DATA_PATH.getAbsolutePath()); 361 mMemLowThreshold = sm.getStorageLowBytes(DATA_PATH); 362 mMemFullThreshold = sm.getStorageFullBytes(DATA_PATH);
|
/external/icu/icu4c/source/extra/uconv/ |
makedata.mak | 49 DATA_PATH=$(ICUP)\data^\
|
/tools/test/connectivity/acts/tests/google/wifi/ |
WifiPowerTest.py | 107 data_path = os.path.join(self.mon_data_path, "%s.txt" % tag) 108 monsoon.MonsoonData.save_to_text_file([result], data_path)
|
/external/jsoncpp/ |
SConstruct | 214 data_path = os.path.join( jsontest_path, 'data' ) 216 return runjsontests.runAllTests( os.path.abspath(source[0].path), data_path )
|
/external/opencv3/modules/ml/test/ |
test_gbttest.cpp | 32 string data_path;
|