Lines Matching refs:file
5 * you may not use this file except in compliance with the License.
93 * Called when an error occurs when reading a certificate file.
125 * Invokes {@link CertInstaller} to install the certificate(s) in the file.
127 * @param file the certificate file
129 protected void installFromFile(File file) {
130 Log.d(TAG, "install cert from " + file);
132 String fileName = file.getName();
137 if (file.exists()) {
138 if (file.length() < MAX_FILE_SIZE) {
139 byte[] data = Util.readFile(file);
145 mCertFile = file;
148 Log.w(TAG, "cert file is too large: " + file.length());
153 Log.w(TAG, "cert file does not exist");
159 @Override public boolean accept(File file) {
160 if (!file.isDirectory()) {
161 return isFileAcceptable(file.getPath());