Home
last modified time | relevance | path

Searched refs:deleted (Results 1 – 25 of 33) sorted by relevance

12

/packages/providers/ContactsProvider/tests/assets/testSynced/
Dexpected_raw_contacts.txt5 5 deleted=0
23 23 deleted=0
41 41 deleted=0
59 59 deleted=0
77 77 deleted=0
95 95 deleted=0
113 113 deleted=0
131 131 deleted=0
149 149 deleted=0
167 167 deleted=0
[all …]
/packages/providers/ContactsProvider/tests/assets/upgradeTest/
Dcontacts2_1108.sql17 …LT 0,version INTEGER NOT NULL DEFAULT 1,dirty INTEGER NOT NULL DEFAULT 0,deleted INTEGER NOT NULL … field
38 …OT NULL DEFAULT 0,title TEXT,title_res INTEGER,notes TEXT,system_id TEXT,deleted INTEGER NOT NULL … field
45 …e TEXT,transcription TEXT,state INTEGER,dirty INTEGER NOT NULL DEFAULT 0,deleted INTEGER NOT NULL … field
53 …aw_contact_backup_id TEXT NOT NULL,account_id INTEGER NOT NULL,data TEXT,deleted INTEGER NOT NULL … field
140 …tacts._id AS _id,contact_id, aggregation_mode, raw_contact_is_read_only, deleted, raw_contacts.met…
142 CREATE VIEW view_raw_entities AS SELECT contact_id, raw_contacts.deleted AS deleted,raw_contacts.me…
143 …act_id AS _id, raw_contacts.contact_id AS contact_id, raw_contacts.deleted AS deleted,raw_contacts…
146 …._id, raw_contact_backup_id, account_name, account_type, data_set, data, deleted FROM metadata_syn…
148 …type_and_data_set,sourceid,version,dirty,title,title_res,notes,system_id,deleted,group_visible,sho…
150 …acts SET version=OLD.version+1 WHERE _id=OLD._id AND NEW.deleted!= OLD.deleted; END;
[all …]
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
Dexpected_raw_contacts.txt5 5 deleted=0
23 23 deleted=0
41 41 deleted=0
59 59 deleted=0
77 77 deleted=0
/packages/providers/ContactsProvider/tests/assets/test1/
Dexpected_raw_contacts.txt5 5 deleted=0
23 23 deleted=0
41 41 deleted=0
59 59 deleted=0
77 77 deleted=1
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactMetadataProviderTest.java189 String deleted = "0"; in testInsertAndUpdateMetadataSync() local
212 insertedValues.put(MetadataSync.DELETED, deleted); in testInsertAndUpdateMetadataSync()
248 updatedValues.put(MetadataSync.DELETED, deleted); in testInsertAndUpdateMetadataSync()
262 String deleted = "0"; in testInsertMetadata() local
285 insertedValues.put(MetadataSync.DELETED, deleted); in testInsertMetadata()
550 String backupId, String data, int deleted) { in insertMetadata() argument
552 accountName, accountType, dataSet, backupId, data, deleted)); in insertMetadata()
556 String dataSet, String backupId, String data, int deleted) { in getMetadataContentValues() argument
563 values.put(MetadataSync.DELETED, deleted); in getMetadataContentValues()
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsReleaseStorage.java140 int deleted = 0; in deleteMessages() local
144 deleted = MmsUtils.deleteMediaMessages(); in deleteMessages()
152 deleted = MmsUtils.deleteMessagesOlderThan(cutOffTimestampInMillis); in deleteMessages()
161 if (deleted > 0) { in deleteMessages()
DMmsUtils.java1242 int deleted = 0; in deleteMediaMessages() local
1276 deleted += deletedForBatch; in deleteMediaMessages()
1280 return deleted; in deleteMediaMessages()
1329 int deleted = 0; in deleteMessagesOlderThan() local
1338 deleted += resolver.delete(Sms.CONTENT_URI, smsSelection, null/*selectionArgs*/); in deleteMessagesOlderThan()
1346 deleted += resolver.delete(Mms.CONTENT_URI, mmsSelection, null/*selectionArgs*/); in deleteMessagesOlderThan()
1347 return deleted; in deleteMessagesOlderThan()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactMetadataProvider.java353 Integer deleted = values.getAsInteger(MetadataSync.DELETED); in updateOrInsertDataToMetadataSync() local
354 if (deleted != null && deleted != 0) { in updateOrInsertDataToMetadataSync()
374 deleted = 0; // Only insert or update non-deleted metadata in updateOrInsertDataToMetadataSync()
387 rawContactBackupId, accountId, data, deleted); in updateOrInsertDataToMetadataSync()
DAbstractContactsProvider.java182 int deleted = deleteInTransaction(uri, selection, selectionArgs); in delete() local
183 if (deleted > 0) { in delete()
187 return deleted; in delete()
DPhotoStore.java232 boolean deleted = file.delete(); in cleanupFile()
233 if (!deleted) { in cleanupFile()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarInstancesHelper.java250 boolean deleted = (entries.getInt(deletedColumn) != 0); in performInstanceExpansion()
282 if (deleted) { in performInstanceExpansion()
404 initialValues.put(Events.DELETED, deleted); in performInstanceExpansion()
508 boolean deleted = values.containsKey(Events.DELETED) ? in performInstanceExpansion()
510 if ((status != null && status == Events.STATUS_CANCELED) || deleted) { in performInstanceExpansion()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrDataManagerImpl.java729 ScheduledRecording deleted = in removeScheduledRecording() local
733 getDeletedScheduleMap().put(deleted.getProgramId(), deleted); in removeScheduledRecording() local
734 schedulesNotToDelete.add(deleted); in removeScheduledRecording()
902 ScheduledRecording deleted = getDeletedScheduleMap().remove(r.getProgramId()); in removeDeletedSchedules() local
903 if (deleted != null) { in removeDeletedSchedules()
904 schedulesToDelete.add(deleted); in removeDeletedSchedules()
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreDatabase.java631 int deleted = 0; in deleteEntriesWithColumn() local
633 deleted = db.delete(NetworkAttributesContract.TABLENAME, in deleteEntriesWithColumn()
648 if (Status.SUCCESS != vacuumStatus) return new StatusAndCount(vacuumStatus, deleted); in deleteEntriesWithColumn()
650 return new StatusAndCount(Status.SUCCESS, deleted); in deleteEntriesWithColumn()
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTsStreamWriter.java163 boolean deleted = file.delete(); in deleteOutdatedFiles()
164 if (DEBUG && !deleted) { in deleteOutdatedFiles()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupUtil.java306 public final int deleted; field in GroupUtil.GroupsProjection
319 deleted = cursor.getColumnIndex(Groups.DELETED); in GroupsProjection()
334 deleted = list.indexOf(Groups.DELETED); in GroupsProjection()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmUpdateHandler.kt160 override fun onPostExecute(deleted: Boolean) { in <lambda>()
161 if (deleted) { in <lambda>()
DAlarmUpdateHandler.java170 protected void onPostExecute(Boolean deleted) { in asyncDeleteAlarm()
171 if (deleted) { in asyncDeleteAlarm()
/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoProvider.java499 int deleted = db.delete(table, selection, selectionArgs); in deleteCascade() local
500 if (deleted > 0) { in deleteCascade()
503 return deleted; in deleteCascade()
/packages/apps/Contacts/src/com/android/contacts/editor/
DKindSectionView.java523 int deleted = 0; in updateEmptyNonNameEditors() local
533 deleted++; in updateEmptyNonNameEditors()
534 if (deleted == emptyEditors.size() - 1) break; in updateEmptyNonNameEditors()
/packages/apps/Dialer/java/com/android/voicemail/impl/settings/
DVisualVoicemailSettingsUtil.java195 int deleted = in doInBackground() local
200 VvmLog.i("VisualVoicemailSettingsUtil.doInBackground", "deleted " + deleted + " voicemails"); in doInBackground()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncMessageBatch.java375 final int deleted = db.delete( in batchDelete() local
379 totalDeleted += deleted; in batchDelete()
/packages/services/Car/service/src/com/android/car/
DCarLocationService.java419 boolean deleted = getLocationCacheFile().delete(); in deleteCacheFile()
420 logd("Deleted cache file: " + deleted); in deleteCacheFile()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreServiceTest.java750 mService.delete(l2Key, false /* needWipe */, onDeleteStatus((status, deleted) -> {
752 assertEquals("Deleting count != 1 :" + deleted, 1, deleted.intValue());
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DUndoBarView.java78 context.getString(R.string.deleted), in UndoBarView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DTrustedCredentialsSettings.java140 private boolean deleted(IKeyChainService service, String alias) throws RemoteException { in deleted() method in TrustedCredentialsSettings.Tab
877 mDeleted = mTab.deleted(mService, mAlias); in CertHolder()

12