/frameworks/base/telephony/java/android/telephony/ |
D | RadioAccessFamily.java | 148 int raf; in getRafFromNetworkType() local 152 raf = GSM | WCDMA; in getRafFromNetworkType() 155 raf = GSM; in getRafFromNetworkType() 158 raf = WCDMA; in getRafFromNetworkType() 161 raf = GSM | WCDMA; in getRafFromNetworkType() 164 raf = CDMA | EVDO; in getRafFromNetworkType() 167 raf = LTE | CDMA | EVDO; in getRafFromNetworkType() 170 raf = LTE | GSM | WCDMA; in getRafFromNetworkType() 173 raf = LTE | CDMA | EVDO | GSM | WCDMA; in getRafFromNetworkType() 176 raf = LTE; in getRafFromNetworkType() [all …]
|
/frameworks/multidex/library/src/android/support/multidex/ |
D | ZipUtil.java | 55 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/ |
D | ZipUtilTest.java | 68 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/ |
D | AbstractService.java | 61 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/ |
D | StrictJarFile.java | 49 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/ |
D | LockSettingsStorage.java | 297 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/ |
D | RecoverySystem.java | 178 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/ |
D | ProxyController.java | 547 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()
|
D | SubscriptionController.java | 1422 int raf; in setDefaultDataSubId() local 1426 raf = proxyController.getMaxRafSupported(); in setDefaultDataSubId() 1430 raf = proxyController.getMinRafSupported(); in setDefaultDataSubId() 1432 logdl("[setDefaultDataSubId] phoneId=" + phoneId + " subId=" + id + " RAF=" + raf); in setDefaultDataSubId() 1433 rafs[phoneId] = new RadioAccessFamily(phoneId, raf); in setDefaultDataSubId()
|
D | RIL.java | 2948 int raf = RadioAccessFamily.RAF_UNKNOWN; in makeStaticRadioCapability() local 2953 raf = RadioAccessFamily.rafTypeFromString(rafString); in makeStaticRadioCapability() 2955 RadioCapability rc = new RadioCapability(mInstanceId.intValue(), 0, 0, raf, in makeStaticRadioCapability() 2957 if (RILJ_LOGD) riljLog("Faking RIL_REQUEST_GET_RADIO_CAPABILITY response using " + raf); in makeStaticRadioCapability()
|