/bootable/recovery/tests/unit/ |
sysutil_test.cpp | 39 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(content, '\n'), temp_file.path)); 59 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(content, '\n'), temp_file.path)); 74 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(content, '\n'), temp_file.path)); 82 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(content, '\n'), temp_file.path)); 87 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(content, '\n'), temp_file.path)); 95 ASSERT_TRUE(android::base::WriteStringToFile(content, temp_file1.path)); 111 ASSERT_TRUE(android::base::WriteStringToFile(content, package.path)); 119 ASSERT_TRUE(android::base::WriteStringToFile(block_map_content, block_map_file.path)); 127 ASSERT_TRUE(android::base::WriteStringToFile(block_map_content, block_map_file.path)); 135 ASSERT_TRUE(android::base::WriteStringToFile(block_map_content, block_map_file.path)) [all...] |
parse_install_logs_test.cpp | 36 ASSERT_TRUE(android::base::WriteStringToFile("/cache/recovery/ota.zip\n0\n", last_install.path)); 40 ASSERT_TRUE(android::base::WriteStringToFile("/sideload/package.zip\n0\n", last_install.path));
|
/external/protobuf/src/google/protobuf/testing/ |
file.h | 59 static bool WriteStringToFile(const string& contents, 90 return WriteStringToFile(contents, name);
|
/external/tensorflow/tensorflow/core/ops/compat/ |
update_ops_main.cc | 38 TF_QCHECK_OK(WriteStringToFile(env, ops_file, compatibility.OpsString())); 56 WriteStringToFile(env, history_file, out_op_history.DebugString()));
|
/device/linaro/bootloader/edk2/ArmPkg/Library/RvdPeCoffExtraActionLib/ |
RvdPeCoffExtraActionLib.c | 38 WriteStringToFile (
129 WriteStringToFile (Buffer, AsciiStrSize (Buffer));
155 WriteStringToFile (Buffer, AsciiStrSize (Buffer));
|
/external/tensorflow/tensorflow/compiler/xla/ |
text_literal_reader_test.cc | 42 tensorflow::WriteStringToFile(tensorflow::Env::Default(), fname, contents)
|
/external/libbrillo/brillo/ |
file_utils.h | 44 BRILLO_EXPORT bool WriteStringToFile(const base::FilePath& path,
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
accuracy_utils_test.cc | 31 TF_ASSERT_OK(WriteStringToFile(Env::Default(), file_name, file_data));
|
/external/tensorflow/tensorflow/examples/wav_to_spectrogram/ |
wav_to_spectrogram_test.cc | 33 TF_ASSERT_OK(tensorflow::WriteStringToFile(tensorflow::Env::Default(),
|
/device/google/marlin/health/ |
LearnedCapacityBackupRestore.cpp | 73 if (!android::base::WriteStringToFile(strData, std::string(kSysCFPersistFile))) 100 if (!android::base::WriteStringToFile(strData, std::string(kChgFullFile)))
|
CycleCountBackupRestore.cpp | 71 if (!android::base::WriteStringToFile(strData, std::string(kSysPersistFile))) 105 if (!android::base::WriteStringToFile(strData, std::string(kCycCntFile)))
|
/device/google/wahoo/health/ |
LearnedCapacityBackupRestore.cpp | 73 if (!android::base::WriteStringToFile(strData, std::string(kSysCFPersistFile))) 100 if (!android::base::WriteStringToFile(strData, std::string(kChgFullFile)))
|
CycleCountBackupRestore.cpp | 71 if (!android::base::WriteStringToFile(strData, std::string(kSysPersistFile))) 105 if (!android::base::WriteStringToFile(strData, std::string(kCycCntFile)))
|
/bootable/recovery/tests/component/ |
update_verifier_test.cpp | 109 ASSERT_TRUE(android::base::WriteStringToFile(content, care_map_txt_)); 135 ASSERT_TRUE(android::base::WriteStringToFile(proto, care_map_pb_)); 156 ASSERT_TRUE(android::base::WriteStringToFile(proto, care_map_pb_)); 177 ASSERT_TRUE(android::base::WriteStringToFile(proto, care_map_pb_)); 196 ASSERT_TRUE(android::base::WriteStringToFile(proto, care_map_pb_)); 217 ASSERT_TRUE(android::base::WriteStringToFile(proto, care_map_pb_));
|
/device/google/bonito/usb/ |
UsbGadget.cpp | 111 if (!!WriteStringToFile(GADGET_NAME, PULLUP_PATH)) { 163 if(!!WriteStringToFile(GADGET_NAME, PULLUP_PATH)) { 246 if (!WriteStringToFile("none", PULLUP_PATH)) 249 if (!WriteStringToFile("0", DEVICE_CLASS_PATH)) return Status::ERROR; 251 if (!WriteStringToFile("0", DEVICE_SUB_CLASS_PATH)) return Status::ERROR; 253 if (!WriteStringToFile("0", DEVICE_PROTOCOL_PATH)) return Status::ERROR; 255 if (!WriteStringToFile("0", DESC_USE_PATH)) return Status::ERROR; 300 if (!WriteStringToFile(vid, VENDOR_ID_PATH)) return Status::ERROR; 302 if (!WriteStringToFile(pid, PRODUCT_ID_PATH)) return Status::ERROR; 464 if (!WriteStringToFile("1", DESC_USE_PATH)) return Status::ERROR [all...] |
/device/google/crosshatch/usb/ |
UsbGadget.cpp | 111 if (!!WriteStringToFile(GADGET_NAME, PULLUP_PATH)) { 163 if(!!WriteStringToFile(GADGET_NAME, PULLUP_PATH)) { 246 if (!WriteStringToFile("none", PULLUP_PATH)) 249 if (!WriteStringToFile("0", DEVICE_CLASS_PATH)) return Status::ERROR; 251 if (!WriteStringToFile("0", DEVICE_SUB_CLASS_PATH)) return Status::ERROR; 253 if (!WriteStringToFile("0", DEVICE_PROTOCOL_PATH)) return Status::ERROR; 255 if (!WriteStringToFile("0", DESC_USE_PATH)) return Status::ERROR; 300 if (!WriteStringToFile(vid, VENDOR_ID_PATH)) return Status::ERROR; 302 if (!WriteStringToFile(pid, PRODUCT_ID_PATH)) return Status::ERROR; 464 if (!WriteStringToFile("1", DESC_USE_PATH)) return Status::ERROR [all...] |
/device/google/wahoo/usb/ |
UsbGadget.cpp | 107 if (descriptorWritten && !!WriteStringToFile(GADGET_NAME, PULLUP_PATH)) { 148 !!WriteStringToFile(GADGET_NAME, PULLUP_PATH)) { 230 if (!WriteStringToFile("none", PULLUP_PATH)) 233 if (!WriteStringToFile("0", DEVICE_CLASS_PATH)) return Status::ERROR; 235 if (!WriteStringToFile("0", DEVICE_SUB_CLASS_PATH)) return Status::ERROR; 237 if (!WriteStringToFile("0", DEVICE_PROTOCOL_PATH)) return Status::ERROR; 239 if (!WriteStringToFile("0", DESC_USE_PATH)) return Status::ERROR; 275 if (!WriteStringToFile(vid, VENDOR_ID_PATH)) return Status::ERROR; 277 if (!WriteStringToFile(pid, PRODUCT_ID_PATH)) return Status::ERROR; 439 if (!WriteStringToFile("1", DESC_USE_PATH)) return Status::ERROR [all...] |
/external/tensorflow/tensorflow/compiler/aot/ |
tfcompile_main.cc | 96 WriteStringToFile(env, flags.out_function_object, 113 TF_RETURN_IF_ERROR(WriteStringToFile(env, flags.out_metadata_object, 118 TF_RETURN_IF_ERROR(WriteStringToFile(env, flags.out_header, header));
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
round_trip_packed_literal_test.cc | 56 tensorflow::WriteStringToFile(tensorflow::Env::Default(), fname, data) 82 tensorflow::WriteStringToFile(tensorflow::Env::Default(), fname, data) 115 tensorflow::WriteStringToFile(tensorflow::Env::Default(), fname, data)
|
filecheck.cc | 38 TF_RETURN_IF_ERROR(tensorflow::WriteStringToFile(env, pattern_path, pattern));
|
/external/tensorflow/tensorflow/core/lib/io/ |
buffered_inputstream_test.cc | 36 TF_ASSERT_OK(WriteStringToFile(env, fname, "")); 53 WriteStringToFile(env, fname, "line one\nline two\nline three\n")); 77 TF_ASSERT_OK(WriteStringToFile(env, fname, "line one\nline two\nline three")); 102 WriteStringToFile(env, fname, "line one\n\n\nline two\nline three")); 130 TF_ASSERT_OK(WriteStringToFile(env, fname, 159 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")); 196 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")); 233 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")); 268 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")); 303 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")) [all...] |
random_inputstream_test.cc | 29 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")); 58 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789")); 89 TF_ASSERT_OK(WriteStringToFile(env, fname, "0123456789"));
|
/external/tensorflow/tensorflow/core/profiler/rpc/client/ |
dump_tpu_profile.cc | 76 WriteStringToFile(Env::Default(), proto_path, encoded_trace)); 108 TF_RETURN_IF_ERROR(WriteStringToFile(Env::Default(), path, json)); 124 TF_RETURN_IF_ERROR(WriteStringToFile(Env::Default(), path, tool.data()));
|
/device/google/bonito/health/ |
LearnedCapacityBackupRestore.cpp | 64 if (!android::base::WriteStringToFile(strData, std::string(kSysCFPersistFile))) 107 if (!android::base::WriteStringToFile(strData, std::string(kChgFullFile)))
|
/bionic/linker/ |
linker_config_test.cpp | 96 return android::base::WriteStringToFile(content, path); 130 android::base::WriteStringToFile(config_str, tmp_file.path); 246 android::base::WriteStringToFile(config_str, tmp_file.path); 292 android::base::WriteStringToFile(config_str, tmp_file.path);
|