HomeSort by relevance Sort by last modified time
    Searched full:extras (Results 1 - 25 of 339) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/AccountsAndSyncSettings/src/com/android/settings/
SyncActivityTooManyDeletes.java 51 Bundle extras = getIntent().getExtras(); local
52 if (extras == null) {
57 mNumDeletes = extras.getLong("numDeletes");
58 mAccount = (Account) extras.getParcelable("account");
59 mAuthority = extras.getString("authority");
60 mProvider = extras.getString("provider");
118 Bundle extras = new Bundle(); local
119 extras.putBoolean(ContentResolver.SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS, true);
120 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
121 extras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true)
127 Bundle extras = new Bundle(); local
    [all...]
  /frameworks/base/core/java/android/content/
SyncOperation.java 31 public Bundle extras; field in class:SyncOperation
37 public SyncOperation(Account account, int source, String authority, Bundle extras,
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, sb, false /* asKey */)
    [all...]
PeriodicSync.java 33 /** 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) {
42 this.extras = new Bundle(extras);
53 dest.writeBundle(extras);
82 && SyncStorageEngine.equals(extras, other.extras);
AbstractThreadedSyncAdapter.java 78 Bundle extras) {
87 && extras != null
88 && extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false)) {
97 syncContextClient, authority, account, extras);
126 Bundle extras = new Bundle(); local
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, which is guaranteed to not be null. Invocation
    [all...]
ISyncAdapter.aidl 30 * be specified in extras, which is guaranteed to not be null.
36 * @param extras SyncAdapter-specific parameters
39 in Account account, in Bundle extras);
  /development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/
NoteEdit.java 44 Bundle extras = getIntent().getExtras(); local
45 if (extras != null) {
46 String title = extras.getString(NotesDbAdapter.KEY_TITLE);
47 String body = extras.getString(NotesDbAdapter.KEY_BODY);
48 mRowId = extras.getLong(NotesDbAdapter.KEY_ROWID);
  /development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/
NoteEdit.java 44 Bundle extras = getIntent().getExtras(); local
45 if (extras != null) {
46 String title = extras.getString(NotesDbAdapter.KEY_TITLE);
47 String body = extras.getString(NotesDbAdapter.KEY_BODY);
48 mRowId = extras.getLong(NotesDbAdapter.KEY_ROWID);
  /cts/tests/tests/content/src/android/content/cts/
ContentResolverSyncTestCase.java 119 Bundle extras = new Bundle(); local
120 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
135 Bundle extras = new Bundle(); local
136 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
138 ContentResolver.requestSync(account, authority, extras);
290 fail("did not throw IllegalArgumentException when extras is null.");
300 Bundle extras = new Bundle();
301 extras.putInt("Integer", 20);
302 extras.putLong("Long", 10l);
303 extras.putBoolean("Boolean", true)
    [all...]
  /cts/tests/res/xml/
input_extras.xml 17 <input-extras xmlns:android="http://schemas.android.com/apk/res/android">
20 </input-extras>
  /packages/apps/Gallery3D/src/com/cooliris/picasa/
PicasaService.java 55 Bundle extras = new Bundle(); local
56 extras.putInt(KEY_TYPE, type);
57 extras.putLong(KEY_ID, id);
61 ContentResolver.requestSync(account, PicasaContentProvider.AUTHORITY, extras);
65 // PicasaService.class).putExtras(extras));
106 public static boolean performSync(Context context, Account account, Bundle extras, SyncResult syncResult) {
113 performSyncImpl(context, account, extras, syncResult);
137 private static void performSyncImpl(Context context, Account account, Bundle extras, SyncResult syncResult) {
140 if (extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false)) {
160 int type = extras.getInt(PicasaService.KEY_TYPE, PicasaService.TYPE_USERS_ALBUMS)
    [all...]
  /cts/tests/src/android/content/cts/
MockSyncAdapter.java 79 Bundle extras) throws RemoteException {
83 mExtras = extras;
85 if (null != extras && extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE)) {
  /packages/apps/Browser/src/com/android/browser/
CombinedBookmarkHistoryActivity.java 100 Bundle extras = getIntent().getExtras(); local
103 if (extras != null) {
104 bookmarksIntent.putExtras(extras);
110 // Need to copy extras so the bookmarks activity and this one will be
112 Bundle visitedExtras = extras == null ? new Bundle() : new Bundle(extras);
120 if (extras != null) {
121 historyIntent.putExtras(extras);
122 defaultTab = extras.getString(STARTING_TAB);
  /frameworks/base/core/java/android/appwidget/
AppWidgetProvider.java 29 * with the received extras.
57 Bundle extras = intent.getExtras(); local
58 if (extras != null) {
59 int[] appWidgetIds = extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS);
66 Bundle extras = intent.getExtras(); local
67 if (extras != null && extras.containsKey(AppWidgetManager.EXTRA_APPWIDGET_ID)) {
68 final int appWidgetId = extras.getInt(AppWidgetManager.EXTRA_APPWIDGET_ID);
  /frameworks/base/location/java/android/location/
ILocationProvider.aidl 43 int getStatus(out Bundle extras);
50 boolean sendExtraCommand(String command, inout Bundle extras);
LocationListener.java 52 * @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);
  /frameworks/base/services/java/com/android/server/location/
LocationProviderInterface.java 45 int getStatus(Bundle extras);
54 boolean sendExtraCommand(String command, Bundle extras);
MockProvider.java 93 public int getStatus(Bundle extras) {
95 extras.clear();
96 extras.putAll(mExtras);
179 public void setStatus(int status, Bundle extras, long updateTime) {
183 if (extras != null) {
184 mExtras.putAll(extras);
214 public boolean sendExtraCommand(String command, Bundle extras) {
  /build/core/
checktree 93 extras = []
103 extras.append(file)
106 extras = filter(filter_excludes, extras)
108 for s in extras:
  /packages/apps/Nfc/src/com/android/nfc/
NativeNfcTag.java 441 Bundle extras = new Bundle(); local
442 extras.putParcelable(Ndef.EXTRA_NDEF_MSG, msg);
443 extras.putInt(Ndef.EXTRA_NDEF_MAXLENGTH, maxLength);
444 extras.putInt(Ndef.EXTRA_NDEF_CARDSTATE, cardState);
445 extras.putInt(Ndef.EXTRA_NDEF_TYPE, getNdefType(libnfcType, javaType));
451 builtTechExtras[builtTechExtras.length - 1] = extras;
454 // Tech extras were built before, patch the NDEF one in
458 newTechExtras[oldTechExtras.length] = extras;
505 Bundle extras = new Bundle(); local
510 extras.putShort(NfcA.EXTRA_SAK, (short) (actBytes[0] & (short) 0xFF))
    [all...]
  /frameworks/base/core/java/android/hardware/usb/
UsbManager.java 89 * Used in extras for the {@link #ACTION_USB_STATE} broadcast.
95 * Used in extras for the {@link #ACTION_USB_STATE} broadcast.
101 * Used in extras for the {@link #ACTION_USB_STATE} broadcast
107 * Used in extras for the {@link #ACTION_USB_STATE} broadcast
113 * Used in extras for the {@link #ACTION_USB_STATE} broadcast
119 * Used in extras for the {@link #ACTION_USB_STATE} broadcast
125 * Used in extras for the {@link #ACTION_USB_STATE} broadcast
131 * Used in {@link #USB_CONFIGURATION} extras bundle for the
138 * Used in {@link #USB_CONFIGURATION} extras bundle for the
230 * The following extras will be added to pi
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/
SyncStorageEngineTest.java 89 engine.addPeriodicSync(sync1.account, sync1.authority, sync1.extras, sync1.period);
90 engine.addPeriodicSync(sync2.account, sync2.authority, sync2.extras, sync2.period);
91 engine.addPeriodicSync(sync3.account, sync3.authority, sync3.extras, sync3.period);
92 engine.addPeriodicSync(sync4.account, sync4.authority, sync4.extras, sync4.period);
101 engine.removePeriodicSync(sync1.account, sync1.authority, sync1.extras);
116 engine.removePeriodicSync(sync.account, sync.authority, sync.extras);
169 engine.addPeriodicSync(sync1.account, sync1.authority, sync1.extras, sync1.period);
170 engine.addPeriodicSync(sync2.account, sync2.authority, sync2.extras, sync2.period);
171 engine.addPeriodicSync(sync3.account, sync3.authority, sync3.extras, sync3.period);
172 engine.addPeriodicSync(sync4.account, sync4.authority, sync4.extras, sync4.period)
209 final Bundle extras = new Bundle(); local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/os/
SmsMessageReceiver.java 34 Bundle extras = intent.getExtras(); local
35 if (extras == null)
38 Object[] pdus = (Object[]) extras.get("pdus");
  /development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
NoteEdit.java 50 Bundle extras = getIntent().getExtras(); local
51 mRowId = extras != null ? extras.getLong(NotesDbAdapter.KEY_ROWID)
  /frameworks/base/test-runner/src/android/test/
SyncBaseInstrumentation.java 48 Bundle extras = new Bundle(); local
49 extras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true);
52 ContentResolver.requestSync(account, authority, extras);
  /packages/apps/Gallery/src/com/android/camera/
PhotoAppWidgetBind.java 48 final Bundle extras = intent.getExtras(); local
51 extras.getIntArray(AppWidgetManager.EXTRA_APPWIDGET_IDS);
53 extras.getParcelableArrayList(EXTRA_APPWIDGET_BITMAPS);

Completed in 774 milliseconds

1 2 3 4 5 6 7 8 91011>>