/cts/tests/tests/content/src/android/content/cts/ |
D | IntentTest.java | 50 private Intent mIntent; field in IntentTest 69 mIntent = new Intent(); in setUp() 77 mIntent = new Intent(); in testConstructor() 78 assertNotNull(mIntent); in testConstructor() 83 mIntent = new Intent(intent); in testConstructor() 84 assertNotNull(mIntent); in testConstructor() 85 assertEquals(TEST_ACTION, mIntent.getAction()); in testConstructor() 87 mIntent = new Intent(TEST_ACTION); in testConstructor() 88 assertNotNull(mIntent); in testConstructor() 89 assertEquals(TEST_ACTION, mIntent.getAction()); in testConstructor() [all …]
|
D | Intent_FilterComparisonTest.java | 26 Intent mIntent; field in Intent_FilterComparisonTest 32 mIntent = new Intent(); in setUp() 38 mFilterComparison = new Intent.FilterComparison(mIntent); in testConstructor() 44 mFilterComparison = new Intent.FilterComparison(mIntent); in testHashCode() 46 assertEquals(mIntent.filterHashCode(), mFilterComparison.hashCode()); in testHashCode() 50 mFilterComparison = new Intent.FilterComparison(mIntent); in testEquals() 52 FilterComparison target = new Intent.FilterComparison(mIntent); in testEquals() 60 mFilterComparison = new Intent.FilterComparison(mIntent); in testGetIntent() 62 assertTrue(mFilterComparison.getIntent().equals(mIntent)); in testGetIntent()
|
D | ClipboardManagerTest.java | 133 Intent mIntent; field in ClipboardManagerTest.ExpectedClipItem 138 mIntent = intent; in ExpectedClipItem() 192 if (expectedItem.mIntent != null) { in assertClipItem()
|
/cts/tests/app/src/android/app/cts/ |
D | PendingIntentTest.java | 39 private Intent mIntent; field in PendingIntentTest 136 mIntent = new Intent(); in testGetActivity() 138 mIntent.setClass(mContext, PendingIntentStubActivity.class); in testGetActivity() 139 mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testGetActivity() 140 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, in testGetActivity() 152 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, in testGetActivity() 156 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, in testGetActivity() 177 mIntent = new Intent(MockReceiver.MOCKACTION); in testGetBroadcast() 178 mIntent.setClass(mContext, MockReceiver.class); in testGetBroadcast() 179 mPendingIntent = PendingIntent.getBroadcast(mContext, 1, mIntent, in testGetBroadcast() [all …]
|
D | LifecycleTest.java | 32 mTopIntent = mIntent; in setUp() 38 mIntent = mTabIntent; in testTabDialog() 43 mIntent = mTopIntent; in testDialog() 48 mIntent = mTabIntent; in testTabScreen() 53 mIntent = mTopIntent; in testScreen() 58 mIntent = mTabIntent; in testTabBasic() 63 mIntent = mTopIntent; in testBasic()
|
D | LaunchTest.java | 31 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); in testClearTopWhilResumed() 32 mIntent.putExtra(ClearTop.WAIT_CLEAR_TASK, true); in testClearTopWhilResumed() 37 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); in testClearTopInCreate() 46 mIntent.putExtra("component", new ComponentName(getContext(), LocalScreen.class)); in testLocalScreen() 51 mIntent.putExtra("component", new ComponentName(getContext(), TestedScreen.class)); in testColdScreen() 56 mIntent.putExtra("component", new ComponentName(getContext(), LocalActivity.class)); in testLocalActivity() 61 mIntent.putExtra("component", new ComponentName(getContext(), TestedActivity.class)); in testColdActivity()
|
D | IntentServiceTest.java | 32 private Intent mIntent; field in IntentServiceTest 40 mIntent = new Intent(mContext, IntentServiceStub.class); in setUp() 46 mContext.stopService(mIntent); in tearDown() 87 mContext.startService(mIntent); in testIntentServiceLifeCycle() 98 mContext.bindService(mIntent, conn, Context.BIND_AUTO_CREATE); in testIntentServiceLifeCycle() 109 mContext.stopService(mIntent); in testIntentServiceLifeCycle()
|
D | ActivityGroupTest.java | 36 mIntent = mTabIntent; in testTabBasic() 41 mIntent = mTabIntent; in testTabScreen() 46 mIntent = mTabIntent; in testTabDialog()
|
D | AlarmManagerTest.java | 39 private Intent mIntent; field in AlarmManagerTest 87 mIntent = new Intent(MOCKACTION) in setUp() 89 mSender = PendingIntent.getBroadcast(mContext, 0, mIntent, 0); in setUp() 90 mMockAlarmReceiver = new MockAlarmReceiver(mIntent.getAction()); in setUp() 97 IntentFilter filter = new IntentFilter(mIntent.getAction()); in setUp()
|
D | ActivityManagerTest.java | 73 private Intent mIntent; field in ActivityManagerTest 92 if (mIntent != null) { in tearDown() 93 mInstrumentation.getContext().stopService(mIntent); in tearDown() 337 mIntent = new Intent("android.app.REMOTESERVICE"); in testGetRunningAppProcesses() 338 mIntent.setPackage("android.app.stubs"); in testGetRunningAppProcesses() 339 mInstrumentation.getTargetContext().startService(mIntent); in testGetRunningAppProcesses()
|
D | ExpandableListActivityTest.java | 29 mIntent.putExtra("component", new ComponentName(getContext(), in setUp()
|
D | InstrumentationTest.java | 59 private Intent mIntent; field in InstrumentationTest 69 mIntent = new Intent(mContext, InstrumentationTestActivity.class); in setUp() 70 mIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in setUp() 71 mActivity = (InstrumentationTestActivity) mInstrumentation.startActivitySync(mIntent); in setUp() 76 mIntent = null; in tearDown()
|
/cts/tests/tests/alarmclock/service/src/android/alarmclock/service/ |
D | MainInteractionService.java | 28 private Intent mIntent; field in MainInteractionService 40 mIntent = intent; in onStartCommand() 41 Log.i(TAG, "received_testcasetype = " + mIntent.getStringExtra(Utils.TESTCASE_TYPE)); in onStartCommand() 47 if (mIntent == null || !mReady) { in maybeStart() 49 + "is not called yet. mIntent = " + mIntent + ", mReady = " + mReady); in maybeStart() 55 args.putString(Utils.TESTCASE_TYPE, mIntent.getStringExtra(Utils.TESTCASE_TYPE)); in maybeStart()
|
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/ |
D | MainInteractionService.java | 28 private Intent mIntent; field in MainInteractionService 39 mIntent = intent; in onStartCommand() 41 mIntent.getStringExtra(BroadcastUtils.TESTCASE_TYPE)); in onStartCommand() 47 if (mIntent == null || !mReady) { in maybeStart() 49 + "is not called yet. mIntent = " + mIntent + ", mReady = " + mReady); in maybeStart() 55 mIntent.getStringExtra(BroadcastUtils.TESTCASE_TYPE)); in maybeStart()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ProcessTest.java | 38 private Intent mIntent; field in ProcessTest 69 mIntent = new Intent(REMOTE_SERVICE); in setUp() 70 mIntent.setPackage(getContext().getPackageName()); in setUp() 71 getContext().startService(mIntent); in setUp() 90 if (mIntent != null) { in tearDown() 91 getContext().stopService(mIntent); in tearDown() 164 getContext().stopService(mIntent); in testKillProcess() 165 mIntent = null; in testKillProcess() 195 getContext().stopService(mIntent); in testSendSignal() 196 mIntent = null; in testSendSignal()
|
D | ActivityTestsBase.java | 32 protected Intent mIntent; field in ActivityTestsBase 46 mIntent = new Intent(mContext, LaunchpadActivity.class); in setUp() 92 return mIntent; in editIntent() 138 mIntent.setAction(action); in startLaunchpadActivity() 140 mIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startLaunchpadActivity() 141 mContext.startActivity(mIntent); in startLaunchpadActivity()
|
D | TokenWatcherTest.java | 40 private Intent mIntent; field in TokenWatcherTest 83 mIntent = new Intent(EMPTY_SERVICE); in setUp() 84 mIntent.setPackage(getContext().getPackageName()); in setUp() 85 getContext().startService(mIntent); in setUp() 107 if (mIntent != null) { in tearDown() 108 getContext().stopService(mIntent); in tearDown()
|
D | RemoteCallbackListTest.java | 36 private Intent mIntent; field in RemoteCallbackListTest 61 mIntent = new Intent(SERVICE_ACTION); in setUp() 62 mIntent.setPackage(mContext.getPackageName()); in setUp() 82 if (mIntent != null) { in tearDown() 83 mContext.stopService(mIntent); in tearDown()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainInteractionService.java | 28 private Intent mIntent; field in MainInteractionService 40 mIntent = intent; in onStartCommand() 46 if (mIntent == null || !mReady) { in maybeStart() 48 + "is not called yet. mIntent = " + mIntent + ", mReady = " + mReady); in maybeStart()
|
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/ |
D | MainInteractionService.java | 40 private Intent mIntent; field in MainInteractionService 54 mIntent = intent; in onStartCommand() 60 if (mIntent == null || !mReady) { in maybeStart() 62 + "has not been called yet. mIntent = " + mIntent + ", mReady = " + mReady); in maybeStart() 65 if (mIntent.getBooleanExtra(Utils.EXTRA_REGISTER_RECEIVER, false)) { in maybeStart() 84 mIntent.getStringExtra(Utils.TESTCASE_TYPE)); in maybeStart() 125 extras.putString(Utils.TESTCASE_TYPE, mIntent.getStringExtra(Utils.TESTCASE_TYPE)); in onReceive()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | ActivityTestsBase.java | 32 protected Intent mIntent; field in ActivityTestsBase 46 mIntent = new Intent(mContext, LaunchpadActivity.class); in setUp() 92 return mIntent; in editIntent() 138 mIntent.setAction(action); in startLaunchpadActivity() 140 mIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in startLaunchpadActivity() 141 mContext.startActivity(mIntent); in startLaunchpadActivity()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | AssistantContentViewTest.java | 46 private Intent mIntent; field in AssistantContentViewTest 94 int height = mIntent.getIntExtra(Utils.EXTRA_CONTENT_VIEW_HEIGHT, 0); in testAssistantContentViewDimens() 95 int width = mIntent.getIntExtra(Utils.EXTRA_CONTENT_VIEW_WIDTH, 0); in testAssistantContentViewDimens() 96 Point displayPoint = (Point) mIntent.getParcelableExtra(Utils.EXTRA_DISPLAY_POINT); in testAssistantContentViewDimens() 106 mIntent = intent; in onReceive()
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 5106 private android.content.Intent mIntent 13353 protected final android.content.Intent mIntent 13861 private android.content.Intent mIntent 19357 private final android.content.Intent mIntent 60139 private android.content.Intent mIntent 70616 private final android.content.Intent mIntent 107274 private final android.content.Intent mIntent 116945 private final android.content.Intent mIntent 133694 private android.content.Intent mIntent
|