| /cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/ |
| D | DeviceUtils.java | 83 public static @Nonnull TestRunResult runDeviceTests(ITestDevice device, String pkgName, in runDeviceTests() 101 public static @Nonnull TestRunResult runDeviceTests(ITestDevice device, String pkgName, in runDeviceTests() 108 private static @Nonnull TestRunResult internalRunDeviceTests(ITestDevice device, String pkgName, in internalRunDeviceTests() 160 public static @Nonnull TestRunResult runDeviceTestsOnStatsdApp(ITestDevice device, in runDeviceTestsOnStatsdApp() 169 public static void installStatsdTestApp(ITestDevice device, IBuildInfo ctsBuildInfo) in installStatsdTestApp() 177 public static void installTestApp(ITestDevice device, String apkName, String pkgName, in installTestApp() 190 private static void allowBackgroundServices(ITestDevice device, String pkgName) in allowBackgroundServices() 199 public static void uninstallStatsdTestApp(ITestDevice device) throws Exception { in uninstallStatsdTestApp() 206 public static void uninstallTestApp(ITestDevice device, String pkgName) throws Exception { in uninstallTestApp() 223 public static <T extends MessageLite> T getShellCommandOutput(@Nonnull ITestDevice device, in getShellCommandOutput() [all …]
|
| D | ReportUtils.java | 52 ITestDevice device, ExtensionRegistry extensionRegistry) throws Exception { in getEventMetricDataList() 57 public static List<EventMetricData> getEventMetricDataList(ITestDevice device) in getEventMetricDataList() 108 public static List<Atom> getGaugeMetricAtoms(ITestDevice device) throws Exception { in getGaugeMetricAtoms() 120 public static List<Atom> getGaugeMetricAtoms(ITestDevice device, in getGaugeMetricAtoms() 151 ITestDevice device, boolean checkTimestampTruncated) throws Exception { in getGaugeMetricAtoms() 172 public static void clearReports(ITestDevice device) throws Exception { in clearReports() 181 ITestDevice device, ExtensionRegistry extensionRegistry) throws Exception { in getReportList()
|
| /cts/hostsidetests/hdmicec/src/android/hdmicec/cts/common/ |
| D | HdmiCecPowerStatusTest.java | 67 ITestDevice device = getDevice(); in cect_hf4_6_20_broadcastsWhenTurningOn() local 97 ITestDevice device = getDevice(); in cect_hf4_6_21_broadcastsWhenGoingToStandby() local 133 ITestDevice device = getDevice(); in cect_hf4_6_22_interruptedPowerOn() local 188 ITestDevice device = getDevice(); in cect_hf4_6_23_interruptedStandby() local 244 ITestDevice device = getDevice(); in cect_PowerStatusWhenOn() local 264 ITestDevice device = getDevice(); in cect_PowerStatusWhenOff() local 298 ITestDevice device = getDevice(); in cect_hf4_6_8_userControlPressed_powerOn() local 327 ITestDevice device = getDevice(); in cect_hf4_6_10_userControlPressed_powerOff() local 357 ITestDevice device = getDevice(); in cect_hf4_6_26_standby_noBroadcast_20() local 379 ITestDevice device = getDevice(); in cect_hf4_6_27_standby_action_20() local [all …]
|
| D | HdmiCecSystemAudioControlTest.java | 90 ITestDevice device = getDevice(); in cect_VolumeUpDownUserControlPressedWhenSystemAudioControlOn() local 131 ITestDevice device = getDevice(); in cect_MuteUserControlPressedWhenSystemAudioControlOn() local 155 ITestDevice device = getDevice(); in cect_GiveSystemAudioModeStatus() local
|
| /cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
| D | AudioManagerHelper.java | 47 public static void muteDevice(ITestDevice device, HdmiCecClientWrapper hdmiCecClient) in muteDevice() 59 public static void unmuteDevice(ITestDevice device, HdmiCecClientWrapper hdmiCecClient) in unmuteDevice() 69 public static void unmuteDevice(ITestDevice device) in unmuteDevice() 77 public static boolean isDeviceMuted(ITestDevice device) throws Exception { in isDeviceMuted() 87 public static void lowerVolume(ITestDevice device) throws Exception { in lowerVolume() 94 public static void raiseVolume(ITestDevice device) throws Exception { in raiseVolume() 101 public static void setDeviceVolume(ITestDevice device, int percentVolume) throws Exception { in setDeviceVolume() 112 public static int getDutAudioVolume(ITestDevice device) throws Exception { in getDutAudioVolume() 122 public static String getRequestSadFormatsParams(ITestDevice device, boolean sendValidFormats) in getRequestSadFormatsParams()
|
| D | RemoteControlPassthrough.java | 47 ITestDevice device, in checkUserControlPressAndRelease() 84 ITestDevice device, in checkUserControlPressAndHold() 121 ITestDevice device, in checkUserControlPressAndHoldWithNoRelease() 158 ITestDevice device, in checkUserControlInterruptedPressAndHoldWithNoRelease() 218 ITestDevice device, in checkUserControlPressAndReleaseWithAdditionalParams() 243 ITestDevice device, in checkUserControlPressAndRelease_20() 315 ITestDevice device, in checkUserControlPressAndRelease()
|
| D | BaseHdmiCecCtsTest.java | 165 public static int getDumpsysPhysicalAddress(ITestDevice device) throws DumpsysParseException { in getDumpsysPhysicalAddress() 175 public static List<LogicalAddress> getDumpsysLogicalAddresses(ITestDevice device) in getDumpsysLogicalAddresses() 213 public boolean isSystemAudioModeOn(ITestDevice device) throws DumpsysParseException { in isSystemAudioModeOn() 245 public static LogicalAddress getTargetLogicalAddress(ITestDevice device) in getTargetLogicalAddress() 257 public static LogicalAddress getTargetLogicalAddress(ITestDevice device, int testDeviceType) in getTargetLogicalAddress() 273 ITestDevice device = getDevice(); in getDumpsysActiveSourceLogicalAddress() local 279 private static int parseRequiredAddressFromDumpsys(ITestDevice device, AddressType addressType) in parseRequiredAddressFromDumpsys() 345 private static void setCecVersion(ITestDevice device, int cecVersion) throws Exception { in setCecVersion() 373 ITestDevice device = getDevice(); in getSystemLocale() local 382 ITestDevice device = getDevice(); in setSystemLocale() local [all …]
|
| D | LogHelper.java | 46 private static String getLog(ITestDevice device, String tag) throws Exception { in getLog() 63 ITestDevice device, String tag, int waitSeconds, String expectedOutput) in waitForLog() 80 public static void assertLog(ITestDevice device, String tag, String ...expectedOutput) in assertLog() 88 public static void assumeLog(ITestDevice device, String tag, String expectedOutput) in assumeLog() 99 public static int parseDutVolume(ITestDevice device, String tag) throws Exception { in parseDutVolume() 113 public static void assertLogDoesNotContain(ITestDevice device, String tag, in assertLogDoesNotContain() 119 public static List<Integer> getSupportedAudioFormats(ITestDevice device) throws Exception { in getSupportedAudioFormats()
|
| /cts/hostsidetests/securitybulletin/src/android/security/cts/ |
| D | AdbUtils.java | 70 ITestDevice device; field in AdbUtils.pocConfig 74 pocConfig(String binaryName, ITestDevice device) { in pocConfig() 89 public static String runCommandLine(String command, ITestDevice device) throws Exception { in runCommandLine() 106 public static String runPoc(String pocName, ITestDevice device) throws Exception { in runPoc() 120 public static String runPoc(String pocName, ITestDevice device, int timeout) throws Exception { in runPoc() 135 public static String runPoc(String pocName, ITestDevice device, int timeout, String arguments) in runPoc() 151 public static void runPocNoOutput(String pocName, ITestDevice device, int timeout) in runPocNoOutput() 167 String pocName, ITestDevice device, int timeout, String arguments) throws Exception { in runPocNoOutput() 184 ITestDevice device, in runPoc() 206 ITestDevice device, in runPoc() [all …]
|
| /cts/hostsidetests/angle/src/android/angle/cts/ |
| D | CtsAngleCommon.java | 111 static String getGlobalSetting(ITestDevice device, String globalSetting) throws Exception { in getGlobalSetting() 115 static void setGlobalSetting(ITestDevice device, String globalSetting, String value) in setGlobalSetting() 121 static void clearSettings(ITestDevice device) throws Exception { in clearSettings() 130 static boolean isAngleApkInstalled(ITestDevice device) throws Exception { in isAngleApkInstalled() 136 static boolean isSystemAngleSupported(ITestDevice device) throws Exception { in isSystemAngleSupported() 142 static boolean isAnglePresentAsNonDefault(ITestDevice device) throws Exception { in isAnglePresentAsNonDefault() 147 static boolean isAngleDefaultDriver(ITestDevice device) throws Exception { in isAngleDefaultDriver() 153 static boolean isAnglePresent(ITestDevice device) throws Exception { in isAnglePresent() 161 static String getTestMethod(ITestDevice device) throws Exception { in getTestMethod() 173 static void startActivity(ITestDevice device, String pkgName, String className) in startActivity() [all …]
|
| /cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
| D | Utils.java | 42 public static void runDeviceTestsAsCurrentUser(ITestDevice device, String packageName, in runDeviceTestsAsCurrentUser() 48 public static void runDeviceTestsAsCurrentUser(ITestDevice device, String packageName, in runDeviceTestsAsCurrentUser() 55 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() 60 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() 66 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() 71 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() 79 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() 136 public static int[] prepareSingleUser(ITestDevice device) in prepareSingleUser() 144 public static int[] prepareMultipleUsers(ITestDevice device) in prepareMultipleUsers() 152 public static int[] prepareMultipleUsers(ITestDevice device, int maxUsers) in prepareMultipleUsers() [all …]
|
| D | AppSecurityPreparer.java | 41 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/classloaders/useslibrary/src/android/classloaders/cts/ |
| D | Utils.java | 36 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() 41 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() 47 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() 52 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() 60 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() 112 public static int[] prepareSingleUser(ITestDevice device) in prepareSingleUser() 120 public static int[] prepareMultipleUsers(ITestDevice device) in prepareMultipleUsers() 128 public static int[] prepareMultipleUsers(ITestDevice device, int maxUsers) in prepareMultipleUsers() 145 public static int[] getAllUsers(ITestDevice device) in getAllUsers()
|
| /cts/tools/vm-tests-tf/targetprep/src/android/core/vm/targetprep/ |
| D | VmTestPreparer.java | 50 public void setUp(ITestDevice device, IBuildInfo buildInfo) in setUp() 65 public void tearDown(ITestDevice device, IBuildInfo buildInfo, Throwable e) in tearDown() 78 private void 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/calllog/src/android/provider/cts/contacts/hostside/ |
| D | ShadowCallLogTest.java | 106 ITestDevice device = getDevice(); in setupDevicePassword() local 113 ITestDevice device = getDevice(); in removeDevicePassword() local 118 public static void waitForBootCompleted(ITestDevice device) throws Exception { in waitForBootCompleted() 133 private static boolean isBootCompleted(ITestDevice device) throws Exception { in isBootCompleted()
|
| /cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/ |
| D | ReportProcessor.java | 57 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()
|
| /cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/ |
| D | HdmiCecTvPowerToggleTest.java | 66 ITestDevice device = getDevice(); in cectTvPowerToggleTest_awake_noActiveSource_tvOn() local 101 ITestDevice device = getDevice(); in cectTvPowerToggleTest_awake_activeSource_tvOn() local 132 ITestDevice device = getDevice(); in cectTvPowerToggleTest_asleep_tvOn() local 162 ITestDevice device = getDevice(); in cectTvPowerToggleTest_asleep_tvOff() local
|
| D | HdmiCecRoutingControlTest.java | 65 ITestDevice device = getDevice(); in cect_11_1_2_2_RequestActiveSource() local 122 ITestDevice device = getDevice(); in cect_11_2_2_2_RequestActiveSource() local 166 ITestDevice device = getDevice(); in testPowerStateChangeOnActiveSourceLost_standby() local 191 ITestDevice device = getDevice(); in testPowerStateChangeOnActiveSourceLost_none() local
|
| D | HdmiCecSystemAudioControlTest.java | 63 ITestDevice device = getDevice(); in cect_hf4_10_5_RemoteControlCommandsWithSystemAudioControlProperty() local 111 private boolean isSystemAudioActivated(ITestDevice device) throws Exception { in isSystemAudioActivated() 117 private boolean isHdmiCecVolumeControlEnabled(ITestDevice device) throws Exception { in isHdmiCecVolumeControlEnabled()
|
| D | HdmiCecDeviceOsdNameTest.java | 56 ITestDevice device = getDevice(); in getDeviceName() local 84 ITestDevice device = getDevice(); in cectGiveOsdNameTestInStandby() local 111 ITestDevice device = getDevice(); in cect_11_2_11_1b_UpdateAndGiveOsdNameTest() local
|
| /cts/tests/tests/provider/preconditions/src/android/provider/cts/preconditions/ |
| D | ExternalStoragePreparer.java | 34 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/ |
| D | JvmtiAttachingHostTest.java | 71 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/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
| D | KeyboardLayoutChangeTest.java | 89 final InputDevice device = getInputDevice( in testKeyboardLayoutChanges() local 159 final InputDevice device = getInputDevice( in testGetKeyCodeForKeyLocationWithInvalidKeyCode() local 173 private void removeKeyboardLayout(InputDevice device, String layoutDescriptor) { in removeKeyboardLayout() 188 private String getKeyboardLayoutId(InputDevice device, String language) { in getKeyboardLayoutId()
|
| /cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/ |
| D | BaseHostTestCase.java | 48 protected static boolean isHeadlessSystemUserMode(ITestDevice device) in isHeadlessSystemUserMode() 53 protected static boolean isAtLeastS(ITestDevice device) throws DeviceNotAvailableException { in isAtLeastS() 96 protected static boolean supportsMultipleUsers(ITestDevice device) in supportsMultipleUsers() 101 protected static boolean usesSdcardFs(ITestDevice device) throws Exception { in usesSdcardFs()
|
| /cts/apps/CameraITS/utils/ |
| D | lighting_control_utils.py | 32 def _toggle_screen_state(device, desired_state): argument 43 def turn_off_device(device): argument 48 def turn_on_device(device): argument
|