com.android.tradefed.util
인터페이스
ClassPathScanner.IClassPathFilter |
클래스 경로 항목 경로의 필터
|
ConditionPriorityBlockingQueue.IMatcher<T> | 요소가 어떤 종류의 조건과 일치하는지 확인하기 위한 인터페이스입니다. |
ICompressionStrategy | 런타임에 선택할 수 있는 압축 알고리즘을 나타내는 인터페이스입니다. |
IDisableable | 사용 중지할 수 있는 Tradefed 객체를 설명하는 인터페이스입니다. |
IEmail | 이메일을 보내는 인터페이스입니다. |
IRestApiHelper | REST API 호출을 실행하기 위한 도우미 인터페이스입니다. |
IRunUtil | 시간 설정된 작업 및 시스템 명령어를 실행하기 위한 인터페이스입니다. |
IRunUtil.IRunnableResult | 불리언 상태를 반환하는 작업을 비동기식으로 실행하기 위한 인터페이스입니다. |
클래스
AaptParser | 'aapt dump badging'의 출력을 파싱하여 APK에서 정보를 추출하는 클래스입니다. |
AbiFormatter | ABI의 유틸리티 클래스입니다. |
AbiUtils | 기기 ABI를 처리하기 위한 유틸리티 클래스 |
AdbRootElevator |
필요한 경우 생성 시 adb 루트를 사용 설정하고 완료 시 루트 상태를 복원하는 AutoCloseable 입니다.
|
AdbUtils | adb 작업을 위한 유틸리티 클래스입니다. |
AppVersionFetcher | 기기에서 앱 버전 문자열을 가져오는 유틸리티 클래스입니다. |
ArrayUtil | 배열의 유틸리티 메서드 |
BluetoothUtils |
기기에서 BluetoothInstrumentation를 호출하기 위한 유틸리티 함수
기기 측 BluetoothInstrumentation 코드는 AOSP의 |
Bugreport | 버그 신고 파일 참조를 보유하는 객체로, 플랫 버그 신고 및 압축된 버그 신고(bugreportz)와 호환됩니다. |
BuildInfoUtil |
IBuildInfo 조작을 돕는 유틸 클래스
|
BuildTestsZipUtils | Android 빌드 시스템에서 생성된 테스트 zip과 관련된 작업을 위한 도우미 클래스입니다. |
BulkEmailer | 전송 간격, 초기 일괄 전송 크기, 수신자, 총 메일 수 등의 구성을 허용하는 이메일 발신자 유틸리티입니다. |
BundletoolUtil | Bundletool 명령줄을 사용하여 기기에 .apk를 설치하는 유틸리티 클래스입니다. |
ByteArrayList | 경량 바이트 배열을 나타내는 클래스입니다. |
ByteArrayUtil | 바이트 배열을 사용하는 유틸리티(예: 바이트에서 정수로 변환) |
CacheClientFactory |
ICacheClient 의 싱글톤 인스턴스를 만드는 팩토리입니다.
|
CircularAtraceUtil | 주로 Monkey 테스트 중에 ANR의 근본 원인을 파악하기 위해 개발된 atrace 유틸리티입니다. |
CircularByteArray | 순환 버퍼로 작동하고 배열의 모든 값의 총합계를 추적하는 고정 크기 배열을 보유하기 위한 데이터 구조입니다. |
ClangProfileIndexer | Clang 코드 적용 범위 측정을 색인화하는 유틸리티 클래스입니다. |
ClassPathScanner | 클래스 경로에서 항목을 찾습니다. |
ClassPathScanner.ClassNameFilter |
Java 클래스 이름을 필터링하고 변환하는 IClassPathFilter 입니다.
|
ClassPathScanner.ExternalClassNameFilter |
내부 클래스를 거부하는 ClassNameFilter
|
CommandResult | 명령어의 결과를 포함합니다. |
ConditionPriorityBlockingQueue<T> |
특정 조건과 일치하는 객체를 검색할 수 있는 ERROR(/PriorityBlockingQueue) 와 유사한 작업이 있는 스레드 안전 클래스입니다.
|
ConditionPriorityBlockingQueue.AlwaysMatch<T> |
모든 객체와 일치하는 ConditionPriorityBlockingQueue.IMatcher
|
DeviceActionUtil | 기기 작업을 실행하는 유틸리티 클래스입니다. |
DeviceActionUtil.DeviceActionConfigError | 구성 오류 예외 |
DeviceConcurrentUtil |
동시 기기 측 명령 실행을 위한 유틸리티 메서드와 클래스가 포함되어 있습니다.
|
DeviceConcurrentUtil.ShellCommandCallable<V> |
ITestDevice 에서 셸 명령어 실행의 세부정보를 래핑하는 ERROR(/Callable) 입니다.
|
DeviceInspectionResult | 기기를 사용할 수 없게 되었을 때의 기기 검사 결과가 포함된 클래스입니다. |
DeviceRecoveryModeUtil | |
DirectedGraph<V> | 가중치가 없는 방향 그래프 구현입니다. |
이메일 | 이메일을 보내는 도우미 클래스입니다. |
EmmaXmlConstants | emma xml 보고서를 파싱할 때 사용되는 상수입니다. |
EnvironmentVariableUtil | 환경 변수를 준비하는 도우미 메서드 모음입니다. |
ExtensionAtomsRegistry | statsd를 로컬에서 사용할 수 있는 ExtensionAtomsRegistry |
FakeTestsZipFolder | 콘텐츠 목록을 기반으로 가짜 압축 해제된 테스트 폴더를 만드는 테스트 피팅입니다. |
FileIdleMonitor | 파일을 모니터링하고 파일이 유휴 상태 (즉, |
FileUtil | 파일 관련 작업을 위한 도우미 클래스 |
FileUtil.LowDiskSpaceException | 사용 가능한 디스크 공간이 최소 기준 미만인 경우 발생합니다. |
FixedByteArrayOutputStream |
최대 데이터 양만 유지하는 메모리 내 ERROR(/OutputStream) 입니다.
|
FlashingResourceUtil |
이 유틸리티는 DeviceFlashPreparer 를 통해 플래시할 수 있도록 적절한 버전의 아티팩트를 설정하는 데 도움이 됩니다.
|
FuseUtil | FUSE 작업을 위한 도우미 클래스입니다. |
GceRemoteCmdFormatter | 원격 gce 기기에 연결하기 위한 명령어 형식을 지정하는 유틸리티 클래스입니다. |
GCSBucketUtil | Google Cloud Storage (GCS)에서 파일을 다운로드하고 업로드하는 파일 관리자 |
GCSBucketUtil.GCSFileMetadata | GCS의 파일 정보를 위한 간단한 래퍼입니다. |
GCSCommon | 지원 중단됨 대신 com.android.tradefed.util.gcs.GCSCommon을 사용하세요. |
GCSFileDownloader | Google Cloud Storage (GCS)에서 파일을 다운로드하는 파일 다운로더입니다. |
GCSFileUploader | Google Cloud Storage (GCS)에 파일 데이터를 업로드하는 파일 업로더입니다. |
GCSHelper | |
GenericLogcatEventParser<LogcatEventType> | 이벤트에 관한 logcat 입력을 파싱합니다. |
GenericLogcatEventParser.LogcatEvent | 이벤트 유형과 트리거 로그캣 메시지가 포함된 로그캣 이벤트를 보유하는 구조체 |
GoogleApiClientUtil | Google API 클라이언트를 만드는 데 사용되는 유틸리티입니다. |
HprofAllocSiteParser | hprof 보고서의 할당 사이트 섹션에서 정보를 파싱하는 도우미 클래스입니다. |
IEmail.Message | 이메일 메시지 데이터의 컨테이너입니다. |
JavaCodeCoverageFlusher | 기기에서 실행 중인 프로세스의 Java 코드 적용 범위 측정값을 재설정하고 강제로 플러시하는 유틸리티 클래스입니다. |
JUnit4TestFilter |
Filter 를 확장하여 JUnit4 실행기에 필터링을 제공하는 도우미 클래스입니다.
|
JUnitXmlParser | ant의 XMLJUnitResultFormatter에 저장된 JUnit 결과에서 테스트 결과 데이터를 추출하고 ITestInvocationListener에 전달하는 파서입니다. |
KernelModuleUtils | |
KeyguardControllerState | 키가드 상태의 컨테이너입니다. |
ListInstrumentationParser |
'pm list instrumentation' 쿼리의 출력을 파싱하는 IShellOutputReceiver
|
ListInstrumentationParser.InstrumentationTarget | |
LocalRunInstructionBuilder | 로컬에서 테스트를 실행하는 안내를 컴파일하는 유틸리티입니다. |
LogcatEventParser | |
MetricUtility | 테스트 측정항목을 저장하고, 유사한 테스트에서 측정항목을 집계하고, 측정항목을 파일에 쓰는 일반적인 유틸리티 메서드를 포함합니다. |
ModuleTestTypeUtil | 모듈을 확인하기 위한 일반적인 유틸리티 메서드를 포함합니다. |
MultiMap<K, V> |
키당 여러 값을 지원하는 ERROR(/Map) 입니다.
|
NativeCodeCoverageFlusher | 네이티브 노출 영역 측정을 지우고 기기의 프로세스에서 네이티브 노출 영역 데이터를 강제로 플러시하는 유틸리티 클래스입니다. |
Pair<A, B> | 두 개의 객체가 포함된 자체 Pair 클래스를 정의합니다. |
PerfettoTraceRecorder |
ITestDevice 에서 Perfetto 트레이스를 기록하기 위한 유틸리티 클래스입니다.
|
PrettyPrintDelimiter | 눈에 띄게 구분된 메시지를 출력하는 데 도움이 되는 도우미 유틸리티입니다. |
ProcessInfo | 프로세스 관련(USER, PID, NAME, START TIME IN SECOND SINCE EPOCH) 정보를 저장하는 데 사용됩니다. |
ProcessUtil | |
PropertyChanger | Android 속성 파일에서 항목을 변경 (또는 추가)하는 유틸리티 클래스 |
ProtoUtil | protobuf 메시지를 유형에 관계없이 처리하기 위한 유틸리티 메서드입니다. |
PsParser | 'ps' 명령어 출력에서 파싱(USER, PID, NAME)하는 데 사용되는 유틸리티 |
PythonVirtualenvHelper | Python 3 가상 환경을 활성화하기 위한 도우미 클래스입니다. |
QuotationAwareTokenizer | |
RegexTrie<V> |
RegexTrie는 키의 각 ERROR(/Pattern) 인 트라이입니다.
|
RemoteZip | 원격 ZIP 파일 내 개별 파일의 압축을 푸는 유틸리티입니다. |
RequestUtil | 오류 처리를 통해 네트워크 요청을 일반 재시도할 수 있는 유틸리티입니다. |
ResourceUtil | 구성 리소스를 읽는 유틸리티입니다. |
RestApiHelper | REST API 호출을 실행하기 위한 도우미 클래스입니다. |
RunInterruptedException | 외부 요청으로 인해 실행 작업이 중단될 때 발생합니다. |
RunUtil | 작업 실행을 위한 도우미 메서드 모음입니다. |
SearchArtifactUtil | 테스트 아티팩트를 검색하는 데 사용할 수 있는 유틸리티 클래스입니다. |
SerializationUtil |
ERROR(/Serializable) 를 구현하는 객체를 직렬화/역직렬화하는 유틸리티입니다.
|
ShellOutputReceiverStream | IShellOutputReceiver에 쓰는 OutputStream의 유틸리티 서브클래스입니다. |
SimplePerfResult | 모든 simpleperf 테스트 결과를 보유하는 객체 |
SimplePerfStatResultParser | simpleperf 결과를 파싱하는 유틸리티 클래스입니다. |
SimplePerfUtil | 간단한 명령어를 전달하고 결과를 수집하는 유틸리티 클래스 |
SimpleStats | 숫자 데이터 세트를 제공하면 몇 가지 통계 측정값을 계산하는 작은 유틸리티 클래스입니다. |
SizeLimitedOutputStream |
쓰기 가능한 최대 데이터 양을 제한하는 스레드 안전 파일 백업 ERROR(/OutputStream) 입니다.
|
Sl4aBluetoothUtil | 유틸리티 클래스는 SL4A를 사용하여 하나 또는 두 대의 기기에서 블루투스 작업을 제공합니다. |
SparseImageUtil | 희소 이미지의 희소화를 해제하는 유틸리티입니다. |
SparseImageUtil.SparseInputStream | SparseInputStream은 업스트림에서 읽고 데이터 형식을 감지합니다. |
StreamUtil | 입력 스트림을 관리하는 유틸리티 클래스입니다. |
StringEscapeUtils | 특정 형식의 문자열을 이스케이프 처리하는 유틸리티 클래스입니다. |
StringUtil | 일반적인 문자열 조작을 위해 문자열을 이스케이프 처리하는 유틸리티 클래스입니다. |
SubprocessEventHelper | 로그에 전달할 이벤트를 직렬화/역직렬화하는 도우미입니다. |
SubprocessEventHelper.BaseTestEventInfo | TestIgnored 정보의 기본 도우미입니다. |
SubprocessEventHelper.FailedTestEventInfo | testFailed 정보의 도우미입니다. |
SubprocessEventHelper.InvocationEndedEventInfo | 호출 종료 정보의 도우미입니다. |
SubprocessEventHelper.InvocationFailedEventInfo | InvocationFailed 정보의 도우미입니다. |
SubprocessEventHelper.InvocationStartedEventInfo | 호출 시작 정보의 도우미입니다. |
SubprocessEventHelper.LogAssociationEventInfo | logAssociation 정보의 도우미입니다. |
SubprocessEventHelper.SkippedTestEventInfo | |
SubprocessEventHelper.TestEndedEventInfo | testEnded 정보의 도우미입니다. |
SubprocessEventHelper.TestLogEventInfo | testLog 정보의 도우미입니다. |
SubprocessEventHelper.TestModuleStartedEventInfo | 테스트 모듈 시작 정보의 도우미입니다. |
SubprocessEventHelper.TestRunEndedEventInfo | testRunEnded 정보의 도우미입니다. |
SubprocessEventHelper.TestRunFailedEventInfo | testRunFailed 정보의 도우미 |
SubprocessEventHelper.TestRunStartedEventInfo | testRunStarted 정보의 도우미 |
SubprocessEventHelper.TestStartedEventInfo | testStarted 정보의 도우미 |
SubprocessExceptionParser | 표준 Tradefed 명령어 실행기의 예외 출력을 처리하는 도우미입니다. |
SubprocessTestResultsParser |
ERROR(/FileOutputStream) 를 확장하여 파일에 쓰기 전에 출력을 파싱하여 실행기 측에서 테스트 이벤트를 생성할 수 있도록 합니다.
|
SubprocessTestResultsParser.StatusKeys | 관련 테스트 상태 키 |
SystemUtil | 시스템 호출을 위한 유틸리티 클래스입니다. |
TableBuilder | 테이블에 문자열 요소의 행렬을 표시하는 도우미 클래스입니다. |
TableFormatter | 각 요소 열이 정렬되도록 문자열 요소의 행렬을 표시하는 도우미 클래스 |
TargetFileUtils | |
TarUtil | tar 파일을 조작하는 유틸리티입니다. |
TestFilterHelper | 테스트 필터링을 위한 도우미 클래스 |
TestRecordInterpreter |
Tradefed에서 TestRecord 프로토를 더 쉽게 조작할 수 있는 형식으로 변환하는 유틸리티입니다.
|
TestRunnerUtil | 다양한 테스트 실행기를 지원하는 유틸리티 클래스입니다. |
TfInternalOptionsFetcher | 클래스가 res 파일에서 변수 값을 정적으로 로드할 수 있는 유틸리티 클래스입니다. |
TimeUtil | 시간 관련 유틸리티 메서드를 포함합니다. |
TimeVal |
Long 를 래핑하는 전조 유형입니다.
|
UniqueMultiMap<K, V> |
각 키에 고유한 값을 보장하는 MultiMap 입니다.
|
VersionParser | 실행 중인 tradefed 아티팩트의 버전을 가져옵니다. |
ZipCompressionStrategy |
zip 파일을 만드는 ICompressionStrategy
|
ZipUtil | 압축 관련 작업을 위한 도우미 클래스 |
ZipUtil2 | POSIX 파일 권한을 고려하는 ZIP 추출을 위한 도우미 클래스 |
Enum
AaptParser.AaptVersion | APK 파일을 파싱하는 데 사용되는 AAPT 버전 옵션의 enum입니다. |
AppVersionFetcher.AppVersionInfo | 앱 버전 정보 유형 |
BinaryState | IGNORE 무작위 상태로 ON/OFF 상태를 기록하는 데 사용되는 enum입니다. |
CommandStatus | 시간 설정된 작업의 상태를 나타냅니다. |
DeviceActionUtil.Command | 기기 작업을 위한 명령어 |
FakeTestsZipFolder.ItemType | |
GceRemoteCmdFormatter.ScpMode | SCP는 args의 구조에 따라 파일을 푸시하거나 가져오는 데 사용할 수 있습니다. |
IRunUtil.EnvPriority | 특정 env를 설정하거나 설정 해제할지 정의하는 enum입니다. |
LogcatEventType |
LogcatEventParser 의 이벤트 유형입니다.
|
SimplePerfUtil.SimplePerfType | simpleperf 명령어 옵션의 enum |
Sl4aBluetoothUtil.BluetoothAccessLevel |
BluetoothDevice.java 를 기반으로 하는 블루투스 기기 액세스 수준의 enum
|
Sl4aBluetoothUtil.BluetoothConnectionState |
BluetoothProfile.java 를 기반으로 하는 블루투스 연결 상태의 enum
|
Sl4aBluetoothUtil.BluetoothPriorityLevel |
BluetoothProfile.java 를 기반으로 하는 블루투스 프로필 우선순위 수준의 enum
|
Sl4aBluetoothUtil.BluetoothProfile |
BluetoothProfile.java 를 기반으로 하는 블루투스 프로필의 enum
|
SystemUtil.EnvVariable | |
TargetFileUtils.FilePermission |
인터페이스
클래스
- AaptParser
- AbiFormatter
- AbiUtils
- AdbRootElevator
- AdbUtils
- AppVersionFetcher
- ArrayUtil
- BluetoothUtils
- Bugreport
- BuildInfoUtil
- BuildTestsZipUtils
- BulkEmailer
- BundletoolUtil
- ByteArrayList
- ByteArrayUtil
- CacheClientFactory
- CircularAtraceUtil
- CircularByteArray
- ClangProfileIndexer
- ClassPathScanner
- ClassPathScanner.ClassNameFilter
- ClassPathScanner.ExternalClassNameFilter
- CommandResult
- ConditionPriorityBlockingQueue
- ConditionPriorityBlockingQueue.AlwaysMatch
- DeviceActionUtil
- DeviceActionUtil.DeviceActionConfigError
- DeviceConcurrentUtil
- DeviceConcurrentUtil.ShellCommandCallable
- DeviceInspectionResult
- DeviceRecoveryModeUtil
- DirectedGraph
- 이메일
- EmmaXmlConstants
- EnvironmentVariableUtil
- ExtensionAtomsRegistry
- FakeTestsZipFolder
- FileIdleMonitor
- FileUtil
- FileUtil.LowDiskSpaceException
- FixedByteArrayOutputStream
- FlashingResourceUtil
- FuseUtil
- GceRemoteCmdFormatter
- GCSBucketUtil
- GCSBucketUtil.GCSFileMetadata
- GCSCommon
- GCSFileDownloader
- GCSFileUploader
- GCSHelper
- GenericLogcatEventParser
- GenericLogcatEventParser.LogcatEvent
- GoogleApiClientUtil
- HprofAllocSiteParser
- IEmail.Message
- JavaCodeCoverageFlusher
- JUnit4TestFilter
- JUnitXmlParser
- KernelModuleUtils
- KeyguardControllerState
- ListInstrumentationParser
- ListInstrumentationParser.InstrumentationTarget
- LocalRunInstructionBuilder
- LogcatEventParser
- MetricUtility
- ModuleTestTypeUtil
- MultiMap
- NativeCodeCoverageFlusher
- 페어링
- PerfettoTraceRecorder
- PrettyPrintDelimiter
- ProcessInfo
- ProcessUtil
- PropertyChanger
- ProtoUtil
- PsParser
- PythonVirtualenvHelper
- QuotationAwareTokenizer
- RegexTrie
- RemoteZip
- RequestUtil
- ResourceUtil
- RestApiHelper
- RunInterruptedException
- RunUtil
- SearchArtifactUtil
- SerializationUtil
- ShellOutputReceiverStream
- SimplePerfResult
- SimplePerfStatResultParser
- SimplePerfUtil
- SimpleStats
- SizeLimitedOutputStream
- Sl4aBluetoothUtil
- SparseImageUtil
- SparseImageUtil.SparseInputStream
- StreamUtil
- StringEscapeUtils
- StringUtil
- SubprocessEventHelper
- SubprocessEventHelper.BaseTestEventInfo
- SubprocessEventHelper.FailedTestEventInfo
- SubprocessEventHelper.InvocationEndedEventInfo
- SubprocessEventHelper.InvocationFailedEventInfo
- SubprocessEventHelper.InvocationStartedEventInfo
- SubprocessEventHelper.LogAssociationEventInfo
- SubprocessEventHelper.SkippedTestEventInfo
- SubprocessEventHelper.TestEndedEventInfo
- SubprocessEventHelper.TestLogEventInfo
- SubprocessEventHelper.TestModuleStartedEventInfo
- SubprocessEventHelper.TestRunEndedEventInfo
- SubprocessEventHelper.TestRunFailedEventInfo
- SubprocessEventHelper.TestRunStartedEventInfo
- SubprocessEventHelper.TestStartedEventInfo
- SubprocessExceptionParser
- SubprocessTestResultsParser
- SubprocessTestResultsParser.StatusKeys
- SystemUtil
- TableBuilder
- TableFormatter
- TargetFileUtils
- TarUtil
- TestFilterHelper
- TestRecordInterpreter
- TestRunnerUtil
- TfInternalOptionsFetcher
- TimeUtil
- TimeVal
- UniqueMultiMap
- VersionParser
- ZipCompressionStrategy
- ZipUtil
- ZipUtil2
Enum
- AaptParser.AaptVersion
- AppVersionFetcher.AppVersionInfo
- BinaryState
- CommandStatus
- DeviceActionUtil.Command
- FakeTestsZipFolder.ItemType
- GceRemoteCmdFormatter.ScpMode
- IRunUtil.EnvPriority
- LogcatEventType
- SimplePerfUtil.SimplePerfType
- Sl4aBluetoothUtil.BluetoothAccessLevel
- Sl4aBluetoothUtil.BluetoothConnectionState
- Sl4aBluetoothUtil.BluetoothPriorityLevel
- Sl4aBluetoothUtil.BluetoothProfile
- SystemUtil.EnvVariable
- TargetFileUtils.FilePermission