fa851800cf97d1a3d30a7a147877005dc48721ff |
|
28-Mar-2018 |
Svet Ganov <svetoslavganov@google.com> |
Add API to query if a UID is active Test: cts-tradefed run cts-dev -m CtsCameraTestCases Bug: 72863398 Change-Id: I8e5021f2ef4cd77fc89ae3b47cc32ad6913da0d6
/frameworks/native/libs/binder/ActivityManager.cpp
|
ae8b20d8174633510cded34beb0fda51bdc1f974 |
|
20-Mar-2018 |
Eino-Ville Talvala <etalvala@google.com> |
ActivityManager: Add link/unlinkToDeath Native services aren't killed when the system service dies, so they may need to be able to tell when ActivityManager has died. Test: adb shell stop; adb shell start; verify camera service still allows camera use. No regression to camera CTS. Bug: 74230547 Change-Id: Iaa078b2f9a1d9c7be305b7667e3055a8ce52aa21
/frameworks/native/libs/binder/ActivityManager.cpp
|
86fc4f34dfc0070d8e587e2af323f1e8b54f933d |
|
22-Feb-2018 |
Svetoslav Ganov <svetoslavganov@google.com> |
Don't block long time gettng system service Test: run google/template/local --template:map test google/continuous/boot-successive --no-first-boot --successive-boot --boot-count 10 --granular-boot-info -f SystemServerTiming_StartServices,SystemServerTiming_StartAudioService bug:72322854 Change-Id: Ie287e0a8f1ed10f9a535b489cef6f3db184e41cb
/frameworks/native/libs/binder/ActivityManager.cpp
|
25d78a1b39b86bc17e813ee7e21288551d2c9784 |
|
21-Jan-2018 |
Svet Ganov <svetoslavganov@google.com> |
Wait longer for the activity service Test: manual Change-Id: I4cdbaa756bd26986265bca4e3a0919083ea23336
/frameworks/native/libs/binder/ActivityManager.cpp
|
4d85b8c0a38c14f854af8ff85391b7a8d1170d5b |
|
02-Nov-2017 |
Ganesh Mahendran <opensource.ganesh@gmail.com> |
Don't record audio if UID is idle - native framework If a UID is in an idle state we don't allow recording to protect user's privacy. If the UID is in an idle state we allow recording but report empty data (all zeros in the byte array) and once the process goes in an active state we report the real mic data. This avoids the race between the app being notified aboout its lifecycle and the audio system being notified about the state of a UID. Test: Added - AudioRecordTest#testRecordNoDataForIdleUids Passing - cts-tradefed run cts-dev -m CtsMediaTestCases -t android.media.cts.AudioRecordTest bug:63938985 Change-Id: I10db89c09498b487ce483d1868123fca95589b34
/frameworks/native/libs/binder/ActivityManager.cpp
|