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

12345

/frameworks/base/core/java/android/content/
H A DSyncActivityTooManyDeletes.java50 Bundle extras = getIntent().getExtras();
51 if (extras == null) {
56 mNumDeletes = extras.getLong("numDeletes");
57 mAccount = (Account) extras.getParcelable("account");
58 mAuthority = extras.getString("authority");
59 mProvider = extras.getString("provider");
117 Bundle extras = new Bundle();
118 extras.putBoolean(ContentResolver.SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS, true);
119 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
120 extras
[all...]
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.java32 public Bundle extras; field in class:SyncOperation
41 public SyncOperation(Account account, int source, String authority, Bundle extras, argument
47 this.extras = new Bundle(extras);
71 if (!extras.getBoolean(extraName, false)) {
72 extras.remove(extraName);
80 this.extras = new Bundle(other.extras);
105 if (!useOneLine && !extras.keySet().isEmpty()) {
107 extrasToStringBuilder(extras, s
[all...]
H A DIIntentReceiver.aidl31 String data, in Bundle extras, boolean ordered, boolean sticky);
H A DAbstractThreadedSyncAdapter.java150 Bundle extras) {
160 && extras != null
161 && extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false)) {
170 syncContextClient, authority, account, extras);
208 Bundle extras = new Bundle();
209 extras.putBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, true);
210 startSync(null, authority, account, extras);
227 Account account, Bundle extras) {
232 mExtras = extras;
281 * be specified in extras, whic
149 startSync(ISyncContext syncContext, String authority, Account account, Bundle extras) argument
226 SyncThread(String name, SyncContext syncContext, String authority, Account account, Bundle extras) argument
291 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 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);
H A DBroadcastReceiver.java302 public final void setResultExtras(Bundle extras) { argument
304 mResultExtras = extras;
324 public final void setResult(int code, String data, Bundle extras) { argument
328 mResultExtras = extras;
582 * Change the current result extras of this broadcast; only works with
594 * @param extras The new extra data map; may be null.
598 public final void setResultExtras(Bundle extras) { argument
600 mPendingResult.mResultExtras = extras;
612 * @return Map The current extras map.
641 * @param extras Th
646 setResult(int code, String data, Bundle extras) argument
[all...]
/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/nfc/tech/
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.java73 Bundle extras = tag.getTechExtras(TagTechnology.ISO_DEP);
74 if (extras != null) {
75 mHiLayerResponse = extras.getByteArray(EXTRA_HI_LAYER_RESP);
76 mHistBytes = extras.getByteArray(EXTRA_HIST_BYTES);
H A DNfcF.java69 Bundle extras = tag.getTechExtras(TagTechnology.NFC_F);
70 if (extras != null) {
71 mSystemCode = extras.getByteArray(EXTRA_SC);
72 mManufacturer = extras.getByteArray(EXTRA_PMM);
H A DNfcA.java69 Bundle extras = tag.getTechExtras(TagTechnology.NFC_A);
70 mSak = extras.getShort(EXTRA_SAK);
71 mAtqa = extras.getByteArray(EXTRA_ATQA);
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/core/java/android/service/wallpaper/
H A DIWallpaperEngine.aidl30 int z, in 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
/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/nfc-extras/java/com/android/nfc_extras/
H A DNfcAdapterExtras.java97 "You must pass a context to your NfcAdapter to use the NFC extras APIs");
104 NfcAdapterExtras extras = sNfcExtras.get(adapter);
105 if (extras == null) {
106 extras = new NfcAdapterExtras(adapter);
107 sNfcExtras.put(adapter, extras);
109 return 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) {}

Completed in 1713 milliseconds

12345