Home
last modified time | relevance | path

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

1234

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DSnoozeHelperTest.java72 NotificationRecord r = getNotificationRecord("pkg", 1, "one", UserHandle.SYSTEM); in testSnoozeForTime()
85 NotificationRecord r = getNotificationRecord("pkg", 1, "one", UserHandle.SYSTEM);
95 NotificationRecord r = getNotificationRecord("pkg", 1, "one", UserHandle.SYSTEM);
96 NotificationRecord r2 = getNotificationRecord("pkg", 2, "two", UserHandle.SYSTEM);
115 NotificationRecord r = getNotificationRecord("pkg", 1, "one", UserHandle.SYSTEM);
116 NotificationRecord r2 = getNotificationRecord("pkg", 2, "two", UserHandle.SYSTEM);
141 NotificationRecord r = getNotificationRecord("pkg", 1, "one", UserHandle.SYSTEM);
142 NotificationRecord r2 = getNotificationRecord("pkg", 2, "two", UserHandle.SYSTEM);
143 NotificationRecord r3 = getNotificationRecord("pkg2", 3, "three", UserHandle.SYSTEM);
167 NotificationRecord r = getNotificationRecord("pkg", 1, "one", UserHandle.SYSTEM);
[all …]
DGroupHelperTest.java83 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_postingUnderLimit()
98 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_multiPackage()
102 getSbn(pkg2, GroupHelper.AUTOGROUP_AT_COUNT, "four", UserHandle.SYSTEM), false); in testNoGroup_multiPackage()
114 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_multiUser()
131 getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), false); in testNoGroup_someAreGrouped()
134 getSbn(pkg, GroupHelper.AUTOGROUP_AT_COUNT, "four", UserHandle.SYSTEM, "a"), 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/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.java51 UserManager.DISALLOW_OEM_UNLOCK, !allowed, UserHandle.SYSTEM); in setOemUnlockAllowedByCarrier()
61 .hasUserRestriction(UserManager.DISALLOW_OEM_UNLOCK, UserHandle.SYSTEM); in isOemUnlockAllowedByCarrier()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DSliceBroadcastRelay.java52 context.sendBroadcastAsUser(registerBroadcast, UserHandle.SYSTEM); in registerReceiver()
61 context.sendBroadcastAsUser(registerBroadcast, UserHandle.SYSTEM); in unregisterReceivers()
/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/core/java/android/os/
DUserHandle.java86 public static final UserHandle SYSTEM = new UserHandle(USER_SYSTEM); field in UserHandle
204 return userId == USER_SYSTEM ? SYSTEM : new UserHandle(userId); in of()
387 return this.equals(SYSTEM); in isSystem()
/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.h30 SYSTEM, enumerator
/frameworks/base/core/java/android/app/timezone/
DRulesUpdaterContract.java86 intent, UserHandle.SYSTEM, in sendBroadcast()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java63 private static final Boolean SYSTEM = Boolean.TRUE; field in PermissionMonitor
272 if (currentPermission == SYSTEM) { in highestPermissionForUid()
319 if (permission == SYSTEM) { in onAppRemoved()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/
Dstrategy_for_stream.pfw6 # NOTE: SYSTEM stream uses MEDIA strategy because muting music and switching outputs
/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.java65 eq(UserHandle.SYSTEM), in sendBroadcast()
/frameworks/opt/car/services/src/com/android/internal/car/
DCarServiceHelperService.java81 UserHandle.SYSTEM)) { in onStart()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconHolder.java52 holder.mIcon = new StatusBarIcon(UserHandle.SYSTEM, context.getPackageName(), in fromResId()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java889 eq(UserHandle.SYSTEM)); in testServiceConnection_bind_notBound()
902 eq(UserHandle.SYSTEM))).thenReturn(true /*bound*/); in testServiceConnection_bind_alreadyBound()
913 eq(UserHandle.SYSTEM)); in testServiceConnection_bind_alreadyBound()
926 eq(UserHandle.SYSTEM))).thenReturn(false /*bound*/); in testServiceConnection_bindFails()
953 eq(UserHandle.SYSTEM))).thenReturn(true /*bound*/); in testServiceConnection_unbind_alreadyBound()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardEsimArea.java123 PendingIntent.FLAG_UPDATE_CURRENT, UserHandle.SYSTEM); in onClick()
/frameworks/base/services/core/java/com/android/server/location/
DGeofenceProxy.java97 mServiceConnection, Context.BIND_AUTO_CREATE, UserHandle.SYSTEM); in bindHardwareGeofence()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifier.java62 @IntDef(value = {LOCAL, SYSTEM})
67 int SYSTEM = 1; field
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DFullBackupObbConnection.java68 obbIntent, this, Context.BIND_AUTO_CREATE, UserHandle.SYSTEM); in establish()
/frameworks/base/services/core/java/com/android/server/
DNetworkScoreService.java280 mUserIntentReceiver, UserHandle.SYSTEM, filter, null /* broadcastPermission*/, in NetworkScoreService()
285 mLocationModeReceiver, UserHandle.SYSTEM, locationModeFilter, in NetworkScoreService()
387 mPackageMonitor.register(mContext, null /* thread */, UserHandle.SYSTEM, in registerPackageMonitorIfNeeded()
993 UserHandle.SYSTEM); in bind()

1234