Home
last modified time | relevance | path

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

123456

/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DSystemStubMultiUserDisableUninstallTest.kt173 codePaths = listOf(CodePath.SAME, CodePath.SYSTEM) in <lambda>()
184 codePaths = listOf(CodePath.SAME, CodePath.SYSTEM) in <lambda>()
192 codePaths = listOf(CodePath.SAME, CodePath.SYSTEM) in <lambda>()
200 codePaths = listOf(CodePath.SYSTEM) in <lambda>()
211 codePaths = listOf(CodePath.SAME, CodePath.SYSTEM) in <lambda>()
219 codePaths = listOf(CodePath.SAME, CodePath.SYSTEM) in <lambda>()
227 codePaths = listOf(CodePath.SYSTEM) in <lambda>()
242 codePaths = listOf(CodePath.DIFFERENT, CodePath.SYSTEM) in <lambda>()
250 codePaths = listOf(CodePath.SAME, CodePath.SYSTEM) in <lambda>()
265 codePaths = listOf(CodePath.DIFFERENT, CodePath.SYSTEM) in <lambda>()
[all …]
DOriginalPackageMigrationTest.kt57 preparer.deleteApkFolders(Partition.SYSTEM, VERSION_ONE, VERSION_TWO, VERSION_THREE, in deleteApkFolders()
82 preparer.pushApk(apk, Partition.SYSTEM) in runForApk()
91 preparer.deleteApkFolders(Partition.SYSTEM, apk) in runForApk()
92 .pushApk(NEW_PKG, Partition.SYSTEM) in runForApk()
105 .containsExactly(HostUtils.makePathForApk(apk, Partition.SYSTEM).parent.toString()) in assertCodePath()
DPartition.kt24 SYSTEM("/system/app"),
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DGroupHelperTest.java87 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_postingUnderLimit()
102 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_multiPackage()
106 getSbn(pkg2, AUTOGROUP_AT_COUNT, "four", UserHandle.SYSTEM), false); in testNoGroup_multiPackage()
118 mGroupHelper.onNotificationPosted(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), in testNoGroup_multiUser()
134 getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), false); in testNoGroup_someAreGrouped()
137 getSbn(pkg, AUTOGROUP_AT_COUNT, "four", UserHandle.SYSTEM, "a"), false); in testNoGroup_someAreGrouped()
151 getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM), false); in testPostingOverLimit()
164 notifications.add(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM)); in testAutoGroupCount_addingNoGroupSBN()
179 int userId = UserHandle.SYSTEM.getIdentifier(); in testAutoGroupCount_addingNoGroupSBN()
189 notifications.add(getSbn(pkg, i, String.valueOf(i), UserHandle.SYSTEM)); in testAutoGroupCount_UpdateNotification()
[all …]
DSnoozeHelperTest.java155 NotificationRecord r = getNotificationRecord("pkg", 1, "one", UserHandle.SYSTEM); in testReadValidSnoozedFromCorrectly_timeDeadline()
178 NotificationRecord r = getNotificationRecord("pkg", 1, "one", UserHandle.SYSTEM); in testReadExpiredSnoozedNotification()
193 int systemUser = UserHandle.SYSTEM.getIdentifier(); in testReadExpiredSnoozedNotification()
201 NotificationRecord r = getNotificationRecord("pkg", 1, "one", UserHandle.SYSTEM); in testCleanupContextShouldRemovePersistedRecord()
215 "pkg", 1, "one", UserHandle.SYSTEM); in testReadNoneSnoozedNotification()
221 UserHandle.SYSTEM.getIdentifier(), in testReadNoneSnoozedNotification()
251 NotificationRecord r = getNotificationRecord("pkg", 1, "one", UserHandle.SYSTEM); in testSnoozeForTime()
264 NotificationRecord r = getNotificationRecord("pkg", 1, "one", UserHandle.SYSTEM);
275 NotificationRecord r = getNotificationRecord("pkg", 1, "one", UserHandle.SYSTEM);
285 NotificationRecord r = getNotificationRecord("pkg", 1, "one", UserHandle.SYSTEM);
[all …]
DShortcutHelperTest.java238 assertThat(mShortcutHelper.getValidShortcutInfo("a", "p", UserHandle.SYSTEM)).isNull(); in testGetValidShortcutInfo_noMatchingShortcut()
249 assertThat(mShortcutHelper.getValidShortcutInfo("a", "p", UserHandle.SYSTEM)).isNull(); in testGetValidShortcutInfo_nullShortcut()
266 assertThat(mShortcutHelper.getValidShortcutInfo("a", "p", UserHandle.SYSTEM)).isNull(); in testGetValidShortcutInfo_notLongLived()
284 assertThat(mShortcutHelper.getValidShortcutInfo("a", "p", UserHandle.SYSTEM)).isNull(); in testGetValidShortcutInfo_notSharingShortcut()
301 assertThat(mShortcutHelper.getValidShortcutInfo("a", "p", UserHandle.SYSTEM)).isNull(); in testGetValidShortcutInfo_notEnabled()
320 assertThat(mShortcutHelper.getValidShortcutInfo("a", "p", UserHandle.SYSTEM)) in testGetValidShortcutInfo_isValid()
339 assertThat(mShortcutHelper.getValidShortcutInfo("a", "p", UserHandle.SYSTEM)) in testGetValidShortcutInfo_isValidButUserLocked()
347 "a", "p", UserHandle.SYSTEM); in testGetValidShortcutInfo_hasGetPersonsDataFlag()
DZenModeFilteringTest.java209 UserHandle.SYSTEM, null, 0); in testConversation_allAllowed()
227 UserHandle.SYSTEM, null, 0); in testConversation_importantAllowed_isImportant()
245 UserHandle.SYSTEM, null, 0); in testConversation_importantAllowed_isNotImportant()
262 UserHandle.SYSTEM, null, 0); in testConversation_noneAllowed_notCallOrMsg()
279 UserHandle.SYSTEM, null, 0); in testConversation_noneAllowed_callAllowed()
299 UserHandle.SYSTEM, null, 0); in testConversation_noneAllowed_msgAllowed()
/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/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayApplierTest.java113 when(mOverlayManager.getOverlayInfosForTarget(ANDROID_PACKAGE, UserHandle.SYSTEM)) in setup()
135 when(mOverlayManager.getOverlayInfosForTarget(SYSUI_PACKAGE, UserHandle.SYSTEM)) in setup()
141 when(mOverlayManager.getOverlayInfosForTarget(SETTINGS_PACKAGE, UserHandle.SYSTEM)) in setup()
147 when(mOverlayManager.getOverlayInfosForTarget(LAUNCHER_PACKAGE, UserHandle.SYSTEM)) in setup()
153 when(mOverlayManager.getOverlayInfosForTarget(THEMEPICKER_PACKAGE, UserHandle.SYSTEM)) in setup()
193 eq(UserHandle.SYSTEM.getIdentifier())); in allCategoriesSpecified_sysuiCategoriesAlsoAppliedToSysuiUser()
196 eq(entry.getValue()), eq(true), eq(UserHandle.SYSTEM.getIdentifier())); in allCategoriesSpecified_sysuiCategoriesAlsoAppliedToSysuiUser()
/frameworks/base/apct-tests/perftests/core/src/android/content/pm/
DPackageManagerBenchmark.java42 context.createContextAsUser(UserHandle.SYSTEM, /* flags */ 0); in createUserContextBenchmark()
65 context.createContextAsUser(UserHandle.SYSTEM, /* flags */ 0).getPackageManager() in getResourcesApplication_byCreateContextAsUser()
/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/native/libs/binder/
DStability.cpp58 forceDowngradeToStability(binder, Level::SYSTEM); in forceDowngradeToSystemStability()
209 return stability == VENDOR || stability == SYSTEM || stability == VINTF; in isDeclaredLevel()
216 case Level::SYSTEM: return "system stability"; in levelString()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserWrapperActivity.java132 if (userHandle == UserHandle.SYSTEM) { in createListController()
133 when(sOverrides.resolverListController.getUserHandle()).thenReturn(UserHandle.SYSTEM); in createListController()
246 if (userHandle.equals(UserHandle.SYSTEM)) { in isUserRunning()
254 if (userHandle.equals(UserHandle.SYSTEM)) { in isUserUnlocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
DThemeOverlayApplier.java187 .getOverlayInfosForTarget(targetPackage, UserHandle.SYSTEM))); in applyCurrentUserOverlays()
253 if (currentUser != UserHandle.SYSTEM.getIdentifier() in setEnabled()
255 transaction.setEnabled(identifier, enabled, UserHandle.SYSTEM.getIdentifier()); in setEnabled()
260 overlayInfo = mOverlayManager.getOverlayInfo(identifier, UserHandle.SYSTEM); in setEnabled()
/frameworks/base/apct-tests/perftests/core/src/android/app/
DOverlayManagerPerfTest.java104 sOverlayManager.setEnabled(overlayPackage, true, UserHandle.SYSTEM); in assertSetEnabled()
146 sOverlayManager.invalidateCachesForOverlay(packageName, UserHandle.SYSTEM); in setEnabledColdCacheSmallOverlay()
161 sOverlayManager.invalidateCachesForOverlay(packageName, UserHandle.SYSTEM); in setEnabledColdCacheLargeOverlay()
/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/av/media/libaudioclient/aidl/android/media/
DAudioPolicyForceUse.aidl27 SYSTEM = 4, enumConstant
DAudioStreamType.aidl25 SYSTEM = 1, enumConstant
/frameworks/base/media/aidl/android/media/audio/common/
DAudioStreamType.aidl34 SYSTEM = 1, enumConstant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconHolder.java60 holder.mIcon = new StatusBarIcon(UserHandle.SYSTEM, context.getPackageName(), in fromResId()
92 holder.mIcon = new StatusBarIcon(UserHandle.SYSTEM, context.getPackageName(), in fromCallIndicatorState()
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DSpecialApp.java54 SYSTEM(1000), enumConstant
/frameworks/base/core/java/android/view/textclassifier/
DTextClassificationManager.java81 return getSystemTextClassifier(SystemTextClassifier.SYSTEM); in getTextClassifier()
213 getSystemTextClassifier(TextClassifier.SYSTEM).dump(pw); in dump()
/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()

123456