1. 19 Aug, 2015 1 commit
  2. 29 Jul, 2015 2 commits
  3. 06 Jul, 2015 1 commit
    • Sungmin Choi's avatar
      Support backward compatibility of new LAST_CALL_FAIL_CAUSE · a408c25e
      Sungmin Choi authored
      Previous fail cause returns integer array. New fail cuase returns integer and
      string. RIL framework uses just integer as causeCode.
      To support backward compatibility, returns integer instead of integer array
      as causeCode.
      
      Bug: 22204818
      Change-Id: I77ca55d99a44d129cf401743c34c03754f38dde2
      a408c25e
  4. 18 Jun, 2015 1 commit
  5. 08 Jun, 2015 1 commit
  6. 04 Jun, 2015 1 commit
  7. 20 May, 2015 1 commit
    • fenglu's avatar
      LCE RIL comment nit · 290add33
      fenglu authored
      cherrypick from mwd to mnc-dev
      
      Bug: 21307103
      Change-Id: I0d9dd7bafee24a4853984ebcb665c022a0cbdc6a
      290add33
  8. 06 May, 2015 1 commit
  9. 30 Apr, 2015 1 commit
    • Robert Greenwalt's avatar
      Remove verbose logs · 191e4dc9
      Robert Greenwalt authored
      Several things are redundent except for the fact
      messages are reaching rilc.  Left in in case we need to debug
      the layer, but blocked out with #if VDBG
      
      Reduces startup logging to radio buffer by 20%
      
      Change-Id: I95099457ea365ee108e7da8e1f81434531b6b9f0
      191e4dc9
  10. 24 Apr, 2015 1 commit
  11. 22 Apr, 2015 1 commit
  12. 16 Apr, 2015 2 commits
  13. 15 Apr, 2015 1 commit
  14. 14 Apr, 2015 1 commit
  15. 09 Apr, 2015 4 commits
  16. 06 Apr, 2015 4 commits
  17. 16 Mar, 2015 4 commits
  18. 11 Mar, 2015 1 commit
  19. 25 Feb, 2015 1 commit
  20. 20 Feb, 2015 3 commits
  21. 10 Feb, 2015 2 commits
  22. 09 Feb, 2015 1 commit
    • Nick Kralevich's avatar
      ril.cpp: fix misuse of strncat · c52e45ed
      Nick Kralevich authored
      strncat(dest,src,size) appends size+1 bytes to the end of
      dest, so sizeof(dest) must be greater than
      strlen(dest) + size + 1. Passing the buffer size to strncat
      instead of sizeof(dest) - strlen(dest) - 1 is a common
      strncat bug. Use strlcat instead, as it has more intuitive
      behavior and ensures the buffer is properly null terminated.
      
      Addresses the following compiler warning:
      
        In file included from system/core/include/cutils/sockets.h:22:0,
                         from hardware/ril/libril/ril.cpp:24:
        In function 'char* strncat(char*, const char*, size_t)',
            inlined from 'void android::RIL_register(const RIL_RadioFunctions*)' at hardware/ril/libril/ril.cpp:4258:62:
        bionic/libc/include/string.h:199:61: warning: call to char* __builtin___strncat_chk(char*, const char*, unsigned int, unsigned int) might overflow destination buffer
             return __builtin___strncat_chk(dest, src, n, __bos(dest));
                                                                   ^
      
      (line numbers are from internal master and do not match AOSP)
      
      Even with this change, this code feels weird.
      MAX_DEBUG_SOCKET_NAME_LENGTH is 12, and rildebug is initialized to be
      SOCKET_NAME_RIL_DEBUG ("rild-debug"), which is 11 bytes including null
      terminator. The strlcat call here can append a maximum of 1 byte before
      the buffer is full. I don't know if this is intended or not.
      
      Change-Id: I49801ad1ea3aa6173bbc9fd7cf00f3d308693253
      c52e45ed
  23. 08 Feb, 2015 2 commits
  24. 03 Feb, 2015 1 commit
    • Nanik Tolaram's avatar
      Removal of dead code and adding log messages to make it easier · 4bd5eb59
      Nanik Tolaram authored
      for debugging
      
      - Add more logging using ALOGD(..) for function dispatchSmsWrite,
      dispatchDial, dispatchSIM_IO, dispatchSIM_APDU, dispatchCallForward,
      dispatchRaw and dispatchCdmaSmsAck. To make it easier for debugging.
      
      - Remove commented log message inside wakeTimeoutCallback () function
      and remove the else clause as it's dead not used for anything.
      
      - Modify log message inside removeFromList and removeWatch using +
      and - to make it consistent with the other log message.
      
      Change-Id: Ife0212e6a4724d8b06a1dd767484bfdf98b8e1a6
      Signed-off-by: default avatarNanik Tolaram <nanikjava@gmail.com>
      4bd5eb59
  25. 23 Jan, 2015 1 commit