Home
last modified time | relevance | path

Searched refs:IntentSender (Results 1 – 25 of 97) sorted by relevance

1234

/frameworks/base/core/java/android/content/
DIntentSender.java58 public class IntentSender implements Parcelable { class
98 void onSendFinished(IntentSender IntentSender, Intent intent, in onSendFinished() argument
104 private final IntentSender mIntentSender;
111 FinishedDispatcher(IntentSender pi, OnFinished who, Handler handler) { in FinishedDispatcher()
288 if (otherObj instanceof IntentSender) { in equals()
289 return mTarget.asBinder().equals(((IntentSender)otherObj) in equals()
319 public static final @android.annotation.NonNull Parcelable.Creator<IntentSender> CREATOR
320 = new Parcelable.Creator<IntentSender>() {
321 public IntentSender createFromParcel(Parcel in) {
323 return target != null ? new IntentSender(target) : null;
[all …]
DIntentSender.aidl19 parcelable IntentSender;
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest8.java36 import android.content.IntentSender;
185 .sendIntentSender(any(IntentSender.class)); in testRequestPinShortcut_notSupported()
197 .sendIntentSender(any(IntentSender.class)); in testRequestPinShortcut_notSupported()
209 .sendIntentSender(any(IntentSender.class)); in testRequestPinShortcut_notSupported()
233 verify(mServiceContext, times(0)).sendIntentSender(any(IntentSender.class)); in testNotForeground()
251 private void checkRequestPinShortcut(@Nullable IntentSender resultIntent) { in checkRequestPinShortcut()
269 verify(mServiceContext, times(0)).sendIntentSender(any(IntentSender.class)); in checkRequestPinShortcut()
306 verify(mServiceContext, times(1)).sendIntentSender(isNull(IntentSender.class)); in checkRequestPinShortcut()
308 verify(mServiceContext, times(1)).sendIntentSender(notNull(IntentSender.class)); in checkRequestPinShortcut()
326 private IntentSender makeResultIntent() { in makeResultIntent()
[all …]
DShortcutManagerTest9.java31 import android.content.IntentSender;
101 verify(mServiceContext, times(0)).sendIntentSender(any(IntentSender.class)); in testNotForeground()
117 verify(mServiceContext, times(0)).sendIntentSender(any(IntentSender.class)); in checkRequestPinAppWidget()
140 verify(mServiceContext, times(1)).sendIntentSender(any(IntentSender.class)); in checkRequestPinAppWidget()
/frameworks/base/services/core/java/com/android/server/rollback/
DLocalIntentReceiver.java22 import android.content.IntentSender;
44 public IntentSender getIntentSender() { in getIntentSender()
45 return new IntentSender((IIntentSender) mLocalSender); in getIntentSender()
/frameworks/base/core/java/android/service/autofill/
DSaveCallback.java22 import android.content.IntentSender;
72 public void onSuccess(@NonNull IntentSender intentSender) { in onSuccess()
76 private void onSuccessInternal(@Nullable IntentSender intentSender) { in onSuccessInternal()
DISaveCallback.aidl19 import android.content.IntentSender;
27 void onSuccess(in IntentSender intentSender); in onSuccess()
DDataset.java23 import android.content.IntentSender;
104 private final IntentSender mAuthentication;
140 public @Nullable IntentSender getAuthentication() { in getAuthentication()
203 private IntentSender mAuthentication;
272 public @NonNull Builder setAuthentication(@Nullable IntentSender authentication) { in setAuthentication()
DFillResponse.java28 import android.content.IntentSender;
80 private final @Nullable IntentSender mAuthentication;
137 public @Nullable IntentSender getAuthentication() { in getAuthentication()
201 private IntentSender mAuthentication;
277 @Nullable IntentSender authentication, @Nullable RemoteViews presentation) { in setAuthentication()
692 final IntentSender authentication = parcel.readParcelable(null);
DSaveInfo.java26 import android.content.IntentSender;
269 private final IntentSender mNegativeActionListener;
311 public @Nullable IntentSender getNegativeActionListener() { in getNegativeActionListener()
377 private IntentSender mNegativeActionListener;
524 @Nullable IntentSender listener) { in setNegativeAction()
/frameworks/base/core/java/com/android/internal/app/
DHarmfulAppWarningActivity.java22 import android.content.IntentSender;
45 private IntentSender mTarget;
106 final IntentSender target = getIntent().getParcelableExtra(Intent.EXTRA_INTENT); in onClick()
110 } catch (IntentSender.SendIntentException e) { in onClick()
120 IntentSender target, CharSequence harmfulAppWarning) { in createHarmfulAppWarningIntent()
DHeavyWeightSwitcherActivity.java25 import android.content.IntentSender;
57 IntentSender mStartIntent;
69 mStartIntent = (IntentSender)getIntent().getParcelableExtra(KEY_INTENT); in onCreate()
155 } catch (IntentSender.SendIntentException ex) {
DUnlaunchableAppActivity.java27 import android.content.IntentSender;
49 private IntentSender mTarget;
118 public static Intent createInQuietModeDialogIntent(int userId, IntentSender target) { in createInQuietModeDialogIntent()
/frameworks/base/core/java/android/content/pm/
DIPackageInstaller.aidl25 import android.content.IntentSender;
52 in IntentSender statusReceiver, int userId); in uninstall()
55 in IntentSender statusReceiver, int userId, in List<String> whiteListedPermissions); in installExistingPackage()
DIPackageInstallerSession.aidl20 import android.content.IntentSender;
38 void commit(in IntentSender statusReceiver, boolean forTransferred); in commit()
DIShortcutService.aidl20 import android.content.IntentSender;
48 in IntentSender resultIntent, int userId); in requestPinShortcut()
DShortcutServiceInternal.java25 import android.content.IntentSender;
81 @Nullable IntentSender resultIntent, int userId); in requestPinAppWidget()
/frameworks/base/core/java/android/view/autofill/
DIAutoFillManagerClient.aidl22 import android.content.IntentSender;
51 void authenticate(int sessionId, int authenticationId, in IntentSender intent, in authenticate()
89 void startIntentSender(in IntentSender intentSender, in Intent intent); in startIntentSender()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutRequestPinProcessor.java23 import android.content.IntentSender;
54 private final IntentSender mResultIntent;
61 IntentSender resultIntent, int launcherUid) { in PinItemRequestInner()
150 IntentSender resultIntent, int launcherUid, in PinAppWidgetRequestInner()
188 IntentSender resultIntent, in PinShortcutRequestInner()
230 Bundle extras, int userId, IntentSender resultIntent) { in requestPinItemLocked()
297 IntentSender resultIntentOriginal, Pair<ComponentName, Integer> confirmActivity) { in requestPinShortcutLocked()
317 IntentSender resultIntentToSend = resultIntentOriginal; in requestPinShortcutLocked()
431 public void sendResultIntent(@Nullable IntentSender intent, @Nullable Intent extras) { in sendResultIntent()
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DLocalIntentSender.java23 import android.content.IntentSender;
47 static IntentSender getIntentSender() { in getIntentSender()
/frameworks/base/core/java/android/companion/
DCompanionDeviceManager.java30 import android.content.IntentSender;
84 public abstract void onDeviceFound(IntentSender chooserLauncher); in onDeviceFound()
218 IntentSender intentSender = mService.requestNotificationAccess(component) in requestNotificationAccess()
223 } catch (IntentSender.SendIntentException e) { in requestNotificationAccess()
/frameworks/base/core/java/com/android/internal/appwidget/
DIAppWidgetService.aidl21 import android.content.IntentSender;
48 IntentSender createAppWidgetConfigIntentSender(String callingPackage, int appWidgetId, in createAppWidgetConfigIntentSender()
78 in Bundle extras, in IntentSender resultIntent); in requestPinAppWidget()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DInstallTask.java20 import android.content.IntentSender;
46 private IntentSender mCommitCallback;
55 IntentSender commitCallback) { in InstallTask()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartInterceptor.java43 import android.content.IntentSender;
130 private IntentSender createIntentSenderForOriginalIntent(int callingUid, int flags) { in createIntentSenderForOriginalIntent()
137 return new IntentSender(target); in createIntentSenderForOriginalIntent()
198 IntentSender target = createIntentSenderForOriginalIntent(mCallingUid, in interceptQuietProfileIfNeeded()
299 final IntentSender target = createIntentSenderForOriginalIntent(mCallingUid, in interceptWithConfirmCredentialsIfNeeded()
327 final IntentSender target = createIntentSenderForOriginalIntent(mCallingUid, in interceptHarmfulAppIfNeeded()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DAutoFillUI.java25 import android.content.IntentSender;
77 void authenticate(int requestId, int datasetIndex, @NonNull IntentSender intent, in authenticate()
85 void startIntentSender(IntentSender intentSender); in startIntentSender()
254 public void startIntentSender(IntentSender intentSender) { in showFillUi()
313 public void onCancel(IntentSender listener) { in showSaveUi()
319 } catch (IntentSender.SendIntentException e) { in showSaveUi()

1234