27 Mart 2025'ten itibaren AOSP'yi derlemek ve AOSP'ye katkıda bulunmak için aosp-main
yerine android-latest-release
kullanmanızı öneririz. Daha fazla bilgi için AOSP'de yapılan değişiklikler başlıklı makaleyi inceleyin.
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
Herkese açık kurucular
TombstoneUtils
public TombstoneUtils ()
Herkese açık yöntemler
assertNoSecurityCrashes
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 |
İlerlemeler |
Optional<TombstoneProtos.Thread> |
|
getProcessFilename
public static Optional<String> getProcessFilename (TombstoneProtos.Tombstone tombstone)
İşlemin dosya adını döndürür. Ör. "/system/bin/mediaserver" "mediaserver" değerini döndürür.
Parametreler |
tombstone |
TombstoneProtos.Tombstone |
İlerlemeler |
Optional<String> |
|
getSecurityCrashes
public static List<TombstoneProtos.Tombstone> getSecurityCrashes (List<TombstoneProtos.Tombstone> tombstones,
TombstoneUtils.Config config)
Parametreler |
tombstones |
List : Kontrol edilecek yer işaretlerinin listesi |
config |
TombstoneUtils.Config : kilitlenme algılama yapılandırma nesnesi |
İlerlemeler |
List<TombstoneProtos.Tombstone> |
Güvenlikle ilgili işaret taşlarının listesi
|
isSecurityCrash
public static boolean isSecurityCrash (TombstoneProtos.Tombstone tombstone,
TombstoneUtils.Config config)
Bir mezar taşının, belirli bir yapılandırmaya karşı güvenlikle ilgili olup olmadığını belirler.
Parametreler |
tombstone |
TombstoneProtos.Tombstone : Kontrol edilecek tombstone |
config |
TombstoneUtils.Config : kilitlenme algılama yapılandırma nesnesi |
İlerlemeler |
boolean |
Mezar taşı güvenlikle ilgiliyse
|
withAssertNoSecurityCrashes
public static AutoCloseable withAssertNoSecurityCrashes (ITestDevice device,
TombstoneUtils.Config config)
Parametreler |
device |
ITestDevice |
config |
TombstoneUtils.Config |
İlerlemeler |
AutoCloseable |
|
Atışlar |
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: 2025-03-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-03-26 UTC."],[],[]]