diff options
author | Suchi Amalapurapu <asuchitra@google.com> | 2010-01-25 12:19:12 -0800 |
---|---|---|
committer | Suchi Amalapurapu <asuchitra@google.com> | 2010-01-27 10:26:43 -0800 |
commit | c028be4f3b8c7476b46859f66c3f33d528adf181 (patch) | |
tree | 8a740e6207e958572706a636fcb92425dbf13a6e /core/java/com | |
parent | aeb4126736c1b93abe5252e1723c568a13da7c81 (diff) | |
download | frameworks_base-c028be4f3b8c7476b46859f66c3f33d528adf181.zip frameworks_base-c028be4f3b8c7476b46859f66c3f33d528adf181.tar.gz frameworks_base-c028be4f3b8c7476b46859f66c3f33d528adf181.tar.bz2 |
AppsOnSd feature - Add default container
Add new remote interface to do temporary copies. The new
remote stub handling is done on mHandler thread and doesn't need locking
for now.
Add new InstallArgs class and subclasses to isolate cases for installation.
Move resource deletion for failed installs/upgrades to later on in installation
cycle.
Fix code path for forward locked apps when using scanPackageLI
TODO's
Fix installation paths to completely use InstallArgs based design later on.
Get rid of using flags in various install/uninstall code paths.
Ideally InstallArgs should be created using these flags and used in the
rest of the code.
Function renames.
Revisit mount api's.
Diffstat (limited to 'core/java/com')
-rwxr-xr-x | core/java/com/android/internal/app/IMediaContainerService.aidl | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/core/java/com/android/internal/app/IMediaContainerService.aidl b/core/java/com/android/internal/app/IMediaContainerService.aidl new file mode 100755 index 0000000..726e28f --- /dev/null +++ b/core/java/com/android/internal/app/IMediaContainerService.aidl @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2008 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.android.internal.app; + +import android.net.Uri; +import android.os.ParcelFileDescriptor; + +interface IMediaContainerService { + String copyResourceToContainer(in Uri packageURI, + String containerId, + String key, String resFileName); + boolean copyResource(in Uri packageURI, + in ParcelFileDescriptor outStream); +}
\ No newline at end of file |