Home
last modified time | relevance | path

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

12345678

/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DDeviceUtils.java77 public static @Nonnull TestRunResult runDeviceTests(ITestDevice device, String pkgName, in runDeviceTests()
121 public static @Nonnull TestRunResult runDeviceTestsOnStatsdApp(ITestDevice device, in runDeviceTestsOnStatsdApp()
130 public static void installStatsdTestApp(ITestDevice device, IBuildInfo ctsBuildInfo) in installStatsdTestApp()
138 public static void installTestApp(ITestDevice device, String apkName, String pkgName, in installTestApp()
151 private static void allowBackgroundServices(ITestDevice device, String pkgName) in allowBackgroundServices()
160 public static void uninstallStatsdTestApp(ITestDevice device) throws Exception { in uninstallStatsdTestApp()
167 public static void uninstallTestApp(ITestDevice device, String pkgName) throws Exception { in uninstallTestApp()
183 public static <T extends MessageLite> T getShellCommandOutput(@Nonnull ITestDevice device, in getShellCommandOutput()
199 public static int getHostUid(ITestDevice device) throws DeviceNotAvailableException { in getHostUid()
218 public static int getStatsdTestAppUid(ITestDevice device) throws DeviceNotAvailableException { in getStatsdTestAppUid()
[all …]
DReportUtils.java46 public static List<EventMetricData> getEventMetricDataList(ITestDevice device) in getEventMetricDataList()
74 public static List<Atom> getGaugeMetricAtoms(ITestDevice device) throws Exception { in getGaugeMetricAtoms()
85 public static List<Atom> getGaugeMetricAtoms(ITestDevice device, in getGaugeMetricAtoms()
114 public static void clearReports(ITestDevice device) throws Exception { in clearReports()
122 private static ConfigMetricsReportList getReportList(ITestDevice device) throws Exception { in getReportList()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DAdbUtils.java68 ITestDevice device; field in AdbUtils.pocConfig
73 pocConfig(String binaryName, ITestDevice device) { in pocConfig()
85 public static String runCommandLine(String command, ITestDevice device) throws Exception { in runCommandLine()
100 public static String runPoc(String pocName, ITestDevice device) throws Exception { in runPoc()
112 public static String runPoc(String pocName, ITestDevice device, int timeout) throws Exception { in runPoc()
125 public static String runPoc(String pocName, ITestDevice device, int timeout, String arguments) in runPoc()
139 public static void runPocNoOutput(String pocName, ITestDevice device, int timeout) in runPocNoOutput()
153 public static void runPocNoOutput(String pocName, ITestDevice device, int timeout, in runPocNoOutput()
168 public static int runPoc(String pocName, ITestDevice device, int timeout, in runPoc()
184 public static int runPoc(String pocName, ITestDevice device, int timeout, in runPoc()
[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/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/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 isAngleLoadable(ITestDevice device) throws Exception { in isAngleLoadable()
113 static boolean isNativeDriverAngle(ITestDevice device) throws Exception { in isNativeDriverAngle()
119 static void startActivity(ITestDevice device, String action) throws Exception { in startActivity()
125 static void stopPackage(ITestDevice device, String pkgName) throws Exception { in stopPackage()
132 static void setProperty(ITestDevice device, String property, String value) throws Exception { in setProperty()
/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/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/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

12345678