/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | SnoozeHelperTest.java | 73 NotificationRecord r = getNotificationRecord("pkg", 1, "one", UserHandle.SYSTEM); in testSnoozeForTime() 86 NotificationRecord r = getNotificationRecord("pkg", 1, "one", UserHandle.SYSTEM); 96 NotificationRecord r = getNotificationRecord("pkg", 1, "one", UserHandle.SYSTEM); 97 NotificationRecord r2 = getNotificationRecord("pkg", 2, "two", UserHandle.SYSTEM); 116 NotificationRecord r = getNotificationRecord("pkg", 1, "one", UserHandle.SYSTEM); 117 NotificationRecord r2 = getNotificationRecord("pkg", 2, "two", UserHandle.SYSTEM); 142 NotificationRecord r = getNotificationRecord("pkg", 1, "one", UserHandle.SYSTEM); 143 NotificationRecord r2 = getNotificationRecord("pkg", 2, "two", UserHandle.SYSTEM); 144 NotificationRecord r3 = getNotificationRecord("pkg2", 3, "three", UserHandle.SYSTEM); 168 NotificationRecord r = getNotificationRecord("pkg", 1, "one", UserHandle.SYSTEM); [all …]
|
D | GroupHelperTest.java | 85 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_postingUnderLimit() 100 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_multiPackage() 104 getSbn(pkg2, AUTOGROUP_AT_COUNT, "four", UserHandle.SYSTEM), false); in testNoGroup_multiPackage() 116 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_multiUser() 132 getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), false); in testNoGroup_someAreGrouped() 135 getSbn(pkg, AUTOGROUP_AT_COUNT, "four", UserHandle.SYSTEM, "a"), false); in testNoGroup_someAreGrouped() 149 getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), false); in testPostingOverLimit() 162 final StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testDropToZeroRemoveGroup() 189 final StatusBarNotification sbn = getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM); in testAppStartsGrouping() 202 getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM, "app group"); in testAppStartsGrouping() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | AppsQueryHelperTests.java | 40 List<String> apps = mAppsQueryHelper.queryApps(0, true, UserHandle.SYSTEM); in testQueryAppsSystemAppsOnly() 43 apps = mAppsQueryHelper.queryApps(0, false, UserHandle.SYSTEM); in testQueryAppsSystemAppsOnly() 49 true, UserHandle.SYSTEM); in testQueryAppsNonLaunchable() 53 false, UserHandle.SYSTEM); in testQueryAppsNonLaunchable() 59 AppsQueryHelper.GET_APPS_WITH_INTERACT_ACROSS_USERS_PERM, true, UserHandle.SYSTEM); in testQueryAppsInteractAcrossUser() 63 AppsQueryHelper.GET_APPS_WITH_INTERACT_ACROSS_USERS_PERM, false, UserHandle.SYSTEM); in testQueryAppsInteractAcrossUser() 71 true, UserHandle.SYSTEM); in testQueryApps() 77 false, UserHandle.SYSTEM); in testQueryApps() 96 true, UserHandle.SYSTEM); in testQueryAppsRequiredForSystemUser() 101 UserHandle.SYSTEM); in testQueryAppsRequiredForSystemUser()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/ |
D | ThemeOverlayManagerTest.java | 93 when(mOverlayManager.getOverlayInfosForTarget(ANDROID_PACKAGE, UserHandle.SYSTEM)) in setup() 111 when(mOverlayManager.getOverlayInfosForTarget(SYSUI_PACKAGE, UserHandle.SYSTEM)) in setup() 117 when(mOverlayManager.getOverlayInfosForTarget(SETTINGS_PACKAGE, UserHandle.SYSTEM)) in setup() 123 when(mOverlayManager.getOverlayInfosForTarget(LAUNCHER_PACKAGE, UserHandle.SYSTEM)) in setup() 129 when(mOverlayManager.getOverlayInfosForTarget(THEMEPICKER_PACKAGE, UserHandle.SYSTEM)) in setup() 153 entry.getValue(), UserHandle.SYSTEM); in allCategoriesSpecified_sysuiCategoriesAlsoAppliedToSysuiUser() 156 entry.getValue(), UserHandle.SYSTEM); in allCategoriesSpecified_sysuiCategoriesAlsoAppliedToSysuiUser() 227 verify(mOverlayManager).getOverlayInfosForTarget(SETTINGS_PACKAGE, UserHandle.SYSTEM); in overlayManagerOnlyQueriedForUnspecifiedPackages() 229 UserHandle.SYSTEM); in overlayManagerOnlyQueriedForUnspecifiedPackages() 230 verify(mOverlayManager, never()).getOverlayInfosForTarget(SYSUI_PACKAGE, UserHandle.SYSTEM); in overlayManagerOnlyQueriedForUnspecifiedPackages() [all …]
|
/frameworks/native/cmds/lshal/libprocpartition/ |
D | procpartition.cpp | 26 case Partition::SYSTEM: return os << "system"; in operator <<() 58 return Partition::SYSTEM; in parsePartition() 84 return Partition::SYSTEM; in getPartitionFromCmdline()
|
/frameworks/base/services/core/java/com/android/server/oemlock/ |
D | PersistentDataBlockLock.java | 57 UserManager.DISALLOW_OEM_UNLOCK, !allowed, UserHandle.SYSTEM); in setOemUnlockAllowedByCarrier() 67 .hasUserRestriction(UserManager.DISALLOW_OEM_UNLOCK, UserHandle.SYSTEM); in isOemUnlockAllowedByCarrier()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | SliceBroadcastRelay.java | 66 context.sendBroadcastAsUser(registerBroadcast, UserHandle.SYSTEM); in registerReceiver() 83 context.sendBroadcastAsUser(registerBroadcast, UserHandle.SYSTEM); in unregisterReceivers()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayManager.java | 144 .getOverlayInfosForTarget(targetPackage, UserHandle.SYSTEM))); in applyCurrentUserOverlays() 167 if (!handles.contains(UserHandle.SYSTEM) && SYSTEM_USER_CATEGORIES.contains(category)) { in setEnabled() 168 setEnabledAsync(packageName, UserHandle.SYSTEM, enabled); in setEnabled()
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | SenderFilter.java | 67 return SYSTEM; 88 private static final Filter SYSTEM = new Filter() { field in SenderFilter
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | SpecialApp.java | 54 SYSTEM(1000), enumConstant
|
D | RawBatteryStats.java | 85 SYSTEM, enumConstant 171 @Line(tag="bt", scope=Scope.SYSTEM, count=Count.SINGLE) 212 @Line(tag="gn", scope=Scope.SYSTEM, count=Count.SINGLE) 245 @Line(tag="gmcd", scope=Scope.SYSTEM, count=Count.SINGLE) 260 @Line(tag="m", scope=Scope.SYSTEM, count=Count.SINGLE) 396 @Line(tag="sgt", scope=Scope.SYSTEM, count=Count.SINGLE) 402 @Line(tag="sst", scope=Scope.SYSTEM, count=Count.SINGLE) 417 @Line(tag="vers", scope=Scope.SYSTEM, count=Count.SINGLE)
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | PackageTrackerHelperImpl.java | 111 authority, flags, UserHandle.SYSTEM.getIdentifier()); in contentProviderRegistered() 133 intent, flags, UserHandle.SYSTEM); in receiverRegistered()
|
D | RulesManagerServiceHelperImpl.java | 71 mContext.sendBroadcastAsUser(intent, UserHandle.SYSTEM); in sendOperationIntent()
|
D | PackageTrackerIntentHelperImpl.java | 81 packageUpdateReceiver, UserHandle.SYSTEM, packageIntentFilter, in initialize()
|
/frameworks/native/cmds/lshal/libprocpartition/include/procpartition/ |
D | procpartition.h | 30 SYSTEM, enumerator
|
/frameworks/base/core/java/android/os/ |
D | UserHandle.java | 103 public static final @NonNull UserHandle SYSTEM = new UserHandle(USER_SYSTEM); field in UserHandle 233 return userId == USER_SYSTEM ? SYSTEM : new UserHandle(userId); in of() 429 return this.equals(SYSTEM); in isSystem()
|
/frameworks/base/core/java/android/app/timezone/ |
D | RulesUpdaterContract.java | 86 intent, UserHandle.SYSTEM, in sendBroadcast()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | PermissionMonitorTest.java | 36 import static com.android.server.connectivity.PermissionMonitor.SYSTEM; 422 doReturn(SYSTEM).when(mPermissionMonitor).highestPermissionForUid(eq(SYSTEM), anyString()); in testUserAndPackageAddRemove() 423 doReturn(SYSTEM).when(mPermissionMonitor).highestPermissionForUid(any(), in testUserAndPackageAddRemove() 437 mNetdMonitor.expectPermission(SYSTEM, new int[]{MOCK_USER1}, new int[]{SYSTEM_UID}); in testUserAndPackageAddRemove() 440 mNetdMonitor.expectPermission(SYSTEM, new int[]{MOCK_USER1, MOCK_USER2}, in testUserAndPackageAddRemove() 444 mNetdMonitor.expectPermission(SYSTEM, new int[]{MOCK_USER1, MOCK_USER2}, in testUserAndPackageAddRemove()
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | BootCompletedReceiver.java | 59 context.startServiceAsUser(startServiceIntent, UserHandle.SYSTEM); in onReceive()
|
D | VerificationActivity.java | 110 startServiceAsUser(intent, UserHandle.SYSTEM); in startInstallationService()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | RemoteBugreportReceiver.java | 64 context.sendBroadcastAsUser(newIntent, UserHandle.SYSTEM, in onReceive()
|
/frameworks/base/core/tests/coretests/src/android/app/timezone/ |
D | RulesUpdaterContractTest.java | 66 eq(UserHandle.SYSTEM), in sendBroadcast()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 78 protected static final Boolean SYSTEM = Boolean.TRUE; field in PermissionMonitor 343 if (currentPermission == SYSTEM) { in highestPermissionForUid() 424 if (permission == SYSTEM) { in onPackageRemoved() 553 uids.removeIf(uid -> mApps.getOrDefault(uid, NETWORK) == SYSTEM); in removeBypassingUids()
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextClassificationManagerTest.java | 68 || mTcm.getTextClassifier(TextClassifier.SYSTEM) instanceof SystemTextClassifier); in testGetSystemTextClassifier()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconHolder.java | 53 holder.mIcon = new StatusBarIcon(UserHandle.SYSTEM, context.getPackageName(), in fromResId()
|