HomeSort by relevance Sort by last modified time
    Searched defs:intents (Results 1 - 25 of 159) sorted by null

1 2 3 4 5 6 7

  /development/samples/ApiDemos/src/com/example/android/apis/app/
IntentActivityFlags.java 41 // be done by launching an array of Intents, representing the new
44 Intent[] intents = new Intent[3]; local
49 intents[0] = Intent.makeRestartActivityTask(new ComponentName(this,
55 intents[1] = intent;
61 intents[2] = intent;
62 return intents;
IncomingMessage.java 70 // accomplish this, we can build an array of intents to insert the back
72 Intent[] intents = new Intent[4]; local
77 intents[0] = Intent.makeRestartActivityTask(new ComponentName(context,
81 intents[1] = new Intent(context, com.example.android.apis.ApiDemos.class);
82 intents[1].putExtra("com.example.android.apis.Path", "App");
84 intents[2] = new Intent(context, com.example.android.apis.ApiDemos.class);
85 intents[2].putExtra("com.example.android.apis.Path", "App/Notification");
89 intents[3] = new Intent(context, IncomingMessageView.class);
90 intents[3].putExtra(IncomingMessageView.KEY_FROM, from);
91 intents[3].putExtra(IncomingMessageView.KEY_MESSAGE, msg)
    [all...]
StatusBarNotifications.java 152 // extras (and other Intents in the array) to be the ones passed in here.
163 // accomplish this, we can build an array of intents to insert the back
165 Intent[] intents = new Intent[4]; local
170 intents[0] = Intent.makeRestartActivityTask(new ComponentName(this,
174 intents[1] = new Intent(this, com.example.android.apis.ApiDemos.class);
175 intents[1].putExtra("com.example.android.apis.Path", "App");
177 intents[2] = new Intent(this, com.example.android.apis.ApiDemos.class);
178 intents[2].putExtra("com.example.android.apis.Path", "App/Notification");
181 intents[3] = new Intent(this, StatusBarNotifications.class);
186 // extras (and other Intents in the array) to be the ones passed in here
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
SuggestionList.java 74 final Set<String> intents = new ArraySet<>(); local
78 if (intents.contains(intentUri)) {
81 intents.add(intentUri);
  /frameworks/base/services/core/java/com/android/server/pm/
ShortcutParser.java 130 final ArrayList<Intent> intents = new ArrayList<>(); local
148 if (intents.size() == 0) {
154 intents.clear();
155 intents.add(new Intent(Intent.ACTION_VIEW));
165 intents.get(0).addFlags(
170 si.setIntents(intents.toArray(new Intent[intents.size()]));
172 // This shouldn't happen because intents in XML can't have complicated
178 intents.clear();
241 intents.add(intent)
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/
InstalledAppCounter.java 65 List<ResolveInfo> intents = pm.queryIntentActivitiesAsUser( local
71 return intents != null && intents.size() != 0;
  /frameworks/base/test-runner/src/android/test/
IsolatedContext.java 58 /** Returns the list of intents that were broadcast since the last call to this method. */
60 List<Intent> intents = mBroadcastIntents; local
62 return intents;
  /frameworks/base/core/java/android/app/
TaskStackBuilder.java 187 * @return the number of intents added so far.
219 "No intents added to TaskStackBuilder; cannot startActivities");
271 "No intents added to TaskStackBuilder; cannot getPendingIntent");
285 "No intents added to TaskStackBuilder; cannot getPendingIntent");
293 * Return an array containing the intents added to this builder. The intent at the
297 * @return An array containing the intents added to this builder.
301 Intent[] intents = new Intent[mIntents.size()]; local
302 if (intents.length == 0) return intents;
304 intents[0] = new Intent(mIntents.get(0)).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK
    [all...]
LocalActivityManager.java 332 ArrayList<ReferrerIntent> intents = new ArrayList<>(1); local
333 intents.add(new ReferrerIntent(intent, mParent.getPackageName()));
335 mActivityThread.performNewIntents(r, intents, false /* andPause */);
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
AbstractConnectivityPreferenceController.java 70 final String[] intents = getConnectivityIntents(); local
71 for (String intent : intents) {
  /hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
ComposerClient.h 136 std::vector<RenderIntent> intents; variable
137 Error err = mHal->getRenderIntents(display, mode, &intents);
138 hidl_cb(err, intents);
  /packages/apps/Contacts/tests/src/com/android/contacts/
ContactsUtilsTests.java 89 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); local
90 final Intent imIntent = intents.first;
99 assertNull(intents.second);
111 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); local
112 final Intent imIntent = intents.first;
117 assertNull(intents.second);
130 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); local
131 final Intent imIntent = intents.first;
136 final Intent secondaryIntent = intents.second;
152 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im) local
177 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
CameraContentJobService.java 17 package com.android.cts.verifier.camera.intents;
  /frameworks/support/compat/src/main/java/androidx/core/app/
TaskStackBuilder.java 216 * @return the number of intents added so far.
285 "No intents added to TaskStackBuilder; cannot startActivities");
288 Intent[] intents = mIntents.toArray(new Intent[mIntents.size()]); local
289 intents[0] = new Intent(intents[0]).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK
291 if (!ContextCompat.startActivities(mSourceContext, intents, options)) {
292 Intent topIntent = new Intent(intents[intents.length - 1]);
333 "No intents added to TaskStackBuilder; cannot getPendingIntent");
336 Intent[] intents = mIntents.toArray(new Intent[mIntents.size()]) local
357 Intent[] intents = new Intent[mIntents.size()]; local
    [all...]
  /hardware/interfaces/graphics/composer/2.2/utils/vts/
ComposerVts.cpp 163 std::vector<RenderIntent> intents; local
166 ASSERT_EQ(Error::NONE, tmpError) << "failed to get render intents";
167 intents = tmpIntents;
169 return intents;
  /packages/apps/Messaging/tests/src/com/android/messaging/
FakeContext.java 58 final ArrayList<Intent> intents = mStartedIntents; local
60 return intents;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
IntentDrivenTestActivity.java 22 * text view containing instructions and one or more buttons that trigger intents.
25 * The intents can either be generated statically and passed as an extra to the intent that started
87 final Intent[] intents = buttonInfo.getIntents(); local
89 if (intents != null) {
90 for (Parcelable intent : intents) {
176 public ButtonInfo(int buttonText, Intent... intents) {
178 mIntents = intents;
  /cts/tests/signature/intent-check/src/android/signature/cts/intent/
IntentTest.java 49 * Validate that the android intents used by APKs on this device are part of the
115 Set<String> intents = new HashSet<>(); local
116 intents.addAll(parse(CURRENT_API_FILE));
117 intents.addAll(parse(SYSTEM_CURRENT_API_FILE));
118 intents.addAll(parse(SYSTEM_REMOVED_API_FILE));
119 return intents;
  /cts/tests/tests/security/src/android/security/cts/
BrowserTest.java 56 * Verify that no state is preserved across multiple intents sent
60 * In this test, we send two intents to the Android browser. The first
63 * across the two intents.
75 List<Intent> intents = getAllJavascriptIntents(); local
76 for (Intent i : intents) {
86 + "multiple intents. Vulnerable to CVE-2011-2357?",
94 * Verify that no state is preserved across multiple intents sent
98 * In this test, we send 20 intents to the Android browser. Each
113 List<Intent> intents = getAllJavascriptIntents(); local
114 for (Intent i : intents) {
146 List<Intent> intents = createAllIntents(Uri.parse("http:\/\/www.google.com")); local
    [all...]
  /development/samples/IntentPlayground/src/com/example/android/intentplayground/
BaseActivity.java 78 ArrayList<Intent> intents = intent.getParcelableArrayListExtra(LAUNCH_FORWARD); local
79 if (!intents.isEmpty()) {
80 Intent nextIntent = intents.remove(0);
81 nextIntent.putParcelableArrayListExtra(LAUNCH_FORWARD, intents);
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
ClientModeManagerTest.java 104 List<Intent> intents = intentCaptor.getAllValues(); local
105 assertEquals(4, intents.size());
106 Log.d(TAG, "captured intents: " + intents);
107 checkWifiStateChangedBroadcast(intents.get(0), WIFI_STATE_ENABLING, WIFI_STATE_DISABLED);
108 checkWifiScanStateChangedBroadcast(intents.get(1), WIFI_STATE_DISABLED);
109 checkWifiScanStateChangedBroadcast(intents.get(2), WIFI_STATE_ENABLED);
110 checkWifiStateChangedBroadcast(intents.get(3), WIFI_STATE_ENABLED, WIFI_STATE_ENABLING);
146 List<Intent> intents = intentCaptor.getAllValues(); local
147 assertEquals(2, intents.size())
157 List<Intent> intents = intentCaptor.getAllValues(); local
184 List<Intent> intents = intentCaptor.getAllValues(); local
205 List<Intent> intents = intentCaptor.getAllValues(); local
    [all...]
ScanOnlyModeManagerTest.java 108 List<Intent> intents = intentCaptor.getAllValues(); local
110 checkWifiScanStateChangedBroadcast(intents.get(0), WIFI_STATE_DISABLED);
111 checkWifiScanStateChangedBroadcast(intents.get(1), WIFI_STATE_ENABLED);
  /frameworks/support/navigation/fragment/src/androidTest/java/androidx/navigation/fragment/
BaseNavControllerTest.java 236 TaskStackBuilder intents = new NavDeepLinkBuilder(mInstrumentation.getTargetContext()) local
241 Intent intent = intents.editIntentAt(0);
  /hardware/interfaces/graphics/composer/2.2/vts/functional/
VtsHalGraphicsComposerV2_2TargetTest.cpp 348 std::vector<RenderIntent> intents = local
364 auto iter = std::find(intents.cbegin(), intents.cend(), requiredIntent);
365 EXPECT_NE(intents.cend(), iter);
375 std::vector<RenderIntent> intents = local
377 for (auto intent : intents) {
  /packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
ActionServiceTest.java 101 final ArrayList<Intent> intents = mContext.extractIntents(); local
102 assertNotNull(intents);
103 assertEquals("Expect to see 1 server request queued", 1, intents.size());
104 final Intent intent = intents.get(0);

Completed in 541 milliseconds

1 2 3 4 5 6 7