TombstoneUtils
public class TombstoneUtils
extends Object
java.lang.Object |
↳ | com.android.sts.common.util.TombstoneUtils |
Kilitlenme ayrıştırması için yardımcı işlevler ve paylaşılan sabitler içerir.
Özet
İç içe sınıflar |
---|
class | TombstoneUtils.Config |
class | TombstoneUtils.Signals |
kamu inşaatçılar
TombstoneUtils
public TombstoneUtils ()
Genel yöntemler
iddiaNoSecurityCrashes
public static void assertNoSecurityCrashes (List<TombstoneProtos.Tombstone> tombstones,
TombstoneUtils.Config config)
parametreler |
---|
tombstones | List |
config | TombstoneUtils.Config |
getMainThread
public static Optional<TombstoneProtos.Thread> getMainThread (TombstoneProtos.Tombstone tombstone)
parametreler |
---|
tombstone | TombstoneProtos.Tombstone |
İadeler |
---|
Optional<TombstoneProtos.Thread> | |
getProcessFilename
public static Optional<String> getProcessFilename (TombstoneProtos.Tombstone tombstone)
işlemin dosya adını döndürür. örneğin "/system/bin/mediaserver", "mediaserver" değerini döndürür
parametreler |
---|
tombstone | TombstoneProtos.Tombstone |
getSecurityCrashes
public static List<TombstoneProtos.Tombstone> getSecurityCrashes (List<TombstoneProtos.Tombstone> tombstones,
TombstoneUtils.Config config)
parametreler |
---|
tombstones | List : kontrol edilecek mezar taşlarının listesi |
config | TombstoneUtils.Config : kilitlenme algılama yapılandırma nesnesi |
İadeler |
---|
List<TombstoneProtos.Tombstone> | güvenlikle ilgili mezar taşlarının bir listesi |
isSecurityCrash
public static boolean isSecurityCrash (TombstoneProtos.Tombstone tombstone,
TombstoneUtils.Config config)
Bir kaldırıldı olarak işaretlemenin, verilen yapılandırmaya göre güvenlikle ilgili olup olmayacağını belirler.
parametreler |
---|
tombstone | TombstoneProtos.Tombstone : kontrol edilecek mezar taşı |
config | TombstoneUtils.Config : kilitlenme algılama yapılandırma nesnesi |
İadeler |
---|
boolean | mezar taşı güvenlikle ilgiliyse |
withAssertNoSecurityÇökmeler
public static AutoCloseable withAssertNoSecurityCrashes (ITestDevice device,
TombstoneUtils.Config config)
parametreler |
---|
device | ITestDevice |
config | TombstoneUtils.Config |
Atar |
---|
DeviceNotAvailableException | |
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2022-11-18 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"İhtiyacım olan bilgiler yok"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Çok karmaşık / çok fazla adım var"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Güncel değil"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Çeviri sorunu"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Örnek veya kod sorunu"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Diğer"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Anlaması kolay"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Sorunumu çözdü"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Diğer"
}]