| commit | 043af59f7fadce9b7e3872d91b1a0e841fc24cea | [log] [tgz] |
|---|---|---|
| author | Tom Tung <shes050117@gmail.com> | Fri Nov 24 13:37:05 2023 +0800 |
| committer | Tom Tung <shes050117@gmail.com> | Thu Dec 28 10:00:36 2023 +0800 |
| tree | 2993e829e4b4a1a89b832a06d0de4d9c001d11ed | |
| parent | ff1b64f0e891de0d3cab831f6b90b52bb61de4b1 [diff] |
Get eraseMaxGeometry and eraseMinGeometry from dbus
Also, make findDevice return output parameters based on RVO.
With the change like in EntityManager JSON:
```
{
"Name": "example_emmc",
"Type": "EmmcDevice",
"LocationCode": "location"
"EraseMaxGeometry": 10000000000,
"EraseMinGeometry": 5000000000,
}
```
and geometry values will be set to estoraged.
Tested:
- unit test pass:
```
5/7 util_test OK 0.05s
```
Change-Id: Ia8499af2168c7e740558978273fc80456eb29282
Signed-off-by: Tom Tung <shes050117@gmail.com>
This daemon serves as an abstraction for an encrypted storage device, encapsulating the security functionality and providing a D-Bus interface to manage the encrypted filesystem on the device. Using the D-Bus interface, other software components can interact with eStoraged to do things like create a new encrypted filesystem, wipe its contents, lock/unlock the device, or change the password.