/frameworks/base/core/java/android/service/notification/ |
D | NotifyingApp.java | 30 private String mPkg; field in NotifyingApp 37 mPkg = in.readString(); in NotifyingApp() 54 return mPkg; in getPackage() 60 public NotifyingApp setPackage(@NonNull String mPkg) { in setPackage() argument 61 this.mPkg = mPkg; in setPackage() 97 dest.writeString(mPkg); in writeToParcel() 108 && Objects.equals(mPkg, that.mPkg); in equals() 113 return Objects.hash(getUid(), mPkg, getLastNotified()); in hashCode() 135 + ", mPkg='" + mPkg + '\'' in toString()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | BadgeExtractorTest.java | 52 private String mPkg = "com.android.server.notification"; field in BadgeExtractorTest 67 when(mConfig.getNotificationChannel(mPkg, mUid, "a", false)).thenReturn(channel); in getNotificationRecord() 76 StatusBarNotification sbn = new StatusBarNotification(mPkg, mPkg, mId, mTag, mUid, in getNotificationRecord() 92 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(true); in testAppYesChannelNo() 106 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(false); in testAppNoChannelYes() 120 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(true); in testAppYesChannelYes() 134 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(false); in testAppNoChannelNo() 148 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(true); in testAppYesChannelYesUserNo() 162 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(true); in testDndOverridesYes() 178 when(mConfig.canShowBadge(mPkg, mUid)).thenReturn(true); in testDndOConsidersInterception() [all …]
|
D | ImportanceExtractorTest.java | 49 private String mPkg = "com.android.server.notification"; field in ImportanceExtractorTest 71 StatusBarNotification sbn = new StatusBarNotification(mPkg, mPkg, mId, mTag, mUid, in getNotificationRecord()
|
D | BuzzBeepBlinkTest.java | 95 private String mPkg = "com.android.server.notification"; field in BuzzBeepBlinkTest 305 StatusBarNotification sbn = new StatusBarNotification(mPkg, mPkg, id, mTag, mUid, in getNotificationRecord() 906 StatusBarNotification sbn = new StatusBarNotification(mPkg, mPkg, 0, mTag, mUid, in testEmptyUriSoundTreatedAsNoSound() 959 StatusBarNotification sbn = new StatusBarNotification(mPkg, mPkg, 0, mTag, mUid, in testCrossUserSoundMuted()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | FullBackupEngine.java | 73 PackageInfo mPkg; field in FullBackupEngine 174 mPkg = pkg; in FullBackupEngine() 196 int result = mPreflightHook.preflightFullBackup(mPkg, mAgent); in preflightCheck() 202 Slog.w(TAG, "Unable to bind to full agent for " + mPkg.packageName); in preflightCheck() 215 ApplicationInfo app = mPkg.applicationInfo; in backupOnePackage() 217 mPkg.packageName.equals(SHARED_BACKUP_AGENT_PACKAGE); in backupOnePackage() 225 byte[] widgetBlob = AppWidgetBackupBridge.getWidgetState(mPkg.packageName, in backupOnePackage() 228 FullBackupRunner runner = new FullBackupRunner(mPkg, mAgent, pipes[1], in backupOnePackage() 239 Slog.e(TAG, "Full backup failed on package " + mPkg.packageName); in backupOnePackage() 242 Slog.d(TAG, "Full package backup success: " + mPkg.packageName); in backupOnePackage() [all …]
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceClientPermissions.java | 53 private final PkgUser mPkg; field in SliceClientPermissions 60 mPkg = pkg; in SliceClientPermissions() 65 return mPkg; in getPkg() 136 return getFileName(mPkg); in getFileName() 141 out.attribute(NAMESPACE, ATTR_PKG, mPkg.toString()); in writeTo() 148 out.attribute(NAMESPACE, ATTR_PKG, mAuths.valueAt(i).mPkg.toString()); in writeTo() 203 private final PkgUser mPkg; field in SliceClientPermissions.SliceAuthority 208 mPkg = pkg; in SliceAuthority() 217 return mPkg; in getPkg() 341 && Objects.equals(mPkg, other.mPkg); in equals() [all …]
|
D | SliceProviderPermissions.java | 46 private final PkgUser mPkg; field in SliceProviderPermissions 51 mPkg = pkg; in SliceProviderPermissions() 56 return mPkg; in getPkg() 80 return getFileName(mPkg); in getFileName() 85 out.attribute(NAMESPACE, ATTR_PKG, mPkg.toString()); in writeTo()
|
D | SlicePermissionManager.java | 140 ret.add(pkgUser.mPkg); in getAllPackagesGranted() 394 private final String mPkg; field in SlicePermissionManager.PkgUser 398 mPkg = pkg; in PkgUser() 405 mPkg = vals[0]; in PkgUser() 413 return mPkg; in getPkg() 422 return mPkg.hashCode() + mUserId; in hashCode() 429 return Objects.equals(other.mPkg, mPkg) && other.mUserId == mUserId; in equals() 434 return String.format(FORMAT, mPkg, mUserId); in toString()
|
D | PinnedSliceState.java | 53 private final String mPkg; field in PinnedSliceState 63 mPkg = pkg; in PinnedSliceState() 68 return mPkg; in getPkg()
|
D | SliceManagerService.java | 645 private final String mPkg; field in SliceManagerService.SliceGrant 650 mPkg = pkg; in SliceGrant() 656 return mUri.hashCode() + mPkg.hashCode(); in hashCode() 663 return Objects.equals(other.mUri, mUri) && Objects.equals(other.mPkg, mPkg) in equals()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SplashScreenStartingData.java | 29 private final String mPkg; field in SplashScreenStartingData 43 mPkg = pkg; in SplashScreenStartingData() 56 return mService.mPolicy.addSplashScreen(atoken.token, mPkg, mTheme, mCompatInfo, in createStartingSurface()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | ShortcutParser.java | 45 private final String mPkg; field in ShortcutParser 69 mPkg = pkg; in ShortcutParser() 78 mResources = mContext.getPackageManager().getResourcesForApplication(mPkg); in getShortcuts() 112 c.pkg = mPkg; in parseShortcut() 113 c.icon = Icon.createWithResource(mPkg, iconResId); in parseShortcut()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | AppOpsInfo.java | 47 private String mPkg; field in AppOpsInfo 72 mPkg = sbn.getPackageName(); in bindGuts() 75 mAppName = mPkg; in bindGuts() 92 info = mPm.getApplicationInfo(mPkg, in bindHeader() 118 mOnSettingsClickListener.onClick(view, mPkg, mAppUid, mAppOps); in bindButtons()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 9514 protected Pkg mPkg; field in BatteryStatsImpl.Uid.Pkg.Serv
|