/frameworks/base/core/java/android/content/pm/ |
D | ShortcutManager.java | 508 return mService.setDynamicShortcuts(mContext.getPackageName(), in setDynamicShortcuts() 523 return mService.getDynamicShortcuts(mContext.getPackageName(), injectMyUserId()) in getDynamicShortcuts() 538 return mService.getManifestShortcuts(mContext.getPackageName(), injectMyUserId()) in getManifestShortcuts() 560 return mService.addDynamicShortcuts(mContext.getPackageName(), in addDynamicShortcuts() 574 mService.removeDynamicShortcuts(mContext.getPackageName(), shortcutIds, in removeDynamicShortcuts() 588 mService.removeAllDynamicShortcuts(mContext.getPackageName(), injectMyUserId()); in removeAllDynamicShortcuts() 602 return mService.getPinnedShortcuts(mContext.getPackageName(), injectMyUserId()) in getPinnedShortcuts() 623 return mService.updateShortcuts(mContext.getPackageName(), in updateShortcuts() 640 mService.disableShortcuts(mContext.getPackageName(), shortcutIds, in disableShortcuts() 653 mService.disableShortcuts(mContext.getPackageName(), shortcutIds, in disableShortcuts() [all …]
|
/frameworks/base/core/java/android/printservice/ |
D | PrintService.java | 353 return new PrinterId(new ComponentName(getPackageName(), in generatePrinterId() 456 + getPackageName()); 473 + getPackageName()); 484 + getPackageName()); 495 + getPackageName()); 505 + getPackageName()); 516 + getPackageName()); 527 + getPackageName()); 538 + getPackageName()); 549 + getPackageName()); [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 74 mRealTestContext.getPackageName(), 0)); in markPackageAsInstalled() 119 copyFromAdmin.getPackageName(), in setUpPackageManagerForFakeAdmin() 129 ai.packageName = admin.getPackageName(); in setUpPackageManagerForFakeAdmin() 133 eq(admin.getPackageName()), in setUpPackageManagerForFakeAdmin() 154 aci.packageName = admin.getPackageName(); in setUpPackageManagerForFakeAdmin() 165 markPackageAsInstalled(admin.getPackageName(), ai, UserHandle.getUserId(packageUid)); in setUpPackageManagerForFakeAdmin()
|
D | NetworkEventTest.java | 40 assertEquals(event.getPackageName(), unparceledEvent.getPackageName()); in testConnectEventParceling() 59 assertEquals(event.getPackageName(), unparceledEvent.getPackageName()); in testDnsEventParceling()
|
D | DevicePolicyManagerTest.java | 237 eq(admin1.getPackageName()), in testSetActiveAdmin() 276 eq(admin1.getPackageName()), in testSetActiveAdmin() 592 eq(admin1.getPackageName())); in setDeviceOwner() 617 assertTrue(dpm.isDeviceOwnerApp(admin1.getPackageName())); in checkGetDeviceOwnerInfoApi() 618 assertTrue(dpm.isDeviceOwnerAppOnCallingUser(admin1.getPackageName())); in checkGetDeviceOwnerInfoApi() 621 assertTrue(dpm.isDeviceOwnerAppOnAnyUser(admin1.getPackageName())); in checkGetDeviceOwnerInfoApi() 625 assertFalse(dpm.isDeviceOwnerApp(admin1.getPackageName())); in checkGetDeviceOwnerInfoApi() 626 assertFalse(dpm.isDeviceOwnerAppOnCallingUser(admin1.getPackageName())); in checkGetDeviceOwnerInfoApi() 629 assertFalse(dpm.isDeviceOwnerAppOnAnyUser(admin1.getPackageName())); in checkGetDeviceOwnerInfoApi() 636 assertTrue(dpm.isDeviceOwnerApp(admin1.getPackageName())); in checkGetDeviceOwnerInfoApi() [all …]
|
/frameworks/base/packages/ExtServices/src/android/ext/services/notification/ |
D | Ranker.java | 74 = unbundledNotificationsByUser.get(sbn.getPackageName()); in onNotificationPosted() 80 unbundledNotificationsByUser.put(sbn.getPackageName(), notificationsForPackage); in onNotificationPosted() 89 adjustAutobundlingSummary(sbn.getPackageName(), notificationsToBundle.get(0), in onNotificationPosted() 91 adjustNotificationBundling(sbn.getPackageName(), notificationsToBundle, true, in onNotificationPosted() 127 = unbundledNotificationsByUser.get(sbn.getPackageName()); in maybeUnbundle() 148 adjustAutobundlingSummary(sbn.getPackageName(), null, false, user); in maybeUnbundle() 150 adjustNotificationBundling(sbn.getPackageName(), notificationsToUnAutobundle, false, in maybeUnbundle()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutUser.java | 84 return new PackageWithUser(spi.getPackageUserId(), spi.getPackageName()); in of() 171 mPackages.put(p.getPackageName(), p); in addPackage() 192 launcher.getPackageName()), launcher); in addLauncher() 257 && spi.getPackageName().equals(packageName)) { in forPackageItem() 368 if (!mService.shouldBackupApp(spi.getPackageName(), spi.getPackageUserId())) { in saveShortcutPackageItem() 416 ret.mPackages.put(shortcuts.getPackageName(), shortcuts); in loadFromXml() 499 if (s.isPackageInstalled(sl.getPackageName(), getUserId()) in mergeRestoredFile() 500 && !s.shouldBackupApp(sl.getPackageName(), getUserId())) { in mergeRestoredFile() 508 if (s.isPackageInstalled(sp.getPackageName(), getUserId()) in mergeRestoredFile() 509 && !s.shouldBackupApp(sp.getPackageName(), getUserId())) { in mergeRestoredFile() [all …]
|
D | ShortcutPackage.java | 150 getPackageName(), getPackageUserId()); in getPackageResources() 395 getPackageName(), getPackageUserId()); in refreshPinnedFlags() 457 getPackageName(), mLastResetTime, now, last)); in getApiCallCount() 485 Slog.d(TAG, "resetRateLimiting: " + getPackageName()); in resetRateLimiting() 526 .getPinnedShortcutIds(getPackageName(), getPackageUserId()); in findAll() 633 getPackageName(), getPackageUserId()); in rescanPackageIfNeeded() 640 final boolean isSettings = "com.android.settings".equals(getPackageName()); in rescanPackageIfNeeded() 672 getPackageName(), getPackageUserId()); in rescanPackageIfNeeded() 680 getPackageName(), manifestShortcutSize)); in rescanPackageIfNeeded() 690 Slog.d(TAG, String.format("Package %s %s, version %d -> %d", getPackageName(), in rescanPackageIfNeeded() [all …]
|
/frameworks/base/services/core/java/com/android/server/telecom/ |
D | TelecomLoaderService.java | 87 smsComponent.getPackageName(), userid); in onServiceConnected() 112 phoneAccount.getComponentName().getPackageName(); in onServiceConnected() 219 return new String[]{smsComponent.getPackageName()}; in registerDefaultAppProviders() 265 return new String[]{phoneAccount.getComponentName().getPackageName()}; in registerDefaultAppProviders() 291 smsComponent.getPackageName(), userId); in registerDefaultAppNotifier() 337 String packageName = phoneAccount.getComponentName().getPackageName(); in updateSimCallManagerPermissions()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | AndroidAppAssetMatcher.java | 38 if (!androidAppAsset.getPackageName().equals(mQuery.getPackageName())) { in matches()
|
D | DirectStatementRetriever.java | 188 List<String> certFps = mAndroidFetcher.getCertFingerprints(asset.getPackageName()); in retrieveFromAndroid() 194 AndroidAppAsset actualSource = AndroidAppAsset.create(asset.getPackageName(), certFps); in retrieveFromAndroid() 195 for (String statementJson : mAndroidFetcher.getStatements(asset.getPackageName())) { in retrieveFromAndroid()
|
/frameworks/base/location/java/android/location/ |
D | LocationManager.java | 881 String packageName = mContext.getPackageName(); in requestLocationUpdates() 904 String packageName = mContext.getPackageName(); in removeUpdates() 929 String packageName = mContext.getPackageName(); in removeUpdates() 994 mService.requestGeofence(request, fence, intent, mContext.getPackageName()); in addProximityAlert() 1042 mService.requestGeofence(request, fence, intent, mContext.getPackageName()); in addGeofence() 1066 String packageName = mContext.getPackageName(); in removeProximityAlert() 1094 String packageName = mContext.getPackageName(); in removeGeofence() 1116 String packageName = mContext.getPackageName(); in removeAllGeofences() 1171 String packageName = mContext.getPackageName(); in getLastLocation() 1200 String packageName = mContext.getPackageName(); in getLastKnownLocation() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | CustomTile.java | 85 mAppContext = mContext.createPackageContext(mComponent.getPackageName(), 0); in CustomTile() 104 .createWithResource(mComponent.getPackageName(), icon) : null; in setTileIcon() 118 return pm.getApplicationInfo(mComponent.getPackageName(), 0).isSystemApp(); in isSystemApp() 238 i.setPackage(mComponent.getPackageName()); in getLongClickIntent() 244 Uri.fromParts("package", mComponent.getPackageName(), null)); in getLongClickIntent() 274 MetricsLogger.action(mContext, getMetricsCategory(), mComponent.getPackageName()); in handleClick()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | PackageMonitor.java | 286 String getPackageName(Intent intent) { in getPackageName() method in PackageMonitor 307 String pkg = getPackageName(intent); in onReceive() 333 String pkg = getPackageName(intent); in onReceive() 359 String pkg = getPackageName(intent); in onReceive() 373 String pkg = getPackageName(intent); in onReceive() 386 mDisappearingPackages = new String[] {getPackageName(intent)}; in onReceive()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest2.java | 150 .setActivity(new ComponentName(getTestContext().getPackageName(), "s")) in testShortcutInfoMissingMandatoryFields() 159 .setActivity(new ComponentName(getTestContext().getPackageName(), "s")) in testShortcutInfoMissingMandatoryFields() 166 .setActivity(new ComponentName(getTestContext().getPackageName(), "s")) in testShortcutInfoMissingMandatoryFields() 175 .setActivity(new ComponentName(getTestContext().getPackageName(), "s")) in testShortcutInfoMissingMandatoryFields() 233 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoParcel() 261 assertEquals(getTestContext().getPackageName(), si.getPackage()); in testShortcutInfoParcel() 313 assertEquals(getTestContext().getPackageName(), si.getPackage()); in testShortcutInfoParcel_resId() 362 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() 382 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() 403 assertEquals(mClientContext.getPackageName(), si.getPackage()); in testShortcutInfoClone() [all …]
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | NotificationTestList.java | 99 getPackageName() + "/raw/ringer"), 282 getPackageName() + "/raw/ringer")) 322 getPackageName() + "/raw/ringer")) 337 getPackageName() + "/raw/ringer")) 357 getPackageName() + "/raw/ringer")) 435 getPackageName() + "/raw/ringer")) 462 n.contentView = new RemoteViews(getPackageName(), R.layout.button_notification); 813 getPackageName() + "/raw/ringer")) 828 getPackageName() + "/raw/ringer")) 1154 getPackageName(), [all …]
|
/frameworks/base/core/java/android/content/ |
D | ComponentName.java | 87 return createRelative(pkg.getPackageName(), cls); in createRelative() 115 mPackage = pkg.getPackageName(); in ComponentName() 128 mPackage = pkg.getPackageName(); in ComponentName() 139 public String getPackageName() { in getPackageName() method in ComponentName
|
/frameworks/support/customtabs/src/android/support/customtabs/ |
D | CustomTabsClient.java | 77 public static String getPackageName(Context context, @Nullable List<String> packages) { in getPackageName() method in CustomTabsClient 78 return getPackageName(context, packages, false); in getPackageName() 94 public static String getPackageName( in getPackageName() method in CustomTabsClient
|
/frameworks/base/core/java/android/app/ |
D | StatusBarManager.java | 123 svc.disable(what, mToken, mContext.getPackageName()); in disable() 140 svc.disable2(what, mToken, mContext.getPackageName()); in disable2() 200 svc.setIcon(slot, mContext.getPackageName(), iconId, iconLevel, in setIcon()
|
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/ |
D | InputMethodSettingsImpl.java | 72 if (imis.get(i).getPackageName().equals(context.getPackageName())) { in getMyImi() 90 sb.append(subtype.getDisplayName(context, imi.getPackageName(), in getEnabledSubtypesLabel()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | RestrictionsManagerTest.java | 37 String packageName = getContext().getPackageName(); in testGetManifestRestrictions() 66 String packageName = getContext().getPackageName(); in testConvertRestrictionsToBundle()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | SettingsStateTest.java | 174 assertEquals("null", s.getPackageName()); in testUpgrade() 178 assertEquals("", s.getPackageName()); in testUpgrade() 182 assertEquals("p2", s.getPackageName()); in testUpgrade()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerService.java | 110 return new String[] {interactor.getPackageName()}; in VoiceInteractionManagerService() 262 curInteractorInfo = findAvailInteractor(userHandle, curRecognizer.getPackageName()); in initForUser() 1153 if (curInteractor != null && pkg.equals(curInteractor.getPackageName())) { 1157 && pkg.equals(curRecognizer.getPackageName())) { 1206 int change = isPackageDisappearing(curInteractor.getPackageName()); 1217 change = isPackageAppearing(curInteractor.getPackageName()); 1221 if (mImpl != null && curInteractor.getPackageName().equals( 1222 mImpl.mComponent.getPackageName())) { 1230 int change = isPackageDisappearing(curAssistant.getPackageName()); 1244 int change = isPackageDisappearing(curRecognizer.getPackageName()); [all …]
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/models/ |
D | Song.java | 98 .getIdentifier(mFile, "raw", context.getPackageName()); in getFileResource() 103 .getIdentifier(mImage, "drawable", context.getPackageName()); in getImageResource()
|
/frameworks/base/core/java/android/provider/ |
D | VoicemailContract.java | 385 return contentResolver.insert(buildSourceUri(context.getPackageName()), contentValues); in insert() 402 contentResolver.insert(buildSourceUri(context.getPackageName()), contentValues); in insert() 417 buildSourceUri(context.getPackageName()), "", new String[0]); in deleteAll()
|