Home
last modified time | relevance | path

Searched refs:raf (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DRadioAccessFamily.java146 int raf; in getRafFromNetworkType() local
150 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 …]
/frameworks/multidex/library/src/android/support/multidex/
DZipUtil.java55 RandomAccessFile raf = new RandomAccessFile(apk, "r"); in getZipCrc() local
57 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() argument
68 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 …]
/frameworks/multidex/library/test/src/android/support/multidex/
DZipUtilTest.java68 RandomAccessFile raf = new RandomAccessFile(zipFile, "r"); in testCrcRange() local
69 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() local
132 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 …]
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/
DAbstractService.java61 RandomAccessFile raf = new RandomAccessFile(resultFile, "rw"); in run() local
62 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() local
77 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 …]
/frameworks/base/core/java/android/util/jar/
DStrictJarFile.java49 private final RandomAccessFile raf; field in StrictJarFile
78 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() argument
403 sharedRaf = raf; in RAFStream()
408 public RAFStream(RandomAccessFile raf, long initialOffset) throws IOException { in RAFStream() argument
409 this(raf, initialOffset, raf.length()); in RAFStream()
/frameworks/base/services/core/java/com/android/server/
DLockSettingsStorage.java297 RandomAccessFile raf = null; in readFile() local
300 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() local
324 raf = new RandomAccessFile(name, "rw"); in writeFile()
327 raf.setLength(0); in writeFile()
[all …]
/frameworks/base/core/java/android/os/
DRecoverySystem.java178 final RandomAccessFile raf = new RandomAccessFile(packageFile, "r"); in verifyPackage() local
185 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()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DProxyController.java547 int raf = mPhones[i].getRadioAccessFamily(); in completeRadioCapabilityTransaction() local
548 logd("radioAccessFamily[" + i + "]=" + raf); in completeRadioCapabilityTransaction()
549 RadioAccessFamily phoneRC = new RadioAccessFamily(i, raf); in completeRadioCapabilityTransaction()
644 private String getLogicalModemIdFromRaf(int raf) { in getLogicalModemIdFromRaf() argument
648 if (mPhones[phoneId].getRadioAccessFamily() == raf) { in getLogicalModemIdFromRaf()
DSubscriptionController.java1468 int raf; in setDefaultDataSubId() local
1472 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()
DRIL.java2904 int raf = RadioAccessFamily.RAF_UNKNOWN; in makeStaticRadioCapability() local
2909 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()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...