Home
last modified time | relevance | path

Searched refs:mPkgInfo (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/app/
DNotificationSettings.java76 protected PackageInfo mPkgInfo; field in NotificationSettings
132 mPkgInfo = findPackageInfo(mPkg, mUid); in onAttach()
134 if (mPkgInfo != null) { in onAttach()
170 if (mUid < 0 || TextUtils.isEmpty(mPkg) || mPkgInfo == null) { in onCreate()
188 if (mUid < 0 || TextUtils.isEmpty(mPkg) || mPkgInfo == null || mAppRow == null) { in onResume()
290 mAppRow = mBackend.loadAppRow(mContext, mPm, mPkgInfo); in loadAppRow()
399 if (mPkgInfo == null || TextUtils.equals(mPkgInfo.packageName, packageName)) {
DAppChannelsBypassingDndSettings.java49 if (mUid < 0 || TextUtils.isEmpty(mPkg) || mPkgInfo == null) { in onResume()
DAppBubbleNotificationSettings.java86 if (mUid < 0 || TextUtils.isEmpty(mPkg) || mPkgInfo == null) { in onResume()
DConversationNotificationSettings.java44 if (mUid < 0 || TextUtils.isEmpty(mPkg) || mPkgInfo == null || mChannel == null) { in onResume()
DAppNotificationSettings.java54 if (mUid < 0 || TextUtils.isEmpty(mPkg) || mPkgInfo == null) { in onResume()
DChannelNotificationSettings.java63 if (mUid < 0 || TextUtils.isEmpty(mPkg) || mPkgInfo == null || mChannel == null) { in onResume()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/
DApprovalPreferenceController.java40 private PackageInfo mPkgInfo; field in ApprovalPreferenceController
53 mPkgInfo = pkgInfo; in setPkgInfo()
95 final CharSequence label = mPkgInfo.applicationInfo.loadLabel(mPm); in updateState()
135 mCn.getPackageName(), mPkgInfo.applicationInfo.uid, isAllowedCn, isEnabled); in updateState()
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/specialaccess/notificationaccess/
DApprovalPreferenceControllerTest.java80 PackageInfo mPkgInfo; field in ApprovalPreferenceControllerTest
90 mPkgInfo = new PackageInfo(); in setUp()
91 mPkgInfo.applicationInfo = mock(ApplicationInfo.class); in setUp()
92 when(mPkgInfo.applicationInfo.loadLabel(mPm)).thenReturn("LABEL"); in setUp()
98 mController.setPkgInfo(mPkgInfo); in setUp()