Home
last modified time | relevance | path

Searched refs:old_name (Results 1 – 4 of 4) sorted by relevance

/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
285 if (IsSameFile(old_name, *it)) break; in RenameKeyDir()
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()
/system/tools/aidl/tests/rust/
Dtest_client.rs1021 let old_name = service.GetOldNameInterface(); in test_renamed_interface() localVariable
1022 assert!(old_name.is_ok()); in test_renamed_interface()
1027 f(old_name.unwrap(), new_name.unwrap()); in test_renamed_interface()
1032 test_renamed_interface(|old_name, _| { in test_renamed_interface_old_as_old()
1038 let real_name = old_name.RealName(); in test_renamed_interface_old_as_old()
1058 test_renamed_interface(|old_name, _| { in test_renamed_interface_old_as_new()
1059 let new_name = old_name.as_binder().into_interface::<dyn INewName::INewName>(); in test_renamed_interface_old_as_new()
1070 let old_name = new_name.as_binder().into_interface::<dyn IOldName::IOldName>(); in test_renamed_interface_new_as_old() localVariable
1071 assert!(old_name.is_ok()); in test_renamed_interface_new_as_old()
1073 let real_name = old_name.unwrap().RealName(); in test_renamed_interface_new_as_old()
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp709 auto old_name = GetOtherPartitionName(name); in MapSourceDevice() local
716 .partition_name = old_name, in MapSourceDevice()