Home
last modified time | relevance | path

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

1234567

/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DDeviceUtils.java78 public static @Nonnull TestRunResult runDeviceTests(ITestDevice device, String pkgName, in runDeviceTests()
122 public static @Nonnull TestRunResult runDeviceTestsOnStatsdApp(ITestDevice device, in runDeviceTestsOnStatsdApp()
131 public static void installStatsdTestApp(ITestDevice device, IBuildInfo ctsBuildInfo) in installStatsdTestApp()
139 public static void installTestApp(ITestDevice device, String apkName, String pkgName, in installTestApp()
152 private static void allowBackgroundServices(ITestDevice device, String pkgName) in allowBackgroundServices()
161 public static void uninstallStatsdTestApp(ITestDevice device) throws Exception { in uninstallStatsdTestApp()
168 public static void uninstallTestApp(ITestDevice device, String pkgName) throws Exception { in uninstallTestApp()
184 public static <T extends MessageLite> T getShellCommandOutput(@Nonnull ITestDevice device, in getShellCommandOutput()
200 public static int getHostUid(ITestDevice device) throws DeviceNotAvailableException { in getHostUid()
219 public static int getStatsdTestAppUid(ITestDevice device) throws DeviceNotAvailableException { in getStatsdTestAppUid()
[all …]
DReportUtils.java52 public static List<EventMetricData> getEventMetricDataList(ITestDevice device) in getEventMetricDataList()
104 public static List<Atom> getGaugeMetricAtoms(ITestDevice device) throws Exception { in getGaugeMetricAtoms()
115 public static List<Atom> getGaugeMetricAtoms(ITestDevice device, in getGaugeMetricAtoms()
160 public static void clearReports(ITestDevice device) throws Exception { in clearReports()
168 private static ConfigMetricsReportList getReportList(ITestDevice device) throws Exception { in getReportList()
/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/hostsidetests/hdmicec/src/android/hdmicec/cts/
DAudioManagerHelper.java47 public static void muteDevice(ITestDevice device, HdmiCecClientWrapper hdmiCecClient) in muteDevice()
59 public static void unmuteDevice(ITestDevice device, HdmiCecClientWrapper hdmiCecClient) in unmuteDevice()
69 public static boolean isDeviceMuted(ITestDevice device) throws Exception { in isDeviceMuted()
79 public static void setDeviceVolume(ITestDevice device, int percentVolume) throws Exception { in setDeviceVolume()
90 public static int getDutAudioVolume(ITestDevice device) throws Exception { in getDutAudioVolume()
100 public static String getRequestSadFormatsParams(ITestDevice device, boolean sendValidFormats) in getRequestSadFormatsParams()
DBaseHdmiCecCtsTest.java140 public static int getDumpsysPhysicalAddress(ITestDevice device) throws Exception { in getDumpsysPhysicalAddress()
150 public static List<LogicalAddress> getDumpsysLogicalAddresses(ITestDevice device) in getDumpsysLogicalAddresses()
188 public static LogicalAddress getTargetLogicalAddress(ITestDevice device) throws Exception { in getTargetLogicalAddress()
199 public static LogicalAddress getTargetLogicalAddress(ITestDevice device, int testDeviceType) in getTargetLogicalAddress()
215 ITestDevice device = getDevice(); in getDumpsysActiveSourceLogicalAddress() local
221 private static int parseRequiredAddressFromDumpsys(ITestDevice device, AddressType addressType) in parseRequiredAddressFromDumpsys()
285 private static void setCecVersion(ITestDevice device, int cecVersion) throws Exception { in setCecVersion()
313 ITestDevice device = getDevice(); in getSystemLocale() local
322 ITestDevice device = getDevice(); in setSystemLocale() local
332 public static String getSettingsValue(ITestDevice device, String setting) throws Exception { in getSettingsValue()
[all …]
DLogHelper.java46 private static String getLog(ITestDevice device, String tag) throws Exception { in getLog()
62 public static void assertLog(ITestDevice device, String tag, String ...expectedOutput) in assertLog()
70 public static int parseDutVolume(ITestDevice device, String tag) throws Exception { in parseDutVolume()
84 public static void assertLogDoesNotContain(ITestDevice device, String tag, in assertLogDoesNotContain()
90 public static List<Integer> getSupportedAudioFormats(ITestDevice device) throws Exception { in getSupportedAudioFormats()
/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/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/hdmicec/src/android/hdmicec/cts/common/
DHdmiCecPowerStatusTest.java67 ITestDevice device = getDevice(); in cect_hf4_6_20_broadcastsWhenTurningOn() local
99 ITestDevice device = getDevice(); in cect_hf4_6_21_broadcastsWhenGoingToStandby() local
131 ITestDevice device = getDevice(); in cect_PowerStatusWhenOn() local
152 ITestDevice device = getDevice(); in cect_PowerStatusWhenOff() local
187 ITestDevice device = getDevice(); in cect_hf4_6_8_userControlPressed_powerOn() local
225 ITestDevice device = getDevice(); in cect_hf4_6_10_userControlPressed_powerOff() local
DHdmiCecSystemStandbyTest.java113 ITestDevice device = getDevice(); in cect_11_2_3_4_NoBroadcastStandby() local
135 ITestDevice device = getDevice(); in setHdmiControlDeviceAutoOff() local
146 ITestDevice device = getDevice(); in checkDeviceAsleepAfterStandbySent() local
DHdmiCecSystemAudioControlTest.java89 ITestDevice device = getDevice(); in cect_VolumeUpDownUserControlPressedWhenSystemAudioControlOn() local
130 ITestDevice device = getDevice(); in cect_MuteUserControlPressedWhenSystemAudioControlOn() local
154 ITestDevice device = getDevice(); in cect_GiveSystemAudioModeStatus() local
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/
DHdmiCecTvPowerToggleTest.java67 ITestDevice device = getDevice(); in setPowerControlMode() local
81 ITestDevice device = getDevice(); in cectTvPowerToggleTest_awake_noActiveSource_tvOn() local
115 ITestDevice device = getDevice(); in cectTvPowerToggleTest_awake_activeSource_tvOn() local
148 ITestDevice device = getDevice(); in cectTvPowerToggleTest_asleep_tvOn() local
181 ITestDevice device = getDevice(); in cectTvPowerToggleTest_asleep_tvOff() local
DHdmiCecOneTouchPlayTest.java74 ITestDevice device = getDevice(); in cect_11_2_1_1_OneTouchPlay() local
88 ITestDevice device = getDevice(); in cect_PairingActivity_OneTouchPlay() local
97 private void sendOtp(ITestDevice device) throws Exception { in sendOtp()
DHdmiCecRoutingControlTest.java73 ITestDevice device = getDevice(); in cect_11_1_2_2_RequestActiveSource() local
130 ITestDevice device = getDevice(); in cect_11_2_2_2_RequestActiveSource() local
144 ITestDevice device = getDevice(); in cect_11_2_2_4_InactiveSourceOnStandby() 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/tests/tests/provider/preconditions/src/android/provider/cts/preconditions/
DExternalStoragePreparer.java34 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp()
47 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable throwable) in tearDown()
54 private String getVirtualDisk(ITestDevice device) throws DeviceNotAvailableException { in getVirtualDisk()
/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.java86 static String getGlobalSetting(ITestDevice device, String globalSetting) throws Exception { in getGlobalSetting()
90 …static void setGlobalSetting(ITestDevice device, String globalSetting, String value) throws Except… in setGlobalSetting()
95 static void clearSettings(ITestDevice device) throws Exception { in clearSettings()
107 static boolean isAngleInstalled(ITestDevice device) throws Exception { in isAngleInstalled()
113 static boolean isNativeDriverAngle(ITestDevice device) throws Exception { in isNativeDriverAngle()
119 static void stopPackage(ITestDevice device, String pkgName) throws Exception { in stopPackage()
126 static void setProperty(ITestDevice device, String property, String value) throws Exception { in setProperty()
/cts/hostsidetests/calllog/src/android/provider/cts/contacts/hostside/
DShadowCallLogTest.java127 ITestDevice device = getDevice(); in setupDevicePassword() local
135 ITestDevice device = getDevice(); in removeDevicePassword() local
141 public static void waitForBootCompleted(ITestDevice device) throws Exception { in waitForBootCompleted()
156 private static boolean isBootCompleted(ITestDevice device) throws Exception { in isBootCompleted()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DSecurityTestCase.java129 public static IBuildInfo getBuildInfo(ITestDevice device) { in getBuildInfo()
133 public static IAbi getAbi(ITestDevice device) { in getAbi()
137 public static String getTestName(ITestDevice device) { in getTestName()
141 public static PocPusher getPocPusher(ITestDevice device) { in getPocPusher()
232 protected boolean containsDriver(ITestDevice device, String driver) throws Exception { in containsDriver()
239 protected boolean containsDriver(ITestDevice device, String driver, boolean checkReadable) in containsDriver()
270 protected static MetricsReportLog buildMetricsReportLog(ITestDevice device) { in buildMetricsReportLog()
339 public void assumeIsSupportedNfcDevice(ITestDevice device) throws Exception { in assumeIsSupportedNfcDevice()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/audio/
DHdmiCecRemoteControlPassThroughTest.java72 ITestDevice device = getDevice(); in cect_11_2_13_1_UserControlPressAndRelease() local
106 ITestDevice device = getDevice(); in cect_11_2_13_2_UserControlPressAndHold() local
140 ITestDevice device = getDevice(); in cect_11_2_13_3_UserControlPressAndHoldWithNoRelease() local
175 ITestDevice device = getDevice(); in cect_11_2_13_4_UserControlInterruptedPressAndHoldWithNoRelease() local
/cts/common/host-side/util-axt/src/com/android/compatibility/common/util/
DWindowManagerUtil.java43 public static WindowManagerServiceDumpProto getDump(@Nonnull ITestDevice device) in getDump()
51 public static List<WindowStateProto> getWindows(@Nonnull ITestDevice device) throws Exception { in getWindows()
64 public static List<ActivityRecordProto> getActivityRecords(@Nonnull ITestDevice device) in getActivityRecords()
78 public static List<String> getResumedActivities(@Nonnull ITestDevice device) throws Exception { in getResumedActivities()
91 public static WindowStateProto getWindowWithTitle(@Nonnull ITestDevice device, in getWindowWithTitle()
104 public static boolean hasWindowWithTitle(@Nonnull ITestDevice device, in hasWindowWithTitle()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/tv/
DHdmiCecTvStandbyTest.java63 ITestDevice device = getDevice(); in cect_11_1_3_1_BroadcastStandby() local
80 ITestDevice device = getDevice(); in setHdmiControlDeviceAutoOff() local

1234567