com.android.tradefed.util
인터페이스
| ClassPathScanner.IClassPathFilter |
클래스 경로 항목 경로의 필터
|
| ConditionPriorityBlockingQueue.IMatcher<T> | 요소가 어떤 종류의 조건과 일치하는지 확인하기 위한 인터페이스입니다. |
| ICompressionStrategy | 런타임에 선택할 수 있는 압축 알고리즘을 나타내는 인터페이스입니다. |
| IDisableable | 사용 중지할 수 있는 Tradefed 객체를 설명하는 인터페이스입니다. |
| IRestApiHelper | REST API 호출을 실행하기 위한 도우미 인터페이스입니다. |
클래스
| AaptParser | 'aapt dump badging'의 출력을 파싱하여 APK에서 정보를 추출하는 클래스입니다. |
| AbiFormatter | ABI의 유틸리티 클래스입니다. |
| AdbRootElevator |
필요한 경우 생성 시 adb 루트를 사용 설정하고 완료 시 루트 상태를 복원하는 AutoCloseable입니다.
|
| AppVersionFetcher | 기기에서 앱 버전 문자열을 가져오는 유틸리티 클래스입니다. |
| BluetoothUtils |
기기에서 BluetoothInstrumentation를 호출하기 위한 유틸리티 함수
기기 측 BluetoothInstrumentation 코드는 AOSP의 |
| BuildInfoUtil |
IBuildInfo를 조작하는 데 도움이 되는 유틸 클래스입니다.
|
| BuildTestsZipUtils | Android 빌드 시스템에서 생성된 테스트 zip과 관련된 작업을 위한 도우미 클래스입니다. |
| BulkEmailer | 전송 간격, 초기 일괄 전송 크기, 수신자, 총 메일 수 등의 구성을 허용하는 이메일 발신자 유틸리티입니다. |
| BundletoolUtil | Bundletool 명령줄을 사용하여 기기에 .apk를 설치하는 유틸리티 클래스입니다. |
| CircularAtraceUtil | 주로 Monkey 테스트 중에 ANR의 근본 원인을 파악하기 위해 개발된 atrace 유틸리티입니다. |
| CircularByteArray | 순환 버퍼로 작동하고 배열의 모든 값의 총합계를 추적하는 고정 크기 배열을 보유하기 위한 데이터 구조입니다. |
| ClassPathScanner | 클래스 경로에서 항목을 찾습니다. |
| ClassPathScanner.ClassNameFilter |
Java 클래스 이름을 필터링하고 변환하는 IClassPathFilter입니다.
|
| ClassPathScanner.ExternalClassNameFilter |
내부 클래스를 거부하는 ClassNameFilter
|
| ConditionPriorityBlockingQueue<T> |
특정 조건과 일치하는 객체를 검색할 수 있는 ERROR(/PriorityBlockingQueue)와 유사한 작업이 있는 스레드 안전 클래스입니다.
|
| ConditionPriorityBlockingQueue.AlwaysMatch<T> |
모든 객체와 일치하는 ConditionPriorityBlockingQueue.IMatcher
|
| DeviceConcurrentUtil |
동시 기기 측 명령 실행을 위한 유틸리티 메서드와 클래스가 포함되어 있습니다.
|
| DeviceConcurrentUtil.ShellCommandCallable<V> |
ITestDevice에서 셸 명령어 실행의 세부정보를 래핑하는 ERROR(/Callable)입니다.
|
| DeviceRecoveryModeUtil | |
| DirectedGraph<V> | 가중치가 없는 방향 그래프 구현입니다. |
| EmmaXmlConstants | emma xml 보고서를 파싱할 때 사용되는 상수입니다. |
| FakeTestsZipFolder | 콘텐츠 목록을 기반으로 가짜 압축 해제된 테스트 폴더를 만드는 테스트 피팅입니다. |
| FileIdleMonitor | 파일을 모니터링하고 파일이 유휴 상태 (즉, |
| FixedByteArrayOutputStream |
최대 데이터 양만 유지하는 메모리 내 ERROR(/OutputStream)입니다.
|
| FlashingResourceUtil |
이 유틸리티는 DeviceFlashPreparer를 통해 플래시할 수 있도록 적절한 버전의 아티팩트를 설정하는 데 도움이 됩니다.
|
| GCSBucketUtil | Google Cloud Storage (GCS)에서 파일을 다운로드하고 업로드하는 파일 관리자 |
| GCSBucketUtil.GCSFileMetadata | GCS의 파일 정보를 위한 간단한 래퍼입니다. |
| GCSCommon | 다운로드 및 업로드와 같은 Gcs 작업을 위한 기본 클래스입니다. |
| GCSFileDownloader | Google Cloud Storage (GCS)에서 파일을 다운로드하는 파일 다운로더입니다. |
| GCSFileUploader | Google Cloud Storage (GCS)에 파일 데이터를 업로드하는 파일 업로더입니다. |
| GoogleApiClientUtil | Google API 클라이언트를 만드는 데 사용되는 유틸리티입니다. |
| HprofAllocSiteParser | hprof 보고서의 할당 사이트 섹션에서 정보를 파싱하는 도우미 클래스입니다. |
| JavaCodeCoverageFlusher | 기기에서 실행 중인 프로세스의 Java 코드 적용 범위 측정값을 재설정하고 강제로 플러시하는 유틸리티 클래스입니다. |
| JUnit4TestFilter |
Filter를 확장하여 JUnit4 실행기에 필터링을 제공하는 도우미 클래스입니다.
|
| JUnitXmlParser | ant의 XMLJUnitResultFormatter에 저장된 JUnit 결과에서 테스트 결과 데이터를 추출하고 ITestInvocationListener에 전달하는 파서입니다. |
| ListInstrumentationParser |
'pm list instrumentation' 쿼리의 출력을 파싱하는 IShellOutputReceiver
|
| ListInstrumentationParser.InstrumentationTarget | |
| LocalRunInstructionBuilder | 로컬에서 테스트를 실행하는 안내를 컴파일하는 유틸리티입니다. |
| LogcatEventParser | |
| MetricUtility | 테스트 측정항목을 저장하고, 유사한 테스트에서 측정항목을 집계하고, 측정항목을 파일에 쓰는 일반적인 유틸리티 메서드를 포함합니다. |
| NativeCodeCoverageFlusher | 네이티브 노출 영역 측정을 지우고 기기의 프로세스에서 네이티브 노출 영역 데이터를 강제로 플러시하는 유틸리티 클래스입니다. |
| Pair<A, B> | 두 개의 객체가 포함된 자체 Pair 클래스를 정의합니다. |
| PrettyPrintDelimiter | 눈에 띄게 구분된 메시지를 출력하는 데 도움이 되는 도우미 유틸리티입니다. |
| PropertyChanger | Android 속성 파일에서 항목을 변경 (또는 추가)하는 유틸리티 클래스입니다. |
| ProtoUtil | protobuf 메시지를 유형에 관계없이 처리하기 위한 유틸리티 메서드입니다. |
| PsParser | 'ps' 명령어 출력에서 파싱(USER, PID, NAME)하는 데 사용되는 유틸리티입니다. |
| QuotationAwareTokenizer | |
| RegexTrie<V> |
RegexTrie는 키의 각 ERROR(/Pattern)인 트라이입니다.
|
| RemoteZip | 원격 ZIP 파일 내 개별 파일의 압축을 푸는 유틸리티입니다. |
| RestApiHelper | REST API 호출을 실행하기 위한 도우미 클래스입니다. |
| SerializationUtil |
ERROR(/Serializable)를 구현하는 객체를 직렬화/역직렬화하는 유틸리티입니다.
|
| ShellOutputReceiverStream | IShellOutputReceiver에 쓰는 OutputStream의 유틸리티 서브클래스입니다. |
| SimplePerfResult | 모든 simpleperf 테스트 결과를 보유하는 객체 |
| SimplePerfStatResultParser | simpleperf 결과를 파싱하는 유틸리티 클래스입니다. |
| SimplePerfUtil | 간단한 명령어를 전달하고 결과를 수집하는 유틸리티 클래스 |
| SimpleStats | 숫자 데이터 세트를 제공하면 몇 가지 통계 측정값을 계산하는 작은 유틸리티 클래스입니다. |
| SizeLimitedOutputStream |
쓰기 가능한 최대 데이터 양을 제한하는 스레드 안전 파일 백업 ERROR(/OutputStream)입니다.
|
| Sl4aBluetoothUtil | 유틸리티 클래스는 SL4A를 사용하여 하나 또는 두 대의 기기에서 블루투스 작업을 제공합니다. |
| StringEscapeUtils | 특정 형식의 문자열을 이스케이프 처리하는 유틸리티 클래스입니다. |
| StringUtil | 일반적인 문자열 조작을 위해 문자열을 이스케이프 처리하는 유틸리티 클래스입니다. |
| SubprocessEventHelper | 로그에 전달할 이벤트를 직렬화/역직렬화하는 도우미입니다. |
| SubprocessEventHelper.BaseTestEventInfo | TestIgnored 정보의 기본 도우미입니다. |
| SubprocessEventHelper.FailedTestEventInfo | testFailed 정보의 도우미입니다. |
| SubprocessEventHelper.InvocationEndedEventInfo | 호출 종료 정보의 도우미입니다. |
| SubprocessEventHelper.InvocationFailedEventInfo | InvocationFailed 정보의 도우미입니다. |
| SubprocessEventHelper.InvocationStartedEventInfo | 호출 시작 정보의 도우미입니다. |
| SubprocessEventHelper.LogAssociationEventInfo | logAssociation 정보의 도우미입니다. |
| 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 | 각 요소 열이 정렬되도록 문자열 요소의 행렬을 표시하는 도우미 클래스입니다. |
| TarUtil | tar 파일을 조작하는 유틸리티입니다. |
| TestFilterHelper | 테스트 필터링을 위한 도우미 클래스 |
| TestRecordInterpreter |
Tradefed에서 TestRecord 프로토를 더 쉽게 조작할 수 있는 형식으로 변환하는 유틸리티입니다.
|
| TimeVal |
이 클래스는 지원 중단되었습니다.
대신 Duration를 사용하세요.
|
| ZipCompressionStrategy |
zip 파일을 만드는 ICompressionStrategy
|
Enum
| AaptParser.AaptVersion | APK 파일을 파싱하는 데 사용되는 AAPT 버전 옵션의 enum입니다. |
| AppVersionFetcher.AppVersionInfo | 앱 버전 정보 유형 |
| BinaryState | IGNORE 무작위 상태로 ON/OFF 상태를 기록하는 데 사용되는 enum입니다. |
| FakeTestsZipFolder.ItemType | |
| 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 |
인터페이스
클래스
- AaptParser
- AbiFormatter
- AdbRootElevator
- AppVersionFetcher
- BluetoothUtils
- BuildInfoUtil
- BuildTestsZipUtils
- BulkEmailer
- BundletoolUtil
- CircularAtraceUtil
- CircularByteArray
- ClassPathScanner
- ClassPathScanner.ClassNameFilter
- ClassPathScanner.ExternalClassNameFilter
- ConditionPriorityBlockingQueue
- ConditionPriorityBlockingQueue.AlwaysMatch
- DeviceConcurrentUtil
- DeviceConcurrentUtil.ShellCommandCallable
- DeviceRecoveryModeUtil
- DirectedGraph
- EmmaXmlConstants
- FakeTestsZipFolder
- FileIdleMonitor
- FixedByteArrayOutputStream
- FlashingResourceUtil
- GCSBucketUtil
- GCSBucketUtil.GCSFileMetadata
- GCSCommon
- GCSFileDownloader
- GCSFileUploader
- GoogleApiClientUtil
- HprofAllocSiteParser
- JavaCodeCoverageFlusher
- JUnit4TestFilter
- JUnitXmlParser
- ListInstrumentationParser
- ListInstrumentationParser.InstrumentationTarget
- LocalRunInstructionBuilder
- LogcatEventParser
- MetricUtility
- NativeCodeCoverageFlusher
- 페어링
- PrettyPrintDelimiter
- PropertyChanger
- ProtoUtil
- PsParser
- QuotationAwareTokenizer
- RegexTrie
- RemoteZip
- RestApiHelper
- SerializationUtil
- ShellOutputReceiverStream
- SimplePerfResult
- SimplePerfStatResultParser
- SimplePerfUtil
- SimpleStats
- SizeLimitedOutputStream
- Sl4aBluetoothUtil
- StringEscapeUtils
- StringUtil
- SubprocessEventHelper
- SubprocessEventHelper.BaseTestEventInfo
- SubprocessEventHelper.FailedTestEventInfo
- SubprocessEventHelper.InvocationEndedEventInfo
- SubprocessEventHelper.InvocationFailedEventInfo
- SubprocessEventHelper.InvocationStartedEventInfo
- SubprocessEventHelper.LogAssociationEventInfo
- SubprocessEventHelper.TestEndedEventInfo
- SubprocessEventHelper.TestLogEventInfo
- SubprocessEventHelper.TestModuleStartedEventInfo
- SubprocessEventHelper.TestRunEndedEventInfo
- SubprocessEventHelper.TestRunFailedEventInfo
- SubprocessEventHelper.TestRunStartedEventInfo
- SubprocessEventHelper.TestStartedEventInfo
- SubprocessExceptionParser
- SubprocessTestResultsParser
- SubprocessTestResultsParser.StatusKeys
- SystemUtil
- TableBuilder
- TableFormatter
- TarUtil
- TestFilterHelper
- TestRecordInterpreter
- TimeVal
- ZipCompressionStrategy
Enum
- AaptParser.AaptVersion
- AppVersionFetcher.AppVersionInfo
- BinaryState
- FakeTestsZipFolder.ItemType
- LogcatEventType
- SimplePerfUtil.SimplePerfType
- Sl4aBluetoothUtil.BluetoothAccessLevel
- Sl4aBluetoothUtil.BluetoothConnectionState
- Sl4aBluetoothUtil.BluetoothPriorityLevel
- Sl4aBluetoothUtil.BluetoothProfile
- SystemUtil.EnvVariable