From 27b4d94a07ac00367ad12b667c983a89153537d8 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Mon, 12 Nov 2018 15:01:40 -0800 Subject: Implement naming of isolated service bindings. This allows clients to run multiple instances of the same manifest service declaration. It only works for isolated services, to avoid too much abuse temptation. This is part of the "Chrome site isolation" work, to allow chrome to have many more render processes running and help it manage them. Bug: 111434506 Test: atest CtsAppTestCases:ServiceTest Change-Id: I22e65758678a07075ed32ed6463082ddf846d3a4 --- test-runner/src/android/test/IsolatedContext.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test-runner') diff --git a/test-runner/src/android/test/IsolatedContext.java b/test-runner/src/android/test/IsolatedContext.java index 6e4c41eef81c..73db4517e130 100644 --- a/test-runner/src/android/test/IsolatedContext.java +++ b/test-runner/src/android/test/IsolatedContext.java @@ -74,6 +74,12 @@ public class IsolatedContext extends ContextWrapper { return false; } + @Override + public boolean bindIsolatedService(Intent service, ServiceConnection conn, int flags, + String instanceName) { + return false; + } + @Override public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { return null; -- cgit v1.2.3