HomeSort by relevance Sort by last modified time
    Searched refs:data_path (Results 1 - 19 of 19) sorted by null

  /system/update_engine/common/
hash_calculator_unittest.cc 113 string data_path; local
115 utils::MakeTempFile("data.XXXXXX", &data_path, nullptr));
116 ScopedPathUnlinker data_path_unlinker(data_path);
117 ASSERT_TRUE(utils::WriteFile(data_path.c_str(), "hi", 2));
122 EXPECT_EQ(2, calc.UpdateFile(data_path, kLengths[i]));
131 EXPECT_EQ(0, calc.UpdateFile(data_path, 0));
132 EXPECT_EQ(1, calc.UpdateFile(data_path, 1));
139 string data_path; local
141 utils::MakeTempFile("data.XXXXXX", &data_path, nullptr));
142 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...]
  /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;
  /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;
  /frameworks/native/cmds/installd/
utils.h 120 int64_t data_disk_free(const std::string& data_path);
129 void add_cache_files(cache_t* cache, const std::string& data_path);
131 void clear_cache_files(const std::string& data_path, cache_t* cache, int64_t free_size);
utils.cpp 529 int64_t data_disk_free(const std::string& data_path)
532 if (statfs(data_path.c_str(), &sfs) == 0) {
535 PLOG(ERROR) << "Couldn't statfs " << data_path;
880 void add_cache_files(cache_t* cache, const std::string& data_path) {
885 const char* basepath = data_path.c_str();
977 void clear_cache_files(const std::string& data_path, cache_t* cache, int64_t free_size)
1002 if (data_disk_free(data_path) > free_size) {
    [all...]
installd.cpp 561 const char* data_path = getenv("ANDROID_DATA"); local
562 if (data_path == nullptr) {
572 return init_globals_from_data_and_root(data_path, root_path);
commands.cpp 528 auto data_path = create_data_path(uuid); local
530 avail = data_disk_free(data_path);
546 clear_cache_files(data_path, cache, free_size);
549 return data_disk_free(data_path) >= free_size ? 0 : -1;
    [all...]
  /system/core/crash_reporter/
udev_collector_test.cc 96 FilePath data_path = local
101 base::WriteFile(data_path,
  /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...]
  /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/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/opencv3/modules/ml/test/
test_gbttest.cpp 32 string data_path;
  /external/opencv3/modules/ts/include/opencv2/
ts.hpp 412 const string& get_data_path() const { return data_path; }
426 string data_path; member in class:cvtest::TS
  /external/opencv3/modules/ts/src/
ts.cpp 461 data_path = string(buf);

Completed in 680 milliseconds