Home
last modified time | relevance | path

Searched refs:certFile (Results 1 – 3 of 3) sorted by relevance

/tools/apksig/src/apksigner/java/com/android/apksigner/
DSignerParams.java72 private String certFile; field in SignerParams
154 public void setCertFile(String certFile) { in setCertFile() argument
155 this.certFile = certFile; in setCertFile()
217 && (certFile == null) in isEmpty()
232 certs = loadCertsFromFile(certFile); in loadPrivateKeyAndCerts()
242 if (certFile != null) { in loadPrivateKeyAndCerts()
495 private List<X509Certificate> loadCertsFromFile(String certFile) in loadCertsFromFile() argument
497 if (certFile == null) { in loadCertsFromFile()
501 try (FileInputStream in = new FileInputStream(certFile)) { in loadCertsFromFile()
527 this.certs = loadCertsFromFile(certFile); in loadPrivateKeyAndCertsFromFiles()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DTestDeviceTest.java1342 final String certFile = "foo.dc"; in testInstallPackages() local
1344 when(mMockIDevice.syncPackageToDevice(Mockito.contains(certFile))).thenReturn(certFile); in testInstallPackages()
1348 Mockito.eq(certFile), in testInstallPackages()
1357 mMockIDevice.removeRemotePackage(certFile); in testInstallPackages()
1360 assertNull(mTestDevice.installPackage(new File(apkFile), new File(certFile), true, "-l")); in testInstallPackages()
1395 final String certFile = "foo.dc"; in testInstallPackages_timeout() local
1397 when(mMockIDevice.syncPackageToDevice(Mockito.contains(certFile))).thenReturn(certFile); in testInstallPackages_timeout()
1405 Mockito.eq(certFile), in testInstallPackages_timeout()
1416 .installPackage(new File(apkFile), new File(certFile), true, "-l") in testInstallPackages_timeout()
1420 verify(mMockIDevice).removeRemotePackage(certFile); in testInstallPackages_timeout()
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java533 public String installPackage(final File packageFile, final File certFile, in installPackage() argument
551 getIDevice().syncPackageToDevice(certFile.getAbsolutePath()); in installPackage()