executeShellCommand (String command, IShellOutputReceiver receiver, long maxTimeToOutputShellResponse, TimeUnit timeUnit, int retryAttempts)
void
executeShellCommand (String command, IShellOutputReceiver receiver, long maxTimeoutForCommand, long maxTimeToOutputShellResponse, TimeUnit timeUnit, int retryAttempts)
Varsayılan olarak ddmlib önbelleğinden bir aygıt özelliği getirin ve aygıtın Fastboot'ta olup olmamasına bağlı olarak "adb shell getprop" veya "fastboot getvar"a geri dönün.
IDeviceMonitor : IDeviceMonitor tahsis durum değişiklikleri bildirmek. boş olabilir
Genel yöntemler
checkApiLevelAgainstNextRelease
public boolean checkApiLevelAgainstNextRelease (int strictMinLevel)
parametreler
strictMinLevel
int
İadeler
boolean
atar
DeviceNotAvailableException
kontrolBağlantı
public boolean checkConnectivity ()
İadeler
boolean
atar
DeviceNotAvailableException
clearErrorDialogs
public boolean clearErrorDialogs ()
İadeler
boolean
atar
DeviceNotAvailableException
clearSonBağlıWifiAğ
public void clearLastConnectedWifiNetwork ()
temizleLogcat
public void clearLogcat ()
connectToWifiNetwork
public boolean connectToWifiNetwork (String wifiSsid,
String wifiPsk)
parametreler
wifiSsid
String
wifiPsk
String
İadeler
boolean
atar
DeviceNotAvailableException
connectToWifiNetwork
public boolean connectToWifiNetwork (String wifiSsid,
String wifiPsk,
boolean scanSsid)
parametreler
wifiSsid
String
wifiPsk
String
scanSsid
boolean
İadeler
boolean
atar
DeviceNotAvailableException
connectToWifiNetworkIfNeeded
public boolean connectToWifiNetworkIfNeeded (String wifiSsid,
String wifiPsk,
boolean scanSsid)
parametreler
wifiSsid
String
wifiPsk
String
scanSsid
boolean
İadeler
boolean
atar
DeviceNotAvailableException
connectToWifiNetworkIfNeeded
public boolean connectToWifiNetworkIfNeeded (String wifiSsid,
String wifiPsk)
parametreler
wifiSsid
String
wifiPsk
String
İadeler
boolean
atar
DeviceNotAvailableException
Kullanıcı oluştur
public int createUser (String name,
boolean guest,
boolean ephemeral)
parametreler
name
String
guest
boolean
ephemeral
boolean
İadeler
int
atar
DeviceNotAvailableException
Kullanıcı oluştur
public int createUser (String name)
parametreler
name
String
İadeler
int
atar
DeviceNotAvailableException
oluşturKullanıcıNoThrow
public int createUserNoThrow (String name)
parametreler
name
String
İadeler
int
atar
DeviceNotAvailableException
dosyayı sil
public void deleteFile (String deviceFilePath)
parametreler
deviceFilePath
String
atar
DeviceNotAvailableException
deviceSoftYeniden başlatıldı
public boolean deviceSoftRestarted (ProcessInfo prevSystemServerProcess)
parametreler
prevSystemServerProcess
ProcessInfo
İadeler
boolean
atar
DeviceNotAvailableException
deviceSoftRestartedSince
public boolean deviceSoftRestartedSince (long utcEpochTime,
TimeUnit timeUnit)
parametreler
utcEpochTime
long
timeUnit
TimeUnit
İadeler
boolean
atar
DeviceNotAvailableException
AdbRoot'u devre dışı bırak
public boolean disableAdbRoot ()
İadeler
boolean
atar
DeviceNotAvailableException
devre dışı bırakKeyguard
public void disableKeyguard ()
atar
DeviceNotAvailableException
devre dışı bırakAğMonitor
public boolean disableNetworkMonitor ()
İadeler
boolean
atar
DeviceNotAvailableException
WiFi'den bağlantıyı kes
public boolean disconnectFromWifi ()
İadeler
boolean
atar
DeviceNotAvailableException
doFileExist
public boolean doesFileExist (String deviceFilePath)
parametreler
deviceFilePath
String
İadeler
boolean
atar
DeviceNotAvailableException
çöp yığını
public File dumpHeap (String process,
String devicePath)
parametreler
process
String
devicePath
String
İadeler
File
atar
DeviceNotAvailableException
etkinleştirmekAdbRoot
public boolean enableAdbRoot ()
İadeler
boolean
atar
DeviceNotAvailableException
enableNetworkMonitor
public boolean enableNetworkMonitor ()
İadeler
boolean
atar
DeviceNotAvailableException
şifrelemekCihaz
public boolean encryptDevice (boolean inplace)
parametreler
inplace
boolean
İadeler
boolean
atar
DeviceNotAvailableException
yürütmekAdbKomut
public String executeAdbCommand (long timeout,
String... cmdArgs)
parametreler
timeout
long
cmdArgs
String
İadeler
String
atar
DeviceNotAvailableException
yürütmekAdbKomut
public String executeAdbCommand (String... cmdArgs)
parametreler
cmdArgs
String
İadeler
String
atar
DeviceNotAvailableException
yürütmekFastbootKomut
public CommandResult executeFastbootCommand (String... cmdArgs)
parametreler
cmdArgs
String
İadeler
CommandResult
atar
DeviceNotAvailableException
yürütmekFastbootKomut
public CommandResult executeFastbootCommand (long timeout,
String... cmdArgs)
parametreler
timeout
long
cmdArgs
String
İadeler
CommandResult
atar
DeviceNotAvailableException
yürütmekLongFastbootKomut
public CommandResult executeLongFastbootCommand (String... cmdArgs)
parametreler
cmdArgs
String
İadeler
CommandResult
atar
DeviceNotAvailableException
yürütmekShellKomut
public String executeShellCommand (String command)
parametreler
command
String
İadeler
String
atar
DeviceNotAvailableException
yürütmekShellKomut
public void executeShellCommand (String command,
IShellOutputReceiver receiver,
long maxTimeToOutputShellResponse,
TimeUnit timeUnit,
int retryAttempts)
parametreler
command
String
receiver
IShellOutputReceiver
maxTimeToOutputShellResponse
long
timeUnit
TimeUnit
retryAttempts
int
atar
DeviceNotAvailableException
yürütmekShellKomut
public void executeShellCommand (String command,
IShellOutputReceiver receiver,
long maxTimeoutForCommand,
long maxTimeToOutputShellResponse,
TimeUnit timeUnit,
int retryAttempts)
parametreler
command
String
receiver
IShellOutputReceiver
maxTimeoutForCommand
long
maxTimeToOutputShellResponse
long
timeUnit
TimeUnit
retryAttempts
int
atar
DeviceNotAvailableException
yürütmekShellKomut
public void executeShellCommand (String command,
IShellOutputReceiver receiver)
parametreler
command
String
receiver
IShellOutputReceiver
atar
DeviceNotAvailableException
yürütmekShellV2Komut
public CommandResult executeShellV2Command (String cmd)
parametreler
cmd
String
İadeler
CommandResult
atar
DeviceNotAvailableException
yürütmekShellV2Komut
public CommandResult executeShellV2Command (String cmd,
OutputStream pipeToOutput)
parametreler
cmd
String
pipeToOutput
OutputStream
İadeler
CommandResult
atar
DeviceNotAvailableException
yürütmekShellV2Komut
public CommandResult executeShellV2Command (String cmd,
File pipeAsInput)
parametreler
cmd
String
pipeAsInput
File
İadeler
CommandResult
atar
DeviceNotAvailableException
yürütmekShellV2Komut
public CommandResult executeShellV2Command (String cmd,
long maxTimeoutForCommand,
TimeUnit timeUnit,
int retryAttempts)
parametreler
cmd
String
maxTimeoutForCommand
long
timeUnit
TimeUnit
retryAttempts
int
İadeler
CommandResult
atar
DeviceNotAvailableException
yürütmekShellV2Komut
public CommandResult executeShellV2Command (String cmd,
long maxTimeoutForCommand,
TimeUnit timeUnit)
parametreler
cmd
String
maxTimeoutForCommand
long
timeUnit
TimeUnit
İadeler
CommandResult
atar
DeviceNotAvailableException
yürütmekShellV2Komut
public CommandResult executeShellV2Command (String cmd,
File pipeAsInput,
OutputStream pipeToOutput,
long maxTimeoutForCommand,
TimeUnit timeUnit,
int retryAttempts)
parametreler
cmd
String
pipeAsInput
File
pipeToOutput
OutputStream
maxTimeoutForCommand
long
timeUnit
TimeUnit
retryAttempts
int
İadeler
CommandResult
atar
DeviceNotAvailableException
yürütmekShellV2Komut
public CommandResult executeShellV2Command (String cmd,
File pipeAsInput,
OutputStream pipeToOutput,
OutputStream pipeToError,
long maxTimeoutForCommand,
TimeUnit timeUnit,
int retryAttempts)
parametreler
cmd
String
pipeAsInput
File
pipeToOutput
OutputStream
pipeToError
OutputStream
maxTimeoutForCommand
long
timeUnit
TimeUnit
retryAttempts
int
İadeler
CommandResult
atar
DeviceNotAvailableException
fastbootWipePartition
public CommandResult fastbootWipePartition (String partition)
parametreler
partition
String
İadeler
CommandResult
atar
DeviceNotAvailableException
getActiveApex'ler
public getActiveApexes ()
İadeler
atar
DeviceNotAvailableException
getAllSettings
public getAllSettings (String namespace)
parametreler
namespace
String
İadeler
atar
DeviceNotAvailableException
getAllocationState
public DeviceAllocationState getAllocationState ()
İadeler
DeviceAllocationState
getAndroidId
public String getAndroidId (int userId)
parametreler
userId
int
İadeler
String
atar
DeviceNotAvailableException
getAndroidIds
public getAndroidIds ()
İadeler
atar
DeviceNotAvailableException
getApiLevel
public int getApiLevel ()
İadeler
int
atar
DeviceNotAvailableException
getAppPackageInfo
public PackageInfo getAppPackageInfo (String packageName)
parametreler
packageName
String
İadeler
PackageInfo
atar
DeviceNotAvailableException
getAppPackageInfos
public getAppPackageInfos ()
İadeler
atar
DeviceNotAvailableException
getBasebandVersion
public String getBasebandVersion ()
İadeler
String
atar
DeviceNotAvailableException
pil almak
public Integer getBattery ()
İadeler
Integer
getBooleanProperty
public boolean getBooleanProperty (String name,
boolean defaultValue)
parametreler
name
String
defaultValue
boolean
İadeler
boolean
atar
DeviceNotAvailableException
getBootHistory
public getBootHistory ()
İadeler
atar
DeviceNotAvailableException
getBootHistorySince
public getBootHistorySince (long utcEpochTime,
TimeUnit timeUnit)
parametreler
utcEpochTime
long
timeUnit
TimeUnit
İadeler
atar
DeviceNotAvailableException
getBootloaderVersion
public String getBootloaderVersion ()
İadeler
String
atar
DeviceNotAvailableException
getBugreport
public InputStreamSource getBugreport ()
İadeler
InputStreamSource
getBugreportz
public InputStreamSource getBugreportz ()
İadeler
InputStreamSource
getBuildAlias
public String getBuildAlias ()
İadeler
String
atar
DeviceNotAvailableException
getBuildFlavor
public String getBuildFlavor ()
İadeler
String
atar
DeviceNotAvailableException
getBuildId
public String getBuildId ()
İadeler
String
atar
DeviceNotAvailableException
getBuildSigningKeys
public String getBuildSigningKeys ()
İadeler
String
atar
DeviceNotAvailableException
getCachedDeviceDescriptor
public DeviceDescriptor getCachedDeviceDescriptor ()
İadeler
DeviceDescriptor
getChildren
public String[] getChildren (String path)
parametreler
path
String
İadeler
String[]
atar
DeviceNotAvailableException
getCurrentFoldableState
public DeviceFoldableState getCurrentFoldableState ()
public String getFastbootVariable (String variableName)
parametreler
variableName
String
İadeler
String
atar
DeviceNotAvailableException
getFastbootVersion
public String getFastbootVersion ()
İadeler
String
getFileEntry
public IFileEntry getFileEntry (String path)
parametreler
path
String
İadeler
IFileEntry
atar
DeviceNotAvailableException
getFileEntry
public IFileEntry getFileEntry (FileListingService.FileEntry entry)
Resmi olmayan yardımcı bir olsun FileEntry kök olmayan yoldan. DÜZELTME: Herhangi bir yoldan kullanılabilir olması için FileEntry sistemini yeniden düzenleyin. (hatta kök olmayan).
parametreler
entry
FileListingService.FileEntry : Bir FileEntry mutlaka kök Ddmlib gereğine göre.
public String installPackageForUser (File packageFile,
boolean reinstall,
int userId,
String... extraArgs)
parametreler
packageFile
File
reinstall
boolean
userId
int
extraArgs
String
İadeler
String
atar
DeviceNotAvailableException
Kullanıcı İçin Paket Yükle
public String installPackageForUser (File packageFile,
boolean reinstall,
boolean grantPermissions,
int userId,
String... extraArgs)
parametreler
packageFile
File
reinstall
boolean
grantPermissions
boolean
userId
int
extraArgs
String
İadeler
String
atar
DeviceNotAvailableException
isAdbRoot
public boolean isAdbRoot ()
İadeler
boolean
atar
DeviceNotAvailableException
isAdbTcp
public boolean isAdbTcp ()
İadeler
boolean
isAppEnumerationSupported
public boolean isAppEnumerationSupported ()
İadeler
boolean
atar
DeviceNotAvailableException
isDeviceŞifreli
public boolean isDeviceEncrypted ()
İadeler
boolean
atar
DeviceNotAvailableException
isDirectory
public boolean isDirectory (String path)
parametreler
path
String
İadeler
boolean
atar
DeviceNotAvailableException
isEnableAdbRoot
public boolean isEnableAdbRoot ()
İadeler
boolean
true adb kök cihazda etkinleştirilmiş olmalıdır eğer
ŞifrelemeSupported
public boolean isEncryptionSupported ()
İadeler
boolean
atar
DeviceNotAvailableException
Yürütülebilir
public boolean isExecutable (String fullPath)
parametreler
fullPath
String
İadeler
boolean
atar
DeviceNotAvailableException
isFastbootEnabled
public boolean isFastbootEnabled ()
İadeler
boolean
Başsız
public boolean isHeadless ()
İadeler
boolean
atar
DeviceNotAvailableException
isMultiUserSupported
public boolean isMultiUserSupported ()
İadeler
boolean
atar
DeviceNotAvailableException
Paket Yüklendi
public boolean isPackageInstalled (String packageName,
String userId)
parametreler
packageName
String
userId
String
İadeler
boolean
atar
DeviceNotAvailableException
Paket Yüklendi
public boolean isPackageInstalled (String packageName)
parametreler
packageName
String
İadeler
boolean
atar
DeviceNotAvailableException
isRuntimePermissionSupported
public boolean isRuntimePermissionSupported ()
İadeler
boolean
atar
DeviceNotAvailableException
isStateBootloaderOrFastbootd
public boolean isStateBootloaderOrFastbootd ()
İadeler
boolean
isKullanıcıRunning
public boolean isUserRunning (int userId)
parametreler
userId
int
İadeler
boolean
atar
DeviceNotAvailableException
isKullanıcıİkincil
public boolean isUserSecondary (int userId)
parametreler
userId
int
İadeler
boolean
atar
DeviceNotAvailableException
isWifiEnabled
public boolean isWifiEnabled ()
İadeler
boolean
atar
DeviceNotAvailableException
listeGörüntüleme Kimlikleri
public listDisplayIds ()
İadeler
atar
DeviceNotAvailableException
listeKullanıcılar
public listUsers ()
İadeler
atar
DeviceNotAvailableException
günlükHata raporu
public boolean logBugreport (String dataName,
ITestLogger listener)
parametreler
dataName
String
listener
ITestLogger
İadeler
boolean
logOnDevice
public void logOnDevice (String tag,
Log.LogLevel level,
String format,
Object... args)
parametreler
tag
String
level
Log.LogLevel
format
String
args
Object
EngellemeyenYeniden Başlatma
public void nonBlockingReboot ()
atar
DeviceNotAvailableException
postAdbRootAction
public void postAdbRootAction ()
Aygıtın adb kökünden sonra ve aygıt tekrar çevrimiçi olmadan önce yapılması gereken bazı özel eylemler gerekiyorsa geçersiz kılın. Varsayılan uygulama, herhangi bir ek eylemi içermez. adb root'un bu aşamada etkinleştirilmesi garanti edilmez.
atar
DeviceNotAvailableException
postAdbUnrootAction
public void postAdbUnrootAction ()
Adb unroot işleminden sonra ve cihaz tekrar çevrimiçi olmadan önce cihazın bazı özel işlemlere ihtiyacı varsa geçersiz kılın. Varsayılan uygulama, herhangi bir ek eylem içermez. adb root'un bu aşamada devre dışı bırakılması garanti edilmez.
atar
DeviceNotAvailableException
postBootSetup
public void postBootSetup ()
atar
DeviceNotAvailableException
postInceptionTearDown
public void postInvocationTearDown (Throwable exception)
parametreler
exception
Throwable
ön Çağırma Kurulumu
public void preInvocationSetup (IBuildInfo info,
MultiMap<String, String> attributes)
parametreler
info
IBuildInfo
attributes
MultiMap
atar
DeviceNotAvailableException
TargetSetupError
pullDir
public boolean pullDir (String deviceFilePath,
File localDir)
parametreler
deviceFilePath
String
localDir
File
İadeler
boolean
atar
DeviceNotAvailableException
çekme dosyası
public boolean pullFile (String remoteFilePath,
File localFile)
parametreler
remoteFilePath
String
localFile
File
İadeler
boolean
atar
DeviceNotAvailableException
çekme dosyası
public File pullFile (String remoteFilePath)
parametreler
remoteFilePath
String
İadeler
File
atar
DeviceNotAvailableException
pullFileContents
public String pullFileContents (String remoteFilePath)
parametreler
remoteFilePath
String
İadeler
String
atar
DeviceNotAvailableException
pullFileFromExternal
public File pullFileFromExternal (String remoteFilePath)
parametreler
remoteFilePath
String
İadeler
File
atar
DeviceNotAvailableException
pushDir
public boolean pushDir (File localFileDir,
String deviceFilePath,
excludedDirectories)
parametreler
localFileDir
File
deviceFilePath
String
excludedDirectories
İadeler
boolean
atar
DeviceNotAvailableException
pushDir
public boolean pushDir (File localFileDir,
String deviceFilePath)
parametreler
localFileDir
File
deviceFilePath
String
İadeler
boolean
atar
DeviceNotAvailableException
pushFile
public boolean pushFile (File localFile,
String remoteFilePath)
parametreler
localFile
File
remoteFilePath
String
İadeler
boolean
atar
DeviceNotAvailableException
pushString
public boolean pushString (String contents,
String remoteFilePath)
parametreler
contents
String
remoteFilePath
String
İadeler
boolean
atar
DeviceNotAvailableException
yeniden başlat
public void reboot (String reason)
parametreler
reason
String
atar
DeviceNotAvailableException
yeniden başlat
public void reboot ()
atar
DeviceNotAvailableException
yeniden başlatIntoBootloader
public void rebootIntoBootloader ()
atar
DeviceNotAvailableException
yeniden başlatIntoFastbootd
public void rebootIntoFastbootd ()
atar
DeviceNotAvailableException
yeniden başlatmaIntoRecovery
public void rebootIntoRecovery ()
atar
DeviceNotAvailableException
yeniden başlatIntoSideload
public void rebootIntoSideload ()
atar
DeviceNotAvailableException
yeniden başlatIntoSideload
public void rebootIntoSideload (boolean autoReboot)
parametreler
autoReboot
boolean
atar
DeviceNotAvailableException
yeniden başlatUntilOnline
public void rebootUntilOnline ()
atar
DeviceNotAvailableException
yeniden başlatUntilOnline
public void rebootUntilOnline (String reason)
parametreler
reason
String
atar
DeviceNotAvailableException
yeniden başlatmaKullanıcı alanı
public void rebootUserspace ()
atar
DeviceNotAvailableException
yeniden başlatmaKullanıcı AlanıUntilOnline
public void rebootUserspaceUntilOnline ()
atar
DeviceNotAvailableException
kurtarma cihazı
public void recoverDevice ()
Cihaz iletişimini kurtarmaya çalışır.
atar
DeviceNotAvailableException
cihaz artık mevcut değilse
remountSystemWritable
public void remountSystemWritable ()
atar
DeviceNotAvailableException
remountSatıcıWritable
public void remountVendorWritable ()
atar
DeviceNotAvailableException
kaldırYönetici
public boolean removeAdmin (String componentName,
int userId)
parametreler
componentName
String
userId
int
İadeler
boolean
atar
DeviceNotAvailableException
Sahipleri kaldır
public void removeOwners ()
atar
DeviceNotAvailableException
Kullanıcıyı kaldır
public boolean removeUser (int userId)
parametreler
userId
int
İadeler
boolean
atar
DeviceNotAvailableException
resetContentProviderKurulum
public void resetContentProviderSetup ()
Yeniden tetiklemek için içerik sağlayıcı kurulumu bayrağını sıfırlayın.
runEnstrümantasyonTestleri
public boolean runInstrumentationTests (IRemoteAndroidTestRunner runner,
ITestLifeCycleReceiver... listeners)
parametreler
runner
IRemoteAndroidTestRunner
listeners
ITestLifeCycleReceiver
İadeler
boolean
atar
DeviceNotAvailableException
runEnstrümantasyonTestleri
public boolean runInstrumentationTests (IRemoteAndroidTestRunner runner,
listeners)
parametreler
runner
IRemoteAndroidTestRunner
listeners
İadeler
boolean
atar
DeviceNotAvailableException
runInstrumentationTestsAsUser
public boolean runInstrumentationTestsAsUser (IRemoteAndroidTestRunner runner,
int userId,
ITestLifeCycleReceiver... listeners)
parametreler
runner
IRemoteAndroidTestRunner
userId
int
listeners
ITestLifeCycleReceiver
İadeler
boolean
atar
DeviceNotAvailableException
runInstrumentationTestsAsUser
public boolean runInstrumentationTestsAsUser (IRemoteAndroidTestRunner runner,
int userId,
listeners)
parametreler
runner
IRemoteAndroidTestRunner
userId
int
listeners
İadeler
boolean
atar
DeviceNotAvailableException
setYapılandırma
public void setConfiguration (IConfiguration configuration)
Varsayılan olarak ddmlib önbelleğinden bir aygıt özelliği getirin ve aygıtın Fastboot'ta olup olmamasına bağlı olarak "adb shell getprop" veya "fastboot getvar"a geri dönün.
parametreler
propName
String : ADB kabuk getprop` 'tarafından döndürülen gibi cihaz özelliğinin adı
fastbootVar
String : sorguya eşdeğer hızlı önyükleme değişkenin adı. eğer null , hızlı önyükleme sorgu teşebbüs edilmeyecektir
description
String : değişkenin basit bir açıklaması. İlk harf büyük yazılmalıdır.
İadeler
String
Bir dizi, muhtemelen null verilen özelliği değerini ihtiva eden ya da boş,
Dönüş true yerel dosya uzak dosyadan daha yeniyse. IFileEntry eşit zamanlarda durumunda, dakikaya doğru olma, dosya yeni kabul edilecektir.
parametreler
localFile
File
entry
IFileEntry
İadeler
boolean
performDeviceAction
protected boolean performDeviceAction (String actionDescription,
com.android.tradefed.device.NativeDevice.DeviceAction action,
int retryAttempts)
Bu cihazda bir işlem gerçekleştirir. İşlem başarısız olursa cihazı kurtarmayı ve isteğe bağlı olarak komutu yeniden denemeyi dener.
parametreler
actionDescription
String : kısa bir etki açıklama yapılması için kullanılır. Yalnızca günlüğe kaydetme amacıyla kullanılır.
action
com.android.tradefed.device.NativeDevice.DeviceAction : yapılması gereken hareketleri
retryAttempts
int : İşlem başarısız ama kurtarma başarılı olursa yeniden deneme girişimleri eylem için yapmak
İadeler
boolean
true ise eylem başarıyla gerçekleştirildi
atar
DeviceNotAvailableException
kurtarma girişimi başarısız olursa veya başarı olmadan maksimum deneme yapılırsa
postAdbReboot
protected void postAdbReboot ()
Yeniden başlatmanın ardından gerçekleştirilebilecek olası ekstra eylemler.
atar
DeviceNotAvailableException
PrePostBootKurulumu
protected void prePostBootSetup ()
Her cihaz türünün (AndroidNativeDevice, TestDevice) belirli önyükleme sonrası kurulum için bu yöntemi geçersiz kılmasına izin verir.
atar
DeviceNotAvailableException
saati ayarla
protected void setClock (Clock clock)
Kullanılacak Saat örneğini ayarlayın.
parametreler
clock
Clock
setLogStartDelay
protected void setLogStartDelay (int delay)
Çevrimiçi bir cihaz için logcat yakalamaya başlamadan önce beklenecek süreyi ms cinsinden ayarlar.
parametreler
delay
int : ms gecikme
waitForDeviceNotAvailable
protected void waitForDeviceNotAvailable (String operationDesc,
long time)
parametreler
operationDesc
String
time
long
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2021-10-04 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"
}]