Home
last modified time | relevance | path

Searched refs:systemInterface (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DSystemInterfaceTest.java153 SystemInterface systemInterface = mockSystemInterface(CborUtils.EC_CURVE_25519, in testGenerateKey() local
157 RkpKey rkpKey = systemInterface.generateKey(metrics); in testGenerateKey()
165 SystemInterface systemInterface = mockSystemInterfaceFailure(new RemoteException()); in testGenerateKeyFailureRemoteException() local
169 systemInterface.generateKey(metrics); in testGenerateKeyFailureRemoteException()
179 SystemInterface systemInterface = mockSystemInterfaceFailure( in testGenerateKeyFailureServiceSpecificException() local
184 systemInterface.generateKey(metrics); in testGenerateKeyFailureServiceSpecificException()
194 SystemInterface systemInterface = mockSystemInterface(CborUtils.EC_CURVE_P256, in testGenerateCSRPreV3P256() local
208 byte[] csrTag = systemInterface.generateCsr(metrics, geekResponse, new ArrayList<>()); in testGenerateCSRPreV3P256()
220 SystemInterface systemInterface = mockSystemInterface(CborUtils.EC_CURVE_25519, in testGenerateCSRPreV3Ed25519() local
233 byte[] csrTag = systemInterface.generateCsr(metrics, geekResponse, new ArrayList<>()); in testGenerateCSRPreV3Ed25519()
[all …]
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/provisioner/
DProvisioner.java80 public void provisionKeys(ProvisioningAttempt metrics, SystemInterface systemInterface, in provisionKeys() argument
84 int keysRequired = calculateKeysRequired(metrics, systemInterface.getServiceName()); in provisionKeys()
91 List<RkpKey> keysGenerated = generateKeys(metrics, keysRequired, systemInterface); in provisionKeys()
93 List<byte[]> certChains = fetchCertificates(metrics, keysGenerated, systemInterface, in provisionKeys()
116 SystemInterface systemInterface) in generateKeys() argument
121 keyArray.add(systemInterface.generateKey(metrics)); in generateKeys()
127 SystemInterface systemInterface, GeekResponse geekResponse) in fetchCertificates() argument
133 maxBatchSize = systemInterface.getBatchSize(); in fetchCertificates()
140 certChains.addAll(batchProvision(metrics, systemInterface, geekResponse, in fetchCertificates()
148 SystemInterface systemInterface, in batchProvision() argument
[all …]
/packages/modules/RemoteKeyProvisioning/app/tests/util/src/com/android/rkpdapp/testutil/
DSystemInterfaceSelector.java33 for (SystemInterface systemInterface: ServiceManagerInterface.getAllInstances()) { in getSystemInterfaceForServiceName()
34 if (systemInterface.getServiceName().equals(serviceName)) { in getSystemInterfaceForServiceName()
35 matchingInterface = systemInterface; in getSystemInterfaceForServiceName()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/service/
DRemoteProvisioningService.java78 SystemInterface systemInterface; in getRegistration() local
80 systemInterface = ServiceManagerInterface.getInstance(irpcName); in getRegistration()
91 systemInterface, dao, new ServerInterface(context, IS_ASYNC), provisioner, in getRegistration()
DRegistrationBinder.java73 public RegistrationBinder(Context context, int clientUid, SystemInterface systemInterface, in RegistrationBinder() argument
78 mSystemInterface = systemInterface; in RegistrationBinder()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetObjectsFactory.java77 HeadsetSystemInterface systemInterface) { in makeStateMachine() argument
79 device, looper, headsetService, adapterService, nativeInterface, systemInterface); in makeStateMachine()
DHeadsetStateMachine.java190 HeadsetSystemInterface systemInterface) { in HeadsetStateMachine() argument
200 mSystemInterface = requireNonNull(systemInterface); in HeadsetStateMachine()
236 HeadsetSystemInterface systemInterface) { in make() argument
244 systemInterface); in make()
/packages/services/Car/service/src/com/android/car/
DCarStorageMonitoringService.java145 public CarStorageMonitoringService(Context context, SystemInterface systemInterface) { in CarStorageMonitoringService() argument
154 mUidIoStatsProvider = systemInterface.getUidIoStatsProvider(); in CarStorageMonitoringService()
155 mUptimeTrackerFile = new File(systemInterface.getSystemCarDir(), UPTIME_TRACKER_FILENAME); in CarStorageMonitoringService()
156 mWearInfoFile = new File(systemInterface.getSystemCarDir(), WEAR_INFO_FILENAME); in CarStorageMonitoringService()
157 mLifetimeWriteFile = new File(systemInterface.getSystemCarDir(), LIFETIME_WRITES_FILENAME); in CarStorageMonitoringService()
159 mSystemInterface = systemInterface; in CarStorageMonitoringService()
160 mWearInformationProviders = systemInterface.getFlashWearInformationProviders( in CarStorageMonitoringService()
168 systemInterface.scheduleActionForBootCompleted(() -> { in CarStorageMonitoringService()
DUptimeTracker.java100 UptimeTracker(File file, long snapshotInterval, SystemInterface systemInterface) { in UptimeTracker() argument
101 this(file, snapshotInterval, systemInterface.getTimeInterface()); in UptimeTracker()
DCarInputService.java307 SystemInterface systemInterface) { in CarInputService() argument
309 carPowerService, systemInterface, in CarInputService()
332 CarPowerManagementService carPowerService, SystemInterface systemInterface, in CarInputService() argument
347 mSystemInterface = systemInterface; in CarInputService()
DCarLocationService.java626 SystemInterface systemInterface = CarLocalServices.getService(SystemInterface.class); in getLocationCacheFile() local
627 return new File(systemInterface.getSystemCarDir(), FILENAME); in getLocationCacheFile()
DICarImpl.java1198 public Builder setSystemInterface(SystemInterface systemInterface) { in setSystemInterface() argument
1199 mSystemInterface = systemInterface; in setSystemInterface()
1293 CarRemoteAccessService construct(Context context, SystemInterface systemInterface, in construct() argument
/packages/services/Car/service/src/com/android/car/garagemode/
DGarageModeRecorder.java81 SystemInterface systemInterface = CarLocalServices.getService(SystemInterface.class); in GarageModeRecorder() local
82 File systemCarDir = systemInterface == null ? new File(FALLBACK_CAR_DIR_PATH) in GarageModeRecorder()
83 : systemInterface.getSystemCarDir(); in GarageModeRecorder()
DGarageModeController.java134 SystemInterface systemInterface = CarLocalServices.getService(SystemInterface.class); in sendBroadcast() local
138 systemInterface.sendBroadcastAsUser(i, UserHandle.ALL); in sendBroadcast()
/packages/services/Car/service/src/com/android/car/power/
DPowerComponentHandler.java101 PowerComponentHandler(Context context, SystemInterface systemInterface) { in PowerComponentHandler() argument
102 this(context, systemInterface, new AtomicFile(new File(systemInterface.getSystemCarDir(), in PowerComponentHandler()
106 public PowerComponentHandler(Context context, SystemInterface systemInterface, in PowerComponentHandler() argument
110 mSystemInterface = systemInterface; in PowerComponentHandler()
DScreenOffHandler.java130 ScreenOffHandler(Context context, SystemInterface systemInterface, Looper looper) { in ScreenOffHandler() argument
131 this(context, systemInterface, looper, SystemClock::uptimeMillis); in ScreenOffHandler()
135 ScreenOffHandler(Context context, SystemInterface systemInterface, Looper looper, in ScreenOffHandler() argument
139 mSystemInterface = systemInterface; in ScreenOffHandler()
/packages/modules/RemoteKeyProvisioning/app/tests/avf/src/com/android/avf/rkpdapp/e2etest/
DAvfIntegrationTest.java99 SystemInterface systemInterface = in setUp() local
101 ServiceManagerInterface.setInstances(new SystemInterface[] {systemInterface}); in setUp()
/packages/modules/RemoteKeyProvisioning/app/tests/e2e/src/com/android/rkpdapp/e2etest/
DRkpdHostTestHelperTests.java112 SystemInterface systemInterface = in setUp() local
114 ServiceManagerInterface.setInstances(new SystemInterface[] {systemInterface}); in setUp()
DKeystoreIntegrationTest.java141 SystemInterface systemInterface = in setUp() local
143 ServiceManagerInterface.setInstances(new SystemInterface[] {systemInterface}); in setUp()
/packages/services/Car/service/src/com/android/car/remoteaccess/
DRemoteAccessStorage.java49 RemoteAccessStorage(Context context, SystemInterface systemInterface, boolean inMemoryStorage) { in RemoteAccessStorage() argument
51 systemInterface.getSystemCarDir().getAbsolutePath(), inMemoryStorage); in RemoteAccessStorage()
DCarRemoteAccessService.java371 public CarRemoteAccessService(Context context, SystemInterface systemInterface, in CarRemoteAccessService() argument
373 this(context, systemInterface, powerHalService, /* dep= */ null, in CarRemoteAccessService()
406 public CarRemoteAccessService(Context context, SystemInterface systemInterface, in CarRemoteAccessService() argument
421 new RemoteAccessStorage(context, systemInterface, inMemoryStorage); in CarRemoteAccessService()
423 systemInterface.scheduleActionForBootCompleted(() -> searchForRemoteTaskClientPackages(), in CarRemoteAccessService()
/packages/services/Car/service/src/com/android/car/watchdog/
DCarWatchdogService.java609 SystemInterface systemInterface = CarLocalServices.getService(SystemInterface.class); in getWatchdogDirFile() local
610 String systemCarDirPath = systemInterface == null ? FALLBACK_DATA_SYSTEM_CAR_DIR_PATH in getWatchdogDirFile()
611 : systemInterface.getSystemCarDir().getAbsolutePath(); in getWatchdogDirFile()
/packages/services/Car/service/src/com/android/car/telemetry/
DCarTelemetryService.java232 SystemInterface systemInterface = CarLocalServices.getService(SystemInterface.class); in init() local
236 File rootDirectory = new File(systemInterface.getSystemCarDir(), TELEMETRY_DIR); in init()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DICarImplTest.java211 Context context, SystemInterface systemInterface, in testNoShardedPreferencesAccessedBeforeUserZeroUnlock()
/packages/services/Car/tests/carservice_test/src/com/android/car/remoteaccess/
DCarRemoteAccessManagerTest.java327 setCarRemoteAccessServiceConstructor((Context context, SystemInterface systemInterface, in configureFakeSystemInterface() argument
330 systemInterface, powerHalService, /* dep= */ null, in configureFakeSystemInterface()

12