commit | 31399ff50100414c07b42d50691954ae9c027fbd | [log] [tgz] |
---|---|---|
author | Chenbo Feng <fengc@google.com> | Wed Sep 28 17:03:31 2016 -0700 |
committer | Chenbo Feng <fengc@google.com> | Thu Sep 29 12:39:12 2016 -0700 |
tree | ceed008990e21f1c689d2d7e0e49334a21461915 | |
parent | 2e363e48f8b0f6c11ad3184d9c010052605b480d [diff] |
qtaguid replace asprintf with libbase StringPrintf use libbase function android::base::StringPrintf for string manipulation. Avoid free the char array at the end. Changed the program logic of building the match template to make it more concise. Test: manually tested on angler device. build and sync this module into device and run adb shell ./data/nativetest64/socketTag/socketTag Change-Id: Ic93ac4e91e87337acb2e12efadeb57833c36c95e