Searched refs:new_name (Results 1 – 8 of 8) sorted by relevance
/system/core/fs_mgr/liblp/ |
D | utility.cpp | 240 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()
|
D | builder.cpp | 285 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/ |
D | record_test.cpp | 196 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/ |
D | KeyStorage.h | 48 bool RenameKeyDir(const std::string& old_name, const std::string& new_name);
|
D | KeyStorage.cpp | 277 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/ |
D | bootanalyze.py | 280 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/ |
D | test_client.rs | 1024 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/ |
D | process_map_test.cpp | 75 const char* new_name, bool isShared) in TestMapInfo() 77 strcpy(name, new_name); in TestMapInfo()
|