/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/ |
D | SystemInterfaceTest.java | 153 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/ |
D | Provisioner.java | 80 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/ |
D | SystemInterfaceSelector.java | 33 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/ |
D | RemoteProvisioningService.java | 78 SystemInterface systemInterface; in getRegistration() local 80 systemInterface = ServiceManagerInterface.getInstance(irpcName); in getRegistration() 91 systemInterface, dao, new ServerInterface(context, IS_ASYNC), provisioner, in getRegistration()
|
D | RegistrationBinder.java | 73 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/ |
D | HeadsetObjectsFactory.java | 77 HeadsetSystemInterface systemInterface) { in makeStateMachine() argument 79 device, looper, headsetService, adapterService, nativeInterface, systemInterface); in makeStateMachine()
|
D | HeadsetStateMachine.java | 190 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/ |
D | CarStorageMonitoringService.java | 145 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()
|
D | UptimeTracker.java | 100 UptimeTracker(File file, long snapshotInterval, SystemInterface systemInterface) { in UptimeTracker() argument 101 this(file, snapshotInterval, systemInterface.getTimeInterface()); in UptimeTracker()
|
D | CarInputService.java | 307 SystemInterface systemInterface) { in CarInputService() argument 309 carPowerService, systemInterface, in CarInputService() 332 CarPowerManagementService carPowerService, SystemInterface systemInterface, in CarInputService() argument 347 mSystemInterface = systemInterface; in CarInputService()
|
D | CarLocationService.java | 626 SystemInterface systemInterface = CarLocalServices.getService(SystemInterface.class); in getLocationCacheFile() local 627 return new File(systemInterface.getSystemCarDir(), FILENAME); in getLocationCacheFile()
|
D | ICarImpl.java | 1198 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/ |
D | GarageModeRecorder.java | 81 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()
|
D | GarageModeController.java | 134 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/ |
D | PowerComponentHandler.java | 101 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()
|
D | ScreenOffHandler.java | 130 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/ |
D | AvfIntegrationTest.java | 99 SystemInterface systemInterface = in setUp() local 101 ServiceManagerInterface.setInstances(new SystemInterface[] {systemInterface}); in setUp()
|
/packages/modules/RemoteKeyProvisioning/app/tests/e2e/src/com/android/rkpdapp/e2etest/ |
D | RkpdHostTestHelperTests.java | 112 SystemInterface systemInterface = in setUp() local 114 ServiceManagerInterface.setInstances(new SystemInterface[] {systemInterface}); in setUp()
|
D | KeystoreIntegrationTest.java | 141 SystemInterface systemInterface = in setUp() local 143 ServiceManagerInterface.setInstances(new SystemInterface[] {systemInterface}); in setUp()
|
/packages/services/Car/service/src/com/android/car/remoteaccess/ |
D | RemoteAccessStorage.java | 49 RemoteAccessStorage(Context context, SystemInterface systemInterface, boolean inMemoryStorage) { in RemoteAccessStorage() argument 51 systemInterface.getSystemCarDir().getAbsolutePath(), inMemoryStorage); in RemoteAccessStorage()
|
D | CarRemoteAccessService.java | 371 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/ |
D | CarWatchdogService.java | 609 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/ |
D | CarTelemetryService.java | 232 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/ |
D | ICarImplTest.java | 211 Context context, SystemInterface systemInterface, in testNoShardedPreferencesAccessedBeforeUserZeroUnlock()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/remoteaccess/ |
D | CarRemoteAccessManagerTest.java | 327 setCarRemoteAccessServiceConstructor((Context context, SystemInterface systemInterface, in configureFakeSystemInterface() argument 330 systemInterface, powerHalService, /* dep= */ null, in configureFakeSystemInterface()
|