Searched refs:raf (Results 1 – 11 of 11) sorted by relevance
146 int raf; in getRafFromNetworkType() local150 raf = GSM | WCDMA; in getRafFromNetworkType()153 raf = GSM; in getRafFromNetworkType()156 raf = WCDMA; in getRafFromNetworkType()159 raf = GSM | WCDMA; in getRafFromNetworkType()162 raf = CDMA | EVDO; in getRafFromNetworkType()165 raf = RAF_LTE | CDMA | EVDO; in getRafFromNetworkType()168 raf = RAF_LTE | GSM | WCDMA; in getRafFromNetworkType()171 raf = RAF_LTE | CDMA | EVDO | GSM | WCDMA; in getRafFromNetworkType()174 raf = RAF_LTE; in getRafFromNetworkType()[all …]
55 RandomAccessFile raf = new RandomAccessFile(apk, "r"); in getZipCrc() local57 CentralDirectory dir = findCentralDirectory(raf); in getZipCrc()59 return computeCrcOfCentralDir(raf, dir); in getZipCrc()61 raf.close(); in getZipCrc()66 static CentralDirectory findCentralDirectory(RandomAccessFile raf) throws IOException, in findCentralDirectory() argument68 long scanOffset = raf.length() - ENDHDR; in findCentralDirectory()70 throw new ZipException("File too short to be a zip file: " + raf.length()); in findCentralDirectory()80 raf.seek(scanOffset); in findCentralDirectory()81 if (raf.readInt() == endSig) { in findCentralDirectory()95 raf.skipBytes(2); // diskNumber in findCentralDirectory()[all …]
68 RandomAccessFile raf = new RandomAccessFile(zipFile, "r"); in testCrcRange() local69 CentralDirectory dir = ZipUtil.findCentralDirectory(raf); in testCrcRange()73 raf.seek(dir.offset); in testCrcRange()75 int read = raf.read(dirData, off, length); in testCrcRange()82 raf.close(); in testCrcRange()129 RandomAccessFile raf = new RandomAccessFile(tmp, "r"); in testCrcValue() local132 dir.size = raf.length(); in testCrcValue()133 long crc = ZipUtil.computeCrcOfCentralDir(raf, dir); in testCrcValue()135 raf.close(); in testCrcValue()159 RandomAccessFile raf = new RandomAccessFile(tmp, "r"); in testInvalidCrcValue() local[all …]
61 RandomAccessFile raf = new RandomAccessFile(resultFile, "rw"); in run() local62 raf.seek(raf.length()); in run()63 Log.i(TAG, "Writing 0x42434445 at " + raf.length() + " in " + resultFile.getPath()); in run()64 raf.writeInt(0x42434445); in run()65 raf.close(); in run()76 RandomAccessFile raf = new RandomAccessFile(resultFile, "rw"); in run() local77 raf.seek(raf.length()); in run()78 Log.i(TAG, "Writing result at " + raf.length() + " in " + resultFile.getPath()); in run()79 raf.writeInt(value); in run()80 raf.close(); in run()[all …]
49 private final RandomAccessFile raf; field in StrictJarFile78 this.raf = new RandomAccessFile(fileName, "r"); in StrictJarFile()108 IoUtils.closeQuietly(this.raf); in StrictJarFile()198 IoUtils.closeQuietly(raf); in close()205 return new RAFStream(raf, ze.getDataOffset(), in getZipInputStream()209 raf, ze.getDataOffset(), ze.getDataOffset() + ze.getCompressedSize()); in getZipInputStream()402 public RAFStream(RandomAccessFile raf, long initialOffset, long endOffset) { in RAFStream() argument403 sharedRaf = raf; in RAFStream()408 public RAFStream(RandomAccessFile raf, long initialOffset) throws IOException { in RAFStream() argument409 this(raf, initialOffset, raf.length()); in RAFStream()
297 RandomAccessFile raf = null; in readFile() local300 raf = new RandomAccessFile(name, "r"); in readFile()301 stored = new byte[(int) raf.length()]; in readFile()302 raf.readFully(stored, 0, stored.length); in readFile()303 raf.close(); in readFile()307 if (raf != null) { in readFile()309 raf.close(); in readFile()321 RandomAccessFile raf = null; in writeFile() local324 raf = new RandomAccessFile(name, "rw"); in writeFile()327 raf.setLength(0); in writeFile()[all …]
178 final RandomAccessFile raf = new RandomAccessFile(packageFile, "r"); in verifyPackage() local185 raf.seek(fileLen - 6); in verifyPackage()187 raf.readFully(footer); in verifyPackage()197 raf.seek(fileLen - (commentSize + 22)); in verifyPackage()198 raf.readFully(eocd); in verifyPackage()250 raf.seek(0); in verifyPackage()279 int read = raf.read(b, off, size); in verifyPackage()310 raf.close(); in verifyPackage()
547 int raf = mPhones[i].getRadioAccessFamily(); in completeRadioCapabilityTransaction() local548 logd("radioAccessFamily[" + i + "]=" + raf); in completeRadioCapabilityTransaction()549 RadioAccessFamily phoneRC = new RadioAccessFamily(i, raf); in completeRadioCapabilityTransaction()644 private String getLogicalModemIdFromRaf(int raf) { in getLogicalModemIdFromRaf() argument648 if (mPhones[phoneId].getRadioAccessFamily() == raf) { in getLogicalModemIdFromRaf()
1468 int raf; in setDefaultDataSubId() local1472 raf = proxyController.getMaxRafSupported(); in setDefaultDataSubId()1476 raf = proxyController.getMinRafSupported(); in setDefaultDataSubId()1478 logdl("[setDefaultDataSubId] phoneId=" + phoneId + " subId=" + id + " RAF=" + raf); in setDefaultDataSubId()1479 rafs[phoneId] = new RadioAccessFamily(phoneId, raf); in setDefaultDataSubId()
2904 int raf = RadioAccessFamily.RAF_UNKNOWN; in makeStaticRadioCapability() local2909 raf = RadioAccessFamily.rafTypeFromString(rafString); in makeStaticRadioCapability()2911 RadioCapability rc = new RadioCapability(mInstanceId.intValue(), 0, 0, raf, in makeStaticRadioCapability()2913 if (RILJ_LOGD) riljLog("Faking RIL_REQUEST_GET_RADIO_CAPABILITY response using " + raf); in makeStaticRadioCapability()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...