Searched refs:open (Results 176 - 200 of 229) sorted by relevance

12345678910

/frameworks/av/media/mtp/
H A DMtpDevice.cpp53 MtpDevice* MtpDevice::open(const char* deviceName, int fd) { function in class:android::MtpDevice
670 int fd = ::open(destPath, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
672 ALOGE("open failed for %s", destPath);
/frameworks/native/cmds/installd/
H A Dcommands.c689 zip_fd = open(apk_path, O_RDONLY, 0);
691 ALOGE("installd cannot open '%s' for input during dexopt\n", apk_path);
696 out_fd = open(out_path, O_RDWR | O_CREAT | O_EXCL, 0644);
698 ALOGE("installd cannot open '%s' for output during dexopt\n", out_path);
908 ALOGW("Unable to open update commands at %s%s\n",
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp538 int fd = open(filePath, O_RDONLY);
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorAudioPlayer.cpp512 status_t err = mAudioSink->open(
/frameworks/av/media/libstagefright/
H A DAudioPlayer.cpp174 status_t err = mAudioSink->open(
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h95 int rc = module->methods->open(module, mName.string(),
98 ALOGE("Could not open camera %s: %d", mName.string(), rc);
/frameworks/base/core/java/android/content/
H A DContentProvider.java1029 * Override this to handle requests to open a file blob.
1050 * error, you can use {@link ParcelFileDescriptor#open(File, int,
1092 * Override this to handle requests to open a file blob.
1113 * error, you can use {@link ParcelFileDescriptor#open(File, int,
1318 return ParcelFileDescriptor.open(new File(path), modeBits);
1345 * Called by a client to open a read-only stream containing data of a
1392 // If they can take anything, the untyped open call is good enough.
1397 // Use old untyped open call if this provider has a type for this
1401 throw new FileNotFoundException("Can't open " + uri + " as type " + mimeTypeFilter);
1406 * Called by a client to open
[all...]
H A DContentResolver.java705 * @param uri The desired URI to open.
747 * @param uri The desired URI to open.
821 * @param uri The desired URI to open.
874 * @param uri The desired URI to open.
899 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(
994 * @param uri The desired URI to open.
1027 * @param uri The desired URI to open.
2255 mCloseGuard.open("close");
/frameworks/base/core/java/android/widget/
H A DSlidingDrawer.java150 * Invoked when the drawer becomes fully open.
710 * Toggles the drawer open and close. Takes effect immediately.
712 * @see #open()
729 * Toggles the drawer open and close with an animation.
731 * @see #open()
752 public void open() { method in class:SlidingDrawer
764 * @see #open()
777 * @see #open()
799 * @see #open()
862 * Sets the listener that receives a notification when the drawer becomes open
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_Parcel.cpp409 int fd = open(name8.string(), flags, realMode);
H A Dandroid_util_AssetManager.cpp137 Asset* a = am->open(fileName8.c_str(), (Asset::AccessMode)mode);
196 Asset* a = am->open(fileName8.c_str(), Asset::ACCESS_RANDOM);
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java258 mCloseGuard.open("release");
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDevice.cpp112 MtpDevice* device = MtpDevice::open(deviceNameStr, fd);
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java384 return ParcelFileDescriptor.open(file, ParcelFileDescriptor.parseMode(mode));
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphRunner.java343 mStopCondition.open();
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DSceneManager.java146 is = res.getAssets().open(name);
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
H A DMediaPlayerProxyTestCase.java538 inputStream = assets.open(assetFilename);
/frameworks/native/cmds/servicemanager/
H A Dbinder.c104 bs->fd = open("/dev/binder", O_RDWR);
106 fprintf(stderr,"binder: cannot open device (%s)\n",
/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp209 fd = open(pathname, O_RDONLY);
/frameworks/base/core/java/android/hardware/
H A DCamera.java70 * <li>Obtain an instance of Camera from {@link #open(int)}.
97 * immediately in {@link android.app.Activity#onPause()} (and re-{@link #open()}
122 * on the event thread {@link #open(int)} was called from. This class's methods
291 * thread which called open(). If this thread has no event loop, then
308 public static Camera open(int cameraId) { method in class:Camera
316 * @see #open(int)
318 public static Camera open() { method in class:Camera
518 * on the event thread {@link #open(int)} was called from.
3261 * auto-exposure after {@link #open()} but before the first call to
3330 * auto-white balance after {@link #open()} bu
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryFragment.java446 final MenuItem open = menu.findItem(R.id.menu_open);
451 open.setVisible(!manageMode);
H A DDocumentsActivity.java404 public void setRootsDrawerOpen(boolean open) { argument
406 if (open) {
685 // TODO: open root drawer once we can capture back key
/frameworks/base/services/java/com/android/server/
H A DWallpaperManagerService.java726 return ParcelFileDescriptor.open(f, MODE_READ_ONLY);
780 ParcelFileDescriptor fd = ParcelFileDescriptor.open(file,
H A DBackupManagerService.java2236 mSavedState = ParcelFileDescriptor.open(mSavedStateName,
2240 mBackupData = ParcelFileDescriptor.open(mBackupDataName,
2249 mNewState = ParcelFileDescriptor.open(mNewStateName,
2292 backupData = ParcelFileDescriptor.open(mBackupDataName,
4810 mBackupData = ParcelFileDescriptor.open(mBackupDataName,
4832 mBackupData = ParcelFileDescriptor.open(mBackupDataName,
4835 mNewState = ParcelFileDescriptor.open(mNewStateName,
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp428 result.append("couldn't open ");
475 result.append("couldn't open ");
647 ALOGE("Couldn't open fd for %s", url);
1189 // If the application wants to decode those, it should open a
1433 status_t MediaPlayerService::AudioOutput::open( function in class:android::MediaPlayerService::AudioOutput
1449 ALOGV("open(%u, %d, 0x%x, 0x%x, %d, %d 0x%x)", sampleRate, channelCount, channelMask,
1481 ALOGE("open() error, can\'t derive mask for %d audio channels", channelCount);
1632 ALOGV("open() DONE status %d", res);
1913 status_t MediaPlayerService::AudioCache::open( function in class:android::MediaPlayerService::AudioCache
1919 ALOGV("open(
[all...]

Completed in 4072 milliseconds

12345678910