Home
last modified time | relevance | path

Searched refs:SYSTEM (Results 1 – 25 of 99) sorted by relevance

1234

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DSnoozeHelperTest.java73 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 …]
DGroupHelperTest.java85 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/
DAppsQueryHelperTests.java40 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/
DThemeOverlayManagerTest.java93 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/libs/binder/
DStability.cpp60 return Level::SYSTEM; in getLocalStability()
66 return Level::SYSTEM; in getLocalStability()
137 return stability == VENDOR || stability == SYSTEM || stability == VINTF; in isDeclaredStability()
144 case Level::SYSTEM: return "system stability"; in stabilityString()
/frameworks/native/cmds/lshal/libprocpartition/
Dprocpartition.cpp26 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/
DPersistentDataBlockLock.java57 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/
DSliceBroadcastRelay.java66 context.sendBroadcastAsUser(registerBroadcast, UserHandle.SYSTEM); in registerReceiver()
83 context.sendBroadcastAsUser(registerBroadcast, UserHandle.SYSTEM); in unregisterReceivers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
DThemeOverlayManager.java144 .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/
DSenderFilter.java67 return SYSTEM;
88 private static final Filter SYSTEM = new Filter() { field in SenderFilter
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DSpecialApp.java54 SYSTEM(1000), enumConstant
DRawBatteryStats.java85 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/
DPackageTrackerHelperImpl.java111 authority, flags, UserHandle.SYSTEM.getIdentifier()); in contentProviderRegistered()
133 intent, flags, UserHandle.SYSTEM); in receiverRegistered()
DRulesManagerServiceHelperImpl.java71 mContext.sendBroadcastAsUser(intent, UserHandle.SYSTEM); in sendOperationIntent()
DPackageTrackerIntentHelperImpl.java81 packageUpdateReceiver, UserHandle.SYSTEM, packageIntentFilter, in initialize()
/frameworks/native/cmds/lshal/libprocpartition/include/procpartition/
Dprocpartition.h29 SYSTEM, enumerator
/frameworks/base/core/java/android/os/
DUserHandle.java103 public static final @NonNull UserHandle SYSTEM = new UserHandle(USER_SYSTEM); field in UserHandle
234 return userId == USER_SYSTEM ? SYSTEM : new UserHandle(userId); in of()
431 return this.equals(SYSTEM); in isSystem()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DPermissionMonitorTest.java34 import static com.android.server.connectivity.PermissionMonitor.SYSTEM;
381 doReturn(SYSTEM).when(mPermissionMonitor).highestPermissionForUid(eq(SYSTEM), in testUserAndPackageAddRemove()
383 doReturn(SYSTEM).when(mPermissionMonitor).highestPermissionForUid(any(), in testUserAndPackageAddRemove()
397 mNetdMonitor.expectPermission(SYSTEM, new int[]{MOCK_USER1}, new int[]{SYSTEM_UID}); in testUserAndPackageAddRemove()
400 mNetdMonitor.expectPermission(SYSTEM, new int[]{MOCK_USER1, MOCK_USER2}, in testUserAndPackageAddRemove()
404 mNetdMonitor.expectPermission(SYSTEM, new int[]{MOCK_USER1, MOCK_USER2}, in testUserAndPackageAddRemove()
/frameworks/base/core/java/android/app/timezone/
DRulesUpdaterContract.java86 intent, UserHandle.SYSTEM, in sendBroadcast()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DBootCompletedReceiver.java59 context.startServiceAsUser(startServiceIntent, UserHandle.SYSTEM); in onReceive()
/frameworks/native/libs/binder/include/binder/
DStability.h80 SYSTEM = 0b001100, enumerator
/frameworks/native/include/binder/
DStability.h80 SYSTEM = 0b001100, enumerator
/frameworks/base/packages/Shell/src/com/android/shell/
DRemoteBugreportReceiver.java64 context.sendBroadcastAsUser(newIntent, UserHandle.SYSTEM, in onReceive()
/frameworks/base/core/tests/coretests/src/android/app/timezone/
DRulesUpdaterContractTest.java66 eq(UserHandle.SYSTEM), in sendBroadcast()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java85 protected static final Boolean SYSTEM = Boolean.TRUE; field in PermissionMonitor
325 if (currentPermission == SYSTEM) { in highestPermissionForUid()
425 if (permission == SYSTEM) { in onPackageRemoved()
561 uids.removeIf(uid -> mApps.getOrDefault(uid, NETWORK) == SYSTEM); in removeBypassingUids()

1234