Searched refs:extras (Results 1 - 25 of 79) sorted by relevance

1234

/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProvider.java29 * with the received extras.
57 Bundle extras = intent.getExtras();
58 if (extras != null) {
59 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS);
66 Bundle extras = intent.getExtras();
67 if (extras != null && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_ID)) {
68 final int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID);
/frameworks/base/core/java/android/content/
H A DPeriodicSync.java33 /** Any extras that parameters that are to be passed to the sync adapter. */
34 public final Bundle extras; field in class:PeriodicSync
39 public PeriodicSync(Account account, String authority, Bundle extras, long period) { argument
42 this.extras = new Bundle(extras);
53 dest.writeBundle(extras);
82 && SyncStorageEngine.equals(extras, other.extras);
H A DSyncOperation.java31 public Bundle extras; field in class:SyncOperation
37 public SyncOperation(Account account, int source, String authority, Bundle extras, argument
42 this.extras = new Bundle(extras);
63 if (!extras.getBoolean(extraName, false)) {
64 extras.remove(extraName);
72 this.extras = new Bundle(other.extras);
82 sb.append(" extras: ");
83 extrasToStringBuilder(extras, s
[all...]
H A DIIntentReceiver.aidl31 String data, in Bundle extras, boolean ordered, boolean sticky);
H A DAbstractThreadedSyncAdapter.java77 Bundle extras) {
86 && extras != null
87 && extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false)) {
96 syncContextClient, authority, account, extras);
125 Bundle extras = new Bundle();
126 extras.putBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, true);
127 startSync(null, authority, account, extras);
143 Account account, Bundle extras) {
148 mExtras = extras;
197 * be specified in extras, whic
76 startSync(ISyncContext syncContext, String authority, Account account, Bundle extras) argument
142 SyncThread(String name, SyncContext syncContext, String authority, Account account, Bundle extras) argument
207 onPerformSync(Account account, Bundle extras, String authority, ContentProviderClient provider, SyncResult syncResult) argument
[all...]
H A DISyncAdapter.aidl30 * be specified in extras, which is guaranteed to not be null.
36 * @param extras SyncAdapter-specific parameters
39 in Account account, in Bundle extras);
H A DBroadcastReceiver.java281 * Change the current result extras of this broadcast; only works with
293 * @param extras The new extra data map; may be null.
297 public final void setResultExtras(Bundle extras) { argument
299 mResultExtras = extras;
311 * @return Map The current extras map.
337 * @param extras The new extra data map. This is a Bundle
342 public final void setResult(int code, String data, Bundle extras) { argument
346 mResultExtras = extras;
H A DIContentService.aidl40 void requestSync(in Account account, String authority, in Bundle extras);
73 void addPeriodicSync(in Account account, String providerName, in Bundle extras,
83 void removePeriodicSync(in Account account, String providerName, in Bundle extras);
/frameworks/base/location/java/android/location/
H A DILocationListener.aidl29 void onStatusChanged(String provider, int status, in Bundle extras);
H A DLocationProviderInterface.java42 int getStatus(Bundle extras); argument
49 boolean sendExtraCommand(String command, Bundle extras); argument
H A DILocationProvider.aidl40 int getStatus(out Bundle extras);
47 boolean sendExtraCommand(String command, inout Bundle extras);
H A DLocationListener.java52 * @param extras an optional Bundle which will contain provider specific
55 * <p> A number of common key/value pairs for the extras Bundle are listed
63 void onStatusChanged(String provider, int status, Bundle extras); argument
/frameworks/base/location/java/android/location/provider/
H A DLocationProvider.java90 public int getStatus(Bundle extras) {
91 return LocationProvider.this.onGetStatus(extras);
118 public boolean sendExtraCommand(String command, Bundle extras) {
119 return LocationProvider.this.onSendExtraCommand(command, extras);
256 * <p> If extras is non-null, additional status information may be
259 public abstract int onGetStatus(Bundle extras); argument
323 * @param extras optional arguments for the command (or null).
324 * The provider may optionally fill the extras Bundle with results from the command.
328 public abstract boolean onSendExtraCommand(String command, Bundle extras); argument
/frameworks/base/test-runner/src/android/test/
H A DSyncBaseInstrumentation.java48 Bundle extras = new Bundle();
49 extras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true);
52 ContentResolver.requestSync(account, authority, extras);
/frameworks/base/core/java/android/accounts/
H A DGrantCredentialsPermissionActivity.java57 final Bundle extras = getIntent().getExtras();
58 mAccount = extras.getParcelable(EXTRAS_ACCOUNT);
59 mAuthTokenType = extras.getString(EXTRAS_AUTH_TOKEN_TYPE);
68 mUid = extras.getInt(EXTRAS_REQUESTING_UID);
69 final String accountTypeLabel = extras.getString(EXTRAS_ACCOUNT_TYPE_LABEL);
70 final String[] packages = extras.getStringArray(EXTRAS_PACKAGES);
71 final String authTokenLabel = extras.getString(EXTRAS_AUTH_TOKEN_LABEL);
/frameworks/base/location/java/com/android/internal/location/
H A DMockProvider.java92 public int getStatus(Bundle extras) { argument
94 extras.clear();
95 extras.putAll(mExtras);
156 public void setStatus(int status, Bundle extras, long updateTime) { argument
160 if (extras != null) {
161 mExtras.putAll(extras);
187 public boolean sendExtraCommand(String command, Bundle extras) { argument
H A DPassiveProvider.java97 public int getStatus(Bundle extras) { argument
134 public boolean sendExtraCommand(String command, Bundle extras) { argument
H A DGpsLocationProvider.java726 public int getStatus(Bundle extras) { argument
727 if (extras != null) {
728 extras.putInt("satellites", mSvCount);
852 public boolean sendExtraCommand(String command, Bundle extras) { argument
855 return deleteAidingData(extras);
874 private boolean deleteAidingData(Bundle extras) { argument
877 if (extras == null) {
881 if (extras.getBoolean("ephemeris")) flags |= GPS_DELETE_EPHEMERIS;
882 if (extras.getBoolean("almanac")) flags |= GPS_DELETE_ALMANAC;
883 if (extras
[all...]
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/
H A DExternalSharedPermsFLTest.java40 public void onStatusChanged(String provider, int status, Bundle extras) {}
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
H A DTestAppWidgetProvider.java49 Bundle extras = intent.getExtras();
50 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS);
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/
H A DTestAppWidgetProvider.java45 Bundle extras = intent.getExtras();
46 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS);
/frameworks/base/core/tests/coretests/src/android/content/
H A DSyncStorageEngineTest.java86 engine.addPeriodicSync(sync1.account, sync1.authority, sync1.extras, sync1.period);
87 engine.addPeriodicSync(sync2.account, sync2.authority, sync2.extras, sync2.period);
88 engine.addPeriodicSync(sync3.account, sync3.authority, sync3.extras, sync3.period);
89 engine.addPeriodicSync(sync4.account, sync4.authority, sync4.extras, sync4.period);
98 engine.removePeriodicSync(sync1.account, sync1.authority, sync1.extras);
113 engine.removePeriodicSync(sync.account, sync.authority, sync.extras);
166 engine.addPeriodicSync(sync1.account, sync1.authority, sync1.extras, sync1.period);
167 engine.addPeriodicSync(sync2.account, sync2.authority, sync2.extras, sync2.period);
168 engine.addPeriodicSync(sync3.account, sync3.authority, sync3.extras, sync3.period);
169 engine.addPeriodicSync(sync4.account, sync4.authority, sync4.extras, sync
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListOfInternalSelectionViews.java115 Bundle extras = getIntent().getExtras();
116 if (extras != null) {
117 initFromBundle(extras);
/frameworks/base/core/java/android/view/inputmethod/
H A DEditorInfo.java240 public Bundle extras; field in class:EditorInfo
260 pw.println(prefix + "extras=" + extras);
283 dest.writeBundle(extras);
305 res.extras = source.readBundle();
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
H A DExternalSharedPermsTest.java45 public void onStatusChanged(String provider, int status, Bundle extras) {}

Completed in 1683 milliseconds

1234