Lines Matching defs:duration

464      * @param duration In seconds of the call. Use RAND_DURATION to pick a random one.
470 private void insertWithCachedValues(String number, long date, int duration, int type,
472 insert(number, date, duration, type);
493 * @param duration In seconds of the call. Use RAND_DURATION to pick a random one.
496 private void insert(String number, long date, int duration, int type) {
497 insertValues(getValuesToInsert(number, date, duration, type));
512 * @param duration In seconds of the call. Use RAND_DURATION to pick a random one.
515 private Object[] getValuesToInsert(String number, long date, int duration, int type) {
520 values[CallLogQuery.DURATION] = duration < 0 ? mRnd.nextInt(10 * 60) : duration;
535 * @param duration In seconds of the call. Use RAND_DURATION to pick a random one.
537 private void insertVoicemail(String number, long date, int duration) {
538 Object[] values = getValuesToInsert(number, date, duration, Calls.VOICEMAIL_TYPE);
548 * @param duration In seconds of the call. Use RAND_DURATION to pick a random one.
550 private void insertPrivate(long date, int duration) {
551 insert(CallerInfo.PRIVATE_NUMBER, date, duration, Calls.INCOMING_TYPE);
557 * @param duration In seconds of the call. Use RAND_DURATION to pick a random one.
559 private void insertUnknown(long date, int duration) {
560 insert(CallerInfo.UNKNOWN_NUMBER, date, duration, Calls.INCOMING_TYPE);
566 * @param duration In seconds of the call. Use RAND_DURATION to pick a random one.
568 private void insertCalltoVoicemail(long date, int duration) {
571 insert(mVoicemail, date, duration, Calls.OUTGOING_TYPE);