/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/ |
D | DeviceUtils.java | 85 public static @Nonnull TestRunResult runDeviceTests(ITestDevice device, String pkgName, in runDeviceTests() 103 public static @Nonnull TestRunResult runDeviceTests(ITestDevice device, String pkgName, in runDeviceTests() 110 private static @Nonnull TestRunResult internalRunDeviceTests(ITestDevice device, String pkgName, in internalRunDeviceTests() 162 public static @Nonnull TestRunResult runDeviceTestsOnStatsdApp(ITestDevice device, in runDeviceTestsOnStatsdApp() 171 public static void installStatsdTestApp(ITestDevice device, IBuildInfo ctsBuildInfo) in installStatsdTestApp() 179 public static void installTestApp(ITestDevice device, String apkName, String pkgName, in installTestApp() 192 private static void allowBackgroundServices(ITestDevice device, String pkgName) in allowBackgroundServices() 201 public static void uninstallStatsdTestApp(ITestDevice device) throws Exception { in uninstallStatsdTestApp() 208 public static void uninstallTestApp(ITestDevice device, String pkgName) throws Exception { in uninstallTestApp() 225 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() 75 public static List<EventMetricData> getEventMetricDataList(ITestDevice device, in getEventMetricDataList() 130 public static List<Atom> getGaugeMetricAtoms(ITestDevice device) throws Exception { in getGaugeMetricAtoms() 142 public static List<Atom> getGaugeMetricAtoms(ITestDevice device, in getGaugeMetricAtoms() 170 ITestDevice device, boolean checkTimestampTruncated) throws Exception { in getGaugeMetricAtoms() 191 public static void clearReports(ITestDevice device) throws Exception { in clearReports() 195 public static StatsLogReport getStatsLogReport(ITestDevice device, in getStatsLogReport() 203 private static ConfigMetricsReport getConfigMetricsReport(ITestDevice device, in getConfigMetricsReport() 215 ITestDevice device, ExtensionRegistry extensionRegistry) throws Exception { in getReportList()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/common/ |
D | HdmiCecPowerStatusTest.java | 68 ITestDevice device = getDevice(); in cect_hf4_6_20_broadcastsWhenTurningOn() local 98 ITestDevice device = getDevice(); in cect_hf4_6_21_broadcastsWhenGoingToStandby() local 134 ITestDevice device = getDevice(); in cect_hf4_6_22_interruptedPowerOn() local 189 ITestDevice device = getDevice(); in cect_hf4_6_23_interruptedStandby() local 245 ITestDevice device = getDevice(); in cect_PowerStatusWhenOn() local 265 ITestDevice device = getDevice(); in cect_PowerStatusWhenOff() local 299 ITestDevice device = getDevice(); in cect_hf4_6_8_userControlPressed_powerOn() local 328 ITestDevice device = getDevice(); in cect_hf4_6_10_userControlPressed_powerOff() local 358 ITestDevice device = getDevice(); in cect_hf4_6_26_standby_noBroadcast_20() local 380 ITestDevice device = getDevice(); in cect_hf4_6_27_standby_action_20() local [all …]
|
/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 | BaseHdmiCecCtsTest.java | 171 public static int getDumpsysPhysicalAddress(ITestDevice device) throws DumpsysParseException { in getDumpsysPhysicalAddress() 181 public static List<LogicalAddress> getDumpsysLogicalAddresses(ITestDevice device) in getDumpsysLogicalAddresses() 219 public boolean isSystemAudioModeOn(ITestDevice device) throws DumpsysParseException { in isSystemAudioModeOn() 251 public static LogicalAddress getTargetLogicalAddress(ITestDevice device) in getTargetLogicalAddress() 263 public static LogicalAddress getTargetLogicalAddress(ITestDevice device, int testDeviceType) in getTargetLogicalAddress() 279 ITestDevice device = getDevice(); in getDumpsysActiveSourceLogicalAddress() local 285 private static int parseRequiredAddressFromDumpsys(ITestDevice device, AddressType addressType) in parseRequiredAddressFromDumpsys() 351 private static void setCecVersion(ITestDevice device, int cecVersion) throws Exception { in setCecVersion() 384 ITestDevice device = getDevice(); in setSystemCecVersion() local 401 ITestDevice device = getDevice(); in getSystemCecVersion() local [all …]
|
D | LogHelper.java | 46 private static String getLog(ITestDevice device, String tag) throws Exception { in getLog() 64 ITestDevice device, String tag, int waitSeconds, String expectedOutput) in waitForLog() 81 public static void assertLog(ITestDevice device, String tag, String ...expectedOutput) in assertLog() 89 public static void assumeLog(ITestDevice device, String tag, String expectedOutput) in assumeLog() 100 public static int parseDutVolume(ITestDevice device, String tag) throws Exception { in parseDutVolume() 114 public static void assertLogDoesNotContain(ITestDevice device, String tag, in assertLogDoesNotContain() 120 public static List<Integer> getSupportedAudioFormats(ITestDevice device) throws Exception { in getSupportedAudioFormats()
|
D | RemoteControlPassthrough.java | 48 ITestDevice device, in checkUserControlPressAndRelease() 85 ITestDevice device, in checkUserControlPressAndHold() 122 ITestDevice device, in checkUserControlPressAndHoldWithNoRelease() 159 ITestDevice device, in checkUserControlInterruptedPressAndHoldWithNoRelease() 219 ITestDevice device, in checkUserControlPressAndReleaseWithAdditionalParams() 244 ITestDevice device, in checkUserControlPressAndRelease_20() 360 ITestDevice device, in checkUserControlPressAndRelease()
|
/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 …]
|
D | CVE_2024_43081.java | 44 final ITestDevice device = getDevice(); in testPocCVE_2024_43081() local 51 try (AutoCloseable removeDeviceOwner = asDeviceOwnerAndInstantApp(testPkg, device)) { in testPocCVE_2024_43081() argument 78 private AutoCloseable asDeviceOwnerAndInstantApp(String testPackage, ITestDevice device) in asDeviceOwnerAndInstantApp()
|
D | Bug_352542820.java | 44 final ITestDevice device = getDevice(); in testPocBug_352542820() local 78 helperPkg, device, managedUserId)) { in testPocBug_352542820() argument 99 String pkgName, ITestDevice device, int userId) throws Exception { in withPocDeviceAdminReceiverAsProfileOwner()
|
/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/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | Utils.java | 73 public static void runDeviceTestsAsCurrentUser(ITestDevice device, String packageName, in runDeviceTestsAsCurrentUser() 79 public static void runDeviceTestsAsCurrentUser(ITestDevice device, String packageName, in runDeviceTestsAsCurrentUser() 86 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() 91 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() 97 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() 102 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() 110 public static void runDeviceTests(ITestDevice device, String packageName, String testClassName, in runDeviceTests() 167 public static int[] prepareSingleUser(ITestDevice device) in prepareSingleUser() 175 public static int[] prepareMultipleUsers(ITestDevice device) in prepareMultipleUsers() 183 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/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/angle/src/android/angle/cts/ |
D | CtsAngleCommon.java | 106 static String getGlobalSetting(ITestDevice device, String globalSetting) throws Exception { in getGlobalSetting() 111 static void setGlobalSetting(ITestDevice device, String globalSetting, String value) in setGlobalSetting() 118 static void clearSettings(ITestDevice device) throws Exception { in clearSettings() 127 static boolean isAngleApkInstalled(ITestDevice device) throws Exception { in isAngleApkInstalled() 133 static boolean isAnglePresentAsNonDefault(ITestDevice device) throws Exception { in isAnglePresentAsNonDefault() 137 static boolean isAngleDefaultDriver(ITestDevice device) throws Exception { in isAngleDefaultDriver() 143 static boolean isAnglePresent(ITestDevice device) throws Exception { in isAnglePresent() 153 static boolean isVulkan11Supported(ITestDevice device) throws Exception { in isVulkan11Supported() 212 static String getTestMethod(ITestDevice device) throws Exception { in getTestMethod() 224 static void startActivity(ITestDevice device, String pkgName, String className) in startActivity() [all …]
|
/cts/hostsidetests/calllog/src/android/provider/cts/contacts/hostside/ |
D | ShadowCallLogTest.java | 107 ITestDevice device = getDevice(); in setupDevicePassword() local 114 ITestDevice device = getDevice(); in removeDevicePassword() local 119 public static void waitForBootCompleted(ITestDevice device) throws Exception { in waitForBootCompleted() 134 private static boolean isBootCompleted(ITestDevice device) throws Exception { in isBootCompleted()
|
/cts/hostsidetests/security/src/android/security/cts/ |
D | SELinuxNeverallowRule.java | 66 private boolean isFullTrebleDevice(ITestDevice device) throws Exception { in SELinuxNeverallowRule() 70 private boolean isDeviceLaunchingWithR(ITestDevice device) throws Exception { in SELinuxNeverallowRule() 74 private boolean isDeviceLaunchingWithS(ITestDevice device) throws Exception { in SELinuxNeverallowRule() 78 private boolean isCompatiblePropertyEnforcedDevice(ITestDevice device) throws Exception { in SELinuxNeverallowRule() 82 private boolean isVirtualDevice(ITestDevice device) throws DeviceNotAvailableException { in SELinuxNeverallowRule() 86 private boolean isDebuggableBuild(ITestDevice device) throws DeviceNotAvailableException { in SELinuxNeverallowRule() 90 public boolean isCompatible(ITestDevice device) throws Exception { in SELinuxNeverallowRule()
|
/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 | 67 ITestDevice device = getDevice(); in cectTvPowerToggleTest_awake_noActiveSource_tvOn() local 102 ITestDevice device = getDevice(); in cectTvPowerToggleTest_awake_activeSource_tvOn() local 133 ITestDevice device = getDevice(); in cectTvPowerToggleTest_asleep_tvOn() local 163 ITestDevice device = getDevice(); in cectTvPowerToggleTest_asleep_tvOff() local
|
D | HdmiCecSystemAudioControlTest.java | 69 ITestDevice device = getDevice(); in cect_hf4_10_5_RemoteControlCommandsWithSystemAudioControlProperty() local 117 private boolean isSystemAudioActivated(ITestDevice device) throws Exception { in isSystemAudioActivated() 123 private boolean isHdmiCecVolumeControlEnabled(ITestDevice device) throws Exception { in isHdmiCecVolumeControlEnabled()
|
/cts/tests/mediaprovider/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/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | PerformanceHintManagerTests.java | 70 UiDevice device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in testAdpfTidCleanup() local 123 UiDevice device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in testCreateHintSession() local 137 UiDevice device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in testAdpfSessionSnapshotTwoAppsOn() local 160 UiDevice device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in testAdpfSessionSnapshotTwoAppsOnKillOne() local 174 private void launchApp(UiDevice device, String pkgName, String intentActionValue) { in launchApp()
|
/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/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() 57 protected static boolean isAtLeastU(ITestDevice device) throws DeviceNotAvailableException { in isAtLeastU() 100 protected static boolean supportsMultipleUsers(ITestDevice device) in supportsMultipleUsers() 105 protected static boolean usesSdcardFs(ITestDevice device) throws Exception { in usesSdcardFs()
|
/cts/hostsidetests/edi/src/android/edi/cts/ |
D | NativeDeviceInfo.java | 32 private void collectMemCG(ITestDevice device, HostInfoStore store) throws Exception { in collectMemCG() 51 private void collectMGLRU(ITestDevice device, HostInfoStore store) throws Exception { in collectMGLRU() 66 ITestDevice device = getDevice(); in collectDeviceInfo() local 118 private void collectSuspendMechanism(ITestDevice device, HostInfoStore store) throws Exception { in collectSuspendMechanism()
|