Home
last modified time | relevance | path

Searched refs:packages (Results 1 – 25 of 95) sorted by relevance

1234

/frameworks/base/services/java/com/android/server/pm/
DSharedUserSetting.java32 final HashSet<PackageSetting> packages = new HashSet<PackageSetting>(); field in SharedUserSetting
49 if (packages.remove(packageSetting)) { in removePackage()
53 for (PackageSetting ps : packages) { in removePackage()
62 if (packages.add(packageSetting)) { in addPackage()
/frameworks/base/cmds/bu/src/com/android/commands/bu/
DBackup.java66 ArrayList<String> packages = new ArrayList<String>(); in doFullBackup() local
100 packages.add(arg); in doFullBackup()
104 if (doEverything && packages.size() > 0) { in doFullBackup()
108 if (!doEverything && !saveShared && packages.size() == 0) { in doFullBackup()
116 String[] packArray = new String[packages.size()]; in doFullBackup()
118 allIncludesSystem, packages.toArray(packArray)); in doFullBackup()
/frameworks/base/docs/html/sdk/installing/
Dadding-packages.jd6 <p>The Android SDK separates tools, platforms, and other components into packages you can
24 <li>The SDK Manager shows all the SDK packages available for you to add to your Android SDK.
27 <li>The latest Tools packages (check the <strong>Tools</strong> folder).</li>
33 <p>Once you've chosen your packages, click <strong>Install</strong>. The Android SDK Manager
34 installs the selected packages into your Android SDK environment.</li>
37 <p>With these packages installed, you're ready to start developing.
43 SDK packages that are available, already installed, or for which an update is available.</p>
50 <li>For more information about using the SDK Manager and some of the available packages,
55 href="{@docRoot}reference/packages.html">API reference</a>, and information
Dbundle.jd35 of Android for the emulator and other packages such as the library for
36 Google Play In-app Billing. To install more packages, use
42 href="{@docRoot}reference/packages.html">API reference</a>, and information
Dindex.jd11 use to download the rest of the SDK packages (such as the latest system image).</p>
31 start the SDK Manager and read <a href="{@docRoot}sdk/installing/adding-packages.html"
55 read <a href="{@docRoot}sdk/installing/adding-packages.html"
79 read <a href="{@docRoot}sdk/installing/adding-packages.html"
Dinstalling-adt.jd15 UI, debug your app, and export signed (or unsigned) app packages (APKs) for distribution.
69 To get these packages for your SDK, continue to
70 <a href="{@docRoot}sdk/installing/adding-packages.html">Adding Platforms and Packages</a>.</p>
201 Eclipse packages (for example, WST). If you encounter an error when
202 installing ADT, your Eclipse installion might not include these packages.
203 For information about how to quickly add the necessary packages to your
/frameworks/base/policy/src/com/android/internal/policy/impl/
DImmersiveModeConfirmation.java91 String packages = null; in loadSetting() local
93 packages = Settings.Secure.getStringForUser(mContext.getContentResolver(), in loadSetting()
96 if (packages != null) { in loadSetting()
97 mConfirmedPackages.addAll(Arrays.asList(packages.split(","))); in loadSetting()
101 Slog.w(TAG, "Error loading confirmations, packages=" + packages, t); in loadSetting()
108 final String packages = TextUtils.join(",", mConfirmedPackages); in saveSetting() local
111 packages, in saveSetting() local
113 if (DEBUG) Slog.d(TAG, "Saved packages=" + packages); in saveSetting()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DLocationController.java164 List<AppOpsManager.PackageOps> packages in areActiveHighPowerLocationRequests() local
167 if (packages != null) { in areActiveHighPowerLocationRequests()
168 final int numPackages = packages.size(); in areActiveHighPowerLocationRequests()
170 AppOpsManager.PackageOps packageOp = packages.get(packageInd); in areActiveHighPowerLocationRequests()
/frameworks/base/docs/html/tools/revisions/
Dindex.jd5 <p>The Android SDK is composed of individual packages that may undergo
7 find information about some of the packages in this section, including the core <a
/frameworks/base/docs/html/tools/help/
Dsdk-manager.jd5 <p>The Android SDK separates tools, platforms, and other components into packages you can
18 <p>You can select which packages you want to download by toggling the checkboxes on the left, then
19 click <strong>Install</strong> to install the selected packages.</p>
23 SDK packages that are available, already installed, or for which an update is available.</p>
28 <p>Here's an outline of the packages required and those we recommend you use:
62 samples packages are available &mdash; one for each Android platform version. When
Dmonkey.jd34 <li>If you have constrained the Monkey to run in one or more specific packages, it
35 watches for attempts to navigate to any other packages, and blocks them.</li>
57 events to any (and all) packages installed on your target. Here is a more typical command line,
158 <td>If you specify one or more packages this way, the Monkey will <i>only</i> allow the system
159 to visit activities within those packages. If your application requires access to activities in
160 other packages (e.g. to select a contact) you'll need to specify those packages as well.
161 If you don't specify any packages, the Monkey will allow the system to launch activities
162 in all packages. To specify multiple packages, use the -p option multiple times &mdash; one -p
/frameworks/base/docs/html/sdk/
Dexploring.jd8 <p>The Android SDK is composed of modular packages that you can download separately using
12 href="{@docRoot}sdk/installing/adding-packages.html">Adding Platforms and Packages</a>.</p>
14 <p>There are several different packages available for the Android SDK. The table below describes
15 most of the available packages and where they're located once you download them.</p>
103 href="#AddingSites">add new sites</a> to download additional packages from third-parties.</p>
116 packages that are needed by those you have selected.</p>
124 <p>By default, <strong>Available Packages</strong> displays packages available from the
143 <p>Any SDK packages available from the site will now be listed under a new item named
153 <p>If you are using the Android SDK Manager to download packages and are encountering
/frameworks/base/services/java/com/android/server/content/
DSyncOperation.java198 final String[] packages = pm.getPackagesForUid(reason); in reasonToString() local
199 if (packages != null && packages.length == 1) { in reasonToString()
200 return packages[0]; in reasonToString()
/frameworks/base/core/java/android/accounts/
DGrantCredentialsPermissionActivity.java72 final String[] packages = pm.getPackagesForUid(mUid); in onCreate() local
74 if (mAccount == null || mAuthTokenType == null || packages == null) { in onCreate()
121 for (String pkg : packages) { in onCreate()
/frameworks/base/core/java/android/app/backup/
DIRestoreSession.aidl71 int restoreSome(long token, IRestoreObserver observer, in String[] packages); in restoreSome() argument
DRestoreSession.java108 public int restoreSome(long token, RestoreObserver observer, String[] packages) { in restoreSome() argument
116 err = mBinder.restoreSome(token, mObserver, packages); in restoreSome()
/frameworks/ex/chips/tests/
DAndroid.mk26 LOCAL_AAPT_FLAGS += --extra-packages com.android.ex.chips
/frameworks/base/core/java/com/android/internal/backup/
DIBackupTransport.aidl168 int startRestore(long token, in PackageInfo[] packages); in startRestore() argument
DLocalTransport.java207 public int startRestore(long token, PackageInfo[] packages) { in startRestore() argument
209 mRestorePackages = packages; in startRestore()
/frameworks/base/services/java/com/android/server/am/
DUsageStatsService.java905 boolean deleteAfterPrint, HashSet<String> packages) { in collectDumpInfoFLOCK() argument
927 packages); in collectDumpInfoFLOCK()
942 String date, boolean isCompactOutput, HashSet<String> packages) { in collectDumpInfoFromParcelFLOCK() argument
972 if (packages != null && !packages.contains(pkgName)) { in collectDumpInfoFromParcelFLOCK()
1149 HashSet<String> packages = null; in dump() local
1155 if (packages == null) { in dump()
1156 packages = new HashSet<String>(); in dump()
1158 packages.add(n); in dump()
1169 collectDumpInfoFLOCK(pw, isCompactOutput, deleteAfterPrint, packages); in dump()
/frameworks/base/services/java/com/android/server/firewall/
DIntentFirewall.java222 private static String joinPackages(String[] packages) { in joinPackages() argument
225 for (int i=0; i<packages.length; i++) { in joinPackages()
226 String pkg = packages[i]; in joinPackages()
241 if (sb.length() == 0 && packages.length > 0) { in joinPackages()
242 String pkg = packages[0]; in joinPackages()
/frameworks/base/docs/html/guide/topics/manifest/
Duses-library-element.jd39 All of the {@code android} packages (such as {@link android.app},
42 against. However, some packages (such as {@code maps}) are
44 documentation for the packages you're using to determine which library
/frameworks/opt/photoviewer/sample/
DAndroid.mk39 LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.appcompat:com.android.ex.photo
/frameworks/base/core/java/com/android/internal/content/
DPackageMonitor.java174 public boolean onHandleForceStop(Intent intent, String[] packages, int uid, boolean doit) { in onHandleForceStop() argument
184 public void onPackagesAvailable(String[] packages) { in onPackagesAvailable() argument
187 public void onPackagesUnavailable(String[] packages) { in onPackagesUnavailable() argument
/frameworks/base/core/tests/overlaytests/
DREADME6 overlay packages require the Android platform be rebooted. However, the

1234