Home
last modified time | relevance | path

Searched refs:mApprovalLevel (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java289 assertFalse("service type " + service.mApprovalLevel + ":" in testReadXml()
924 service.mApprovalLevel = APPROVAL_BY_PACKAGE; in testGetAllowedPackages()
950 ArrayMap<Integer, String> verifyMap = mExpectedPrimary.get(service.mApprovalLevel); in testOnUserRemoved()
952 verifyMap = mExpectedSecondary.get(service.mApprovalLevel); in testOnUserRemoved()
959 assertFalse("service type " + service.mApprovalLevel + ":" + verifyValue in testOnUserRemoved()
1268 empty.append(mService.mApprovalLevel, emptyPkgs); in resetComponentsAndPackages()
1284 for (int userId : mExpectedPrimary.get(service.mApprovalLevel).keySet()) { in loadXml()
1286 mExpectedPrimary.get(service.mApprovalLevel).get(userId), userId, true)); in loadXml()
1288 for (int userId : mExpectedSecondary.get(service.mApprovalLevel).keySet()) { in loadXml()
1290 mExpectedSecondary.get(service.mApprovalLevel).get(userId), userId, false)); in loadXml()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java159 protected int mApprovalLevel; field in ManagedServices
168 mApprovalLevel = APPROVAL_BY_COMPONENT; in ManagedServices()
194 if (mApprovalLevel == APPROVAL_BY_PACKAGE) { in addDefaultComponentOrPackage()
199 if (cn != null && mApprovalLevel == APPROVAL_BY_COMPONENT) { in addDefaultComponentOrPackage()
589 if (this.mApprovalLevel == APPROVAL_BY_COMPONENT) { in upgradeDefaultsXmlVersion()
595 if (this.mApprovalLevel == APPROVAL_BY_PACKAGE) { in upgradeDefaultsXmlVersion()
695 if (mApprovalLevel == APPROVAL_BY_COMPONENT) { in getApprovedValue()
DConditionProviders.java65 mApprovalLevel = APPROVAL_BY_PACKAGE; in ConditionProviders()