@@ -63,6 +63,18 @@ public class AndroidMobileCommandHelper extends MobileCommand {
63
63
END_TEST_COVERAGE , prepareArguments (parameters , values ));
64
64
}
65
65
66
+ /**
67
+ * This method forms a {@link java.util.Map} of parameters to
68
+ * Retrieve the display density of the Android device.
69
+ *
70
+ * @return a key-value pair. The key is the command name. The value is a
71
+ * {@link java.util.Map} command arguments.
72
+ */
73
+ public static Map .Entry <String , Map <String , ?>> getDisplayDensityCommand () {
74
+ return new AbstractMap .SimpleEntry <>(
75
+ GET_DISPLAY_DENSITY , ImmutableMap .<String , Object >of ());
76
+ }
77
+
66
78
/**
67
79
* This method forms a {@link java.util.Map} of parameters for the
68
80
* getting of a network connection value.
@@ -75,6 +87,30 @@ public class AndroidMobileCommandHelper extends MobileCommand {
75
87
GET_NETWORK_CONNECTION , ImmutableMap .<String , Object >of ());
76
88
}
77
89
90
+ /**
91
+ * This method forms a {@link java.util.Map} of parameters to
92
+ * Retrieve visibility and bounds information of the status and navigation bars.
93
+ *
94
+ * @return a key-value pair. The key is the command name. The value is a
95
+ * {@link java.util.Map} command arguments.
96
+ */
97
+ public static Map .Entry <String , Map <String , ?>> getSystemBarsCommand () {
98
+ return new AbstractMap .SimpleEntry <>(
99
+ GET_SYSTEM_BARS , ImmutableMap .<String , Object >of ());
100
+ }
101
+
102
+ /**
103
+ * This method forms a {@link java.util.Map} of parameters for the
104
+ * checking of the keyboard state (is it shown or not).
105
+ *
106
+ * @return a key-value pair. The key is the command name. The value is a
107
+ * {@link java.util.Map} command arguments.
108
+ */
109
+ public static Map .Entry <String , Map <String , ?>> isKeyboardShownCommand () {
110
+ return new AbstractMap .SimpleEntry <>(
111
+ IS_KEYBOARD_SHOWN , ImmutableMap .<String , Object >of ());
112
+ }
113
+
78
114
/**
79
115
* This method forms a {@link java.util.Map} of parameters for the
80
116
* checking of the device state (is it locked or not).
0 commit comments