Searched refs:raf (Results 1 – 10 of 10) sorted by relevance
154 int raf; in getRafFromNetworkType() local158 raf = GSM | WCDMA; in getRafFromNetworkType()161 raf = GSM; in getRafFromNetworkType()164 raf = WCDMA; in getRafFromNetworkType()167 raf = GSM | WCDMA; in getRafFromNetworkType()170 raf = CDMA | EVDO; in getRafFromNetworkType()173 raf = LTE | CDMA | EVDO; in getRafFromNetworkType()176 raf = LTE | GSM | WCDMA; in getRafFromNetworkType()179 raf = LTE | CDMA | EVDO | GSM | WCDMA; in getRafFromNetworkType()182 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 …]
314 RandomAccessFile raf = null; in readFile() local317 raf = new RandomAccessFile(name, "r"); in readFile()318 stored = new byte[(int) raf.length()]; in readFile()319 raf.readFully(stored, 0, stored.length); in readFile()320 raf.close(); in readFile()324 if (raf != null) { in readFile()326 raf.close(); in readFile()338 RandomAccessFile raf = null; in writeFile() local344 raf = new RandomAccessFile(name, "rws"); in writeFile()347 raf.setLength(0); in writeFile()[all …]
200 final RandomAccessFile raf = new RandomAccessFile(packageFile, "r"); in verifyPackage() local207 raf.seek(fileLen - 6); in verifyPackage()209 raf.readFully(footer); in verifyPackage()219 raf.seek(fileLen - (commentSize + 22)); in verifyPackage()220 raf.readFully(eocd); in verifyPackage()272 raf.seek(0); in verifyPackage()301 int read = raf.read(b, off, size); in verifyPackage()332 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()
1423 int raf; in setDefaultDataSubId() local1427 raf = proxyController.getMaxRafSupported(); in setDefaultDataSubId()1431 raf = proxyController.getMinRafSupported(); in setDefaultDataSubId()1433 logdl("[setDefaultDataSubId] phoneId=" + phoneId + " subId=" + id + " RAF=" + raf); in setDefaultDataSubId()1434 rafs[phoneId] = new RadioAccessFamily(phoneId, raf); in setDefaultDataSubId()
3425 halRc.raf = rc.getRadioAccessFamily(); in setRadioCapability()4108 int raf = RadioAccessFamily.RAF_UNKNOWN; in makeStaticRadioCapability() local4113 raf = RadioAccessFamily.rafTypeFromString(rafString); in makeStaticRadioCapability()4115 RadioCapability rc = new RadioCapability(mPhoneId.intValue(), 0, 0, raf, in makeStaticRadioCapability()4117 if (RILJ_LOGD) riljLog("Faking RIL_REQUEST_GET_RADIO_CAPABILITY response using " + raf); in makeStaticRadioCapability()4802 int rat = rcRil.raf; in convertHalRadioCapability()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...