Home
last modified time | relevance | path

Searched refs:extras (Results 1 – 25 of 354) sorted by relevance

12345678910>>...15

/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupManagerMonitorUtils.java54 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/
DAppWidgetProvider.java62 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/
DSyncActivityTooManyDeletes.java50 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 …]
DPeriodicSync.java35 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 …]
DAbstractThreadedSyncAdapter.java183 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/
DImeInsetsSourceConsumer.java146 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/
DShowWhenLockedActivity.java129 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/
DSyncOperation.java77 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/
DConnectionRequest.java70 public Builder setExtras(Bundle extras) { in setExtras() argument
71 this.mExtras = extras; in setExtras()
157 Bundle extras) { in ConnectionRequest() argument
158 this(accountHandle, handle, extras, VideoProfile.STATE_AUDIO_ONLY, null, false, null, null); in ConnectionRequest()
170 Bundle extras, in ConnectionRequest() argument
172 this(accountHandle, handle, extras, videoState, null, false, null, null); in ConnectionRequest()
190 Bundle extras, in ConnectionRequest() argument
194 this(accountHandle, handle, extras, videoState, telecomCallId, in ConnectionRequest()
201 Bundle extras, in ConnectionRequest() argument
209 mExtras = extras; in ConnectionRequest()
[all …]
DConference.java67 public void onExtrasChanged(Conference c, Bundle extras) {} in onExtrasChanged() argument
71 public void onConnectionEvent(Conference c, String event, Bundle extras) {} in onConnectionEvent() argument
705 Bundle extras = getExtras(); in getCallRadioTech() local
706 if (extras != null) { in getCallRadioTech()
707 voiceNetworkType = extras.getInt(TelecomManager.EXTRA_CALL_NETWORK_TYPE, in getCallRadioTech()
795 public final void setExtras(@Nullable Bundle extras) { in setExtras() argument
800 putExtras(extras); in setExtras()
806 if (extras == null || !extras.containsKey(oldKey)) { in setExtras()
822 if (extras != null) { in setExtras()
823 mPreviousExtraKeys.addAll(extras.keySet()); in setExtras()
[all …]
/frameworks/base/core/java/android/content/pm/
DAuxiliaryResolveInfo.java92 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/
DQuickContactBadge.java233 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/location/
DMockProvider.java76 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/core/java/android/view/textclassifier/
DTextLinks.java102 private TextLinks(String fullText, ArrayList<TextLink> links, Bundle extras) { in TextLinks() argument
105 mExtras = extras; in TextLinks()
223 @NonNull Bundle extras, @Nullable URLSpan urlSpan) { in TextLink() argument
227 Preconditions.checkNotNull(extras); in TextLink()
232 mExtras = extras; in TextLink()
313 final Bundle extras = in.readBundle(); in readFromParcel() local
314 return new TextLink(start, end, entityConfidence, extras, null /* urlSpan */); in readFromParcel()
348 Bundle extras) { in Request() argument
353 mExtras = extras; in Request()
484 public Builder setExtras(@Nullable Bundle extras) { in setExtras() argument
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeFiltering.java89 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/com/android/internal/app/
DIVoiceInteractor.aidl31 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/media/java/android/media/session/
DMediaSession.java382 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/opt/gamesdk/samples/bouncyball/
Dsettings.gradle2 include ':extras'
3 project(':extras').projectDir = new File('../../src/extras')
/frameworks/opt/gamesdk/
Dsettings.gradle2 include ':extras'
3 project(':extras').projectDir= new File('src/extras')
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java127 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/os/
DIProgressListener.aidl23 void onStarted(int id, in Bundle extras); in onStarted() argument
24 void onProgress(int id, int progress, in Bundle extras); in onProgress() argument
25 void onFinished(int id, in Bundle extras); in onFinished() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBlockChecker.java43 public static boolean isBlocked(Context context, String phoneNumber, Bundle extras) { in isBlocked() argument
44 return getBlockStatus(context, phoneNumber, extras) in isBlocked()
65 public static int getBlockStatus(Context context, String phoneNumber, Bundle extras) { in getBlockStatus() argument
71 context, phoneNumber, extras); in getBlockStatus()
/frameworks/base/core/java/android/app/
DNotification.java933 public Bundle extras = new Bundle(); field in Notification
1501 private Action(Icon icon, CharSequence title, PendingIntent intent, Bundle extras, in Action() argument
1510 this.mExtras = extras != null ? extras : new Bundle(); in Action()
1630 @Nullable PendingIntent intent, @NonNull Bundle extras, in Builder() argument
1636 mExtras = extras; in Builder()
1653 public Builder addExtras(Bundle extras) { in addExtras() argument
1654 if (extras != null) { in addExtras()
1655 mExtras.putAll(extras); in addExtras()
2268 extras = Bundle.setDefusable(parcel.readBundle(), true); // may be null in readFromParcelImpl()
2381 if (this.extras != null) { in cloneInto()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DProgressReporter.java208 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/base/core/java/android/provider/
DBlockedNumberContract.java490 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()

12345678910>>...15