1. 18 Jun, 2015 1 commit
  2. 08 Jun, 2015 1 commit
  3. 04 Jun, 2015 1 commit
  4. 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
  5. 06 May, 2015 1 commit
  6. 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
  7. 24 Apr, 2015 1 commit
  8. 22 Apr, 2015 1 commit
  9. 16 Apr, 2015 2 commits
  10. 15 Apr, 2015 1 commit
  11. 14 Apr, 2015 1 commit
  12. 09 Apr, 2015 4 commits
  13. 06 Apr, 2015 4 commits
  14. 16 Mar, 2015 4 commits
  15. 11 Mar, 2015 1 commit
  16. 25 Feb, 2015 1 commit
  17. 20 Feb, 2015 3 commits
  18. 10 Feb, 2015 2 commits
  19. 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
  20. 08 Feb, 2015 2 commits
  21. 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
  22. 23 Jan, 2015 3 commits
  23. 09 Jan, 2015 2 commits