Home
last modified time | relevance | path

Searched refs:mPkg (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/android/service/notification/
DNotifyingApp.java30 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(getUserId(), mPkg, getLastNotified()); in hashCode()
135 + ", mPkg='" + mPkg + '\'' in toString()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBadgeExtractorTest.java52 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 …]
DBubbleExtractorTest.java50 private String mPkg = "com.android.server.notification"; field in BubbleExtractorTest
65 when(mConfig.getNotificationChannel(mPkg, mUid, "a", false)).thenReturn(channel); in getNotificationRecord()
74 StatusBarNotification sbn = new StatusBarNotification(mPkg, mPkg, mId, mTag, mUid, in getNotificationRecord()
90 when(mConfig.areBubblesAllowed(mPkg, mUid)).thenReturn(true); in testAppYesChannelNo()
104 when(mConfig.areBubblesAllowed(mPkg, mUid)).thenReturn(false); in testAppNoChannelYes()
118 when(mConfig.areBubblesAllowed(mPkg, mUid)).thenReturn(true); in testAppYesChannelYes()
132 when(mConfig.areBubblesAllowed(mPkg, mUid)).thenReturn(false); in testAppNoChannelNo()
146 when(mConfig.areBubblesAllowed(mPkg, mUid)).thenReturn(true); in testAppYesChannelYesUserNo()
DImportanceExtractorTest.java48 private String mPkg = "com.android.server.notification"; field in ImportanceExtractorTest
70 StatusBarNotification sbn = new StatusBarNotification(mPkg, mPkg, mId, mTag, mUid, in getNotificationRecord()
DBuzzBeepBlinkTest.java101 private String mPkg = "com.android.server.notification"; field in BuzzBeepBlinkTest
330 StatusBarNotification sbn = new StatusBarNotification(mPkg, mPkg, id, mTag, mUid, in getNotificationRecord()
1038 StatusBarNotification sbn = new StatusBarNotification(mPkg, mPkg, 0, mTag, mUid, in testEmptyUriSoundTreatedAsNoSound()
1093 StatusBarNotification sbn = new StatusBarNotification(mPkg, mPkg, 0, mTag, mUid, in testCrossUserSoundMuted()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DFullBackupEngine.java62 private PackageInfo mPkg; field in FullBackupEngine
197 mPkg = pkg; in FullBackupEngine()
217 int result = mPreflightHook.preflightFullBackup(mPkg, mAgent); in preflightCheck()
223 Slog.w(TAG, "Unable to bind to full agent for " + mPkg.packageName); in preflightCheck()
239 mPkg, in backupOnePackage()
252 Slog.e(TAG, "Full backup failed on package " + mPkg.packageName); in backupOnePackage()
255 Slog.d(TAG, "Full package backup success: " + mPkg.packageName); in backupOnePackage()
260 Slog.e(TAG, "Error backing up " + mPkg.packageName + ": " + e.getMessage()); in backupOnePackage()
280 Slog.w(TAG, "Unable to bind to full agent for " + mPkg.packageName); in backupOnePackage()
301 Slog.d(TAG, "Binding to full backup agent : " + mPkg.packageName); in initializeAgent()
[all …]
/frameworks/base/core/java/android/os/
DExternalVibration.java35 private String mPkg; field in ExternalVibration
48 mPkg = Preconditions.checkNotNull(pkg); in ExternalVibration()
56 mPkg = in.readString(); in ExternalVibration()
80 return mPkg; in getPackage()
148 + "pkg=" + mPkg + ", " in toString()
158 out.writeString(mPkg); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceClientPermissions.java53 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()
344 && Objects.equals(mPkg, other.mPkg); in equals()
[all …]
DSliceProviderPermissions.java46 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()
DSlicePermissionManager.java140 ret.add(pkgUser.mPkg); in getAllPackagesGranted()
407 private final String mPkg; field in SlicePermissionManager.PkgUser
411 mPkg = pkg; in PkgUser()
418 mPkg = vals[0]; in PkgUser()
426 return mPkg; in getPkg()
435 return mPkg.hashCode() + mUserId; in hashCode()
442 return Objects.equals(other.mPkg, mPkg) && other.mUserId == mUserId; in equals()
447 return String.format(FORMAT, mPkg, mUserId); in toString()
DPinnedSliceState.java53 private final String mPkg; field in PinnedSliceState
63 mPkg = pkg; in PinnedSliceState()
68 return mPkg; in getPkg()
DSliceManagerService.java625 private final String mPkg; field in SliceManagerService.SliceGrant
630 mPkg = pkg; in SliceGrant()
636 return mUri.hashCode() + mPkg.hashCode(); in hashCode()
643 return Objects.equals(other.mUri, mUri) && Objects.equals(other.mPkg, mPkg) in equals()
/frameworks/base/services/core/java/com/android/server/wm/
DSplashScreenStartingData.java29 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/
DShortcutParser.java45 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/native/libs/vibrator/
DExternalVibration.cpp42 mUid(uid), mPkg(pkg), mAttrs(attrs), mController(controller) { } in ExternalVibration()
46 parcel->writeString16(String16(mPkg.c_str())); in writeToParcel()
55 mPkg = pkgStr8.c_str(); in readFromParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DAppOpsInfo.java45 private String mPkg; field in AppOpsInfo
70 mPkg = sbn.getPackageName(); in bindGuts()
73 mAppName = mPkg; in bindGuts()
90 info = mPm.getApplicationInfo(mPkg, in bindHeader()
116 mOnSettingsClickListener.onClick(view, mPkg, mAppUid, mAppOps); in bindButtons()
/frameworks/native/libs/vibrator/include/vibrator/
DExternalVibration.h44 std::string getPackage() const { return mPkg; } in getPackage()
51 std::string mPkg; variable
/frameworks/base/services/core/java/com/android/server/job/controllers/
DQuotaController.java1568 private final Package mPkg; field in QuotaController.Timer
1578 mPkg = new Package(userId, packageName); in Timer()
1599 incrementJobCount(mPkg.userId, mPkg.packageName, 1); in startTrackingJobLocked()
1604 invalidateAllExecutionStatsLocked(mPkg.userId, mPkg.packageName); in startTrackingJobLocked()
1646 saveTimingSession(mPkg.userId, mPkg.packageName, ts); in emitSessionLocked()
1652 incrementTimingSessionCount(mPkg.userId, mPkg.packageName); in emitSessionLocked()
1696 incrementJobCount(mPkg.userId, mPkg.packageName, mBgJobCount); in onStateChangedLocked()
1699 invalidateAllExecutionStatsLocked(mPkg.userId, mPkg.packageName); in onStateChangedLocked()
1719 Message msg = mHandler.obtainMessage(MSG_REACHED_QUOTA, mPkg); in scheduleCutoff()
1720 final long timeRemainingMs = getTimeUntilQuotaConsumedLocked(mPkg.userId, in scheduleCutoff()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java443 out.attribute(null, ATT_NAME, r.delegate.mPkg); in writeXml()
1324 return prefs.delegate.mPkg; in getNotificationDelegate()
1924 String mPkg; field in PreferencesHelper.Delegate
1930 mPkg = pkg; in Delegate()
1940 return pkg.equals(mPkg) in isAllowed()
DNotificationManagerService.java5196 private final String mPkg;
5215 this.mPkg = pkg;
5232 EventLogTags.writeNotificationCancel(mCallingUid, mCallingPid, mPkg, mId, mTag,
5239 if ((findNotificationByListLocked(mEnqueuedNotifications, mPkg, mTag, mId, mUserId))
5246 findNotificationByListLocked(mNotificationList, mPkg, mTag, mId, mUserId);
5273 final boolean wasSnoozed = mSnoozeHelper.cancel(mUserId, mPkg, mTag, mId);
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java9220 protected Pkg mPkg; field in BatteryStatsImpl.Uid.Pkg.Serv
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt68290 Landroid/service/notification/NotifyingApp;->mPkg:Ljava/lang/String;
94513 Lcom/android/internal/os/BatteryStatsImpl$Uid$Pkg$Serv;->mPkg:Lcom/android/internal/os/BatteryStats…