/frameworks/base/core/java/android/gesture/ |
D | GestureLibraries.java | 38 public static GestureLibrary fromFile(String path) { in fromFile() method in GestureLibraries 39 return fromFile(new File(path)); in fromFile() 42 public static GestureLibrary fromFile(File path) { in fromFile() method in GestureLibraries 52 return fromFile(context.getFileStreamPath(name)); in fromPrivateFile()
|
/frameworks/native/libs/binder/tests/ |
D | binderRecordedTransactionTest.cpp | 46 auto retrievedTransaction = RecordedTransaction::fromFile(fd); in TEST() 84 auto retrievedTransaction = RecordedTransaction::fromFile(fd); in TEST() 121 auto retrievedTransaction = RecordedTransaction::fromFile(fd); in TEST()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageHandler.java | 158 final Uri originUri = Uri.fromFile(verifyingSession.mOriginInfo.mResolvedFile); in doHandleMessage() 220 final Uri originUri = Uri.fromFile(verifyingSession.mOriginInfo.mResolvedFile); in doHandleMessage() 268 final Uri originUri = Uri.fromFile(params.mOriginInfo.mResolvedFile); in doHandleMessage() 285 final Uri originUri = Uri.fromFile(params.mOriginInfo.mResolvedFile); in doHandleMessage()
|
D | VerificationUtils.java | 128 final Uri originUri = verifyingSession != null ? Uri.fromFile( in processVerificationResponse()
|
D | VerifyingSession.java | 290 integrityVerification.setDataAndType(Uri.fromFile(new File(mOriginInfo.mResolvedPath)), in sendIntegrityVerificationRequest() 440 verification.setDataAndType(Uri.fromFile(new File(mOriginInfo.mResolvedPath)), in sendPackageVerificationRequest() 590 requiredIntent.setDataAndType(Uri.fromFile(new File(mOriginInfo.mResolvedPath)), in sendPackageVerificationRequest()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/sensorprivacy/ |
D | SensorPrivacyServiceMockingTest.java | 226 return PersistedState.fromFile("sensor_privacy_impl.xml"); in migrateFromFile() 278 return PersistedState.fromFile("sensor_privacy_impl.xml"); in getPersistedStateV2() 293 doReturn(persistedState).when(() -> PersistedState.fromFile(any())); in testGetDefaultState() 323 doReturn(persistedState).when(() -> PersistedState.fromFile(any())); in testGetSetState() 351 doReturn(persistedState).when(() -> PersistedState.fromFile(any())); in testSetState()
|
/frameworks/native/libs/binder/tests/unit_fuzzers/ |
D | RecordedTransactionFileFuzz.cpp | 32 auto transaction = android::binder::debug::RecordedTransaction::fromFile(fd); in LLVMFuzzerTestOneInput()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotSoundProvider.kt | 48 Uri.fromFile(File(context.resources.getString(R.string.config_cameraShutterSound))), in getScreenshotSound()
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | MbmsDownloadReceiver.java | 359 Uri fileUri = Uri.fromFile(tempFile); in generateFreshTempFiles() 438 Uri fileInUseUri = Uri.fromFile(canonicalFile); in cleanupTempFiles() 458 Path fromFile = FileSystems.getDefault().getPath(fromPath.getPath()); in moveToFinalLocation() local 464 Path result = Files.move(fromFile, toFile, in moveToFinalLocation() 467 return Uri.fromFile(result.toFile()); in moveToFinalLocation()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerFunctionalTest.java | 164 Uri localUri = Uri.fromFile(existentFile); in testDownloadToExternal_fileExists() 201 Uri localUri = Uri.fromFile(downloadedFile); in testDownloadToExternal() 232 Uri localUri = Uri.fromFile(downloadedFile); in testDownloadToProhibitedDirectory()
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
D | DownloadManagerTestApp.java | 281 Uri localUri = Uri.fromFile(downloadedFile); in runDownloadMultipleSwitching() 357 Uri localUri = Uri.fromFile(downloadedFile); in runDownloadMultipleWiFiEnableDisable() 427 Uri localUri = Uri.fromFile(downloadedFile); in runDownloadMultipleAirplaneModeEnableDisable()
|
/frameworks/native/libs/binder/tests/parcel_fuzzer/binder2corpus/ |
D | binder2corpus.cpp | 49 while (auto transaction = RecordedTransaction::fromFile(fd)) { in generateCorpus()
|
/frameworks/native/libs/binder/include/binder/ |
D | RecordedTransaction.h | 36 LIBBINDER_EXPORTED static std::optional<RecordedTransaction> fromFile(
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | MediaStoreSaver.java | 70 final Uri fileUri = Uri.fromFile(file); in MediaStorageScan()
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | MediaStoreSaver.java | 77 final Uri fileUri = Uri.fromFile(file); in MediaStorageScan()
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | MediaStoreSaver.java | 77 final Uri fileUri = Uri.fromFile(file); in MediaStorageScan()
|
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/ |
D | EffectsVideoCapture.java | 74 Uri uri = Uri.fromFile(file); in testBackEffectsVideoCapture()
|
/frameworks/base/tools/preload/ |
D | PrintCsv.java | 40 Root root = Root.fromFile(args[0]); in main()
|
D | WritePreloadedClassFile.java | 49 Root root = Root.fromFile(rootFile); in main()
|
D | Root.java | 151 static Root fromFile(String fileName) in fromFile() method in Root
|
D | PrintHtmlDiff.java | 36 Root root = Root.fromFile(args[0]); in main()
|
D | MemoryUsage.java | 289 Root root = Root.fromFile(args[0]); in main()
|
/frameworks/base/services/core/java/com/android/server/sensorprivacy/ |
D | SensorPrivacyStateControllerImpl.java | 49 mPersistedState = PersistedState.fromFile(SENSOR_PRIVACY_XML_FILE); in SensorPrivacyStateControllerImpl()
|
/frameworks/base/services/core/java/com/android/server/ |
D | DockObserver.java | 106 static ExtconStateProvider fromFile(String stateFilePath) { in fromFile() method in DockObserver.ExtconStateProvider 187 setDockStateFromProviderLocked(ExtconStateProvider.fromFile(info.getStatePath())); in DockObserver()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/ |
D | AppIntegrityManagerServiceImplTest.java | 355 intent.setDataAndType(Uri.fromFile(mTestApkTwoCerts), PACKAGE_MIME_TYPE); in handleBroadcast_correctArgs_multipleCerts() 378 intent.setDataAndType(Uri.fromFile(mTestApkSourceStamp), PACKAGE_MIME_TYPE); in handleBroadcast_correctArgs_sourceStamp() 553 intent.setDataAndType(Uri.fromFile(mTestApk), PACKAGE_MIME_TYPE); in makeVerificationIntent()
|