Home
last modified time | relevance | path

Searched refs:ServiceBinder (Results 1 – 4 of 4) sorted by relevance

/cts/tests/app/ShortFgsTest/src/android/app/cts/shortfgstest/
DServiceBinder.java34 public class ServiceBinder implements AutoCloseable { class
42 private ServiceBinder(Context context, ComponentName componentName, int flags) { in ServiceBinder() method in ServiceBinder
51 public static ServiceBinder bind(Context c, ComponentName cn, int flags) throws Exception { in bind()
52 final ServiceBinder b = new ServiceBinder(c, cn, flags); in bind()
DActivityManagerShortFgsTest.java695 try (ServiceBinder b = ServiceBinder.bind(sContext, FGS0, Context.BIND_AUTO_CREATE)) { in testCannotMakeShortFgsIfBoundButNotStarted()
725 try (ServiceBinder b = ServiceBinder.bind(sContext, FGS0, in testCanMakeShortFgsIfBoundAndStarted()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DMediaProjectionHelper.java140 private final IBinder mBinder = new ServiceBinder(this);
189 private static class ServiceBinder extends Binder { class in MediaProjectionHelper
192 ServiceBinder(MediaProjectionService service) { in ServiceBinder() method in MediaProjectionHelper.ServiceBinder
243 service[0] = ((ServiceBinder) binder).mService; in authorizeMediaProjection()
/cts/tests/sensitivecontentprotection/src/android/sensitivecontentprotection/cts/
DSensitiveContentMediaProjectionHelper.java140 private final IBinder mBinder = new ServiceBinder(this);
189 private static class ServiceBinder extends Binder { class in SensitiveContentMediaProjectionHelper
192 ServiceBinder(MediaProjectionService service) { in ServiceBinder() method in SensitiveContentMediaProjectionHelper.ServiceBinder
243 service[0] = ((ServiceBinder) binder).mService; in authorizeMediaProjection()