/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupManagerMonitorUtils.java | 54 Bundle extras) { in monitorEvent() argument 68 if (extras != null) { in monitorEvent() 69 bundle.putAll(extras); in monitorEvent() 91 public static Bundle putMonitoringExtra(Bundle extras, String key, String value) { in putMonitoringExtra() argument 92 if (extras == null) { in putMonitoringExtra() 93 extras = new Bundle(); in putMonitoringExtra() 95 extras.putString(key, value); in putMonitoringExtra() 96 return extras; in putMonitoringExtra() 108 public static Bundle putMonitoringExtra(Bundle extras, String key, long value) { in putMonitoringExtra() argument 109 if (extras == null) { in putMonitoringExtra() [all …]
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetProvider.java | 62 Bundle extras = intent.getExtras(); in onReceive() local 63 if (extras != null) { in onReceive() 64 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS); in onReceive() 70 Bundle extras = intent.getExtras(); in onReceive() local 71 if (extras != null && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_ID)) { in onReceive() 72 final int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); in onReceive() 76 Bundle extras = intent.getExtras(); in onReceive() local 77 if (extras != null && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_ID) in onReceive() 78 && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_OPTIONS)) { in onReceive() 79 int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID); in onReceive() [all …]
|
/frameworks/base/core/java/android/content/ |
D | SyncActivityTooManyDeletes.java | 50 Bundle extras = getIntent().getExtras(); in onCreate() local 51 if (extras == null) { in onCreate() 56 mNumDeletes = extras.getLong("numDeletes"); in onCreate() 57 mAccount = (Account) extras.getParcelable("account"); in onCreate() 58 mAuthority = extras.getString("authority"); in onCreate() 59 mProvider = extras.getString("provider"); in onCreate() 117 Bundle extras = new Bundle(); in startSyncReallyDelete() local 118 extras.putBoolean(ContentResolver.SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS, true); in startSyncReallyDelete() 119 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true); in startSyncReallyDelete() 120 extras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); in startSyncReallyDelete() [all …]
|
D | PeriodicSync.java | 35 public final Bundle extras; field in PeriodicSync 47 public PeriodicSync(Account account, String authority, Bundle extras, long periodInSeconds) { in PeriodicSync() argument 50 if (extras == null) { in PeriodicSync() 51 this.extras = new Bundle(); in PeriodicSync() 53 this.extras = new Bundle(extras); in PeriodicSync() 67 this.extras = new Bundle(other.extras); in PeriodicSync() 76 public PeriodicSync(Account account, String authority, Bundle extras, in PeriodicSync() argument 80 this.extras = new Bundle(extras); in PeriodicSync() 88 this.extras = in.readBundle(); in PeriodicSync() 102 dest.writeBundle(extras); in writeToParcel() [all …]
|
D | AbstractThreadedSyncAdapter.java | 183 Bundle extras) { in startSync() argument 185 if (extras != null) { in startSync() 186 extras.size(); // Unparcel so its toString() will show the contents. in startSync() 188 Log.d(TAG, "startSync() start " + authority + " " + account + " " + extras); in startSync() 200 && extras != null in startSync() 201 && extras.getBoolean( in startSync() 214 syncContextClient, authority, account, extras); in startSync() 297 Account account, Bundle extras) { in SyncThread() argument 302 mExtras = extras; in SyncThread() 449 public abstract void onPerformSync(Account account, Bundle extras, in onPerformSync() argument [all …]
|
/frameworks/base/core/java/android/view/ |
D | ImeInsetsSourceConsumer.java | 146 if ((info1.extras == null && info2.extras == null) || info1.extras == info2.extras) { in areEditorsSimilar() 149 if ((info1.extras == null && info2.extras != null) in areEditorsSimilar() 150 || (info1.extras == null && info2.extras != null)) { in areEditorsSimilar() 153 if (info1.extras.hashCode() == info2.extras.hashCode() in areEditorsSimilar() 154 || info1.extras.equals(info1)) { in areEditorsSimilar() 157 if (info1.extras.size() != info2.extras.size()) { in areEditorsSimilar() 160 if (info1.extras.toString().equals(info2.extras.toString())) { in areEditorsSimilar() 166 info1.extras.writeToParcel(parcel1, 0); in areEditorsSimilar() 169 info2.extras.writeToParcel(parcel2, 0); in areEditorsSimilar()
|
/frameworks/base/tests/ShowWhenLockedApp/src/com/android/showwhenlocked/ |
D | ShowWhenLockedActivity.java | 129 private void handleExtras(Bundle extras) { in handleExtras() argument 130 if (extras == null) { in handleExtras() 134 if (extras.containsKey(EXTRA_SHOW_WHEN_LOCKED)) { in handleExtras() 135 boolean showWhenLocked = extras.getBoolean(EXTRA_SHOW_WHEN_LOCKED, true); in handleExtras() 140 if (extras.containsKey(EXTRA_TURN_SCREEN_ON)) { in handleExtras() 141 boolean turnScreenOn = extras.getBoolean(EXTRA_TURN_SCREEN_ON, true); in handleExtras() 146 if (extras.containsKey(EXTRA_SHOW_WHEN_LOCKED_STOP)) { in handleExtras() 147 showWhenLockedAtStop = extras.getBoolean(EXTRA_SHOW_WHEN_LOCKED_STOP, true); in handleExtras() 151 if (extras.containsKey(EXTRA_TURN_SCREEN_ON_STOP)) { in handleExtras() 152 turnScreenOnAtStop = extras.getBoolean(EXTRA_TURN_SCREEN_ON_STOP, true); in handleExtras() [all …]
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncOperation.java | 77 public final Bundle extras; field in SyncOperation 106 int reason, int source, String provider, Bundle extras, in SyncOperation() argument 109 reason, source, extras, allowParallelSyncs, syncExemptionFlag); in SyncOperation() 113 int reason, int source, Bundle extras, boolean allowParallelSyncs, in SyncOperation() argument 115 this(info, owningUid, owningPackage, reason, source, extras, allowParallelSyncs, false, in SyncOperation() 121 new Bundle(op.extras), op.allowParallelSyncs, op.isPeriodic, op.sourcePeriodicId, in SyncOperation() 126 int reason, int source, Bundle extras, boolean allowParallelSyncs, in SyncOperation() argument 134 this.extras = new Bundle(extras); in SyncOperation() 151 new Bundle(extras), allowParallelSyncs, false, jobId /* sourcePeriodicId */, in createOneTimeSyncOperation() 163 extras = new Bundle(other.extras); in SyncOperation() [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | ConnectionRequest.java | 89 public @NonNull Builder setExtras(@NonNull Bundle extras) { in setExtras() argument 90 this.mExtras = extras; in setExtras() 195 Bundle extras) { in ConnectionRequest() argument 196 this(accountHandle, handle, extras, VideoProfile.STATE_AUDIO_ONLY, null, false, null, null); in ConnectionRequest() 208 Bundle extras, in ConnectionRequest() argument 210 this(accountHandle, handle, extras, videoState, null, false, null, null); in ConnectionRequest() 228 Bundle extras, in ConnectionRequest() argument 232 this(accountHandle, handle, extras, videoState, telecomCallId, in ConnectionRequest() 239 Bundle extras, in ConnectionRequest() argument 245 this(accountHandle, handle, extras, videoState, telecomCallId, in ConnectionRequest() [all …]
|
D | Conference.java | 70 public void onExtrasChanged(Conference c, Bundle extras) {} in onExtrasChanged() argument 74 public void onConnectionEvent(Conference c, String event, Bundle extras) {} in onConnectionEvent() argument 830 public final void setExtras(@Nullable Bundle extras) { in setExtras() argument 835 putExtras(extras); in setExtras() 841 if (extras == null || !extras.containsKey(oldKey)) { in setExtras() 857 if (extras != null) { in setExtras() 858 mPreviousExtraKeys.addAll(extras.keySet()); in setExtras() 872 public final void putExtras(@NonNull Bundle extras) { in putExtras() argument 873 if (extras == null) { in putExtras() 884 mExtras.putAll(extras); in putExtras() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | AuxiliaryResolveInfo.java | 92 public final Bundle extras; field in AuxiliaryResolveInfo.AuxiliaryFilter 95 String splitName, Bundle extras) { in AuxiliaryFilter() argument 101 this.extras = extras; in AuxiliaryFilter() 105 String splitName, Bundle extras) { in AuxiliaryFilter() argument 110 this.extras = extras; in AuxiliaryFilter() 118 this.extras = null; in AuxiliaryFilter()
|
/frameworks/base/core/java/android/widget/ |
D | QuickContactBadge.java | 233 public void assignContactFromEmail(String emailAddress, boolean lazyLookup, Bundle extras) { in assignContactFromEmail() argument 235 mExtras = extras; in assignContactFromEmail() 273 public void assignContactFromPhone(String phoneNumber, boolean lazyLookup, Bundle extras) { in assignContactFromPhone() argument 275 mExtras = extras; in assignContactFromPhone() 305 final Bundle extras = (mExtras == null) ? new Bundle() : mExtras; in onClick() local 310 extras.putString(EXTRA_URI_CONTENT, mContactEmail); in onClick() 311 mQueryHandler.startQuery(TOKEN_EMAIL_LOOKUP_AND_TRIGGER, extras, in onClick() 315 extras.putString(EXTRA_URI_CONTENT, mContactPhone); in onClick() 316 mQueryHandler.startQuery(TOKEN_PHONE_LOOKUP_AND_TRIGGER, extras, in onClick() 350 Bundle extras = (cookie != null) ? (Bundle) cookie : new Bundle(); in onQueryComplete() local [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeFiltering.java | 89 consolidatedPolicy, UserHandle userHandle, Bundle extras, in matchesCallFilter() argument 95 && REPEAT_CALLERS.isRepeat(context, extras)) { in matchesCallFilter() 100 final float contactAffinity = validator.getContactAffinity(userHandle, extras, in matchesCallFilter() 108 private static Bundle extras(NotificationRecord record) { in extras() method in ZenModeFiltering 110 ? record.sbn.getNotification().extras : null; in extras() 114 REPEAT_CALLERS.recordCall(mContext, extras(record)); in recordCall() 161 && REPEAT_CALLERS.isRepeat(mContext, extras(record))) { in shouldIntercept() 298 private synchronized void recordCall(Context context, Bundle extras) { in recordCall() argument 300 if (mThresholdMinutes <= 0 || extras == null) return; in recordCall() 301 final String peopleString = peopleString(extras); in recordCall() [all …]
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextLinks.java | 104 private TextLinks(String fullText, ArrayList<TextLink> links, Bundle extras) { in TextLinks() argument 107 mExtras = extras; in TextLinks() 225 @NonNull Bundle extras, @Nullable URLSpan urlSpan) { in TextLink() argument 229 Preconditions.checkNotNull(extras); in TextLink() 234 mExtras = extras; in TextLink() 315 final Bundle extras = in.readBundle(); in readFromParcel() local 316 return new TextLink(start, end, entityConfidence, extras, null /* urlSpan */); in readFromParcel() 352 Bundle extras) { in Request() argument 357 mExtras = extras; in Request() 506 public Builder setExtras(@Nullable Bundle extras) { in setExtras() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | MockProvider.java | 76 public void setStatus(int status, Bundle extras, long updateTime) { in setStatus() argument 79 mExtras = extras; in setStatus() 91 public int getStatus(Bundle extras) { in getStatus() argument 93 extras.clear(); in getStatus() 94 extras.putAll(mExtras); in getStatus() 106 public void sendExtraCommand(String command, Bundle extras) {} in sendExtraCommand() argument
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSession.java | 382 public void sendSessionEvent(@NonNull String event, @Nullable Bundle extras) { in sendSessionEvent() argument 387 mBinder.sendEvent(event, extras); in sendSessionEvent() 533 public void setExtras(@Nullable Bundle extras) { in setExtras() argument 535 mBinder.setExtras(extras); in setExtras() 644 void dispatchPrepareFromMediaId(RemoteUserInfo caller, String mediaId, Bundle extras) { in dispatchPrepareFromMediaId() argument 645 postToCallback(caller, CallbackMessageHandler.MSG_PREPARE_MEDIA_ID, mediaId, extras); in dispatchPrepareFromMediaId() 648 void dispatchPrepareFromSearch(RemoteUserInfo caller, String query, Bundle extras) { in dispatchPrepareFromSearch() argument 649 postToCallback(caller, CallbackMessageHandler.MSG_PREPARE_SEARCH, query, extras); in dispatchPrepareFromSearch() 652 void dispatchPrepareFromUri(RemoteUserInfo caller, Uri uri, Bundle extras) { in dispatchPrepareFromUri() argument 653 postToCallback(caller, CallbackMessageHandler.MSG_PREPARE_URI, uri, extras); in dispatchPrepareFromUri() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IVoiceInteractor.aidl | 31 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in Bundle extras); in startConfirmation() argument 34 in VoiceInteractor.PickOptionRequest.Option[] options, in Bundle extras); in startPickOption() argument 36 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in Bundle extras); in startCompleteVoice() argument 38 IVoiceInteractorCallback callback, in VoiceInteractor.Prompt prompt, in Bundle extras); in startAbortVoice() argument 40 IVoiceInteractorCallback callback, String command, in Bundle extras); in startCommand() argument
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 940 public Bundle extras = new Bundle(); field in Notification 1508 private Action(Icon icon, CharSequence title, PendingIntent intent, Bundle extras, in Action() argument 1517 this.mExtras = extras != null ? extras : new Bundle(); in Action() 1637 @Nullable PendingIntent intent, @NonNull Bundle extras, in Builder() argument 1643 mExtras = extras; in Builder() 1660 public Builder addExtras(Bundle extras) { in addExtras() argument 1661 if (extras != null) { in addExtras() 1662 mExtras.putAll(extras); in addExtras() 2275 extras = Bundle.setDefusable(parcel.readBundle(), true); // may be null in readFromParcelImpl() 2388 if (this.extras != null) { in cloneInto() [all …]
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | BugreportReceiverTest.java | 255 Bundle extras = in testProgress() local 257 assertActionSendMultiple(extras, BUGREPORT_CONTENT, SCREENSHOT_CONTENT, ID, PID, ZIP_FILE, in testProgress() 292 Bundle extras = acceptBugreportAndGetSharedIntent(ID); in testProgress_takeExtraScreenshot() local 293 assertActionSendMultiple(extras, BUGREPORT_CONTENT, SCREENSHOT_CONTENT, ID, PID, ZIP_FILE, in testProgress_takeExtraScreenshot() 312 Bundle extras = acceptBugreportAndGetSharedIntent(ID); in testScreenshotFinishesAfterBugreport() local 313 assertActionSendMultiple(extras, BUGREPORT_CONTENT, NO_SCREENSHOT, ID, PID, ZIP_FILE, in testScreenshotFinishesAfterBugreport() 357 Bundle extras = sendBugreportFinishedAndGetSharedIntent(ID, mPlainTextPath, in testProgress_changeDetailsInvalidInput() local 359 assertActionSendMultiple(extras, BUGREPORT_CONTENT, SCREENSHOT_CONTENT, ID, PID, TITLE, in testProgress_changeDetailsInvalidInput() 412 Bundle extras = sendBugreportFinishedAndGetSharedIntent(ID, in changeDetailsTest() local 414 assertActionSendMultiple(extras, BUGREPORT_CONTENT, SCREENSHOT_CONTENT, ID, PID, TITLE, in changeDetailsTest() [all …]
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceManager.java | 225 Bundle extras = new Bundle(); in getSliceDescendants() local 226 extras.putParcelable(SliceProvider.EXTRA_BIND_URI, uri); in getSliceDescendants() 227 final Bundle res = provider.call(SliceProvider.METHOD_GET_DESCENDANTS, null, extras); in getSliceDescendants() 251 Bundle extras = new Bundle(); in bindSlice() local 252 extras.putParcelable(SliceProvider.EXTRA_BIND_URI, uri); in bindSlice() 253 extras.putParcelableArrayList(SliceProvider.EXTRA_SUPPORTED_SPECS, in bindSlice() 255 final Bundle res = provider.call(SliceProvider.METHOD_SLICE, null, extras); in bindSlice() 313 Bundle extras = new Bundle(); in mapIntentToUri() local 314 extras.putParcelable(SliceProvider.EXTRA_INTENT, intent); in mapIntentToUri() 315 final Bundle res = provider.call(SliceProvider.METHOD_MAP_ONLY_INTENT, null, extras); in mapIntentToUri() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncOperationTest.java | 127 account1.equals(op2.extras.get("acc"))); in testConversionToExtras() 128 assertTrue("Fields in extras not persisted", "String".equals(op2.extras.getString("str"))); in testConversionToExtras() 133 PersistableBundle extras = new PersistableBundle(); in testConversionFromExtras() local 134 SyncOperation op = SyncOperation.maybeCreateFromJobExtras(extras); in testConversionFromExtras() 146 Bundle extras = new Bundle(); in testFailedPeriodicConversion() local 147 SyncOperation periodic = new SyncOperation(ep, 0, "package", 0, 0, extras, false, true, in testFailedPeriodicConversion()
|
/frameworks/base/core/java/android/provider/ |
D | BlockedNumberContract.java | 490 Bundle extras) { in shouldSystemBlockNumber() argument 494 AUTHORITY_URI, METHOD_SHOULD_SYSTEM_BLOCK_NUMBER, phoneNumber, extras); in shouldSystemBlockNumber() 554 Bundle extras = new Bundle(); in getEnhancedBlockSetting() local 555 extras.putString(EXTRA_ENHANCED_SETTING_KEY, key); in getEnhancedBlockSetting() 558 AUTHORITY_URI, METHOD_GET_ENHANCED_BLOCK_SETTING, null, extras); in getEnhancedBlockSetting() 581 Bundle extras = new Bundle(); in setEnhancedBlockSetting() local 582 extras.putString(EXTRA_ENHANCED_SETTING_KEY, key); in setEnhancedBlockSetting() 583 extras.putBoolean(EXTRA_ENHANCED_SETTING_VALUE, value); in setEnhancedBlockSetting() 585 null, extras); in setEnhancedBlockSetting()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ProgressReporter.java | 208 private void notifyStarted(int id, Bundle extras) { in notifyStarted() argument 211 mListeners.getBroadcastItem(i).onStarted(id, extras); in notifyStarted() 218 private void notifyProgress(int id, int progress, Bundle extras) { in notifyProgress() argument 221 mListeners.getBroadcastItem(i).onProgress(id, progress, extras); in notifyProgress() 228 private void notifyFinished(int id, Bundle extras) { in notifyFinished() argument 231 mListeners.getBroadcastItem(i).onFinished(id, extras); in notifyFinished()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | BlockChecker.java | 44 public static boolean isBlocked(Context context, String phoneNumber, Bundle extras) { in isBlocked() argument 45 return getBlockStatus(context, phoneNumber, extras) in isBlocked() 66 public static int getBlockStatus(Context context, String phoneNumber, Bundle extras) { in getBlockStatus() argument 72 context, phoneNumber, extras); in getBlockStatus()
|
/frameworks/base/core/java/android/app/job/ |
D | JobParameters.java | 66 private final PersistableBundle extras; field in JobParameters 81 public JobParameters(IBinder callback, int jobId, PersistableBundle extras, in JobParameters() argument 86 this.extras = extras; in JobParameters() 126 return extras; in getExtras() 287 extras = in.readPersistableBundle(); in JobParameters() 323 dest.writePersistableBundle(extras); in writeToParcel()
|