Home
last modified time | relevance | path

Searched defs:device (Results 1 – 25 of 124) sorted by relevance

12345

/cts/hostsidetests/securitybulletin/src/android/security/cts/
DAdbUtils.java61 public static String runCommandLine(String command, ITestDevice device) throws Exception { in runCommandLine()
76 public static String runPoc(String pocName, ITestDevice device) throws Exception { in runPoc()
89 public static String runPoc(String pocName, ITestDevice device, int timeout) throws Exception { in runPoc()
102 public static String runPoc(String pocName, ITestDevice device, int timeout, String arguments) in runPoc()
124 public static void runPocNoOutput(String pocName, ITestDevice device, int timeout) in runPocNoOutput()
138 public static void runPocNoOutput(String pocName, ITestDevice device, int timeout, in runPocNoOutput()
158 …public static boolean enableLibcMallocDebug(String processName, ITestDevice device) throws Excepti… in enableLibcMallocDebug()
200 public static String installApk(String pathToApk, ITestDevice device) throws Exception { in installApk()
220 ITestDevice device) throws Exception { in pushResource()
239 ITestDevice device) throws Exception { in pushResources()
[all …]
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUtils.java40 public static void runDeviceTestsAsCurrentUser(ITestDevice device, String packageName, in runDeviceTestsAsCurrentUser()
46 public static void runDeviceTestsAsCurrentUser(ITestDevice device, String packageName, in runDeviceTestsAsCurrentUser()
53 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
58 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
64 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
69 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
77 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
129 public static int[] prepareSingleUser(ITestDevice device) in prepareSingleUser()
137 public static int[] prepareMultipleUsers(ITestDevice device) in prepareMultipleUsers()
145 public static int[] prepareMultipleUsers(ITestDevice device, int maxUsers) in prepareMultipleUsers()
[all …]
DAppSecurityPreparer.java41 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp()
66 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable throwable) in tearDown()
71 private void removeSecondaryUsers(ITestDevice device) throws DeviceNotAvailableException { in removeSecondaryUsers()
/cts/tests/tests/provider/preconditions/src/android/provider/cts/preconditions/
DExternalStoragePreparer.java34 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp()
48 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable throwable) in tearDown()
56 private boolean hasIsolatedStorage(ITestDevice device) throws DeviceNotAvailableException { in hasIsolatedStorage()
61 private String getVirtualDisk(ITestDevice device) throws DeviceNotAvailableException { in getVirtualDisk()
/cts/tools/vm-tests-tf/targetprep/src/android/core/vm/targetprep/
DVmTestPreparer.java50 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp()
64 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown()
77 private boolean installVmPrereqs(ITestDevice device, CompatibilityBuildHelper ctsBuild) in installVmPrereqs()
121 private void cleanupDeviceFiles(ITestDevice device) throws DeviceNotAvailableException { in cleanupDeviceFiles()
134 private void createRemoteDir(ITestDevice device, String remoteFilePath) in createRemoteDir()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DUtils.java35 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
40 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
46 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
51 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
59 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests()
111 public static int[] prepareSingleUser(ITestDevice device) in prepareSingleUser()
119 public static int[] prepareMultipleUsers(ITestDevice device) in prepareMultipleUsers()
127 public static int[] prepareMultipleUsers(ITestDevice device, int maxUsers) in prepareMultipleUsers()
144 public static int[] getAllUsers(ITestDevice device) in getAllUsers()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/
DHdmiCecSystemAudioControlTest.java64 ITestDevice device = getDevice(); in cect_11_2_15_10_GiveSystemAudioModeStatus() local
81 ITestDevice device = getDevice(); in cect_11_2_15_11_VolumeUpDownUserControlPressed() local
108 ITestDevice device = getDevice(); in cect_11_2_15_12_MuteUserControlPressed() local
DHdmiCecSystemStandbyTest.java62 ITestDevice device = getDevice(); in setHdmiControlDeviceAutoOff() local
74 ITestDevice device = getDevice(); in checkDeviceAsleepAfterStandbySent() local
135 ITestDevice device = getDevice(); in cect_11_2_3_4_NoBroadcastStandby() local
DHdmiCecRoutingControlTest.java85 ITestDevice device = getDevice(); in cect_11_2_2_2_RequestActiveSource() local
100 ITestDevice device = getDevice(); in cect_11_2_2_4_InactiveSourceOnStandby() local
DHdmiCecOneTouchPlayTest.java77 ITestDevice device = getDevice(); in cect_11_2_1_1_OneTouchPlay() local
91 ITestDevice device = getDevice(); in cect_PairingActivity_OneTouchPlay() local
DHdmiCecDeviceOsdNameTest.java65 ITestDevice device = getDevice(); in cect_11_2_11_1a_GiveOsdNameTest() local
83 ITestDevice device = getDevice(); in cect_11_2_11_1b_UpdateAndGiveOsdNameTest() local
DHdmiCecPowerStatusTest.java72 ITestDevice device = getDevice(); in cect_11_2_14_1_PowerStatusWhenOn() local
88 ITestDevice device = getDevice(); in cect_11_2_14_2_PowerStatusWhenOff() local
DHdmiCecRemoteControlPassThroughTest.java77 ITestDevice device = getDevice(); in cect_11_2_13_1_UserControlPressAndRelease() local
112 ITestDevice device = getDevice(); in cect_11_2_13_2_UserControlPressAndHold() local
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DReportProcessor.java57 void setUp(ITestDevice device) throws DeviceNotAvailableException, IOException {} in setUp()
71 void process(ITestDevice device, String reportPath) in process()
83 boolean recover(ITestDevice device, String reportPath) in recover()
93 void cleanup(ITestDevice device, String reportPath) { in cleanup()
107 static String[] getReportLines(ITestDevice device, String reportPath) in getReportLines()
144 ITestDevice device, String method, String reportKey, int testTimeout, in runDeviceTest()
184 ITestDevice device, String method, String reportKey) in processDeviceReport()
DMediaBitstreamsTest.java238 public void setDevice(ITestDevice device) { in setDevice()
262 private boolean bitstreamsExistOnDevice(ITestDevice device) in bitstreamsExistOnDevice()
310 void setUp(ITestDevice device) throws DeviceNotAvailableException { in setUp()
322 void process(ITestDevice device, String reportPath) in process()
359 private void pushBitstreams(ITestDevice device) in pushBitstreams()
385 void setUp(ITestDevice device) throws DeviceNotAvailableException, IOException { in setUp()
398 private void parse(ITestDevice device, String reportPath) in parse()
443 void process(ITestDevice device, String reportPath) in process()
449 boolean recover(ITestDevice device, String reportPath) in recover()
512 ITestDevice device = getDevice(); in testBitstreamsConformance() local
[all …]
/cts/hostsidetests/jvmti/attaching/host/src/android/jvmti/cts/
DJvmtiAttachingHostTest.java71 public void run(ITestDevice device, String pkg, String apk, String abiName); in run()
86 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAttachDuringBind()
96 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAttachEarly()
123 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentStartupAgents()
152 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentAppInternal()
172 runJvmtiAgentLoadTest((ITestDevice device, String pkg, String apk, String abiName) -> { in testJvmtiAgentAppExternal()
200 private String getPwd(ITestDevice device, String pkg) throws Exception { in getPwd()
214 final ITestDevice device = getDevice(); in runJvmtiAgentLoadTest() local
241 private String getDeviceBaseArch(ITestDevice device) throws Exception { in getDeviceBaseArch()
247 private static void runAttachTestCmd(ITestDevice device, String pkg, String agentParams) in runAttachTestCmd()
[all …]
/cts/hostsidetests/angle/src/android/angle/cts/
DCtsAngleCommon.java84 static String getGlobalSetting(ITestDevice device, String globalSetting) throws Exception { in getGlobalSetting()
88 …static void setGlobalSetting(ITestDevice device, String globalSetting, String value) throws Except… in setGlobalSetting()
92 static void clearSettings(ITestDevice device) throws Exception { in clearSettings()
101 static boolean isAngleLoadable(ITestDevice device) throws Exception { in isAngleLoadable()
107 static void startActivity(ITestDevice device, String action) throws Exception { in startActivity()
117 static void stopPackage(ITestDevice device, String pkgName) throws Exception { in stopPackage()
124 static void setProperty(ITestDevice device, String property, String value) throws Exception { in setProperty()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DLogHelper.java44 private static String getLog(ITestDevice device, String tag) throws Exception { in getLog()
60 public static void assertLog(ITestDevice device, String tag, String ...expectedOutput) in assertLog()
67 public static void assertLogDoesNotContain(ITestDevice device, String tag, in assertLogDoesNotContain()
73 public static List<Integer> getSupportedAudioFormats(ITestDevice device) throws Exception { in getSupportedAudioFormats()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/audio/
DHdmiCecRemoteControlPassThroughTest.java71 ITestDevice device = getDevice(); in cect_11_2_13_1_UserControlPressAndRelease() local
105 ITestDevice device = getDevice(); in cect_11_2_13_2_UserControlPressAndHold() local
139 ITestDevice device = getDevice(); in cect_11_2_13_3_UserControlPressAndHoldWithNoRelease() local
174 ITestDevice device = getDevice(); in cect_11_2_13_4_UserControlInterruptedPressAndHoldWithNoRelease() local
DHdmiCecSystemAudioModeTest.java87 ITestDevice device = getDevice(); in getRequestSadFormatsParams() local
125 ITestDevice device = getDevice(); in muteDevice() local
135 ITestDevice device = getDevice(); in unmuteDevice() local
143 ITestDevice device = getDevice(); in isDeviceMuted() local
159 ITestDevice device = getDevice(); in setDeviceVolume() local
DHdmiCecInvalidMessagesTest.java75 ITestDevice device = getDevice(); in getSystemLocale() local
80 ITestDevice device = getDevice(); in setSystemLocale() local
321 ITestDevice device = getDevice(); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_userControlPressed() local
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostJUnit4Test.java73 public void setDevice(ITestDevice device) { in setDevice()
89 ITestDevice device = getDevice(); in testLogcat() local
/cts/hostsidetests/abioverride/src/android/abioverride/cts/
DAbiOverrideTest.java73 ITestDevice device = getDevice(); in setUp() local
87 ITestDevice device = getDevice(); in testAbiIs32bit() local
/cts/hostsidetests/wifibroadcasts/src/android/wifibroadcasts/cts/
DWifiBroadcastsHostJUnit4Test.java86 public void setDevice(ITestDevice device) { in setDevice()
102 ITestDevice device = getDevice(); in testCleanLogcat() local
/cts/hostsidetests/net/src/com/android/cts/net/
DNetPolicyTestsPreparer.java36 public void setUp(ITestDevice device, IBuildInfo buildInfo) throws DeviceNotAvailableException { in setUp()
45 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable throwable) in tearDown()

12345