Searched refs:rowsUpdated (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardFeatureProviderImpl.java | 64 final int rowsUpdated = db.update(CARD_TABLE, values, selection, selectionArgs); in markCardAsDismissed() local 66 return rowsUpdated; in markCardAsDismissed() 78 final int rowsUpdated = database.update(CARD_TABLE, values, selection, selectionArgs); in resetDismissedTime() local 80 Log.d(TAG, "Reset " + rowsUpdated + " records of dismissed time."); in resetDismissedTime() 82 return rowsUpdated; in resetDismissedTime()
|
/packages/providers/ContactsKeysProvider/src/com/android/providers/contactkeys/ |
D | E2eeContactKeysProvider.java | 244 int rowsUpdated; in updateE2eeContactKeyLocalVerificationState() local 251 rowsUpdated = mDbHelper.updateContactKeyLocalVerificationState(lookupKey, in updateE2eeContactKeyLocalVerificationState() 254 rowsUpdated = mDbHelper.updateContactKeyLocalVerificationState(lookupKey, in updateE2eeContactKeyLocalVerificationState() 259 response.putBoolean(E2eeContactKeys.KEY_UPDATED_ROWS, rowsUpdated > 0); in updateE2eeContactKeyLocalVerificationState() 282 int rowsUpdated; in updateE2eeContactKeyRemoteVerificationState() local 289 rowsUpdated = mDbHelper.updateContactKeyRemoteVerificationState(lookupKey, in updateE2eeContactKeyRemoteVerificationState() 292 rowsUpdated = mDbHelper.updateContactKeyRemoteVerificationState(lookupKey, in updateE2eeContactKeyRemoteVerificationState() 296 response.putBoolean(E2eeContactKeys.KEY_UPDATED_ROWS, rowsUpdated > 0); in updateE2eeContactKeyRemoteVerificationState() 367 int rowsUpdated; in updateE2eeSelfKeyRemoteVerificationState() local 374 rowsUpdated = mDbHelper.updateSelfKeyRemoteVerificationState(ownerPackageName, in updateE2eeSelfKeyRemoteVerificationState() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardFeatureProviderImplTest.java | 92 final int rowsUpdated = mImpl.resetDismissedTime(threshold); in resetDismissedTime_durationExpired_shouldResetToNull() local 94 assertThat(rowsUpdated).isEqualTo(1); in resetDismissedTime_durationExpired_shouldResetToNull() 103 final int rowsUpdated = mImpl.resetDismissedTime(threshold); in resetDismissedTime_durationNotExpired_shouldNotUpdate() local 105 assertThat(rowsUpdated).isEqualTo(0); in resetDismissedTime_durationNotExpired_shouldNotUpdate()
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | PhotoProvider.java | 332 int rowsUpdated = 0; in updateInTransaction() local 335 rowsUpdated = modifyMetadata(db, values); in updateInTransaction() 340 rowsUpdated = db.update(table, values, selection, selectionArgs); in updateInTransaction() 343 return rowsUpdated; in updateInTransaction()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DatabaseWrapper.java | 466 int rowsUpdated = 0; in execSQLUpdateDelete() local 468 rowsUpdated = statement.executeUpdateDelete(); in execSQLUpdateDelete() 476 return rowsUpdated; in execSQLUpdateDelete()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | AlarmInstance.kt | 499 val rowsUpdated: Long = in updateInstance() constant 501 return rowsUpdated == 1L in updateInstance()
|
D | Alarm.kt | 464 val rowsUpdated: Long = in updateAlarm() constant 466 return rowsUpdated == 1L in updateAlarm()
|