/cts/tests/tests/permission/src/android/permission/cts/ |
DebuggableTest.java | 36 List<ApplicationInfo> apps = getContext() local 39 for (ApplicationInfo app : apps) {
|
FileSystemPermissionTest.java | 146 List<ApplicationInfo> apps = getContext() local 150 for (ApplicationInfo app : apps) { [all...] |
/external/cros/system_api/dbus/vm_applications/ |
dbus-constants.h | 9 namespace apps { namespace in namespace:vm_tools 19 } // namespace apps
|
/external/webrtc/webrtc/base/ |
winfirewall.cc | 90 INetFwAuthorizedApplications* apps = NULL; local 91 HRESULT hr = profile_->get_AuthorizedApplications(&apps); 92 if (SUCCEEDED(hr) && (apps != NULL)) { 94 hr = apps->Item(bfilename, &app); 105 // No entry in list of authorized apps 110 apps->Release(); 128 INetFwAuthorizedApplications* apps = NULL; local 129 HRESULT hr = profile_->get_AuthorizedApplications(&apps); 130 if (SUCCEEDED(hr) && (apps != NULL)) { 145 hr = apps->Add(app) [all...] |
/cts/apps/CtsVerifier/ |
Android.mk | 109 pre-installed-apps := \ 116 # Apps to be installed as Instant App using adb install --instant 119 other-required-apps := \ 125 apps-to-include := \ 126 $(pre-installed-apps) \ 128 $(other-required-apps) 131 $(call intermediates-dir-for,APPS,$(1))/package.apk 136 cts-verifier: CtsVerifier adb $(pre-installed-apps) $(pre-installed-instant-app) 138 $(foreach app,$(pre-installed-apps), \ 163 #$(verifier-dir)/power/power_monitors/monsoon.py: cts/apps/CtsVerifier/assets/scripts/power_monitors/monsoon.py | $(ACP [all...] |
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/ |
AppListViewModel.java | 76 List<ResolveInfo> apps = mPackageManager.queryIntentActivities(mainIntent, local 80 if (apps != null) { 81 for (ResolveInfo app : apps) {
|
PinnedAppListViewModel.java | 98 final List<ResolveInfo> apps = mPackageManager.queryIntentActivities(mainIntent, local 101 if (apps != null) { 102 for (ResolveInfo app : apps) {
|
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-SearchView/src/main/src/com/example/android/actionbarcompat/searchview/ |
AppListFragment.java | 84 // Fail-fast if the installed apps has not been loaded yet 89 // Clear current filtered apps and hide ListView 93 // If the query is empty, show all install apps 99 // Iterate through the installed apps to see if their label matches the query 101 // If the app label matches the query, add it to the filtered apps list 191 List<ApplicationInfo> apps = mPackageManager.getInstalledApplications(0); local 197 for (ApplicationInfo info : apps) { 208 // Add the results to the install apps list
|
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/ |
BaseActivityListFragment.java | 54 Log.d(Global.TAG, "Loading apps and shortcuts..."); 56 final List<LauncherActivityInfo> apps = new ArrayList<>(); local 61 apps.addAll(getActivities(user)); 64 Collections.sort(apps, sLauncherIconComparator); 69 Log.d(Global.TAG, "Apps and shortcuts loaded. (count=" + apps.size() + ")"); 71 mAdapter.setList(apps);
|
/device/google/contexthub/contexthubhal/ |
NanohubHidlAdapter.cpp | 255 std::vector<HubAppInfo> apps; local 267 apps.push_back(app); 271 cb->handleAppsInfo(apps); 513 ALOGW("Query Apps sendMessage failed");
|
system_comms.cpp | 46 #define CHRE_APP_SETTINGS CHRE_APP_DIR "/apps.json" 1066 Json::Value::Members apps = appsObject->getMemberNames(); local 1067 for (auto &it : apps) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LoaderCustom.java | 180 * Helper class to look for interesting changes to the installed apps 232 List<ApplicationInfo> apps = mPm.getInstalledApplications( local 235 if (apps == null) { 236 apps = new ArrayList<ApplicationInfo>(); 242 List<AppEntry> entries = new ArrayList<AppEntry>(apps.size()); 243 for (int i=0; i<apps.size(); i++) { 244 AppEntry entry = new AppEntry(this, apps.get(i)); 261 @Override public void deliverResult(List<AppEntry> apps) { 265 if (apps != null) { 266 onReleaseResources(apps); [all...] |
/device/google/contexthub/util/nanoapp_cmd/ |
nanoapp_cmd.c | 192 struct App apps[32]; variable in typeref:struct:App 227 struct App *currApp = &apps[appCount++]; 242 if (apps[i].id == appId) { 243 return &apps[i]; 588 LOGE("Download failed after %d retries; erasing all apps " 602 LOGE("Failed to download all apps!");
|
/development/samples/Home/src/com/example/android/home/ |
Home.java | 255 * Refreshes the favorite applications stacked over the all apps button. 489 final List<ResolveInfo> apps = manager.queryIntentActivities(mainIntent, 0); local 490 Collections.sort(apps, new ResolveInfo.DisplayNameComparator(manager)); 492 if (apps != null) { 493 final int count = apps.size(); 502 ResolveInfo info = apps.get(i); 610 public ApplicationsAdapter(Context context, ArrayList<ApplicationInfo> apps) { 611 super(context, 0, apps);
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageManagerTest.java | 724 List<ApplicationInfo> apps = mPackageManager.getInstalledApplications(GET_META_DATA); local 727 apps.toArray(new ApplicationInfo[] {}), APPLICATION_NAME); [all...] |