Home
last modified time | relevance | path

Searched refs:app (Results 1 – 25 of 1915) sorted by relevance

12345678910>>...77

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAppObserver.java73 for(BluetoothMapAccountItem app:mFullList.keySet()){ in getApp()
74 if(V) Log.d(TAG, " Comparing: " + app.getProviderAuthority()); in getApp()
75 if(app.getProviderAuthority().equals(authoritiesName)) { in getApp()
76 if(V) Log.d(TAG, " found " + app.mBase_uri_no_account); in getApp()
77 return app; in getApp()
89 BluetoothMapAccountItem app = getApp(packageNameWithProvider); in handleAccountChanges() local
90 if(app != null) { in handleAccountChanges()
91 ArrayList<BluetoothMapAccountItem> newAccountList = mLoader.parseAccounts(app); in handleAccountChanges()
92 ArrayList<BluetoothMapAccountItem> oldAccountList = mFullList.get(app); in handleAccountChanges()
96 ArrayList<BluetoothMapAccountItem> removedAccountList = mFullList.get(app); in handleAccountChanges()
[all …]
DBluetoothMapAccountLoader.java100 BluetoothMapAccountItem app = createAppItem(rInfo, includeIcon, msgType); in parsePackages() local
101 if (app != null){ in parsePackages()
102 ArrayList<BluetoothMapAccountItem> accounts = parseAccounts(app); in parsePackages()
107 app.mIsChecked = true; in parsePackages()
112 app.mIsChecked = false; in parsePackages()
116 groups.put(app, accounts); in parsePackages()
139 BluetoothMapAccountItem app = BluetoothMapAccountItem.create( in createAppItem() local
146 return app; in createAppItem()
157 public ArrayList<BluetoothMapAccountItem> parseAccounts(BluetoothMapAccountItem app) { in parseAccounts() argument
159 if(D) Log.d(TAG,"Finding accounts for app "+app.getPackageName()); in parseAccounts()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DMessageParser.java19 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE;
20 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE;
21 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME;
22 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION…
23 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSU…
24 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOA…
25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOA…
26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME;
27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECK…
28 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLE…
[all …]
DExtrasProvisioningDataParser.java19 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE;
20 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SO…
21 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE;
22 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_SHAREABLE_DEVICE;
23 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_USER;
24 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE;
25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE;
26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME;
27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION…
28 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSU…
[all …]
DPropertiesProvisioningDataParser.java19 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE;
20 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME;
21 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION…
22 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSU…
23 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOA…
24 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOA…
25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME;
26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECK…
27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLE…
28 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_LOCALE;
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DGattService.java19 import android.app.AppOpsManager;
20 import android.app.Service;
621 ClientMap.App app = mClientMap.getById(client.clientIf); in onScanResult() local
622 if (app != null) { in onScanResult()
634 app.appScanStats.addResult(); in onScanResult()
635 app.callback.onScanResult(result); in onScanResult()
645 ServerMap.App app = mServerMap.getById(client.clientIf); in onScanResult() local
646 if (app != null) { in onScanResult()
648 app.callback.onScanResult(address, rssi, adv_data); in onScanResult()
689 ClientMap.App app = mClientMap.getByUuid(uuid); in onClientRegistered() local
[all …]
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParserTest.java18 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE;
19 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE;
20 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE;
21 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME;
22 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION…
23 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSU…
24 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOA…
25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOA…
26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME;
27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECK…
[all …]
DExtrasProvisioningDataParserTest.java18 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE;
19 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SO…
20 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_USER;
21 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE;
22 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_SHAREABLE_DEVICE;
23 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE;
24 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE;
25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME;
26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_MINIMUM_VERSION…
27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_CHECKSU…
[all …]
DMessageParserTest.java18 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE;
19 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE_FROM_TRUSTED_SO…
20 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_USER;
21 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_PROFILE;
22 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_SHAREABLE_DEVICE;
23 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ACCOUNT_TO_MIGRATE;
24 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_ADMIN_EXTRAS_BUNDLE;
25 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME;
26 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME;
27 import static android.app.admin.DevicePolicyManager.EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLE…
[all …]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
DPermissionAppsFragment.java19 import android.app.ActionBar;
20 import android.app.AlertDialog;
21 import android.app.Fragment;
187 for (PermissionApp app : permissionApps.getApps()) { in onPermissionsLoaded()
188 if (!Utils.shouldShowPermission(app)) { in onPermissionsLoaded()
192 String key = app.getKey(); in onPermissionsLoaded()
199 boolean isSystemApp = Utils.isSystem(app, mLauncherPkgs); in onPermissionsLoaded()
209 if (app.isPolicyFixed()) { in onPermissionsLoaded()
214 existingPref.setEnabled(!app.isPolicyFixed()); in onPermissionsLoaded()
217 .setChecked(app.areRuntimePermissionsGranted()); in onPermissionsLoaded()
[all …]
/packages/apps/Camera2/src/com/android/camera/module/
DModulesInfo.java26 import com.android.camera.app.AppController;
27 import com.android.camera.app.ModuleManager;
101 public ModuleController createModule(AppController app, Intent intent) { in registerPhotoModule()
103 return enableCaptureModule ? new CaptureModule(app) : new PhotoModule(app); in registerPhotoModule()
127 public ModuleController createModule(AppController app, Intent intent) { in registerVideoModule()
128 return new VideoModule(app); in registerVideoModule()
152 public ModuleController createModule(AppController app, Intent intent) { in registerWideAngleModule()
153 return PhotoSphereHelper.createWideAnglePanoramaModule(app); in registerWideAngleModule()
177 public ModuleController createModule(AppController app, Intent intent) { in registerPhotoSphereModule()
178 return PhotoSphereHelper.createPanoramaModule(app); in registerPhotoSphereModule()
[all …]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionAppsFragment.java18 import android.app.ActionBar;
19 import android.app.AlertDialog;
20 import android.app.Fragment;
189 for (PermissionApp app : permissionApps.getApps()) { in onPermissionsLoaded()
190 if (!Utils.shouldShowPermission(app)) { in onPermissionsLoaded()
194 String key = app.getKey(); in onPermissionsLoaded()
201 boolean isSystemApp = Utils.isSystem(app, mLauncherPkgs); in onPermissionsLoaded()
211 final boolean isPolicyFixed = app.isPolicyFixed(); in onPermissionsLoaded()
213 getActivity(), app.getUserId()); in onPermissionsLoaded()
227 .setChecked(app.areRuntimePermissionsGranted()); in onPermissionsLoaded()
[all …]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
DPermissionApps.java93 for (PermissionApp app : mPermApps) { in getGrantedCount()
94 if (!Utils.shouldShowPermission(app)) { in getGrantedCount()
97 if (Utils.isSystem(app, launcherPkgs)) { in getGrantedCount()
101 if (app.areRuntimePermissionsGranted()) { in getGrantedCount()
110 for (PermissionApp app : mPermApps) { in getTotalCount()
111 if (!Utils.shouldShowPermission(app)) { in getTotalCount()
114 if (Utils.isSystem(app, launcherPkgs)) { in getTotalCount()
160 PackageInfo app = apps.get(i); in loadPermissionApps() local
161 if (app.requestedPermissions == null) { in loadPermissionApps()
165 for (int j = 0; j < app.requestedPermissions.length; j++) { in loadPermissionApps()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DResetAppsHelper.java18 import android.app.ActivityManager;
19 import android.app.AlertDialog;
20 import android.app.AppOpsManager;
21 import android.app.INotificationManager;
117 ApplicationInfo app = apps.get(i); in onClick()
119 mNm.setNotificationsEnabledForPackage(app.packageName, app.uid, true); in onClick()
122 if (!app.enabled) { in onClick()
123 if (mPm.getApplicationEnabledSetting(app.packageName) in onClick()
125 && !isNonEnableableFallback(app.packageName)) { in onClick()
126 mPm.setApplicationEnabledSetting(app.packageName, in onClick()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java18 import android.app.INotificationManager;
19 import android.app.Notification;
40 public AppRow loadAppRow(Context context, PackageManager pm, ApplicationInfo app) { in loadAppRow() argument
42 row.pkg = app.packageName; in loadAppRow()
43 row.uid = app.uid; in loadAppRow()
45 row.label = app.loadLabel(pm); in loadAppRow()
50 row.icon = app.loadIcon(pm); in loadAppRow()
60 public AppRow loadAppRow(Context context, PackageManager pm, PackageInfo app) { in loadAppRow() argument
61 final AppRow row = loadAppRow(context, pm, app.applicationInfo); in loadAppRow()
62 row.systemApp = Utils.isSystemPackage(pm, app); in loadAppRow()
/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java19 import android.app.AlertDialog;
20 import android.app.Dialog;
21 import android.app.ProgressDialog;
216 final PhoneGlobals app = PhoneGlobals.getInstance(); in answerCall() local
217 final CallNotifier notifier = app.notifier; in answerCall()
235 if (app.cdmaPhoneCallState.getCurrentCallState() in answerCall()
239 app.cdmaPhoneCallState.setCurrentCallState( in answerCall()
244 app.cdmaPhoneCallState.setCurrentCallState( in answerCall()
249 app.cdmaPhoneCallState.setAddCallMenuStateAfterCallWaiting(true); in answerCall()
256 app.mCM.acceptCall(ringingCall); in answerCall()
[all …]
DOtaUtils.java25 import android.app.Activity;
26 import android.app.ActivityManager;
27 import android.app.AlertDialog;
28 import android.app.PendingIntent;
29 import android.app.PendingIntent.CanceledException;
226 PhoneGlobals app = PhoneGlobals.getInstance(); in maybeDoOtaCall() local
271 app.cdmaOtaProvisionData.isOtaCallIntentProcessed = false; in maybeDoOtaCall()
283 app.cdmaOtaProvisionData.isOtaCallIntentProcessed = false; in maybeDoOtaCall()
310 PhoneGlobals app = PhoneGlobals.getInstance(); in startInteractiveOtasp() local
375 PhoneGlobals app = PhoneGlobals.getInstance(); in startNonInteractiveOtasp() local
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiScanModeActivity.java19 import android.app.Activity;
20 import android.app.AlertDialog;
21 import android.app.Dialog;
22 import android.app.DialogFragment;
108 static AlertDialogFragment newInstance(String app) { in newInstance() argument
109 AlertDialogFragment frag = new AlertDialogFragment(app); in newInstance()
114 public AlertDialogFragment(String app) { in AlertDialogFragment() argument
116 mApp = app; in AlertDialogFragment()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DTimePickerCompat.java19 import android.app.Activity;
20 import android.app.Dialog;
21 import android.app.DialogFragment;
22 import android.app.Fragment;
23 import android.app.FragmentManager;
24 import android.app.FragmentTransaction;
96 private android.app.TimePickerDialog.OnTimeSetListener mListener;
110 return new android.app.TimePickerDialog(getActivity(), R.style.TimePickerTheme, in onCreateDialog()
123 mListener = new android.app.TimePickerDialog.OnTimeSetListener() { in setOnTimeSetListener()
/packages/apps/Camera2/src/com/android/camera/
DCameraModule.java22 import com.android.camera.app.AppController;
23 import com.android.camera.app.CameraProvider;
24 import com.android.camera.app.CameraServices;
32 public CameraModule(AppController app) { in CameraModule() argument
33 mServices = app.getServices(); in CameraModule()
34 mCameraProvider = app.getCameraProvider(); in CameraModule()
/packages/apps/Launcher3/src/com/android/launcher3/
DIconCache.java219 … for (LauncherActivityInfoCompat app : mLauncherApps.getActivityList(packageName, user)) { in updateIconsForPkg()
220 addIconToDBAndMemCache(app, info, userSerial); in updateIconsForPkg()
275 for (LauncherActivityInfoCompat app : apps) { in updateDBIcons()
276 componentMap.put(app.getComponentName(), app); in updateDBIcons() local
315 LauncherActivityInfoCompat app = componentMap.remove(component); in updateDBIcons() local
320 if (app == null) { in updateDBIcons()
324 appsToUpdate.add(app); in updateDBIcons()
349 @Thunk void addIconToDBAndMemCache(LauncherActivityInfoCompat app, PackageInfo info, in addIconToDBAndMemCache() argument
353 ContentValues values = updateCacheAndGetContentValues(app, false); in addIconToDBAndMemCache()
354 addIconToDB(values, app.getComponentName(), info, userSerial); in addIconToDBAndMemCache()
[all …]
/packages/apps/Settings/src/com/android/settings/datausage/
DAppStateDataUsageBridge.java39 AppEntry app = apps.get(i); in loadAllExtraInfo() local
40 app.extraInfo = new DataUsageState(mDataSaverBackend.isWhitelisted(app.info.uid), in loadAllExtraInfo()
41 mDataSaverBackend.isBlacklisted(app.info.uid)); in loadAllExtraInfo()
46 protected void updateExtraInfo(AppEntry app, String pkg, int uid) { in updateExtraInfo() argument
47 app.extraInfo = new DataUsageState(mDataSaverBackend.isWhitelisted(uid), in updateExtraInfo()
/packages/services/Car/car-support-lib/src/android/support/car/app/menu/compat/
DEmbeddedCarMenuCallbacksCompat.java16 package android.support.car.app.menu.compat;
18 import android.car.app.menu.RootMenu;
19 import android.car.app.menu.SubscriptionCallbacks;
23 import android.support.car.app.menu.CarDrawerActivity;
24 import android.support.car.app.menu.CarMenu;
25 import android.support.car.app.menu.CarMenuCallbacks;
32 public class EmbeddedCarMenuCallbacksCompat extends android.car.app.menu.CarMenuCallbacks {
52 android.support.car.app.menu.RootMenu rootMenu = mCallbacks.onGetRoot(hint); in getRootMenu()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/
DUtils.java98 public static boolean shouldShowPermission(PermissionApp app) { in shouldShowPermission() argument
101 if (app.isSystemFixed() && !LocationUtils.isLocationGroupAndProvider( in shouldShowPermission()
102 app.getPermissionGroup().getName(), app.getPackageName())) { in shouldShowPermission()
136 public static boolean isSystem(PermissionApp app, ArraySet<String> launcherPkgs) { in isSystem() argument
137 return isSystem(app.getAppInfo(), launcherPkgs); in isSystem()
140 public static boolean isSystem(AppPermissions app, ArraySet<String> launcherPkgs) { in isSystem() argument
141 return isSystem(app.getPackageInfo().applicationInfo, launcherPkgs); in isSystem()
/packages/apps/Settings/src/com/android/settings/dashboard/
DSuggestionsChecks.java17 import android.app.AutomaticZenRule;
18 import android.app.IWallpaperManager;
19 import android.app.IWallpaperManager.Stub;
20 import android.app.IWallpaperManagerCallback;
21 import android.app.KeyguardManager;
22 import android.app.NotificationManager;
23 import android.app.WallpaperManager;

12345678910>>...77