Home
last modified time | relevance | path

Searched refs:ButtonInfo (Results 1 – 11 of 11) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DEnterprisePrivacyTestListActivity.java29 import com.android.cts.verifier.IntentDrivenTestActivity.ButtonInfo;
108 new ButtonInfo[] { in buildCommandTest()
109 new ButtonInfo(commandButtonRes, buildCommandIntent(command)), in buildCommandTest()
110 new ButtonInfo(R.string.enterprise_privacy_open_settings, in buildCommandTest()
117 new ButtonInfo[] { in buildAdminGrantedPermissionTest()
118 new ButtonInfo(R.string.enterprise_privacy_reset, buildCommandIntent( in buildAdminGrantedPermissionTest()
123 new ButtonInfo(R.string.enterprise_privacy_grant, buildCommandIntent( in buildAdminGrantedPermissionTest()
128 new ButtonInfo(R.string.enterprise_privacy_open_settings, in buildAdminGrantedPermissionTest()
136 new ButtonInfo(R.string.go_button_text, new Intent(Settings.ACTION_SETTINGS)))); in addTestsToAdapter()
155 new ButtonInfo[] { in addTestsToAdapter()
[all …]
DDeviceOwnerPositiveTestActivity.java35 import com.android.cts.verifier.IntentDrivenTestActivity.ButtonInfo;
163 new ButtonInfo( in addTestsToAdapter()
178 new ButtonInfo[] { in addTestsToAdapter()
179 new ButtonInfo( in addTestsToAdapter()
183 new ButtonInfo( in addTestsToAdapter()
208 new ButtonInfo[] { in addTestsToAdapter()
209 new ButtonInfo( in addTestsToAdapter()
213 new ButtonInfo( in addTestsToAdapter()
216 new ButtonInfo( in addTestsToAdapter()
225 new ButtonInfo[] { in addTestsToAdapter()
[all …]
DManagedUserPositiveTestActivity.java31 import com.android.cts.verifier.IntentDrivenTestActivity.ButtonInfo;
115 new ButtonInfo( in addTestsToAdapter()
124 new ButtonInfo[]{ in addTestsToAdapter()
125 new ButtonInfo( in addTestsToAdapter()
130 new ButtonInfo( in addTestsToAdapter()
141 new ButtonInfo[]{ in addTestsToAdapter()
142 new ButtonInfo( in addTestsToAdapter()
147 new ButtonInfo( in addTestsToAdapter()
157 new ButtonInfo[]{ in addTestsToAdapter()
158 new ButtonInfo( in addTestsToAdapter()
[all …]
DWifiLockdownTestActivity.java32 import com.android.cts.verifier.IntentDrivenTestActivity.ButtonInfo;
56 private ButtonInfo[] mSwitchLockdownOffButtonInfos;
57 private ButtonInfo[] mSwitchLockdownOnButtonInfos;
70 final ButtonInfo goToWifiSettings = new ButtonInfo( in onCreate()
73 mSwitchLockdownOffButtonInfos = new ButtonInfo[] { new ButtonInfo( in onCreate()
82 mSwitchLockdownOnButtonInfos = new ButtonInfo[] { new ButtonInfo( in onCreate()
DDeviceOwnerRequestingBugreportTestActivity.java33 import com.android.cts.verifier.IntentDrivenTestActivity.ButtonInfo;
143 new ButtonInfo( in addTestsToAdapter()
151 new ButtonInfo( in addTestsToAdapter()
160 new ButtonInfo( in addTestsToAdapter()
169 new ButtonInfo( in addTestsToAdapter()
177 new ButtonInfo( in addTestsToAdapter()
DByodProvisioningTestActivity.java29 import com.android.cts.verifier.IntentDrivenTestActivity.ButtonInfo;
47 new ButtonInfo(R.string.go_button_text, colorIntent))); in onCreate()
51 new ButtonInfo(R.string.go_button_text, getTestLogoIntent()))); in onCreate()
55 new ButtonInfo(R.string.go_button_text, getTestTermsIntent()))); in onCreate()
DDeviceOwnerNegativeTestActivity.java30 import com.android.cts.verifier.IntentDrivenTestActivity.ButtonInfo;
78 new ButtonInfo( in addTestsToAdapter()
106 new ButtonInfo(R.string.go_button_text, new Intent(Settings.ACTION_SETTINGS)))); in addTestsToAdapter()
111 new ButtonInfo(R.string.go_button_text, new Intent(Settings.ACTION_ADD_ACCOUNT)))); in addTestsToAdapter()
DUtils.java33 import com.android.cts.verifier.IntentDrivenTestActivity.ButtonInfo;
46 int infoRes, ButtonInfo[] buttonInfos) { in createInteractiveTestItem()
57 int infoRes, ButtonInfo buttonInfo) { in createInteractiveTestItem()
59 new ButtonInfo[] { buttonInfo }); in createInteractiveTestItem()
DLockTaskUiTestActivity.java49 import com.android.cts.verifier.IntentDrivenTestActivity.ButtonInfo;
187 new ButtonInfo( in addTestsToAdapter()
358 new ButtonInfo(titleResId, commandIntent)); in createSetLockTaskFeaturesTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DIntentDrivenTestActivity.java40 private ButtonInfo[] mButtonInfos;
66 mButtonInfos = new ButtonInfo[parcelables.length]; in onCreate()
68 final ButtonInfo buttonInfo = (ButtonInfo) parcelables[i]; in onCreate()
86 final ButtonInfo buttonInfo = mButtonInfos[(Integer) v.getTag()]; in onClick()
137 private final ButtonInfo[] mButtons;
139 public TestInfo(String testId, int title, int infoText, ButtonInfo... buttons) { in TestInfo()
166 public ButtonInfo[] getButtons() { in getButtons()
171 public static class ButtonInfo implements Parcelable { class in IntentDrivenTestActivity
176 public ButtonInfo(int buttonText, Intent... intents) { in ButtonInfo() method in IntentDrivenTestActivity.ButtonInfo
182 public ButtonInfo(int buttonText, String intentFactoryClassName) { in ButtonInfo() method in IntentDrivenTestActivity.ButtonInfo
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/deskclock/
DDeskClockTestsActivity.java15 import com.android.cts.verifier.IntentDrivenTestActivity.ButtonInfo;
74 new ButtonInfo(
81 new ButtonInfo(
88 new ButtonInfo(
91 new ButtonInfo(
98 new ButtonInfo(
108 new ButtonInfo(
115 new ButtonInfo(
122 new ButtonInfo(