Home
last modified time | relevance | path

Searched refs:resultIntent (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSomnambulator.java44 Intent resultIntent = new Intent(); in onStart() local
45 resultIntent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, in onStart()
47 resultIntent.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent); in onStart()
48 resultIntent.putExtra(Intent.EXTRA_SHORTCUT_NAME, getString(R.string.start_dreams)); in onStart()
49 setResult(RESULT_OK, resultIntent); in onStart()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest9.java107 private void checkRequestPinAppWidget(@Nullable PendingIntent resultIntent) { in checkRequestPinAppWidget() argument
115 resultIntent == null ? null : resultIntent.getIntentSender(), USER_P0)); in checkRequestPinAppWidget()
137 if (resultIntent == null) { in checkRequestPinAppWidget()
149 final PendingIntent resultIntent = in testRequestPinAppWidget_withCallback() local
152 checkRequestPinAppWidget(resultIntent); in testRequestPinAppWidget_withCallback()
DShortcutManagerTest10.java47 private PinItemRequest verifyAndGetCreateShortcutResult(Intent resultIntent) { in verifyAndGetCreateShortcutResult() argument
48 PinItemRequest request = mLauncherApps.getPinItemRequest(resultIntent); in verifyAndGetCreateShortcutResult()
DShortcutManagerTest8.java251 private void checkRequestPinShortcut(@Nullable IntentSender resultIntent) { in checkRequestPinShortcut() argument
267 assertTrue(mManager.requestPinShortcut(s, resultIntent)); in checkRequestPinShortcut()
305 if (resultIntent == null) { in checkRequestPinShortcut()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutRequestPinProcessor.java61 IntentSender resultIntent, int launcherUid) { in PinItemRequestInner() argument
63 mResultIntent = resultIntent; in PinItemRequestInner()
150 IntentSender resultIntent, int launcherUid, in PinAppWidgetRequestInner() argument
152 super(processor, resultIntent, launcherUid); in PinAppWidgetRequestInner()
188 IntentSender resultIntent, in PinShortcutRequestInner() argument
190 super(processor, resultIntent, launcherUid); in PinShortcutRequestInner()
230 Bundle extras, int userId, IntentSender resultIntent) { in requestPinItemLocked() argument
255 request = requestPinShortcutLocked(inShortcut, resultIntent, confirmActivity); in requestPinItemLocked()
260 new PinAppWidgetRequestInner(this, resultIntent, launcherUid, inAppWidget, in requestPinItemLocked()
DShortcutService.java1941 IntentSender resultIntent, int userId) { in requestPinShortcut() argument
1944 return requestPinItem(packageName, userId, shortcut, null, null, resultIntent); in requestPinShortcut()
1973 AppWidgetProviderInfo appWidget, Bundle extras, IntentSender resultIntent) { in requestPinItem() argument
2002 userId, resultIntent); in requestPinItem()
2848 @Nullable IntentSender resultIntent, int userId) { in requestPinAppWidget() argument
2850 return requestPinItem(callingPackage, userId, null, appWidget, extras, resultIntent); in requestPinAppWidget()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/synthetic/
DMemoryActivity.java47 Intent resultIntent = new Intent(); in onTestResult() local
48 resultIntent.putExtra("com.android.benchmark.synthetic.TEST_RESULT", result); in onTestResult()
49 setResult(RESULT_OK, resultIntent); in onTestResult()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DRemoteInputViewTest.java121 Intent resultIntent = mReceiver.waitForIntent(); in testSendRemoteInput_intentContainsResultsAndSource() local
123 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testSendRemoteInput_intentContainsResultsAndSource()
125 RemoteInput.getResultsSource(resultIntent)); in testSendRemoteInput_intentContainsResultsAndSource()
DSmartReplyViewTest.java157 Intent resultIntent = mReceiver.waitForIntent(); in testSendSmartReply_intentContainsResultsAndSource() local
159 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testSendSmartReply_intentContainsResultsAndSource()
160 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testSendSmartReply_intentContainsResultsAndSource()
187 Intent resultIntent = mReceiver.waitForIntent(); in testSendSmartReply_waitsForKeyguard() local
189 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testSendSmartReply_waitsForKeyguard()
190 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testSendSmartReply_waitsForKeyguard()
230 Intent resultIntent = mReceiver.waitForIntent(); in testTapSmartReply_afterInitDelay_clickReceived() local
232 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testTapSmartReply_afterInitDelay_clickReceived()
233 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testTapSmartReply_afterInitDelay_clickReceived()
245 Intent resultIntent = mReceiver.waitForIntent(); in testTapSmartReply_withoutDelayedOnClickListener_bypassesDelay() local
[all …]
/frameworks/base/core/java/android/content/pm/
DIShortcutService.aidl48 in IntentSender resultIntent, int userId); in requestPinShortcut() argument
DShortcutServiceInternal.java81 @Nullable IntentSender resultIntent, int userId); in requestPinAppWidget() argument
DShortcutManager.java503 @Nullable IntentSender resultIntent) { in requestPinShortcut() argument
506 resultIntent, injectMyUserId()); in requestPinShortcut()
/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccManager.java603 public void startResolutionActivity(Activity activity, int requestCode, Intent resultIntent, in startResolutionActivity() argument
606 resultIntent.getParcelableExtra(EXTRA_EMBEDDED_SUBSCRIPTION_RESOLUTION_INTENT); in startResolutionActivity()
/frameworks/base/core/java/com/android/internal/appwidget/
DIAppWidgetService.aidl78 in Bundle extras, in IntentSender resultIntent); in requestPinAppWidget() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java1737 Intent resultIntent = new Intent(Intent.ACTION_MAIN);
1738 resultIntent.setClassName("com.android.settings",
1740 resultIntent.putExtra(EXTRA_KEY_ALERT_SHOW, true);
1741 resultIntent.putExtra(EXTRA_KEY_ALERT_TITLE, title);
1742 resultIntent.putExtra(EXTRA_KEY_ALERT_MESSAGE, messageAlert);
1747 resultIntent,