हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main
के बजाय android-latest-release
का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
RemoteSshUtil
public
class
RemoteSshUtil
extends Object
java.lang.Object
|
↳ |
com.android.tradefed.device.cloud.RemoteSshUtil
|
रिमोट इंस्टेंस पर एसएसएच कमांड चलाने के लिए उपयोगी टूल.
खास जानकारी
सार्वजनिक तरीके |
static
CommandResult
|
remoteSshCommandExec(GceAvdInfo remoteInstance, TestDeviceOptions options, IRunUtil runUtil, long timeoutMs, OutputStream stdout, OutputStream stderr, String... command)
एसएसएच का इस्तेमाल करके, रिमोट इंस्टेंस पर कोई कमांड चलाएं.
|
static
CommandResult
|
remoteSshCommandExec(GceAvdInfo remoteInstance, TestDeviceOptions options, IRunUtil runUtil, long timeoutMs, String... command)
एसएसएच का इस्तेमाल करके, रिमोट इंस्टेंस पर कोई कमांड चलाएं.
|
पब्लिक कंस्ट्रक्टर
RemoteSshUtil
public RemoteSshUtil ()
सार्वजनिक तरीके
remoteSshCommandExec
public static CommandResult remoteSshCommandExec (GceAvdInfo remoteInstance,
TestDeviceOptions options,
IRunUtil runUtil,
long timeoutMs,
OutputStream stdout,
OutputStream stderr,
String... command)
एसएसएच का इस्तेमाल करके, रिमोट इंस्टेंस पर कोई कमांड चलाएं.
पैरामीटर |
remoteInstance |
GceAvdInfo : डिवाइस की जानकारी देने वाला GceAvdInfo . |
options |
TestDeviceOptions : GCE डिवाइस के लिए इस्तेमाल किए जाने वाले डिवाइस के विकल्पों के बारे में बताने वाला TestDeviceOptions . |
runUtil |
IRunUtil : निर्देशों को लागू करने के लिए IRunUtil . |
timeoutMs |
long : फ़ेच करने में लगने वाला समय मिलीसेकंड में |
stdout |
OutputStream : वह ERROR(/OutputStream) जहां स्टैंडआउट लॉग किया जाएगा. |
stderr |
OutputStream : एक ERROR(/OutputStream) जहां stderr को लॉग किया जाएगा. |
command |
String : वह निर्देश जिसे लागू करना है. |
remoteSshCommandExec
public static CommandResult remoteSshCommandExec (GceAvdInfo remoteInstance,
TestDeviceOptions options,
IRunUtil runUtil,
long timeoutMs,
String... command)
एसएसएच का इस्तेमाल करके, रिमोट इंस्टेंस पर कोई कमांड चलाएं.
पैरामीटर |
remoteInstance |
GceAvdInfo : डिवाइस की जानकारी देने वाला GceAvdInfo . |
options |
TestDeviceOptions : GCE डिवाइस के लिए इस्तेमाल किए जाने वाले डिवाइस के विकल्पों के बारे में बताने वाला TestDeviceOptions . |
runUtil |
IRunUtil : निर्देशों को लागू करने के लिए IRunUtil . |
timeoutMs |
long : फ़ेच करने में लगने वाला समय मिलीसेकंड में |
command |
String : वह निर्देश जिसे लागू करना है. |
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-03-26 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-03-26 (UTC) को अपडेट किया गया."],[],[]]