Searched refs:rowId (Results 1 - 25 of 34) sorted by relevance

12

/packages/apps/InCallUI/src/com/android/incallui/
H A DConferenceManagerPresenter.java167 public void separateConferenceConnection(int rowId) { argument
168 if (rowId < mCallerIds.length) {
169 TelecomAdapter.getInstance().separateCall(mCallerIds[rowId]);
173 public void endConferenceConnection(int rowId) { argument
174 if (rowId < mCallerIds.length) {
175 TelecomAdapter.getInstance().disconnectCall(mCallerIds[rowId]);
182 void setRowVisible(int rowId, boolean on); argument
183 void displayCallerInfoForConferenceRow(int rowId, String callerName, String callerNumber, argument
185 void setupSeparateButtonForRow(int rowId, boolean canSeparate); argument
186 void setupEndButtonForRow(int rowId, boolea argument
[all...]
H A DConferenceManagerFragment.java116 public void setRowVisible(int rowId, boolean on) { argument
118 mConferenceCallList[rowId].setVisibility(View.VISIBLE);
120 mConferenceCallList[rowId].setVisibility(View.GONE);
129 public final void displayCallerInfoForConferenceRow(int rowId, String callerName, argument
132 final ImageView photoView = (ImageView) mConferenceCallList[rowId].findViewById(
134 final TextView nameTextView = (TextView) mConferenceCallList[rowId].findViewById(
136 final TextView numberTextView = (TextView) mConferenceCallList[rowId].findViewById(
138 final TextView numberTypeTextView = (TextView) mConferenceCallList[rowId].findViewById(
161 public final void setupEndButtonForRow(final int rowId, boolean canDisconnect) { argument
162 View endButton = mConferenceCallList[rowId]
179 setupSeparateButtonForRow(final int rowId, boolean canSeparate) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDbModifierWithNotification.java100 long rowId = mDb.insert(table, nullColumnHack, values);
101 if (rowId > 0 && packagesModified.size() != 0) {
102 notifyVoicemailChangeOnInsert(ContentUris.withAppendedId(mBaseUri, rowId),
105 if (rowId > 0 && mIsCallsTable) {
108 return rowId;
114 long rowId = mInsertHelper.insert(values);
115 if (rowId > 0 && packagesModified.size() != 0) {
117 ContentUris.withAppendedId(mBaseUri, rowId), packagesModified);
119 if (rowId > 0 && mIsCallsTable) {
122 return rowId;
[all...]
H A DVoicemailStatusTable.java67 long rowId = getDatabaseModifier(db).insert(mTableName, null, copiedValues);
68 if (rowId > 0) {
69 Uri newUri = ContentUris.withAppendedId(uriData.getUri(), rowId);
H A DTransactionContext.java85 public void syncStateUpdated(long rowId, Object data) { argument
87 mUpdatedSyncStates.put(rowId, data);
H A DVoicemailContentTable.java141 long rowId = getDatabaseModifier(db).insert(mTableName, null, copiedValues);
142 if (rowId > 0) {
143 Uri newUri = ContentUris.withAppendedId(uriData.getUri(), rowId);
H A DCallLogProvider.java276 long rowId = getDatabaseModifier(mCallsInserter).insert(copiedValues);
277 if (rowId > 0) {
278 return ContentUris.withAppendedId(uri, rowId);
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastContentProvider.java198 long rowId = db.insert(CellBroadcastDatabaseHelper.TABLE_NAME, null, cv);
199 if (rowId == -1) {
212 * @param rowId the row ID of the broadcast to delete
215 boolean deleteBroadcast(long rowId) { argument
220 new String[]{Long.toString(rowId)});
224 Log.e(TAG, "failed to delete broadcast at row " + rowId);
H A DCellBroadcastListActivity.java233 * @param rowId the row ID of the broadcast to delete, or -1 to delete all broadcasts
235 public void confirmDeleteThread(long rowId) { argument
236 DeleteThreadListener listener = new DeleteThreadListener(rowId);
237 confirmDeleteThreadDialog(listener, (rowId == -1), getActivity());
263 public DeleteThreadListener(long rowId) { argument
264 mRowId = rowId;
/packages/apps/DeskClock/src/com/android/deskclock/provider/
H A DClockDatabaseHelper.java205 long rowId = -1;
223 rowId = db.insert(ALARMS_TABLE_NAME, ClockContract.AlarmsColumns.RINGTONE, values);
228 if (rowId < 0) {
231 LogUtils.v("Added alarm rowId = " + rowId);
233 return rowId;
H A DClockProvider.java166 long rowId;
170 rowId = mOpenHelper.fixAlarmInsert(initialValues);
173 rowId = db.insert(ClockDatabaseHelper.INSTANCES_TABLE_NAME, null, initialValues);
176 rowId = db.insert(ClockDatabaseHelper.CITIES_TABLE_NAME, null, initialValues);
182 Uri uriResult = ContentUris.withAppendedId(ClockContract.AlarmsColumns.CONTENT_URI, rowId);
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DIntentProvider.java68 public static IntentProvider getPlayVoicemailIntentProvider(final long rowId, argument
75 Calls.CONTENT_URI_WITH_VOICEMAIL, rowId));
H A DCallLogAdapter.java648 final long rowId = c.getLong(CallLogQuery.ID);
649 views.rowId = rowId;
654 int currentGroup = getDayGroupForCall(rowId);
769 expandOrCollapseActions(callLogItemView, isExpanded(rowId));
852 * @param rowId The row Id of the call.
855 private boolean isExpanded(long rowId) { argument
856 return mCurrentlyExpanded == rowId;
860 * Toggles the expansion state tracked for the call log row identified by rowId and returns
864 * @param rowId Th
867 toggleExpansion(long rowId) argument
1270 setDayGroup(long rowId, int dayGroup) argument
[all...]
H A DCallLogListItemViews.java60 public long rowId; field in class:CallLogListItemViews
H A DCallLogGroupBuilder.java59 * @param rowId The row Id of the current call.
62 public void setDayGroup(long rowId, int dayGroup); argument
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java1932 String [] rowId = new String[1];
1936 rowId[0] = cursor.getString(idColumnIndex);
1940 db.update("files", values, "_id=?", rowId);
1942 Log.w(TAG, "null data at id " + rowId);
1977 int rowId = cursor.getInt(idColumnIndex);
1978 db.update(tableName, values, "_id=" + rowId, null);
2939 long rowId = db.insert("files", FileColumns.DATE_MODIFIED, values);
2940 sendObjectAdded(rowId);
2941 return rowId;
3110 long rowId
3339 updateGenre(long rowId, String genre) argument
[all...]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarInstancesHelper.java140 * @param rowId The Event's _id.
144 private static String getEventValue(SQLiteDatabase db, long rowId, String columnName) { argument
148 new String[] { String.valueOf(rowId) });
606 * @param rowId The database row id of the event.
610 public void updateInstancesLocked(ContentValues values, long rowId, boolean newEvent, argument
646 String.valueOf(rowId)
673 updateRecurrenceInstancesLocked(values, rowId, db);
693 instanceValues.put(Instances.EVENT_ID, rowId);
724 * @param rowId The database row id of the event.
727 private void updateRecurrenceInstancesLocked(ContentValues values, long rowId, argument
833 getRelevantRecurrenceEntries(String recurrenceSyncId, long rowId) argument
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DSynchronousContactsProvider2.java190 long rowId =
193 db.execSQL("DELETE FROM raw_contacts WHERE _id > " + rowId + ";");
H A DBaseContactsProvider2Test.java646 protected long assertSingleGroup(Long rowId, Account account, String sourceId, String title) { argument
650 long actualRowId = assertGroup(c, rowId, account, sourceId, title);
658 protected long assertSingleGroupMembership(Long rowId, Long rawContactId, Long groupRowId, argument
663 long actualRowId = assertGroupMembership(c, rowId, rawContactId, groupRowId, sourceId);
671 protected long assertGroupMembership(Cursor c, Long rowId, Long rawContactId, Long groupRowId, argument
673 assertNullOrEquals(c, rowId, Data._ID);
680 protected long assertGroup(Cursor c, Long rowId, Account account, String sourceId, String title) { argument
681 assertNullOrEquals(c, rowId, Groups._ID);
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DUserDictionaryProvider.java209 long rowId = db.insert(USERDICT_TABLE_NAME, Words.WORD, values);
210 if (rowId > 0) {
211 Uri wordUri = ContentUris.withAppendedId(UserDictionary.Words.CONTENT_URI, rowId);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppProvider.java394 long rowId = 0;
412 rowId = Long.parseLong(segment);
413 myWhere += " ( " + BluetoothShare._ID + " = " + rowId + " ) ";
453 long rowId = Long.parseLong(segment);
454 myWhere += " ( " + BluetoothShare._ID + " = " + rowId + " ) ";
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsProvider.java338 long rowId;
374 if ((rowId = db.insert(table, null, finalValues)) <= 0) {
379 res = Uri.parse(res + "/" + rowId);
385 if ((rowId = db.insert(table, null, finalValues)) <= 0) {
390 res = Uri.parse(res + "/addr/" + rowId);
454 if ((rowId = db.insert(table, null, finalValues)) <= 0) {
459 res = Uri.parse(res + "/part/" + rowId);
473 cv.put(Telephony.MmsSms.WordsTable.ID, (2 << 32) + rowId);
475 cv.put(Telephony.MmsSms.WordsTable.SOURCE_ROW_ID, rowId);
506 if ((rowId
[all...]
/packages/providers/TvProvider/src/com/android/providers/tv/
H A DTvProvider.java547 long rowId = db.insert(CHANNELS_TABLE, null, values);
548 if (rowId > 0) {
549 Uri channelUri = TvContract.buildChannelUri(rowId);
564 long rowId = db.insert(PROGRAMS_TABLE, null, values);
565 if (rowId > 0) {
566 Uri programUri = TvContract.buildProgramUri(rowId);
585 long rowId = db.insert(WATCHED_PROGRAMS_TABLE, null, values);
586 if (rowId > 0) {
590 return TvContract.buildWatchedProgramUri(rowId);
1277 long rowId
[all...]
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetModel.java280 final int rowId = cursor.getPosition();
303 Log.d(TAG, "Row #" + rowId + " allDay:" + allDay + " start:" + start
/packages/apps/Gallery2/src/com/android/photos/data/
H A DPhotoProvider.java428 long rowId = db.replace(Metadata.TABLE, null, values);
429 rowCount = (rowId == -1) ? 0 : 1;

Completed in 825 milliseconds

12