Searched refs:extras (Results 1 - 25 of 90) 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.java78 Bundle extras) {
87 && extras != null
88 && extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false)) {
97 syncContextClient, authority, account, extras);
126 Bundle extras = new Bundle();
127 extras.putBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, true);
128 startSync(null, authority, account, extras);
144 Account account, Bundle extras) {
149 mExtras = extras;
198 * be specified in extras, whic
77 startSync(ISyncContext syncContext, String authority, Account account, Bundle extras) argument
143 SyncThread(String name, SyncContext syncContext, String authority, Account account, Bundle extras) argument
208 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/core/java/android/nfc/tech/
H A DNfcF.java65 Bundle extras = tag.getTechExtras(TagTechnology.NFC_F);
66 if (extras != null) {
67 mSystemCode = extras.getByteArray(EXTRA_SC);
68 mManufacturer = extras.getByteArray(EXTRA_PMM);
H A DNfcA.java65 Bundle extras = tag.getTechExtras(TagTechnology.NFC_A);
66 mSak = extras.getShort(EXTRA_SAK);
67 mAtqa = extras.getByteArray(EXTRA_ATQA);
H A DNfcB.java65 Bundle extras = tag.getTechExtras(TagTechnology.NFC_B);
66 mAppData = extras.getByteArray(EXTRA_APPDATA);
67 mProtInfo = extras.getByteArray(EXTRA_PROTINFO);
H A DNfcV.java66 Bundle extras = tag.getTechExtras(TagTechnology.NFC_V);
67 mRespFlags = extras.getByte(EXTRA_RESP_FLAGS);
68 mDsfId = extras.getByte(EXTRA_DSFID);
H A DIsoDep.java72 Bundle extras = tag.getTechExtras(TagTechnology.ISO_DEP);
73 if (extras != null) {
74 mHiLayerResponse = extras.getByteArray(EXTRA_HI_LAYER_RESP);
75 mHistBytes = extras.getByteArray(EXTRA_HIST_BYTES);
H A DNdef.java161 Bundle extras = tag.getTechExtras(TagTechnology.NDEF);
162 if (extras != null) {
163 mMaxNdefSize = extras.getInt(EXTRA_NDEF_MAXLENGTH);
164 mCardState = extras.getInt(EXTRA_NDEF_CARDSTATE);
165 mNdefMsg = extras.getParcelable(EXTRA_NDEF_MSG);
166 mNdefType = extras.getInt(EXTRA_NDEF_TYPE);
168 throw new NullPointerException("NDEF tech extras are null.");
/frameworks/base/location/java/android/location/
H A DILocationListener.aidl29 void onStatusChanged(String provider, int status, in 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
H A DILocationProvider.aidl43 int getStatus(out Bundle extras);
50 boolean sendExtraCommand(String command, inout Bundle extras);
/frameworks/base/services/java/com/android/server/location/
H A DLocationProviderInterface.java45 int getStatus(Bundle extras); argument
54 boolean sendExtraCommand(String command, Bundle extras); argument
H A DMockProvider.java93 public int getStatus(Bundle extras) { argument
95 extras.clear();
96 extras.putAll(mExtras);
179 public void setStatus(int status, Bundle extras, long updateTime) { argument
183 if (extras != null) {
184 mExtras.putAll(extras);
214 public boolean sendExtraCommand(String command, Bundle extras) { argument
H A DPassiveProvider.java103 public int getStatus(Bundle extras) { argument
144 public boolean sendExtraCommand(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/location/lib/java/com/android/location/provider/
H A DLocationProvider.java96 public int getStatus(Bundle extras) {
97 return LocationProvider.this.onGetStatus(extras);
124 public boolean sendExtraCommand(String command, Bundle extras) {
125 return LocationProvider.this.onSendExtraCommand(command, extras);
268 * <p> If extras is non-null, additional status information may be
271 public abstract int onGetStatus(Bundle extras); argument
336 * @param extras optional arguments for the command (or null).
337 * The provider may optionally fill the extras Bundle with results from the command.
341 public abstract boolean onSendExtraCommand(String command, Bundle extras); argument
/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/nfc-extras/java/com/android/nfc_extras/
H A DNfcExecutionEnvironment.java58 NfcExecutionEnvironment(NfcAdapterExtras extras) { argument
59 mExtras = 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);

Completed in 307 milliseconds

1234