自 2025 年 3 月 27 日起,我们建议您使用 android-latest-release
而非 aosp-main
构建 AOSP 并为其做出贡献。如需了解详情,请参阅 AOSP 的变更。
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
ITestDevice.MountPointInfo
public
static
class
ITestDevice.MountPointInfo
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.device.ITestDevice.MountPointInfo
|
用于存储单个挂载点的相关信息的简单结构体类
摘要
字段
文件系统
public String filesystem
mountpoint
public String mountpoint
公共构造函数
MountPointInfo
public MountPointInfo ()
简单的构造函数
MountPointInfo
public MountPointInfo (String filesystem,
String mountpoint,
String type,
options)
用于设置所有成员的便捷构造函数
参数 |
filesystem |
String |
mountpoint |
String |
type |
String |
options |
|
公共方法
splitMountOptions
public static splitMountOptions (String options)
toString
public String toString ()
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# ITestDevice.MountPointInfo\n==========================\n\n\n`\npublic\nstatic\n\n\nclass\nITestDevice.MountPointInfo\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\n`\n\n|---|--------------------------------------------------------|\n| java.lang.Object ||\n| ↳ | com.android.tradefed.device.ITestDevice.MountPointInfo |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nA simple struct class to store information about a single mountpoint\n\nSummary\n-------\n\n| ### Fields ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------|\n| ` public String` | [filesystem](../../../../../../reference/tradefed/com/android/tradefed/device/ITestDevice.MountPointInfo.html#filesystem) |\n| ` public String` | [mountpoint](../../../../../../reference/tradefed/com/android/tradefed/device/ITestDevice.MountPointInfo.html#mountpoint) |\n| ` public ` | [options](../../../../../../reference/tradefed/com/android/tradefed/device/ITestDevice.MountPointInfo.html#options) |\n| ` public String` | [type](../../../../../../reference/tradefed/com/android/tradefed/device/ITestDevice.MountPointInfo.html#type) |\n\n| ### Public constructors ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[MountPointInfo](../../../../../../reference/tradefed/com/android/tradefed/device/ITestDevice.MountPointInfo.html#MountPointInfo())`() ` Simple constructor |\n| ` `[MountPointInfo](../../../../../../reference/tradefed/com/android/tradefed/device/ITestDevice.MountPointInfo.html#MountPointInfo(java.lang.String,%20java.lang.String,%20java.lang.String,%20\u003cany\u003e))`(String filesystem, String mountpoint, String type, ` options) Convenience constructor to set all members |\n\n| ### Public methods ||\n|------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` static ` | ` `[splitMountOptions](../../../../../../reference/tradefed/com/android/tradefed/device/ITestDevice.MountPointInfo.html#splitMountOptions(java.lang.String))`(String options) ` |\n| ` String` | ` `[toString](../../../../../../reference/tradefed/com/android/tradefed/device/ITestDevice.MountPointInfo.html#toString())`() ` |\n\nFields\n------\n\n### filesystem\n\n```\npublic String filesystem\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### mountpoint\n\n```\npublic String mountpoint\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### options\n\n```\npublic options\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### type\n\n```\npublic String type\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPublic constructors\n-------------------\n\n### MountPointInfo\n\n```\npublic MountPointInfo ()\n```\n\nSimple constructor\n\n\u003cbr /\u003e\n\n### MountPointInfo\n\n```\npublic MountPointInfo (String filesystem, \n String mountpoint, \n String type, \n options)\n```\n\nConvenience constructor to set all members\n\n\u003cbr /\u003e\n\n| Parameters ||\n|--------------|-----------------|\n| `filesystem` | `String` \u003cbr /\u003e |\n| `mountpoint` | `String` \u003cbr /\u003e |\n| `type` | `String` \u003cbr /\u003e |\n| `options` | \u003cbr /\u003e |\n\nPublic methods\n--------------\n\n### splitMountOptions\n\n```\npublic static splitMountOptions (String options)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|-----------|-----------------|\n| `options` | `String` \u003cbr /\u003e |\n\n| Returns ||\n|---|--------|\n| | \u003cbr /\u003e |\n\n### toString\n\n```\npublic String toString ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------|--------|\n| `String` | \u003cbr /\u003e |"]]