Home
last modified time | relevance | path

Searched defs:filePath (Results 1 – 25 of 80) sorted by relevance

1234

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java96 public static int getDuration(String filePath) { in getDuration()
112 public static boolean getCurrentPosition(String filePath){ in getCurrentPosition()
147 public static boolean seekTo(String filePath){ in seekTo()
171 public static boolean setLooping(String filePath){ in setLooping()
209 public static boolean pause(String filePath) throws Exception { in pause()
238 public static void prepareStopRelease(String filePath) throws Exception { in prepareStopRelease()
247 public static void preparePauseRelease(String filePath) throws Exception { in preparePauseRelease()
267 public static int videoHeight(String filePath) throws Exception { in videoHeight()
302 public static int videoWidth(String filePath) throws Exception { in videoWidth()
338 public static boolean videoSeekTo(String filePath) throws Exception { in videoSeekTo()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerIntegrationTest.java39 String filePath = file.getAbsolutePath(); in testMountSingleObb() local
91 String filePath = file.getAbsolutePath(); in testMountSingleEncryptedObb() local
103 String filePath = file.getAbsolutePath(); in testMountSingleEncryptedObbInvalidPassword() local
143 String filePath = file.getAbsolutePath(); in testMountUnsignedObb() local
158 String filePath = file.getAbsolutePath(); in testMountBadPackageNameObb() local
169 String filePath = file.getAbsolutePath(); in testRemountObb() local
/frameworks/base/core/java/com/android/internal/security/
DVerityUtils.java73 public static String getFsveritySignatureFilePath(String filePath) { in getFsveritySignatureFilePath()
78 public static void setUpFsverity(@NonNull String filePath, @NonNull String signaturePath) in setUpFsverity()
87 public static void setUpFsverity(@NonNull String filePath, @NonNull byte[] pkcs7Signature) in setUpFsverity()
98 public static boolean hasFsverity(@NonNull String filePath) { in hasFsverity()
109 public static byte[] getFsverityRootHash(@NonNull String filePath) { in getFsverityRootHash()
121 private static native int enableFsverityNative(@NonNull String filePath, in enableFsverityNative()
123 private static native int measureFsverityNative(@NonNull String filePath, in measureFsverityNative()
125 private static native int statxForFsverityNative(@NonNull String filePath); in statxForFsverityNative()
/frameworks/av/drm/common/
DReadWriteUtils.cpp35 String8 ReadWriteUtils::readBytes(const String8& filePath) { in readBytes()
57 int ReadWriteUtils::readBytes(const String8& filePath, char** buffer) { in readBytes()
78 void ReadWriteUtils::writeToFile(const String8& filePath, const String8& data) { in writeToFile()
95 void ReadWriteUtils::appendToFile(const String8& filePath, const String8& data) { in appendToFile()
/frameworks/base/services/core/java/com/android/server/net/
DDelayedDiskWrite.java40 public void write(final String filePath, final Writer w) { in write()
44 public void write(final String filePath, final Writer w, final boolean open) { in write()
66 private void doWrite(String filePath, Writer w, boolean open) { in doWrite()
DIpConfigStore.java185 public void writeIpAndProxyConfigurationsToFile(String filePath, in writeIpAndProxyConfigurationsToFile()
195 public void writeIpConfigurations(String filePath, in writeIpConfigurations()
205 public static ArrayMap<String, IpConfiguration> readIpConfigurations(String filePath) { in readIpConfigurations()
220 public static SparseArray<IpConfiguration> readIpAndProxyConfigurations(String filePath) { in readIpAndProxyConfigurations()
/frameworks/base/core/java/android/content/res/
DObbScanner.java38 public static ObbInfo getObbInfo(String filePath) throws IOException { in getObbInfo()
61 private native static void getObbInfo_native(String filePath, ObbInfo obbInfo) in getObbInfo_native()
/frameworks/base/core/jni/
Dcom_android_internal_security_VerityUtils.cpp42 int enableFsverity(JNIEnv *env, jobject /* clazz */, jstring filePath, jbyteArray signature) { in enableFsverity()
73 int statxForFsverity(JNIEnv *env, jobject /* clazz */, jstring filePath) { in statxForFsverity()
90 int measureFsverity(JNIEnv *env, jobject /* clazz */, jstring filePath, jbyteArray digest) { in measureFsverity()
Dcom_android_internal_content_F2fsUtils.cpp48 ScopedUtfChars filePath(env, path); in com_android_internal_content_F2fsUtils_nativeReleaseCompressedBlocks() local
/frameworks/minikin/tests/util/
DFontTestUtils.cpp121 std::shared_ptr<FontCollection> buildFontCollection(const std::string& filePath) { in buildFontCollection()
125 std::shared_ptr<FontFamily> buildFontFamily(const std::string& filePath) { in buildFontFamily()
132 std::shared_ptr<FontFamily> buildFontFamily(const std::string& filePath, const std::string& lang, in buildFontFamily()
DFileUtils.cpp26 std::vector<uint8_t> readWholeFile(const std::string& filePath) { in readWholeFile()
DFontTestUtils.h68 inline std::shared_ptr<FontFamily> buildFontFamily(const std::string& filePath, in buildFontFamily()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DParserFactory.java47 public static XmlPullParser create(@NonNull String filePath) in create()
53 public static XmlPullParser create(@NonNull String filePath, boolean isLayout) in create()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPersister.java219 void saveImage(Bitmap image, String filePath) { in saveImage()
228 Bitmap getTaskDescriptionIcon(String filePath) { in getTaskDescriptionIcon()
237 private Bitmap getImageFromWriteQueue(String filePath) { in getImageFromWriteQueue()
509 private static boolean createParentDirectory(String filePath) { in createParentDirectory()
599 ImageWriteQueueItem(String filePath, Bitmap image) { in ImageWriteQueueItem()
606 final String filePath = mFilePath; in process() local
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DParsingContext.kt21 data class ParsingContext(val filePath: String, val lineNumber: Int) { constant in com.android.protolog.tool.ParsingContext
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DFont_Builder_Delegate.java57 protected String filePath; field in Font_Builder_Delegate
91 /*package*/ static long nBuild(long builderPtr, ByteBuffer buffer, String filePath, int weight, in nBuild()
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DInvalidNewSystemAppTest.kt53 private val filePath = HostUtils.makePathForApk("PackageManagerTestApp.apk", Partition.PRODUCT) constant in com.android.server.pm.test.InvalidNewSystemAppTest
DFactoryPackageTest.kt37 private val filePath = constant in com.android.server.pm.test.FactoryPackageTest
/frameworks/base/services/core/java/com/android/server/audio/
DSoundEffectsHelper.java207 String filePath = getResourceFilePath(res); in onLoadSoundEffects() local
267 String filePath = getResourceFilePath(res); in onPlaySoundEffect() local
319 String filePath = Environment.getProductDirectory() + SOUND_EFFECTS_PATH + res.mFileName; in getResourceFilePath() local
531 String filePath; in onLoadComplete() local
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommandDataLoader.java155 public static Metadata forLocalFile(String filePath) { in forLocalFile()
327 static ParcelFileDescriptor getLocalFilePFD(ShellCommand shellCommand, String filePath) { in getLocalFilePFD()
336 static int getLocalFile(ShellCommand shellCommand, String filePath) { in getLocalFile()
DApkChecksums.java390 final String filePath = file.getAbsolutePath(); in getAvailableApkChecksums() local
539 final String filePath = file.getAbsolutePath(); in needToWait() local
569 final String filePath = file.getAbsolutePath(); in getRequiredApkChecksums() local
637 private static ApkChecksum extractHashFromFS(String split, String filePath) { in extractHashFromFS()
663 String split, String filePath, int types) { in extractHashFromV2V3Signature()
/frameworks/base/media/java/android/media/
DThumbnailUtils.java123 public static @Nullable Bitmap createAudioThumbnail(@NonNull String filePath, int kind) { in createAudioThumbnail()
221 public static @Nullable Bitmap createImageThumbnail(@NonNull String filePath, int kind) { in createImageThumbnail()
331 public static @Nullable Bitmap createVideoThumbnail(@NonNull String filePath, int kind) { in createVideoThumbnail()
576 private static void createThumbnailFromEXIF(String filePath, int targetSize, in createThumbnailFromEXIF()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/power/
DMediaPlayerPowerTest.java49 public void audioPlayback(String filePath) { in audioPlayback()
/frameworks/av/media/mtp/
DMtpStorage.cpp34 MtpStorage::MtpStorage(MtpStorageID id, const char* filePath, in MtpStorage()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDynamicCodeLogger.java94 String filePath = fileEntry.getKey(); in logDynamicCodeLoading() local
188 private boolean fileIsUnder(String filePath, String directoryPath) { in fileIsUnder()

1234