Home
last modified time | relevance | path

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

1234567

/frameworks/base/libs/androidfw/tests/
DLoadedArsc_test.cpp39 const std::vector<std::unique_ptr<const LoadedPackage>>& packages = loaded_arsc->GetPackages(); in TEST() local
40 ASSERT_EQ(1u, packages.size()); in TEST()
41 EXPECT_EQ(std::string("com.android.app"), packages[0]->GetPackageName()); in TEST()
42 EXPECT_EQ(0x7f, packages[0]->GetPackageId()); in TEST()
89 const auto& packages = loaded_arsc->GetPackages(); in TEST() local
90 ASSERT_EQ(1u, packages.size()); in TEST()
92 EXPECT_TRUE(packages[0]->IsDynamic()); in TEST()
93 EXPECT_EQ(std::string("com.android.lib_one"), packages[0]->GetPackageName()); in TEST()
94 EXPECT_EQ(0, packages[0]->GetPackageId()); in TEST()
96 const auto& dynamic_pkg_map = packages[0]->GetDynamicPackageMap(); in TEST()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DWebViewUpdateServiceTest.java72 private void setupWithPackages(WebViewProviderInfo[] packages) { in setupWithPackages() argument
73 setupWithPackages(packages, true); in setupWithPackages()
76 private void setupWithPackages(WebViewProviderInfo[] packages, in setupWithPackages() argument
78 setupWithPackages(packages, fallbackLogicEnabled, 1); in setupWithPackages()
81 private void setupWithPackages(WebViewProviderInfo[] packages, in setupWithPackages() argument
83 setupWithPackages(packages, fallbackLogicEnabled, numRelros, in setupWithPackages()
87 private void setupWithPackages(WebViewProviderInfo[] packages, in setupWithPackages() argument
89 setupWithPackages(packages, fallbackLogicEnabled, numRelros, isDebuggable, in setupWithPackages()
93 private void setupWithPackages(WebViewProviderInfo[] packages, in setupWithPackages() argument
96 TestSystemImpl testing = new TestSystemImpl(packages, fallbackLogicEnabled, numRelros, in setupWithPackages()
[all …]
/frameworks/base/tools/preload2/src/com/android/preload/actions/
DRunMonkeyAction.java53 String packages = Main.getUI().showInputDialog("Please enter packages name to run with" in actionPerformed() local
55 if (packages == null) { in actionPerformed()
58 if (packages.isEmpty()) { in actionPerformed()
59 packages = DEFAULT_MONKEY_PACKAGES; in actionPerformed()
61 Runnable r = new RunMonkeyRunnable(packages); in actionPerformed()
71 private String packages; field in RunMonkeyAction.RunMonkeyRunnable
74 public RunMonkeyRunnable(String packages) { in RunMonkeyRunnable() argument
75 this.packages = packages; in RunMonkeyRunnable()
83 String pkgs[] = packages.split(","); in run()
/frameworks/base/services/core/java/com/android/server/pm/
DSharedUserSetting.java33 final ArraySet<PackageSetting> packages = new ArraySet<PackageSetting>(); field in SharedUserSetting
51 if (packages.remove(packageSetting)) { in removePackage()
55 for (PackageSetting ps : packages) { in removePackage()
62 for (PackageSetting ps : packages) { in removePackage()
71 if (packages.add(packageSetting)) { in addPackage()
DPackageUsage.java55 protected void writeInternal(Map<String, PackageParser.Package> packages) { in writeInternal() argument
69 for (PackageParser.Package pkg : packages.values()) { in writeInternal()
93 protected void readInternal(Map<String, PackageParser.Package> packages) { in readInternal() argument
104 readVersion1LP(packages, in, sb); in readInternal()
106 readVersion0LP(packages, in, sb, firstLine); in readInternal()
117 private void readVersion0LP(Map<String, PackageParser.Package> packages, InputStream in, in readVersion0LP() argument
131 PackageParser.Package pkg = packages.get(packageName); in readVersion0LP()
145 private void readVersion1LP(Map<String, PackageParser.Package> packages, InputStream in, in readVersion1LP() argument
157 PackageParser.Package pkg = packages.get(packageName); in readVersion1LP()
DPackageManagerServiceUtils.java92 Collection<PackageParser.Package> packages, in applyPackageFilter() argument
95 for (PackageParser.Package pkg : packages) { in applyPackageFilter()
102 packages.removeAll(sortTemp); in applyPackageFilter()
112 packages.removeAll(deps); in applyPackageFilter()
122 Collection<PackageParser.Package> packages, in getPackagesForDexopt() argument
124 ArrayList<PackageParser.Package> remainingPkgs = new ArrayList<>(packages); in getPackagesForDexopt()
/frameworks/base/tests/UiBench/
DAndroid.mk23 --extra-packages android.support.design \
24 --extra-packages android.support.v7.appcompat \
25 --extra-packages android.support.v7.cardview \
26 --extra-packages android.support.v7.recyclerview \
27 --extra-packages android.support.v17.leanback
/frameworks/native/libs/binder/
DIPermissionController.cpp52 virtual void getPackagesForUid(const uid_t uid, Vector<String16>& packages) in getPackagesForUid() argument
67 packages.push(reply.readString16()); in getPackagesForUid()
105 Vector<String16> packages; in onTransact() local
106 getPackagesForUid(uid, packages); in onTransact()
108 size_t size = packages.size(); in onTransact()
111 reply->writeString16(packages[i]); in onTransact()
/frameworks/base/packages/SettingsLib/
Dcommon.mk30 LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.appcompat
37 LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.recyclerview
44 LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.preference
51 LOCAL_AAPT_FLAGS += --extra-packages android.support.v14.preference
55 LOCAL_AAPT_FLAGS += --auto-add-overlay --extra-packages com.android.settingslib
/frameworks/support/customtabs/src/android/support/customtabs/
DCustomTabsClient.java79 public static String getPackageName(Context context, @Nullable List<String> packages) { in getPackageName() argument
80 return getPackageName(context, packages, false); in getPackageName()
97 Context context, @Nullable List<String> packages, boolean ignoreDefault) { in getPackageName() argument
100 List<String> packageNames = packages == null ? new ArrayList<String>() : packages; in getPackageName()
109 if (packages != null) packageNames.addAll(packages); in getPackageName()
/frameworks/base/cmds/bu/src/com/android/commands/bu/
DBackup.java65 ArrayList<String> packages = new ArrayList<String>(); in doBackup() local
114 packages.add(arg); in doBackup()
118 if (doEverything && packages.size() > 0) { in doBackup()
122 if (!doEverything && !saveShared && packages.size() == 0) { in doBackup()
130 String[] packArray = new String[packages.size()]; in doBackup()
132 allIncludesSystem, doCompress, doKeyValue, packages.toArray(packArray)); in doBackup()
/frameworks/av/services/audioflinger/
DServiceUtilities.cpp87 Vector<String16> packages; in recordingAllowed() local
89 permCtrl->getPackagesForUid(uid, packages); in recordingAllowed()
91 if (packages.isEmpty()) { in recordingAllowed()
95 checkedOpPackageName = packages[0]; in recordingAllowed()
/frameworks/base/packages/SystemUI/tests/
DAndroid.mk36 frameworks/base/packages/SystemUI/res \
37 frameworks/base/packages/SystemUI/res-keyguard \
62 LOCAL_AAPT_FLAGS := --extra-packages com.android.systemui:com.android.keyguard
97 include frameworks/base/packages/SettingsLib/common.mk
/frameworks/base/services/tests/servicestests/assets/shortcut/
Ddumpsys_expected.txt22 "packages": [
64 "packages": [
91 "packages": [
/frameworks/base/
DPREUPLOAD.cfg5 packages/PrintRecommendationService/
6 packages/PrintSpooler/
/frameworks/opt/setupwizard/library/
Dcommon-gingerbread.mk36 LOCAL_AAPT_FLAGS += --extra-packages com.android.setupwizardlib
45 LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.appcompat
52 LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.recyclerview
DAndroid.mk56 --extra-packages android.support.compat \
57 --extra-packages android.support.v7.appcompat \
58 --extra-packages android.support.v7.recyclerview
/frameworks/base/services/core/java/com/android/server/media/
DAudioPlaybackMonitor.java275 String[] packages = mContext.getPackageManager().getPackagesForUid(uid); in dump() local
276 if (packages != null && packages.length > 0) { in dump()
277 for (int j = 0; j < packages.length; j++) { in dump()
278 pw.print(packages[j] + " "); in dump()
/frameworks/base/packages/CtsShim/build/
DREADME20 frameworks/base/packages/CtsShim/apk/arm
22 frameworks/base/packages/CtsShim/apk/arm
34 frameworks/base/packages/CtsShim/apk/x86
36 frameworks/base/packages/CtsShim/apk/x86
/frameworks/base/services/backup/java/com/android/server/backup/params/
DAdbBackupParams.java31 public String[] packages; field in AdbBackupParams
45 packages = pkgList; in AdbBackupParams()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DLocationControllerImpl.java148 List<AppOpsManager.PackageOps> packages in areActiveHighPowerLocationRequests() local
151 if (packages != null) { in areActiveHighPowerLocationRequests()
152 final int numPackages = packages.size(); in areActiveHighPowerLocationRequests()
154 AppOpsManager.PackageOps packageOp = packages.get(packageInd); in areActiveHighPowerLocationRequests()
/frameworks/base/core/java/android/content/
DSyncAdaptersCache.java118 ArrayList<String> packages = new ArrayList<>(); in getSyncAdapterPackagesForAuthority() local
122 packages.add(serviceInfo.componentName.getPackageName()); in getSyncAdapterPackagesForAuthority()
125 syncAdapterPackages = new String[packages.size()]; in getSyncAdapterPackagesForAuthority()
126 packages.toArray(syncAdapterPackages); in getSyncAdapterPackagesForAuthority()
/frameworks/support/v17/leanback/tests/
DAndroid.mk31 --extra-packages android.support.v17.leanback \
32 --extra-packages android.support.v7.recyclerview
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java182 IBackupManagerMonitor monitor, String[] packages) { in restoreSome() argument
200 if (packages == null) { in restoreSome()
205 for (String s : packages) { in restoreSome()
256 Slog.d(TAG, "restoreSome() of " + packages.length + " packages"); in restoreSome()
261 token, packages, packages.length > 1); in restoreSome()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DAppRestrictionsHelperTest.java177 private void addSystemAppsForIntent(Intent intent, String... packages) throws Exception { in addSystemAppsForIntent() argument
179 for (String pkg : packages) { in addSystemAppsForIntent()
188 private void addSystemAppsWithRequiredAccounts(String... packages) throws Exception { in addSystemAppsWithRequiredAccounts() argument
189 for (String pkg : packages) { in addSystemAppsWithRequiredAccounts()
201 private void addDownloadedApps(String... packages) throws Exception { in addDownloadedApps() argument
202 for (String pkg : packages) { in addDownloadedApps()

1234567