Searched refs:update (Results 26 - 50 of 320) sorted by relevance

1234567891011>>

/packages/apps/Launcher3/src/com/android/launcher3/compat/
H A DPackageInstallerCompatV16.java102 * This should be called by the implementations to register a package update.
128 ArrayList<PackageInstallInfo> update = new ArrayList<PackageInstallInfo>();
129 update.add(installInfo);
130 sendUpdate(app, update);
151 Log.e(TAG, "failed to deserialize app state update", e);
166 Log.e(TAG, "failed to serialize app state update", e);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DMailboxUtilities.java84 resolver.update(ContentUris.withAppendedId(Mailbox.CONTENT_URI, childId),
99 resolver.update(ContentUris.withAppendedId(Mailbox.CONTENT_URI, parentId),
162 resolver.update(Mailbox.CONTENT_URI, values, noParentKeySelection, null);
168 // Set temporary flag indicating state of update of mailbox list
172 context.getContentResolver().update(
202 // If our temporary flag is set, we were interrupted during an update
214 resolver.update(Mailbox.CONTENT_URI, values, accountSelector, null);
270 // If the name has changed, update it
272 resolver.update(ContentUris.withAppendedId(Mailbox.CONTENT_URI, id), values, null,
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
H A DNotificationService.java79 public static Notification makeBigTextNotification(Context context, int update, int id, argument
109 String addendum = update > 0 ? "(updated) " : "";
112 if (update > 1) {
117 if (update > 2) {
131 "update: " + update,
132 UpdateService.getPendingIntent(context, update + 1, id, when))
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForEmail.java53 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, method in class:DataRowHandlerForEmail
55 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) {
H A DDataRowHandlerForNickname.java55 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, method in class:DataRowHandlerForNickname
60 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) {
H A DVoicemailTable.java42 public int update(UriData uriData, ContentValues values, String selection, method in interface:VoicemailTable.Delegate
H A DDataRowHandler.java37 * Handles inserts and update for a specific Data type.
147 * @return true if update changed something
149 public boolean update(SQLiteDatabase db, TransactionContext txContext, method in class:DataRowHandler
158 db.update(Tables.DATA, values, Data._ID + " =?", mSelectionArgs1);
320 ContentValues update) {
331 if (!changing && update.containsKey(key)) {
332 Object newValue = update.get(key);
346 values.putAll(update);
319 getAugmentedValues(SQLiteDatabase db, long dataId, ContentValues update) argument
H A DDataRowHandlerForOrganization.java54 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, method in class:DataRowHandlerForOrganization
56 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) {
H A DDataRowHandlerForPhoto.java43 * insert/update. This is used when the photo has been written directly to an
78 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, method in class:DataRowHandlerForPhoto
91 // Do the actual update.
92 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) {
101 * Pre-processes the given content values for update or insert. If the photo column contains
117 // We should set the photo and photo file ID fields to null for the update.
160 Log.e(TAG, "Could not process photo for insert or update", ioe);
H A DVoicemailStatusTable.java102 public int update(UriData uriData, ContentValues values, String selection, method in class:VoicemailStatusTable
106 return getDatabaseModifier(db).update(mTableName, values, combinedClause,
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DGroupsTest.java164 mResolver.update(updateUri, values, null, null);
176 assertEquals(1, mResolver.update(uri, values, null, null));
211 mResolver.update(uri, values, null, null);
306 mResolver.update(AggregationExceptions.CONTENT_URI, values, null, null);
325 mResolver.update(Settings.CONTENT_URI, values, Settings.ACCOUNT_NAME + "=? AND "
347 mResolver.update(Groups.CONTENT_URI, values, Groups._ID + "=" + groupId, null);
357 mResolver.update(AggregationExceptions.CONTENT_URI, values, null, null);
365 mResolver.update(Groups.CONTENT_URI, values, Groups._ID + "=" + groupId, null);
H A DVoicemailProviderTest.java118 int count = mResolver.update(uri, values, null, null);
161 mResolver.update(Voicemails.CONTENT_URI, getTestVoicemailValues(), null, null);
222 // Now give away full permission and check that we can update and delete only
225 mResolver.update(withSourcePackageParam(ownVoicemail),
229 // However, attempting to update or delete another-package's voicemail should fail.
233 mResolver.update(anotherVoicemail, null, null, null);
243 // If we have the manage voicemail permission, we should be able to both update and delete
247 mResolver.update(anotherVoicemail, getTestVoicemailValues(), null, null);
249 // Now add the read voicemail permission temporarily to verify that the update actually
365 mResolver.update(ur
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
H A DDataUtil.java39 public static void update(ContentResolver resolver, long dataId, ContentValues values) { method in class:DataUtil
41 resolver.update(uri, values, null, null);
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/
H A DTestSyncAdapter.java58 final int count = cr.update(RawContacts.CONTENT_URI, values,
/packages/apps/DeskClock/src/com/android/deskclock/provider/
H A DClockProvider.java131 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { method in class:ClockProvider
138 count = db.update(ClockDatabaseHelper.ALARMS_TABLE_NAME, values,
144 count = db.update(ClockDatabaseHelper.INSTANCES_TABLE_NAME, values,
150 count = db.update(ClockDatabaseHelper.CITIES_TABLE_NAME, values,
156 "Cannot update URL: " + uri);
/packages/apps/HTMLViewer/src/com/android/htmlviewer/
H A DFileContentProvider.java89 public int update(Uri uri, ContentValues values, String selection, method in class:FileContentProvider
/packages/apps/QuickSearchBox/tests/slow/src/com/android/quicksearchbox/tests/slow/
H A DSlowSuggestionProvider.java80 public int update(Uri uri, ContentValues values, String selection, method in class:SlowSuggestionProvider
/packages/apps/QuickSearchBox/tests/spammy/src/com/android/quicksearchbox/tests/spammy/
H A DSpammySuggestionProvider.java74 public int update(Uri uri, ContentValues values, String selection, method in class:SpammySuggestionProvider
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/tests/
H A DCrashingIconProvider.java73 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { method in class:CrashingIconProvider
74 if (DBG) Log.d(TAG, "update(" + uri + ")");
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis2/
H A DVisualization2RS.java50 public void update() { method in class:Visualization2RS
/packages/apps/Launcher3/util/com/android/launcher3/
H A DDecoderRing.java248 checksum.update(wrapper.payload);
318 checksum.update(key.type);
319 checksum.update((int) (key.id & 0xffff));
320 checksum.update((int) ((key.id >> 32) & 0xffff));
322 checksum.update(key.name.getBytes());
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DVpnSettings.java276 preference.update(profile);
387 preference.update(-1);
394 preference.update(info.state);
439 update();
446 void update(VpnProfile profile) { method in class:VpnSettings.VpnPreference
448 update();
451 void update(int state) { method in class:VpnSettings.VpnPreference
453 update();
456 void update() { method in class:VpnSettings.VpnPreference
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
H A DMailboxUtilitiesTests.java87 // This simulates an older database needing update
88 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null);
144 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null);
195 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null);
239 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null);
286 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null);
339 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null);
392 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null);
445 mResolver.update(Mailbox.CONTENT_URI, mNullParentKey, null, null);
466 mResolver.update(ContentUri
[all...]
/packages/apps/Email/src/com/android/email/provider/
H A DFolderPickerDialog.java81 update((FolderRow) item);
94 * Call this to update the state of folders as a result of them being
99 public void update(FolderSelectorAdapter.FolderRow row) { method in class:FolderPickerDialog
/packages/apps/Settings/src/com/android/settings/notification/
H A DSettingPref.java78 update(context);
113 public void update(Context context) { method in class:SettingPref

Completed in 5553 milliseconds

1234567891011>>