/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | PackageManagerHelper.java | 35 public static boolean isAppOnSdcard(PackageManager pm, String packageName) { in isAppOnSdcard() 39 public static boolean isAppEnabled(PackageManager pm, String packageName) { in isAppEnabled() 43 public static boolean isAppEnabled(PackageManager pm, String packageName, int flags) { in isAppEnabled() 52 public static boolean isAppSuspended(PackageManager pm, String packageName) { in isAppSuspended()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsMockPackageManager.java | 49 public void addPackage(int packageUid, String packageName) { in addPackage() 55 final String packageName = mForward.remove(packageUid); in removePackage() local 68 final String packageName = mForward.get(uid); in getPackagesForUid() local 79 public ApplicationInfo getApplicationInfo(String packageName, int flags) { in getApplicationInfo() 96 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { in getPackageInfo()
|
/packages/services/Car/car-lib/src/android/car/content/pm/ |
D | ICarPackageManager.aidl | 23 void setAppBlockingPolicy(in String packageName, in CarAppBlockingPolicy policy, int flags) = 0; in setAppBlockingPolicy() 24 boolean isActivityAllowedWhileDriving(in String packageName, in String className) = 1; in isActivityAllowedWhileDriving() 25 boolean isServiceAllowedWhileDriving(in String packageName, in String className) = 2; in isServiceAllowedWhileDriving()
|
D | CarPackageManager.java | 107 public void setAppBlockingPolicy(String packageName, CarAppBlockingPolicy policy, in setAppBlockingPolicy() 130 public boolean isActivityAllowedWhileDriving(String packageName, String className) in isActivityAllowedWhileDriving() 148 public boolean isServiceAllowedWhileDriving(String packageName, String className) in isServiceAllowedWhileDriving()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | VoicemailPermissions.java | 92 public boolean packageHasOwnVoicemailAccess(String packageName) { in packageHasOwnVoicemailAccess() 98 public boolean packageHasReadAccess(String packageName) { in packageHasReadAccess() 103 public boolean packageHasWriteAccess(String packageName) { in packageHasWriteAccess() 108 private boolean packageHasPermission(String packageName, String permission) { in packageHasPermission()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | InstallPackageTask.java | 73 public void addInstallIfNecessary(String packageName, String packageLocation) { in addInstallIfNecessary() 119 private boolean packageContentIsCorrect(String packageName, String packageLocation) { in packageContentIsCorrect() 154 public void packageInstalled(String packageName, int returnCode) { in packageInstalled() 222 public String packageName; field in InstallPackageTask.InstallInfo 226 public InstallInfo(String packageName, String location) { in InstallInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | LauncherAppsCompat.java | 41 void onPackageRemoved(String packageName, UserHandleCompat user); in onPackageRemoved() 42 void onPackageAdded(String packageName, UserHandleCompat user); in onPackageAdded() 43 void onPackageChanged(String packageName, UserHandleCompat user); in onPackageChanged() 69 public abstract List<LauncherActivityInfoCompat> getActivityList(String packageName, in getActivityList() 78 public abstract boolean isPackageEnabledForProfile(String packageName, UserHandleCompat user); in isPackageEnabledForProfile() 81 public abstract boolean isPackageSuspendedForProfile(String packageName, UserHandleCompat user); in isPackageSuspendedForProfile()
|
D | LauncherAppsCompatVL.java | 49 public List<LauncherActivityInfoCompat> getActivityList(String packageName, in getActivityList() 101 public boolean isPackageEnabledForProfile(String packageName, UserHandleCompat user) { in isPackageEnabledForProfile() 109 public boolean isPackageSuspendedForProfile(String packageName, UserHandleCompat user) { in isPackageSuspendedForProfile() 120 public void onPackageRemoved(String packageName, UserHandle user) { in onPackageRemoved() 124 public void onPackageAdded(String packageName, UserHandle user) { in onPackageAdded() 128 public void onPackageChanged(String packageName, UserHandle user) { in onPackageChanged()
|
D | PackageInstallerCompat.java | 55 public final String packageName; field in PackageInstallerCompat.PackageInstallInfo 60 public PackageInstallInfo(String packageName) { in PackageInstallInfo() 64 public PackageInstallInfo(String packageName, int state, int progress) { in PackageInstallInfo()
|
D | LauncherAppsCompatV16.java | 59 public List<LauncherActivityInfoCompat> getActivityList(String packageName, in getActivityList() 92 String packageName = component.getPackageName(); in showAppDetailsForProfile() local 116 public boolean isPackageEnabledForProfile(String packageName, UserHandleCompat user) { in isPackageEnabledForProfile() 129 public boolean isPackageSuspendedForProfile(String packageName, UserHandleCompat user) { in isPackageSuspendedForProfile() 161 final String packageName = intent.getData().getSchemeSpecificPart(); in onReceive() local
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | TargetPackageInfoGetterTask.java | 32 public static PackageInfo getCachedPackageInfo(final String packageName) { in getCachedPackageInfo() 37 public static void removeCachedPackageInfo(final String packageName) { in removeCachedPackageInfo() 51 protected PackageInfo doInBackground(final String... packageName) { in doInBackground()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | DynamicIndexableContentMonitor.java | 92 private static Intent getAccessibilityServiceIntent(String packageName) { in getAccessibilityServiceIntent() 98 private static Intent getIMEServiceIntent(String packageName) { in getIMEServiceIntent() 187 public void onPackageAppeared(String packageName, int uid) { in onPackageAppeared() 193 public void onPackageDisappeared(String packageName, int uid) { in onPackageDisappeared() 199 public void onPackageModified(String packageName) { in onPackageModified() 232 private void postMessage(int what, String packageName) { in postMessage() 237 private void handlePackageAvailable(String packageName) { in handlePackageAvailable() 261 private void handlePackageUnavailable(String packageName) { in handlePackageUnavailable()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelecomServiceImpl.java | 71 boolean setDefaultDialerApplication(Context context, String packageName); in setDefaultDialerApplication() 72 boolean isDefaultOrSystemDialer(Context context, String packageName); in isDefaultOrSystemDialer() 87 public boolean setDefaultDialerApplication(Context context, String packageName) { in setDefaultDialerApplication() 92 public boolean isDefaultOrSystemDialer(Context context, String packageName) { in isDefaultOrSystemDialer() 1266 private boolean isPackageSystemApp(String packageName) { in isPackageSystemApp() 1328 private void enforcePhoneAccountModificationForPackage(String packageName) { in enforcePhoneAccountModificationForPackage() 1346 private void enforcePermissionOrPrivilegedDialer(String permission, String packageName) { in enforcePermissionOrPrivilegedDialer() 1358 private void enforceCallingPackage(String packageName) { in enforceCallingPackage() 1359 mAppOpsManager.checkPackage(Binder.getCallingUid(), packageName); in enforceCallingPackage() local
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | WearPackageInstallerService.java | 167 final String packageName = WearPackageUtil.getSanitizedPackageName(packageUri); in onStartCommand() local 198 final String packageName = WearPackageArgs.getPackageName(argsBundle); in installPackage() local 323 installFlags, packageName); in installPackage() local 343 final String packageName = WearPackageArgs.getPackageName(argsBundle); in uninstallPackage() local 414 private List<String> getWearPermsNotGrantedOnPhone(String packageName, Uri permUri, in getWearPermsNotGrantedOnPhone() 483 final String packageName = pkg.packageName; in startPermsServiceForInstall() local 511 private void startPermsServiceForUninstall(final String packageName) { in startPermsServiceForUninstall() 522 private Uri getIconFileUri(final String packageName, final Drawable d) { in getIconFileUri() 574 public void packageInstalled(String packageName, int returnCode) { in packageInstalled() 614 public void packageDeleted(String packageName, int returnCode) { in packageDeleted()
|
D | WearPackageUtil.java | 51 public static File getTemporaryFile(Context context, String packageName) { in getTemporaryFile() 64 public static File getIconFile(final Context context, final String packageName) { in getIconFile() 89 String packageName, String compressionAlg) { in getFileFromFd() 173 String packageName = packageUri.getEncodedSchemeSpecificPart(); in getSanitizedPackageName() local
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | AppRestrictionsFragment.java | 292 String packageName = intent.getData().getSchemeSpecificPart(); in onPackageChanged() local 309 public void onDisableUiForPackage(String packageName) { in onDisableUiForPackage() 360 String packageName = app.packageName; in populateApps() local 451 String packageName = app.packageName; in addLocationAppRestrictionsPreference() local 467 private String getKeyForPackage(String packageName) { in getKeyForPackage() 471 private boolean resolveInfoListHasPackage(List<ResolveInfo> receivers, String packageName) { in resolveInfoListHasPackage() 499 final String packageName = pref.getKey().substring(PKG_PREFIX.length()); in onClick() local 527 final String packageName = st.nextToken(); in onPreferenceChange() local 579 String packageName = preference.getKey().substring(PKG_PREFIX.length()); in onAppSettingsIconClicked() local 593 private void requestRestrictionsForApp(String packageName, in requestRestrictionsForApp() [all …]
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | CarPackageManagerService.java | 91 public void setAppBlockingPolicy(String packageName, CarAppBlockingPolicy policy, int flags) { in setAppBlockingPolicy() 98 private void doSetAppBlockingPolicy(String packageName, CarAppBlockingPolicy policy, int flags, in doSetAppBlockingPolicy() 129 public boolean isActivityAllowedWhileDriving(String packageName, String className) { in isActivityAllowedWhileDriving() 145 public boolean isServiceAllowedWhileDriving(String packageName, String className) { in isServiceAllowedWhileDriving() 170 private void assertPackageAndClassName(String packageName, String className) { in assertPackageAndClassName() 179 private AppBlockingPackageInfo searchFromBlacklistsLocked(String packageName) { in searchFromBlacklistsLocked() 189 private AppBlockingPackageInfo searchFromWhitelistsLocked(String packageName) { in searchFromWhitelistsLocked() 200 private boolean isActivityInWhitelistsLocked(String packageName, String className) { in isActivityInWhitelistsLocked() 210 String packageName, String className) { in isActivityInMapAndMatching() 266 private void doUpdatePolicy(String packageName, CarAppBlockingPolicy policy, int flags) { in doUpdatePolicy() [all …]
|
/packages/services/Car/car-support-lib/src/android/support/car/content/pm/ |
D | CarPackageManager.java | 33 public abstract boolean isActivityAllowedWhileDriving(String packageName, String className) in isActivityAllowedWhileDriving() 42 public abstract boolean isServiceAllowedWhileDriving(String packageName, String className) in isServiceAllowedWhileDriving()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | PackageChangedReceiver.java | 10 final String packageName = intent.getData().getSchemeSpecificPart(); in onReceive() local 17 WidgetPreviewLoader.removeFromDb(app.getWidgetPreviewCacheDb(), packageName); in onReceive() local
|
/packages/apps/Settings/src/com/android/settings/ |
D | SmsDefaultDialog.java | 54 String packageName = intent.getStringExtra(Intents.EXTRA_PACKAGE_NAME); in onCreate() local 75 String packageName = adapter.getPackageName(which); in onClick() local 86 private boolean buildDialog(String packageName) { in buildDialog() 146 public Item(String label, Drawable icon, String packageName) { in Item() 233 String packageName = app.mPackageName; in getItems() local
|
/packages/services/Car/service/src/com/android/car/cluster/ |
D | InstrumentClusterRendererLoader.java | 56 final String packageName = getRendererPackageName(context); in createRenderer() local 76 private static Context createPackageContext(Context currentContext, String packageName) { in createPackageContext() 87 private static InstrumentClusterRenderer load(Context context, String packageName, in load() 91 assertSignature(context.getApplicationContext(), packageManager, packageName); in load() local
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | PackageItemInfo.java | 43 public String packageName; field in PackageItemInfo 53 PackageItemInfo(String packageName) { in PackageItemInfo()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | MoveAppActivity.java | 65 public static Intent getLaunchIntent(Context context, String packageName, String packageDesc) { in getLaunchIntent() 83 final String packageName = getIntent().getStringExtra(ARG_PACKAGE_NAME); in onCreate() local 105 public void onRequestMovePackageToVolume(String packageName, VolumeInfo destination) { in onRequestMovePackageToVolume()
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
D | PhoneAccountBroadcastReceiver.java | 55 String packageName = uri.getSchemeSpecificPart(); in onReceive() local 66 private void handlePackageRemoved(Context context, String packageName) { in handlePackageRemoved()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/ |
D | AppPermissionsFragment.java | 77 public static AppPermissionsFragment newInstance(String packageName) { in newInstance() 81 private static <T extends Fragment> T setPackageName(T fragment, String packageName) { in setPackageName() 98 String packageName = getArguments().getString(Intent.EXTRA_PACKAGE_NAME); in onCreate() local 330 String packageName = mAppPermissions.getPackageInfo().packageName; in logToggledGroups() local 357 private static PackageInfo getPackageInfo(Activity activity, String packageName) { in getPackageInfo() 382 String packageName = getArguments().getString(Intent.EXTRA_PACKAGE_NAME); in onViewCreated() local
|