/cts/tests/app/src/android/app/cts/ |
D | Instrumentation_ActivityResultTest.java | 19 import android.app.Activity; 29 ActivityResult result = new ActivityResult(Activity.RESULT_OK, intent); in testActivityResultOp() 30 assertEquals(Activity.RESULT_OK, result.getResultCode()); in testActivityResultOp() 33 result = new ActivityResult(Activity.RESULT_CANCELED, intent); in testActivityResultOp() 34 assertEquals(Activity.RESULT_CANCELED, result.getResultCode()); in testActivityResultOp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResult.java | 21 import android.app.Activity; 48 public static void setPassedResult(Activity activity, String testId, String testDetails) { in setPassedResult() 53 public static void setPassedResult(Activity activity, String testId, String testDetails, in setPassedResult() 55 activity.setResult(Activity.RESULT_OK, createResult(activity, TEST_RESULT_PASSED, testId, in setPassedResult() 60 public static void setFailedResult(Activity activity, String testId, String testDetails) { in setFailedResult() 65 public static void setFailedResult(Activity activity, String testId, String testDetails, in setFailedResult() 67 activity.setResult(Activity.RESULT_OK, createResult(activity, TEST_RESULT_FAILED, testId, in setFailedResult() 71 private static Intent createResult(Activity activity, int testResult, String testName, in createResult()
|
D | PassFailButtons.java | 104 public static class Activity extends android.app.Activity implements PassFailActivity { class in PassFailButtons 108 public Activity() { in Activity() method in PassFailButtons.Activity 271 protected static <T extends android.app.Activity & PassFailActivity> 302 protected static void setInfo(final android.app.Activity activity, final int titleId, in setInfo() 327 protected static boolean hasSeenInfoDialog(android.app.Activity activity) { in hasSeenInfoDialog() 341 protected static void showInfoDialog(final android.app.Activity activity, int titleId, in showInfoDialog() 350 protected static Dialog createDialog(final android.app.Activity activity, int id, Bundle args) { in createDialog() 359 protected static Dialog createInfoDialog(final android.app.Activity activity, int id, in createInfoDialog() 388 protected static void markSeenInfoDialog(android.app.Activity activity) { in markSeenInfoDialog() 401 protected static void setTestResultAndFinish(android.app.Activity activity, String testId, in setTestResultAndFinish() [all …]
|
/cts/tests/app/app/src/android/app/stubs/ |
D | OrientationTestUtils.java | 19 import android.app.Activity; 31 public static void toggleOrientation(Activity activity) { in toggleOrientation() 42 public static void toggleOrientationSync(final Activity activity, in toggleOrientationSync() 52 private static void changeOrientation(final Activity activity, in changeOrientation()
|
D | ActivityTestsBase.java | 19 import android.app.Activity; 106 finishWithResult(Activity.RESULT_OK, null); in finishGood() 110 finishWithResult(Activity.RESULT_CANCELED, new Intent().setAction(error)); in finishBad() 152 if (res == Activity.RESULT_CANCELED) { in waitForResultOrThrow() 188 mResultCode = Activity.RESULT_CANCELED; in waitForResult() 209 finishWithResult(Activity.RESULT_CANCELED, new Intent().setAction(msg)); in onTimeout()
|
D | MockActivity.java | 19 import android.app.Activity; 21 public class MockActivity extends Activity {
|
D | PipActivity.java | 19 import android.app.Activity; 21 public class PipActivity extends Activity {
|
D | PipNotResizeableActivity.java | 19 import android.app.Activity; 21 public class PipNotResizeableActivity extends Activity {
|
D | PipNotSupportedActivity.java | 19 import android.app.Activity; 21 public class PipNotSupportedActivity extends Activity {
|
D | ChildTabActivity.java | 19 import android.app.Activity; 24 public class ChildTabActivity extends Activity {
|
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/ |
D | GetContentActivity.java | 19 import android.app.Activity; 23 public class GetContentActivity extends Activity { 28 setResult(Activity.RESULT_OK, new Intent("ReSuLt")); in onCreate()
|
/cts/tests/admin/src/android/admin/cts/ |
D | DeviceAdminActivationTest.java | 19 import android.app.Activity; 100 assertWithTimeoutOnActivityResultInvokedWithResultCode(Activity.RESULT_CANCELED); in testActivateGoodReceiverDisplaysActivationUi() 111 assertWithTimeoutOnActivityResultInvokedWithResultCode(Activity.RESULT_CANCELED); in testActivateBrokenReceiverFails() 122 assertWithTimeoutOnActivityResultInvokedWithResultCode(Activity.RESULT_CANCELED); in testActivateBrokenReceiver2Fails() 133 assertWithTimeoutOnActivityResultInvokedWithResultCode(Activity.RESULT_CANCELED); in testActivateBrokenReceiver3Fails() 144 assertWithTimeoutOnActivityResultInvokedWithResultCode(Activity.RESULT_CANCELED); in testActivateBrokenReceiver4Fails() 155 assertWithTimeoutOnActivityResultInvokedWithResultCode(Activity.RESULT_CANCELED); in testActivateBrokenReceiver5Fails()
|
/cts/hostsidetests/services/activitymanager/app/src/android/server/app/ |
D | AlwaysFocusablePipActivity.java | 22 import android.app.Activity; 27 public class AlwaysFocusablePipActivity extends Activity { 29 static void launchAlwaysFocusablePipActivity(Activity caller) { in launchAlwaysFocusablePipActivity()
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
D | IntentReceiverActivity.java | 18 import android.app.Activity; 36 public class IntentReceiverActivity extends Activity { 73 setResult(Activity.RESULT_OK); in onCreate() 87 setResult(Activity.RESULT_OK, result); in onCreate() 92 setResult(Activity.RESULT_OK); in onCreate() 105 setResult(Activity.RESULT_OK, result); in onCreate()
|
D | SimpleIntentReceiverActivity.java | 20 import android.app.Activity; 31 public class SimpleIntentReceiverActivity extends Activity { 49 setResult(Activity.RESULT_OK, result); in onCreate()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ActivityTestsBase.java | 19 import android.app.Activity; 106 finishWithResult(Activity.RESULT_OK, null); in finishGood() 110 finishWithResult(Activity.RESULT_CANCELED, new Intent().setAction(error)); in finishBad() 152 if (res == Activity.RESULT_CANCELED) { in waitForResultOrThrow() 188 mResultCode = Activity.RESULT_CANCELED; in waitForResult() 209 finishWithResult(Activity.RESULT_CANCELED, new Intent().setAction(msg)); in onTimeout()
|
/cts/tools/cts-reference-app-lib/src/android/cts/refapp/ |
D | ReferenceAppTestCase.java | 19 import android.app.Activity; 29 public class ReferenceAppTestCase<T extends Activity> extends ActivityInstrumentationTestCase2<T> { 63 Activity activity = getActivity(); in testActivityStartupTime()
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
D | ComposeSmsActivity.java | 19 import android.app.Activity; 27 public class ComposeSmsActivity extends Activity {
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
D | AccountDummyActivity.java | 19 import android.app.Activity; 24 public class AccountDummyActivity extends Activity {
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | DummyActivity.java | 20 import android.app.Activity; 22 public class DummyActivity extends Activity {
|
/cts/tests/tests/media/src/android/media/cts/ |
D | RingtonePickerActivity.java | 18 import android.app.Activity; 23 public class RingtonePickerActivity extends Activity {
|
/cts/tests/tests/content/src/android/content/cts/ |
D | MockActivity.java | 19 import android.app.Activity; 21 public class MockActivity extends Activity {
|
/cts/tests/vr/src/android/vr/cts/ |
D | CtsActivity.java | 18 import android.app.Activity; 20 public class CtsActivity extends Activity {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | CtsActivity.java | 19 import android.app.Activity; 24 public class CtsActivity extends Activity {
|
/cts/tests/tests/view/src/android/view/cts/ |
D | CtsActivity.java | 19 import android.app.Activity; 24 public class CtsActivity extends Activity {
|