Home
last modified time | relevance | path

Searched refs:new_name (Results 1 – 8 of 8) sorted by relevance

/system/core/fs_mgr/liblp/
Dutility.cpp240 std::string new_name = group_name.substr(0, group_name.size() - slot_suffix.size()) + in UpdateMetadataForInPlaceSnapshot() local
242 if (!UpdatePartitionGroupName(&group, new_name)) { in UpdateMetadataForInPlaceSnapshot()
243 LERROR << "Group name too long: " << new_name; in UpdateMetadataForInPlaceSnapshot()
258 std::string new_name = in UpdateMetadataForInPlaceSnapshot() local
261 if (!UpdatePartitionName(&partition, new_name)) { in UpdateMetadataForInPlaceSnapshot()
262 LERROR << "Partition name too long: " << new_name; in UpdateMetadataForInPlaceSnapshot()
Dbuilder.cpp285 std::string new_name = in UpdateMetadataForOtherSuper() local
290 if (!UpdateBlockDevicePartitionName(&new_device, new_name)) { in UpdateMetadataForOtherSuper()
291 LERROR << "Partition name too long: " << new_name; in UpdateMetadataForOtherSuper()
/system/extras/simpleperf/
Drecord_test.cpp196 std::string new_name = "a_much_longer_name"; in TEST_F() local
197 r.SetCommandName(new_name); in TEST_F()
199 ASSERT_EQ(std::string(r.comm), new_name); in TEST_F()
/system/vold/
DKeyStorage.h48 bool RenameKeyDir(const std::string& old_name, const std::string& new_name);
DKeyStorage.cpp277 bool RenameKeyDir(const std::string& old_name, const std::string& new_name) { in RenameKeyDir() argument
288 if (rename(old_name.c_str(), new_name.c_str()) != 0) { in RenameKeyDir()
289 PLOG(ERROR) << "Failed to rename key directory \"" << old_name << "\" to \"" << new_name in RenameKeyDir()
294 if (it != key_dirs_to_commit.end()) *it = new_name; in RenameKeyDir()
/system/extras/boottime_tools/bootanalyze/
Dbootanalyze.py280 new_name = name
282 while timing_points.get(new_name): # if the name is already taken, append #digit
284 new_name = name + "#" + str(name_index)
285 timing_points[new_name] = time_v
605 new_name = name
608 new_name = name + "_" + str(i)
609 existing_event = events.get(new_name)
610 return new_name
/system/tools/aidl/tests/rust/
Dtest_client.rs1024 let new_name = service.GetNewNameInterface(); in test_renamed_interface() localVariable
1025 assert!(new_name.is_ok()); in test_renamed_interface()
1027 f(old_name.unwrap(), new_name.unwrap()); in test_renamed_interface()
1045 test_renamed_interface(|_, new_name| { in test_renamed_interface_new_as_new()
1051 let real_name = new_name.RealName(); in test_renamed_interface_new_as_new()
1059 let new_name = old_name.as_binder().into_interface::<dyn INewName::INewName>(); in test_renamed_interface_old_as_new() localVariable
1060 assert!(new_name.is_ok()); in test_renamed_interface_old_as_new()
1062 let real_name = new_name.unwrap().RealName(); in test_renamed_interface_old_as_new()
1069 test_renamed_interface(|_, new_name| { in test_renamed_interface_new_as_old()
1070 let old_name = new_name.as_binder().into_interface::<dyn IOldName::IOldName>(); in test_renamed_interface_new_as_old()
/system/libprocinfo/
Dprocess_map_test.cpp75 const char* new_name, bool isShared) in TestMapInfo()
77 strcpy(name, new_name); in TestMapInfo()