/packages/modules/AdServices/adservices/tests/host/room/src/com/android/adservices/room/test/ |
D | RoomDatabaseVersionBumpGuardrailTest.java | 100 baseSchemas.getInputStream(baseFile).readAllBytes(), in roomDatabaseVersionBumpGuardrailTest() 101 newSchemas.getInputStream(newFile).readAllBytes())) { in roomDatabaseVersionBumpGuardrailTest()
|
/packages/modules/GeoTZ/common/host/main/java/com/android/timezone/location/common/ |
D | LicenseSupport.java | 107 byte[] oneBytes = oneInput.readAllBytes(); in checkFilesIdentical() 108 byte[] twoBytes = twoInput.readAllBytes(); in checkFilesIdentical()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/util/ |
D | IoUtilsTest.java | 163 byte[] bytes = Files.readAllBytes(file.toPath()); in readMetricsConfigFromFile() 169 byte[] bytes = Files.readAllBytes(file.toPath()); in readTelemetryErrorFromFile()
|
/packages/apps/Dialer/java/com/android/dialer/persistentlog/ |
D | PersistentLogFileHandler.java | 151 byteBuffer.put(readAllBytes(file)); in readBlob() 254 private static byte[] readAllBytes(File file) throws IOException { in readAllBytes() method in PersistentLogFileHandler
|
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/verification/ |
D | ApiAllowlistProvider.java | 59 byte[] allowlistBytes = resourceURL.openStream().readAllBytes(); in loadPlatformApiAllowlist()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/ |
D | CarStorageMonitoringTest.java | 235 new String(Files.readAllBytes(temporaryFile.getPath()))); in testWearEstimateRecordJson() 274 new String(Files.readAllBytes(temporaryFile.getPath()))); in testWearHistoryJson() 479 new String(Files.readAllBytes(temporaryFile.getPath()))); in testUidIoStatEntryJson() 677 new String(Files.readAllBytes(temporaryFile.getPath()))); in testUidIoStatsDeltaJson() 763 new String(Files.readAllBytes(temporaryFile.getPath()))); in testLifetimeWriteInfoJson()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | LastMileLogger.java | 152 return Files.readAllBytes(Paths.get(mEventBufferPath)); in readTrace()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatterySettingsStorage.java | 306 String dataContent = new String(inputStream.readAllBytes(), UTF_8); in restore() 403 mOptimizationModeBytes = inputStream.readAllBytes(); in restore()
|
/packages/services/Car/service/src/com/android/car/storagemonitoring/ |
D | WearHistory.java | 66 JSONObject jsonObject = new JSONObject(new String(Files.readAllBytes(in.toPath()))); in fromJson()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/ |
D | MetricsConfigStoreTest.java | 129 byte[] bytes = Files.readAllBytes(new File(mTestMetricsConfigDir, fileName).toPath()); in readConfigFromFile()
|
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/ |
D | SdkSandboxStorageTest.java | 125 readValue = new String(fis.readAllBytes(), StandardCharsets.UTF_8); in testAppCanReadSdkFileDescriptor()
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | E2eCarTestBase.java | 136 return new String(in.readAllBytes(), StandardCharsets.UTF_8); in getTestFileContent()
|
/packages/modules/ConfigInfrastructure/service/java/com/android/server/deviceconfig/ |
D | DeviceConfigInit.java | 131 byte[] contents = (new FileInputStream(fileName)).readAllBytes(); in addAconfigFlagsFromFile()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/utils/ |
D | CustomAudienceTestFixture.java | 146 ? new String(inputStream.readAllBytes()) in readString()
|
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxCodeProvider/src/com/android/sdksandboxcode_1/ |
D | SdkApi.java | 96 value = new String(fis.readAllBytes(), StandardCharsets.UTF_16); in parseFileDescriptor()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/ |
D | NetlinkUtilsTest.java | 92 var ctxt = new String(Files.readAllBytes(Paths.get("/proc/thread-self/attr/current"))); in testGetNeighborsQuery()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | LastMileLoggerTest.java | 72 return new String(Files.readAllBytes(file.toPath()), StandardCharsets.UTF_8); in readFileAsString()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/vendor/ |
D | OnDevicePersonalizationLocalDataDao.java | 212 return Files.readAllBytes(file.toPath()); in readSingleLocalDataRow()
|
/packages/services/Mms/src/com/android/mms/service/metrics/ |
D | PersistMmsAtomsStorage.java | 100 Files.readAllBytes(mContext.getFileStreamPath(FILENAME).toPath())); in loadAtomsFromFile()
|
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/ |
D | AbstractSelectAdsLatencyTest.java | 285 ? new String(inputStream.readAllBytes()) in readString()
|
/packages/services/Car/service/src/com/android/car/telemetry/publisher/ |
D | MemoryPublisher.java | 220 meminfo = new String(Files.readAllBytes(mMeminfoPath)); in readMemInfo()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/jni/ |
D | FlRunnerWrapperTest.java | 166 byte[] content = Files.readAllBytes(outputCheckpointFile.toPath()); in testRunFederatedAnalytics_returnSuccess()
|
/packages/modules/Virtualization/java/framework/src/android/system/virtualmachine/ |
D | VirtualMachine.java | 653 byte[] instanceId = Files.readAllBytes(instanceIdFile.toPath()); in notifyInstanceRemoval() 668 byte[] instanceId = Files.readAllBytes(mInstanceIdPath.toPath()); in claimInstance() 1095 appConfig.instanceId = Files.readAllBytes(mInstanceIdPath.toPath()); in createVirtualMachineConfigForAppFrom()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/display/ |
D | OdpWebViewClientTests.java | 225 assertArrayEquals(RESPONSE_BYTES, response.getData().readAllBytes()); in testValidUrlWithResponseDataIntercept()
|
/packages/modules/Virtualization/vmlauncher_app/java/com/android/virtualization/vmlauncher/ |
D | MainActivity.java | 94 String rawJson = new String(Files.readAllBytes(Path.of(jsonPath))); in createVirtualMachineConfig()
|