RootcanalUtils
public class RootcanalUtils
extends TestWatcher
java.lang.Objek | ||
↳ | org.junit.rules.TestWatcher | |
↳ | com.android.sts.common.RootcanalUtils |
TestWatcher yang menyiapkan HAL bluetooth virtual dan mem-boot ulang perangkat setelah selesai.
Ringkasan
Kelas bersarang | |
---|---|
class | RootcanalUtils.HciDevice Kelas yang merangkum perangkat HCI virtual yang dapat dikontrol oleh perintah HCI. |
class | RootcanalUtils.RootcanalController
|
Konstruktor publik | |
---|---|
RootcanalUtils (BaseHostJUnit4Test test) |
Metode publik | |
---|---|
RootcanalUtils.RootcanalController | enableRootcanal () Ganti HAL yang ada dengan RootCanal HAL pada perangkat saat ini. |
void | finished (Description d) |
Konstruktor publik
RootcanalUtils
public RootcanalUtils (BaseHostJUnit4Test test)
Parameter | |
---|---|
test | BaseHostJUnit4Test |
Metode publik
aktifkanRootcanal
public RootcanalUtils.RootcanalController enableRootcanal ()
Ganti HAL yang ada dengan RootCanal HAL pada perangkat saat ini.
Pengembalian | |
---|---|
RootcanalUtils.RootcanalController | sebuah instance dari RootcanalController |
Melempar | |
---|---|
DeviceNotAvailableException | |
IOException | |
InterruptedException |
selesai
public void finished (Description d)
Parameter | |
---|---|
d | Description |
Konten dan contoh kode di halaman ini tunduk pada lisensi yang dijelaskan dalam Lisensi Konten. Java dan OpenJDK adalah merek dagang atau merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2022-11-18 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Informasi yang saya butuhkan tidak ada"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Terlalu rumit/langkahnya terlalu banyak"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Sudah usang"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Masalah terjemahan"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Masalah kode / contoh"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Lainnya"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Mudah dipahami"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Memecahkan masalah saya"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Lainnya"
}]