Home
last modified time | relevance | path

Searched refs:ServiceManagerInterface (Results 1 – 13 of 13) sorted by relevance

/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DPeriodicProvisionerTests.java45 import com.android.rkpdapp.interfaces.ServiceManagerInterface;
104 ServiceManagerInterface.setInstances(null); in tearDown()
124 ServiceManagerInterface.setInstances(new SystemInterface[0]); in provisionWithNoHals()
144 ServiceManagerInterface.setInstances(new SystemInterface[]{mockHal}); in provisionWithNoHostNameWithoutServerUrl()
161 ServiceManagerInterface.setInstances(new SystemInterface[]{mockHal}); in provisionWithNoHostNameWithServerUrl()
184 ServiceManagerInterface.setInstances(new SystemInterface[]{mockHal}); in provisionSuccess()
197 ServiceManagerInterface.setInstances(new SystemInterface[]{mockHal}); in fetchEekFails()
218 ServiceManagerInterface.setInstances(new SystemInterface[]{mockHal}); in fetchEekDisablesRkp()
250 ServiceManagerInterface.setInstances(new SystemInterface[]{mockHal}); in provisioningExpiresOldKeys()
274 ServiceManagerInterface.setInstances(new SystemInterface[]{firstHal, secondHal}); in provisionTwoHalsBothFail()
[all …]
DRemoteProvisioningServiceTest.java38 import com.android.rkpdapp.interfaces.ServiceManagerInterface;
69 ServiceManagerInterface.setInstances(null); in tearDown()
77 ServiceManagerInterface.setInstances(new SystemInterface[]{mockHal}); in getRegistrationSuccess()
110 ServiceManagerInterface.setInstances(new SystemInterface[]{mockHal}); in getRegistrationHandlesCallbackFailure()
123 ServiceManagerInterface.setInstances(new SystemInterface[0]); in getRegistrationWithInvalidHalName()
DSystemInterfaceTest.java52 import com.android.rkpdapp.interfaces.ServiceManagerInterface;
101 ServiceManagerInterface.setBinders(null); in cleanUp()
102 ServiceManagerInterface.setInstances(null); in cleanUp()
107 SystemInterface[] instances = ServiceManagerInterface.getAllInstances(); in testGetDeclaredInstances()
119 ServiceManagerInterface.getInstance("non-existent"); in testSearchFailForOtherServices()
130 ServiceManagerInterface.setBinders(ImmutableMap.of(SERVICE, mockedBinder)); in testGetAllInstancesWithUnsupportedService()
132 SystemInterface[] instances = ServiceManagerInterface.getAllInstances(); in testGetAllInstancesWithUnsupportedService()
140 ServiceManagerInterface.setBinders(ImmutableMap.of(SERVICE, mockedBinder)); in testGetInstanceWithUnsupportedService()
143 SystemInterface ignored = ServiceManagerInterface.getInstance(SERVICE); in testGetInstanceWithUnsupportedService()
DBootReceiverTest.java34 import com.android.rkpdapp.interfaces.ServiceManagerInterface;
59 ServiceManagerInterface.setInstances(new SystemInterface[]{mockHal}); in verifyBootWorkers()
/packages/modules/RemoteKeyProvisioning/app/tests/util/src/com/android/rkpdapp/testutil/
DSystemInterfaceSelector.java24 import com.android.rkpdapp.interfaces.ServiceManagerInterface;
33 for (SystemInterface systemInterface: ServiceManagerInterface.getAllInstances()) { in getSystemInterfaceForServiceName()
/packages/modules/RemoteKeyProvisioning/app/tests/avf/src/com/android/avf/rkpdapp/e2etest/
DAvfIntegrationTest.java36 import com.android.rkpdapp.interfaces.ServiceManagerInterface;
101 ServiceManagerInterface.setInstances(new SystemInterface[] {systemInterface}); in setUp()
106 ServiceManagerInterface.setInstances(null); in tearDown()
/packages/modules/RemoteKeyProvisioning/app/tests/e2e/src/com/android/rkpdapp/e2etest/
DRkpdHostTestHelperTests.java39 import com.android.rkpdapp.interfaces.ServiceManagerInterface;
114 ServiceManagerInterface.setInstances(new SystemInterface[] {systemInterface}); in setUp()
129 ServiceManagerInterface.setInstances(null); in tearDown()
DKeystoreIntegrationTest.java45 import com.android.rkpdapp.interfaces.ServiceManagerInterface;
143 ServiceManagerInterface.setInstances(new SystemInterface[] {systemInterface}); in setUp()
155 ServiceManagerInterface.setInstances(null); in tearDown()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/interfaces/
DServiceManagerInterface.java31 public class ServiceManagerInterface { class
36 private ServiceManagerInterface() { in ServiceManagerInterface() method in ServiceManagerInterface
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/service/
DRemoteProvisioningService.java35 import com.android.rkpdapp.interfaces.ServiceManagerInterface;
80 systemInterface = ServiceManagerInterface.getInstance(irpcName); in getRegistration()
/packages/modules/RemoteKeyProvisioning/app/tests/stress/src/com/android/rkpdapp/stress/
DRegistrationBinderStressTest.java38 import com.android.rkpdapp.interfaces.ServiceManagerInterface;
79 mIrpcHal = ServiceManagerInterface.getInstance(SERVICE); in setUp()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/provisioner/
DPeriodicProvisioner.java32 import com.android.rkpdapp.interfaces.ServiceManagerInterface;
95 SystemInterface[] irpcs = ServiceManagerInterface.getAllInstances();
/packages/modules/RemoteKeyProvisioning/app/
Dproguard.flags2 -keep class com.android.rkpdapp.interfaces.ServiceManagerInterface { *; }