/frameworks/base/media/java/android/media/videoeditor/ |
H A D | MediaVideoItem.java | 79 * @param filename The image file name 84 public MediaVideoItem(VideoEditor editor, String mediaItemId, String filename, argument 86 this(editor, mediaItemId, filename, renderingMode, 0, END_OF_FILE, 100, false, null); 94 * @param filename The image file name 107 MediaVideoItem(VideoEditor editor, String mediaItemId, String filename, argument 110 super(editor, mediaItemId, filename, renderingMode); 119 properties = mMANativeHelper.getMediaProperties(filename); 121 throw new IllegalArgumentException(e.getMessage() + " : " + filename);
|
H A D | VideoEditor.java | 126 * {@link #export(String filename, ExportProgressListener listener, 135 * @param filename The name of the file which is in the process of being 140 public void onProgress(VideoEditor videoEditor, String filename, argument 360 * @param filename The output file name (including the full path) 382 public void export(String filename, int height, int bitrate, argument 395 * @param filename The output file name (including the full path) 425 public void export(String filename, int height, int bitrate, int audioCodec, argument 435 * @param filename The filename which identifies the export operation to be 438 public void cancelExport(String filename); argument [all...] |
H A D | VideoEditorImpl.java | 60 * The project filename 81 private static final String ATTR_FILENAME = "filename"; 329 public void cancelExport(String filename) { argument 330 if (mMANativeHelper != null && filename != null) { 331 mMANativeHelper.stop(filename); 338 public void export(String filename, int height, int bitrate, argument 344 if (filename == null) { 345 throw new IllegalArgumentException("export: filename is null"); 348 final File tempPathFile = new File(filename); 350 throw new IOException(filename 471 export(String filename, int height, int bitrate, ExportProgressListener listener) argument 1952 dumpHeap(String filename) argument [all...] |
H A D | MediaArtistNativeHelper.java | 1848 boolean updateOverlay, String filename, int renderingMode, int error) { 1858 if (filename != null) { 1859 overlayData.set(BitmapFactory.decodeFile(filename), renderingMode); 3118 private void previewFrameEditInfo(String filename, int renderingMode) { argument 3119 mRenderPreviewOverlayFile = filename; 3751 void stop(String filename) { argument 3768 Bitmap getPixels(String filename, int width, int height, long timeMs, argument 3771 getPixelsList(filename, width, height, timeMs, timeMs, 1, new int[] {0}, 3784 * @param filename The input file name 3796 void getPixelsList(String filename, fina argument 1847 onPreviewProgressUpdate(int progress, boolean isFinished, boolean updateOverlay, String filename, int renderingMode, int error) argument [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsBackupAgent.java | 758 private byte[] getFileData(String filename) { argument 761 File file = new File(filename); 777 Log.w(TAG, "Couldn't backup " + filename); 782 Log.w(TAG, "Couldn't backup " + filename); 795 private void restoreFileData(String filename, byte[] bytes, int size) { argument 797 File file = new File(filename); 800 OutputStream os = new BufferedOutputStream(new FileOutputStream(filename, true)); 804 Log.w(TAG, "Couldn't restore " + filename); 809 private byte[] getWifiSupplicant(String filename) { argument 812 File file = new File(filename); 847 restoreWifiSupplicant(String filename, byte[] bytes, int size) argument [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 132 static void dumpSource(const sp<MediaSource> &source, const String8 &filename) { argument 133 FILE *out = fopen(filename.string(), "wb"); 604 fprintf(stderr, " -w(rite) filename (write to .mp4 file)\n"); 610 fprintf(stderr, " -d(ump) filename (raw stream data to a file)\n"); 611 fprintf(stderr, " -D(ump) filename (decoded PCM data to a file)\n"); 829 const char *filename = argv[k]; local 833 int fd = open(filename, O_RDONLY | O_LARGEFILE); 850 printf("getFrameAtTime(%s) => OK\n", filename); 864 printf("extractAlbumArt(%s) => OK\n", filename); 870 "failed on file '%s'.\n", filename); 960 const char *filename = argv[k]; local [all...] |
/frameworks/base/core/java/android/speech/srec/ |
H A D | Recognizer.java | 442 || ESR_SessionGetLCHAR ( L("cmdline.vocabulary"), filename, &flen ) 443 || SR_VocabularyLoad ( filename, &applicationData.vocabulary ) 493 private static native void SR_SessionCreate(String filename); argument 637 // const LCHAR* filename); 639 // const LCHAR* filename); 675 private static native int SR_GrammarLoad(String filename); argument 676 private static native void SR_GrammarSave(int grammar, String filename); argument 699 // const LCHAR* filename);
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeech.java | 719 * @param filename 725 public int addSpeech(String text, String filename) { argument 727 mUtterances.put(text, Uri.parse(filename)); 774 * @param filename 780 public int addEarcon(String earcon, String filename) { argument 782 mEarcons.put(earcon, Uri.parse(filename)); 1101 * @param filename Absolute file filename to write the generated audio data to.It should be 1107 final String filename) { 1111 return service.synthesizeToFile(getCallerIdentity(), text, filename, 1106 synthesizeToFile(final String text, final HashMap<String, String> params, final String filename) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_Process.cpp | 870 char filename[64]; local 872 snprintf(filename, sizeof(filename), "/proc/%d/smaps", pid); 874 FILE * file = fopen(filename, "r");
|
H A D | android_util_Binder.cpp | 954 char filename[20]; local 957 sprintf(filename, "/proc/%d/cmdline", pid); 958 f = fopen(filename, "r");
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 438 * @param filename The name of the file to try to retrieve from the mock server 441 protected Uri getServerUri(String filename) throws Exception { argument 442 URL url = mServer.getUrl("/" + filename); 449 * @param filename The name of the file to try to retrieve from the mock server 580 * @param filename (optional) The name of the file to create on the SD card; pass in null to 581 * use a default temp filename. 587 protected File createFileOnSD(String filename, long fileSize, DataType type, argument 598 if (filename == null) { 602 fullPath.append(File.separatorChar).append(filename); 946 * Helper to do the additional steps (setting title and Uri of default filename) whe [all...] |
/frameworks/base/libs/androidfw/ |
H A D | KeyCharacterMap.cpp | 107 status_t KeyCharacterMap::load(const String8& filename, argument 112 status_t status = Tokenizer::open(filename, &tokenizer); 114 ALOGE("Error %d opening key character map file %s.", status, filename.string()); 122 status_t KeyCharacterMap::loadContents(const String8& filename, const char* contents, argument 127 status_t status = Tokenizer::fromContents(filename, contents, &tokenizer);
|
H A D | AssetManager.cpp | 85 char* filename = buf; local 86 while (*filename && *filename == '/') { 87 ++filename; 89 char* p = filename; 96 path.appendPath(filename); 1301 /* grab it, reducing path to just the filename component */ 1324 * Process "exclude" directives. If we find a filename that ends with 1725 // XXX This is broken -- the filename cache needs to hold the base 1726 // asset path separately from its filename [all...] |
/frameworks/av/media/libstagefright/mp4/ |
H A D | FragmentedMP4Parser.cpp | 130 FileSource(const char *filename) argument 131 : mFile(fopen(filename, "rb")) { 232 void FragmentedMP4Parser::start(const char *filename) { argument 234 msg->setObject("source", new FileSource(filename)); 236 ALOGV("Parser::start(%s)", filename);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewProvider.java | 116 public void saveWebArchive(String filename); argument
|
H A D | WebView.java | 866 * @param filename the filename where the archive should be placed 868 public void saveWebArchive(String filename) { argument 870 mProvider.saveWebArchive(filename); 876 * @param basename the filename where the archive should be placed 878 * is assumed to be a directory in which a filename will be 881 * parameter for onReceiveValue will either be the filename
|
H A D | WebViewCore.java | 331 * @param sourceID the filename of the source that caused the error. 2014 private String saveWebArchive(String filename, boolean autoname) { argument 2016 Log.v(LOGTAG, " CORE saveWebArchive " + filename + " " + autoname); 2018 return mBrowserFrame.saveWebArchive(filename, autoname);
|
H A D | WebViewClassic.java | 2606 public void saveWebArchive(String filename) { argument 2607 saveWebArchiveImpl(filename, false, null);
|
/frameworks/base/services/java/com/android/server/ |
H A D | MountService.java | 1645 public int fixPermissionsSecureContainer(String id, int gid, String filename) { argument 1651 mConnector.execute("asec", "fixperms", id, gid, filename); 2413 Slog.w(TAG, "Denied attempt to mount OBB " + obbInfo.filename 2424 Slog.w(TAG, "Attempt to mount OBB which is already mounted: " + obbInfo.filename);
|
H A D | NetworkManagementService.java | 657 private ArrayList<String> readRouteList(String filename) { argument 662 fstream = new FileInputStream(filename);
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 30 * - the filename length must be less than kMaxAssetFileName bytes long 35 * Pass in just the filename, not the full path. 1842 "Invalid filename. Unable to add."); 2306 AaptAssets::slurpResourceZip(Bundle* bundle, const char* filename) argument 2312 status_t err = zip->open(filename, ZipFile::kOpenReadOnly); 2314 fprintf(stderr, "error opening zip file %s\n", filename);
|
H A D | Command.cpp | 446 const char* filename = bundle->getFileSpecEntry(1); local 450 if (!assets.addAssetPath(String8(filename), &assetsCookie)) {
|
/frameworks/base/media/java/android/media/ |
H A D | MediaScanner.java | 333 /** The filename for the default sound for the ringer ringtone. */ 335 /** The filename for the default sound for the notification ringtone. */ 337 /** The filename for the default sound for the alarm ringtone. */ 1011 private boolean doesPathHaveFilename(String path, String filename) { argument 1013 int filenameLength = filename.length(); 1014 return path.regionMatches(pathFilenameStart, filename, 0, filenameLength) &&
|
/frameworks/av/media/libstagefright/ |
H A D | MPEG4Writer.cpp | 335 MPEG4Writer::MPEG4Writer(const char *filename) argument 353 mFd = open(filename, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 4084 public BatteryStatsImpl(String filename) { argument 4085 mFile = new JournaledFile(new File(filename), new File(filename + ".tmp"));
|