History log of /frameworks/base/core/java/com/android/internal/util/function/pooled/OmniFunction.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2d20fb47f4a7162450f993728876c74762b93112 09-Feb-2018 Svetoslav Ganov <svetoslavganov@google.com> APIs to watch active op changes

System singed components can watch for starting/finishing of
long running app ops. Also protected the APIs to watch op mode
changes with a singature permission for the cross-uid use case.

Test: atest com.android.server.appops.AppOpsActiveWatcherTest

bug:64085448

Change-Id: Id7fe79ce1de4c5690b4f52786424ec5a5d9eb0fa
/frameworks/base/core/java/com/android/internal/util/function/pooled/OmniFunction.java
2f5ee71ec851b1149b4e10ec211ad520cd73776e 24-Jun-2017 Eugene Susla <eugenesusla@google.com> PooledLambda

This introduces PooledLambda - a way of obtaining lambdas without the
allocations overhead.

See PooledLambda javadoc for a guide and PooledLambdaSample for code samples
of useful usages.

Test: ensure samples of PooledLambdaSample work as described.
Change-Id: I46f8ad27bc1de07e19f6e39f89d2cafe4238497a
/frameworks/base/core/java/com/android/internal/util/function/pooled/OmniFunction.java