Home
last modified time | relevance | path

Searched refs:temp_str (Results 1 – 2 of 2) sorted by relevance

/aosp12/packages/modules/SdkExtensions/derive_classpath/
H A Dderive_classpath.cpp114 const std::string temp_str(path_str + ".tmp"); in WriteClasspathExports() local
115 if (!android::base::WriteStringToFile(content, temp_str, /*follow_symlinks=*/true)) { in WriteClasspathExports()
118 return rename(temp_str.c_str(), path_str.c_str()) == 0; in WriteClasspathExports()
/aosp12/system/update_engine/cros/
H A Domaha_request_action_unittest.cc3120 string temp_str; in TEST_F() local
3124 EXPECT_TRUE(fake_prefs_->GetString(last_active_key_, &temp_str)); in TEST_F()
3125 EXPECT_EQ(temp_str, "4763"); in TEST_F()
3126 EXPECT_TRUE(fake_prefs_->GetString(last_rollcall_key_, &temp_str)); in TEST_F()
3127 EXPECT_EQ(temp_str, "4763"); in TEST_F()
3149 string temp_str; in TEST_F() local
3150 EXPECT_TRUE(fake_prefs_->GetString(last_active_key_, &temp_str)); in TEST_F()
3151 EXPECT_EQ(temp_str, "555"); in TEST_F()
3152 EXPECT_TRUE(fake_prefs_->GetString(last_rollcall_key_, &temp_str)); in TEST_F()
3153 EXPECT_EQ(temp_str, "4763"); in TEST_F()