Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest9.java110 private void checkRequestPinAppWidget(@Nullable PendingIntent resultIntent) { in checkRequestPinAppWidget() argument
118 resultIntent == null ? null : resultIntent.getIntentSender(), USER_P0)); in checkRequestPinAppWidget()
140 if (resultIntent == null) { in checkRequestPinAppWidget()
152 final PendingIntent resultIntent = in testRequestPinAppWidget_withCallback() local
157 checkRequestPinAppWidget(resultIntent); in testRequestPinAppWidget_withCallback()
DShortcutManagerTest10.java51 private PinItemRequest verifyAndGetCreateShortcutResult(Intent resultIntent) { in verifyAndGetCreateShortcutResult() argument
52 PinItemRequest request = mLauncherApps.getPinItemRequest(resultIntent); in verifyAndGetCreateShortcutResult()
DShortcutManagerTest8.java254 private void checkRequestPinShortcut(@Nullable IntentSender resultIntent) { in checkRequestPinShortcut() argument
270 assertTrue(mManager.requestPinShortcut(s, resultIntent)); in checkRequestPinShortcut()
308 if (resultIntent == null) { in checkRequestPinShortcut()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutRequestPinProcessor.java63 IntentSender resultIntent, int launcherUid) { in PinItemRequestInner() argument
65 mResultIntent = resultIntent; in PinItemRequestInner()
152 IntentSender resultIntent, int launcherUid, in PinAppWidgetRequestInner() argument
154 super(processor, resultIntent, launcherUid); in PinAppWidgetRequestInner()
190 IntentSender resultIntent, in PinShortcutRequestInner() argument
192 super(processor, resultIntent, launcherUid); in PinShortcutRequestInner()
232 Bundle extras, int userId, IntentSender resultIntent) { in requestPinItemLocked() argument
257 request = requestPinShortcutLocked(inShortcut, resultIntent, in requestPinItemLocked()
263 new PinAppWidgetRequestInner(this, resultIntent, launcherUid, inAppWidget, in requestPinItemLocked()
DShortcutService.java2302 IntentSender resultIntent, int userId, AndroidFuture<String> ret) {
2309 packageName, userId, shortcut, null, null, resultIntent)));
2335 AppWidgetProviderInfo appWidget, Bundle extras, IntentSender resultIntent) {
2336 return requestPinItem(callingPackage, userId, shortcut, appWidget, extras, resultIntent,
2341 AppWidgetProviderInfo appWidget, Bundle extras, IntentSender resultIntent,
2376 userId, resultIntent);
3702 @Nullable IntentSender resultIntent, int userId) {
3704 return requestPinItem(callingPackage, userId, null, appWidget, extras, resultIntent);
/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/PackageInstaller/src/com/android/packageinstaller/v2/model/
DUninstallStages.kt48 val resultIntent: Intent? = null, constant in com.android.packageinstaller.v2.model.UninstallSuccess
59 val resultIntent: Intent? = null, constant in com.android.packageinstaller.v2.model.UninstallFailed
DInstallStages.kt84 val resultIntent: Intent? = null, constant in com.android.packageinstaller.v2.model.InstallSuccess
123 val resultIntent: Intent? = null, constant in com.android.packageinstaller.v2.model.InstallAborted
DInstallRepository.kt210 ABORT_REASON_POLICY, message = restriction, resultIntent = adminSupportDetailsIntent in <lambda>()
319 resultIntent = Intent().putExtra( in <lambda>()
340 resultIntent = Intent().putExtra( in <lambda>()
351 resultIntent = Intent().putExtra( in <lambda>()
525 resultIntent = Intent().putExtra( in <lambda>()
592 resultIntent = Intent().putExtra( in <lambda>()
619 resultIntent = Intent().putExtra( in <lambda>()
899 val resultIntent = if (shouldReturnResult) { in <lambda>() constant
905 _installResult.setValue(InstallSuccess(appSnippet, shouldReturnResult, resultIntent)) in <lambda>()
DUninstallRepository.kt456 UninstallSuccess(resultIntent = intent, activityResultCode = Activity.RESULT_OK) in handleUninstallResult()
462 resultIntent = intent, in handleUninstallResult()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DNotificationActivity.java61 Intent resultIntent = new Intent(this, NotificationActivity.class); in postNotification() local
63 stackBuilder.addNextIntentWithParentStack(resultIntent); in postNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSmartReplyViewTest.java193 Intent resultIntent = mReceiver.waitForIntent(); in testSendSmartReply_intentContainsResultsAndSource() local
195 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testSendSmartReply_intentContainsResultsAndSource()
196 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testSendSmartReply_intentContainsResultsAndSource()
246 Intent resultIntent = mReceiver.waitForIntent(); in testSendSmartReply_waitsForKeyguard() local
248 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testSendSmartReply_waitsForKeyguard()
249 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testSendSmartReply_waitsForKeyguard()
289 Intent resultIntent = mReceiver.waitForIntent(); in testTapSmartReply_afterInitDelay_clickReceived() local
291 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testTapSmartReply_afterInitDelay_clickReceived()
292 assertEquals(RemoteInput.SOURCE_CHOICE, RemoteInput.getResultsSource(resultIntent)); in testTapSmartReply_afterInitDelay_clickReceived()
304 Intent resultIntent = mReceiver.waitForIntent(); in testTapSmartReply_withoutDelayedOnClickListener_bypassesDelay() local
[all …]
DRemoteInputViewTest.java173 Intent resultIntent = mReceiver.waitForIntent(); in testSendRemoteInput_intentContainsResultsAndSource() local
174 assertNotNull(resultIntent); in testSendRemoteInput_intentContainsResultsAndSource()
176 RemoteInput.getResultsFromIntent(resultIntent).get(TEST_RESULT_KEY)); in testSendRemoteInput_intentContainsResultsAndSource()
178 RemoteInput.getResultsSource(resultIntent)); in testSendRemoteInput_intentContainsResultsAndSource()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/ui/
DUninstallLaunch.kt126 setResult(failed.activityResultCode, failed.resultIntent, true) in <lambda>()
134 setResult(success.activityResultCode, success.resultIntent, true) in <lambda>()
DInstallLaunch.kt133 setResult(aborted.activityResultCode, aborted.resultIntent, true) in <lambda>()
171 val successIntent = success.resultIntent in <lambda>()
194 val adminSupportIntent = aborted.resultIntent in <lambda>()
/frameworks/base/core/java/android/content/pm/
DIShortcutService.aidl42 in IntentSender resultIntent, int userId, in AndroidFuture<String> ret); in requestPinShortcut() argument
DShortcutManager.java599 @Nullable IntentSender resultIntent) { in requestPinShortcut() argument
602 mService.requestPinShortcut(mContext.getPackageName(), shortcut, resultIntent, in requestPinShortcut() local
DShortcutServiceInternal.java128 @Nullable IntentSender resultIntent, int userId); in requestPinAppWidget() argument
/frameworks/base/core/java/com/android/internal/appwidget/
DIAppWidgetService.aidl80 in Bundle extras, in IntentSender resultIntent); in requestPinAppWidget() argument
/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccManager.java1122 public void startResolutionActivity(Activity activity, int requestCode, Intent resultIntent, in startResolutionActivity() argument
1125resultIntent.getParcelableExtra(EXTRA_EMBEDDED_SUBSCRIPTION_RESOLUTION_INTENT, android.app.Pending… in startResolutionActivity()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java2268 Intent resultIntent = new Intent(Intent.ACTION_MAIN);
2272 resultIntent.setClassName("com.android.settings",
2274 resultIntent.putExtra(EXTRA_KEY_ALERT_SHOW, true);
2275 resultIntent.putExtra(EXTRA_WFC_REGISTRATION_FAILURE_TITLE, title);
2276 resultIntent.putExtra(EXTRA_WFC_REGISTRATION_FAILURE_MESSAGE, messageAlert);
2281 resultIntent,
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActivityManagerServiceTest.java974 final Intent resultIntent = mAms.registerReceiverWithFeature(procRecord.getThread(), in testBroadcastStickyIntent_verifyTypeNotResolved() local
977 assertNotNull(resultIntent); in testBroadcastStickyIntent_verifyTypeNotResolved()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...