/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | UiWatchers.java | 43 final UiDevice device = UiDevice.getInstance(instr); in registerAnrAndCrashWatchers() local 46 device.registerWatcher("AnrWatcher", new UiWatcher() { in registerAnrAndCrashWatchers() 49 UiObject2 window = device.findObject( in registerAnrAndCrashWatchers() 54 postHandler(device); in registerAnrAndCrashWatchers() 61 device.registerWatcher("CrashWatcher", new UiWatcher() { in registerAnrAndCrashWatchers() 64 UiObject2 window = device.findObject( in registerAnrAndCrashWatchers() 69 postHandler(device); in registerAnrAndCrashWatchers() 80 final UiDevice device = UiDevice.getInstance(instr); in removeAnrAndCrashWatchers() local 81 device.removeWatcher("AnrWatcher"); in removeAnrAndCrashWatchers() 82 device.removeWatcher("CrashWatcher"); in removeAnrAndCrashWatchers() [all …]
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/loggers/ |
D | LogFileLogger.java | 16 package android.device.loggers; 18 import android.device.collectors.BaseMetricListener; 19 import android.device.collectors.DataRecord; 20 import android.device.collectors.util.SendToInstrumentation;
|
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | TotalPssMetricListenerTest.java | 17 package android.device.collectors; 19 import static android.device.collectors.TotalPssMetricListener.PROCESS_NAMES_KEY; 20 import static android.device.collectors.TotalPssMetricListener.PROCESS_SEPARATOR; 21 import static android.device.collectors.TotalPssMetricListener.MIN_ITERATIONS_KEY; 22 import static android.device.collectors.TotalPssMetricListener.MAX_ITERATIONS_KEY; 23 import static android.device.collectors.TotalPssMetricListener.SLEEP_TIME_KEY; 24 import static android.device.collectors.TotalPssMetricListener.THRESHOLD_KEY;
|
D | ShowmapSnapshotListenerTest.java | 17 package android.device.collectors; 19 import static android.device.collectors.ShowmapSnapshotListener.DROP_CACHE_KEY; 20 import static android.device.collectors.ShowmapSnapshotListener.METRIC_NAME_INDEX; 21 import static android.device.collectors.ShowmapSnapshotListener.OUTPUT_DIR_KEY; 22 import static android.device.collectors.ShowmapSnapshotListener.PROCESS_NAMES_KEY; 23 import static android.device.collectors.ShowmapSnapshotListener.PROCESS_SEPARATOR;
|
/platform_testing/libraries/audio-test-harness/proto/ |
D | audio_device.proto | 23 // Models an audio device within the Audio Test Harness service. 25 // Capabilities that an audio device can have. 29 // Indicates that a given device can capture audio. 33 // The name of the device. 36 // The serial number of the device, if available. 39 // The capabilities of the device.
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/preparers/ |
D | MemhogPreparer.java | 16 package android.device.preparers; 18 import android.device.collectors.BaseMetricListener; 19 import android.device.collectors.DataRecord; 20 import android.device.collectors.annotations.OptionClass;
|
D | GarbageCollectionPreparer.java | 17 package android.device.preparers; 19 import android.device.collectors.BaseMetricListener; 20 import android.device.collectors.DataRecord; 21 import android.device.collectors.ProcessShowmapListener; 22 import android.device.collectors.annotations.OptionClass;
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/rules/ |
D | ChangeDisplayOrientationRule.kt | 53 val device: UiDevice = UiDevice.getInstance(instrumentation) in setRotation() constant 57 Surface.ROTATION_270 -> device.setOrientationRight() in setRotation() 58 Surface.ROTATION_90 -> device.setOrientationLeft() in setRotation() 59 Surface.ROTATION_0 -> device.setOrientationNatural() in setRotation() 60 else -> device.setOrientationNatural() in setRotation()
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/ |
D | ThermalListener.java | 16 package android.device.collectors; 18 import android.device.collectors.annotations.OptionClass;
|
D | StatsdMetadataListener.java | 16 package android.device.collectors; 18 import android.device.collectors.annotations.OptionClass;
|
D | CrashListener.java | 16 package android.device.collectors; 18 import android.device.collectors.annotations.OptionClass;
|
D | AppStartupListener.java | 16 package android.device.collectors; 18 import android.device.collectors.annotations.OptionClass;
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | LyricCpuUtilizationCollector.java | 17 package android.device.collectors; 19 import android.device.collectors.annotations.OptionClass;
|
D | PwrStatsUtilListener.java | 16 package android.device.collectors; 18 import android.device.collectors.annotations.OptionClass;
|
D | SfStatsListener.java | 17 package android.device.collectors; 19 import android.device.collectors.annotations.OptionClass;
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/service/ |
D | RotationMockTest.kt | 46 val device = UiDevice.getInstance(instrumentation) in startRotationServiceTest() constant 49 device.wakeUpAndGoToHomeScreen() in startRotationServiceTest() 52 device.setOrientationLeft() in startRotationServiceTest() 54 device.setOrientationNatural() in startRotationServiceTest()
|
D | FassMockTest.kt | 45 val device = UiDevice.getInstance(instrumentation) in startServiceTest() constant 47 device.wakeUp() in startServiceTest() 48 device.pressHome() in startServiceTest()
|
/platform_testing/tests/microbenchmarks/uibench/ |
D | Android.bp | 24 "collector-device-lib", 27 "microbenchmark-device-lib", 45 test_suites: ["device-tests"], 53 "collector-device-lib", 56 "microbenchmark-device-lib",
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | ScreenRecordRule.java | 57 UiDevice device = UiDevice.getInstance(inst); in apply() local 60 device.executeShellCommand("killall screenrecord"); in apply() 63 String screenRecordPid = device.executeShellCommand("pidof screenrecord"); in apply() 67 device.executeShellCommand("kill -INT " + screenRecordPid); in apply()
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/monitor/ |
D | TraceMonitorTest.kt | 39 protected val device = UiDevice.getInstance(instrumentation) in getMonitor() constant in com.android.server.wm.flicker.monitor.TraceMonitorTest 47 device.pressHome() in teardown() 104 device.pressHome() in withTracing() 105 device.pressRecentApps() in withTracing() 114 device.pressHome() in recordTraces() 115 device.pressRecentApps() in recordTraces()
|
D | LayersTraceMonitorTest.kt | 51 val device = UiDevice.getInstance(instrumentation) in withSFTracing() constant 52 device.pressHome() in withSFTracing() 53 device.pressRecentApps() in withSFTracing()
|
/platform_testing/libraries/device-collectors/src/test/java/android/device/loggers/test/ |
D | StubInstrumentationAnnotatedTest.java | 16 package android.device.loggers.test; 18 import android.device.loggers.TestLogData;
|
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/javasound/ |
D | JavaAudioSystemService.java | 85 public AudioCapturer createCapturerFor(AudioDevice device, AudioFormat audioFormat) in createCapturerFor() argument 90 device, audioFormat)); in createCapturerFor() 98 mixerInfo = mDeviceMixerMap.get(device); in createCapturerFor() 104 mixerInfo = findClosestMatchingMixer(device, /* exactName= */ false); in createCapturerFor() 135 return mAudioCapturerFactory.build(device, audioFormat, targetDataLine); in createCapturerFor() 155 AudioDevice device = audioDeviceBuilder.build(); in rebuildMixerCache() local 157 mDeviceMixerMap.put(device, mixerInfo); in rebuildMixerCache()
|
/platform_testing/tests/apphealth/scenarios/tests/ |
D | Android.bp | 24 "collector-device-lib-platform", 30 "longevity-device-lib", 31 "microbenchmark-device-lib", 39 test_suites: ["device-tests"],
|
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/ |
D | DeviceConfigHelper.java | 29 UiDevice device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setConfigValue() local 31 return device.executeShellCommand(command); in setConfigValue()
|