Home
last modified time | relevance | path

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

123456789

/packages/services/Car/cpp/watchdog/stable_server/tests/
DIoOveruseConfigsTest.cpp127 /*componentLevel=*/toPerStateIoOveruseThreshold(ComponentType::SYSTEM, in sampleBuildSystemConfig()
133 return constructResourceOveruseConfig(ComponentType::SYSTEM, in sampleBuildSystemConfig()
173 /*componentLevel=*/toPerStateIoOveruseThreshold(ComponentType::SYSTEM, in sampleUpdateSystemConfig()
180 return constructResourceOveruseConfig(ComponentType::SYSTEM, /*safeToKill=*/{"systemPackageA"}, in sampleUpdateSystemConfig()
448 /*componentLevel=*/toPerStateIoOveruseThreshold(ComponentType::SYSTEM, 300, 400, 600), in TEST_F()
456 constructResourceOveruseConfig(ComponentType::SYSTEM, /*safeToKill=*/{"systemPackageC"}, in TEST_F()
493 constructResourceOveruseConfig(ComponentType::SYSTEM, /*safeToKill=*/{"systemPackageC"}, in TEST_F()
517 auto packageInfo = constructAppPackageInfo("systemPackage", ComponentType::SYSTEM); in TEST_F()
553 .update({constructResourceOveruseConfig(ComponentType::SYSTEM, {}, {}, {}, in TEST_F()
619 toPerStateIoOveruseThreshold(ComponentType::SYSTEM, 100, 200, 300); in TEST_F()
[all …]
DPackageInfoResolverTest.cpp176 constructPackageInfo("system.package.B", 7700, UidType::NATIVE, ComponentType::SYSTEM, in TEST_F()
220 ComponentType::SYSTEM, ApplicationCategoryType::OTHERS, in TEST_F()
223 constructPackageInfo("system.package.B", 7700, UidType::NATIVE, ComponentType::SYSTEM, in TEST_F()
275 ComponentType::SYSTEM, ApplicationCategoryType::OTHERS, {})}, in TEST_F()
298 ComponentType::SYSTEM, ApplicationCategoryType::OTHERS, {})}, in TEST_F()
317 constructPackageInfo("vendor.package", 1003456, UidType::NATIVE, ComponentType::SYSTEM, in TEST_F()
339 ComponentType::SYSTEM, ApplicationCategoryType::OTHERS)}}; in TEST_F()
DOveruseConfigurationXmlHelperTest.cpp75 /*componentLevel=*/toPerStateIoOveruseThreshold(ComponentType::SYSTEM, in TEST()
86 constructResourceOveruseConfig(ComponentType::SYSTEM, in TEST()
170 /*componentLevel=*/toPerStateIoOveruseThreshold(ComponentType::SYSTEM, in TEST()
181 constructResourceOveruseConfig(ComponentType::SYSTEM, in TEST()
/packages/services/Car/cpp/watchdog/server/tests/
DIoOveruseConfigsTest.cpp127 /*componentLevel=*/toPerStateIoOveruseThreshold(ComponentType::SYSTEM, in sampleBuildSystemConfig()
133 return constructResourceOveruseConfig(ComponentType::SYSTEM, in sampleBuildSystemConfig()
173 /*componentLevel=*/toPerStateIoOveruseThreshold(ComponentType::SYSTEM, in sampleUpdateSystemConfig()
180 return constructResourceOveruseConfig(ComponentType::SYSTEM, /*safeToKill=*/{"systemPackageA"}, in sampleUpdateSystemConfig()
448 /*componentLevel=*/toPerStateIoOveruseThreshold(ComponentType::SYSTEM, 300, 400, 600), in TEST_F()
456 constructResourceOveruseConfig(ComponentType::SYSTEM, /*safeToKill=*/{"systemPackageC"}, in TEST_F()
493 constructResourceOveruseConfig(ComponentType::SYSTEM, /*safeToKill=*/{"systemPackageC"}, in TEST_F()
517 auto packageInfo = constructAppPackageInfo("systemPackage", ComponentType::SYSTEM); in TEST_F()
553 .update({constructResourceOveruseConfig(ComponentType::SYSTEM, {}, {}, {}, in TEST_F()
619 toPerStateIoOveruseThreshold(ComponentType::SYSTEM, 100, 200, 300); in TEST_F()
[all …]
DPackageInfoResolverTest.cpp176 constructPackageInfo("system.package.B", 7700, UidType::NATIVE, ComponentType::SYSTEM, in TEST_F()
220 ComponentType::SYSTEM, ApplicationCategoryType::OTHERS, in TEST_F()
223 constructPackageInfo("system.package.B", 7700, UidType::NATIVE, ComponentType::SYSTEM, in TEST_F()
275 ComponentType::SYSTEM, ApplicationCategoryType::OTHERS, {})}, in TEST_F()
298 ComponentType::SYSTEM, ApplicationCategoryType::OTHERS, {})}, in TEST_F()
317 constructPackageInfo("vendor.package", 1003456, UidType::NATIVE, ComponentType::SYSTEM, in TEST_F()
339 ComponentType::SYSTEM, ApplicationCategoryType::OTHERS)}}; in TEST_F()
DOveruseConfigurationXmlHelperTest.cpp75 /*componentLevel=*/toPerStateIoOveruseThreshold(ComponentType::SYSTEM, in TEST()
86 constructResourceOveruseConfig(ComponentType::SYSTEM, in TEST()
170 /*componentLevel=*/toPerStateIoOveruseThreshold(ComponentType::SYSTEM, in TEST()
181 constructResourceOveruseConfig(ComponentType::SYSTEM, in TEST()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DProviderUtilTest.java73 .getSubscriptionInfoListAssociatedWithUser(UserHandle.SYSTEM); in getSelectionBySubIds_noSubscription()
75 assertThat(ProviderUtil.getSelectionBySubIds(mContext, UserHandle.SYSTEM)) in getSelectionBySubIds_noSubscription()
89 .getSubscriptionInfoListAssociatedWithUser(UserHandle.SYSTEM); in getSelectionBySubIds_withDefaultSubId()
91 assertThat(ProviderUtil.getSelectionBySubIds(mContext, UserHandle.SYSTEM)) in getSelectionBySubIds_withDefaultSubId()
111 .getSubscriptionInfoListAssociatedWithUser(UserHandle.SYSTEM); in getSelectionBySubIds_withActiveSubscriptions()
113 assertThat(ProviderUtil.getSelectionBySubIds(mContext, UserHandle.SYSTEM)) in getSelectionBySubIds_withActiveSubscriptions()
152 SubscriptionManager.INVALID_SUBSCRIPTION_ID, UserHandle.SYSTEM)).isTrue(); in allowInteractWithEntryOfSubId()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/system/systembarpresets/
DSystemBarPresetsReducer.kt46 /*user =*/ UserHandle.SYSTEM in <lambda>()
55 /*user =*/ UserHandle.SYSTEM in <lambda>()
64 if (overlayManager.getOverlayInfo(persistentRRO, UserHandle.SYSTEM) != null) { in <lambda>()
68 /*user =*/ UserHandle.SYSTEM in <lambda>()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java49 static final ImmutableList<Tab> TABS = ImmutableList.of(Tab.SYSTEM, Tab.USER);
115 SYSTEM(R.string.trusted_credentials_system_tab, true), enumConstant
128 case SYSTEM: { in getAliases()
139 case SYSTEM: in deleted()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/graphicsdriver/
DGraphicsDriverAppPreferenceControllerTest.java63 private static final int SYSTEM = 3; field in GraphicsDriverAppPreferenceControllerTest
237 assertThat(preference.getEntry()).isEqualTo(mValueList[SYSTEM]); in createPreference_configSystem_shouldSetSystemAttributes()
238 assertThat(preference.getValue()).isEqualTo(mValueList[SYSTEM]); in createPreference_configSystem_shouldSetSystemAttributes()
239 assertThat(preference.getSummary()).isEqualTo(mValueList[SYSTEM]); in createPreference_configSystem_shouldSetSystemAttributes()
301 mController.onPreferenceChange(preference, mValueList[SYSTEM]); in onPreferenceChange_selectSystem_shouldUpdateAttributesAndSettingsGlobal()
303 assertThat(preference.getEntry()).isEqualTo(mValueList[SYSTEM]); in onPreferenceChange_selectSystem_shouldUpdateAttributesAndSettingsGlobal()
304 assertThat(preference.getValue()).isEqualTo(mValueList[SYSTEM]); in onPreferenceChange_selectSystem_shouldUpdateAttributesAndSettingsGlobal()
305 assertThat(preference.getSummary()).isEqualTo(mValueList[SYSTEM]); in onPreferenceChange_selectSystem_shouldUpdateAttributesAndSettingsGlobal()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DKeyboardInsetAnimationCallback.java47 private KeyboardTranslationState mKeyboardTranslationState = KeyboardTranslationState.SYSTEM;
52 SYSTEM, enumConstant
122 mKeyboardTranslationState = KeyboardTranslationState.SYSTEM; in onEnd()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/data/repository/
DUserRepositoryImplTest.kt21 import android.os.UserHandle.SYSTEM
142 profileParent = SYSTEM, in <lambda>()
161 profileParent = SYSTEM, in <lambda>()
179 UserRepositoryImpl(SYSTEM, userManager, events, backgroundScope, Dispatchers.Unconfined) in <lambda>()
193 profileParent = SYSTEM, in <lambda>()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DSoundSettingsTest.java116 assertTrue(mHelper.verifyToggleSetting(SettingsType.SYSTEM, PAGE, in testCallVibrate()
118 assertTrue(mHelper.verifyToggleSetting(SettingsType.SYSTEM, PAGE, in testCallVibrate()
126 SettingsType.SYSTEM, PAGE, "Dial pad tones", in testOtherSoundsDialPadTones()
134 mHelper.verifyToggleSetting(SettingsType.SYSTEM, PAGE, in testOtherSoundsScreenLocking()
150 mHelper.verifyToggleSetting(SettingsType.SYSTEM, PAGE, in testOtherSoundsTouch()
/packages/services/Car/service/src/com/android/car/watchdog/
DOveruseConfigurationCache.java183 proto.write(IoThresholdByPackage.PACKAGE_TYPE, PerformanceDump.SYSTEM); in dumpProto()
244 case ComponentType.SYSTEM: in set()
283 case ComponentType.SYSTEM: in fetchThreshold()
328 case ComponentType.SYSTEM: in isSafeToKill()
376 case ComponentType.SYSTEM: in setIoThresholdsLocked()
447 case ComponentType.SYSTEM: in toComponentTypeString()
473 case ComponentType.SYSTEM: in toProtoComponentType()
474 return PerformanceDump.SYSTEM; in toProtoComponentType()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/drivemode/
DDriveModeSwitchController.java58 UserHandle.SYSTEM); in isDriveModeActive()
70 mOverlayManager.setEnabled(DRIVE_MODE_ON_RRO_PACKAGE, newState, UserHandle.SYSTEM); in setDriveMode()
/packages/modules/Virtualization/build/debian/ttyd/
Dcross-build.sh144 SYSTEM="Linux"
148 SYSTEM="Windows"
162 install_cmake_cross_file ${SYSTEM}
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DSplitPermissionTest.java238 UserHandle.SYSTEM.equals(Process.myUserHandle())); in nonInheritedStateLowTargetSDKPreM()
337 UserHandle.SYSTEM.equals(Process.myUserHandle())); in inheritGrantedPermissionStatePreM()
408 UserHandle.SYSTEM.equals(Process.myUserHandle())); in grantNewSplitPermissionStatePreM()
514 UserHandle.SYSTEM.equals(Process.myUserHandle())); in newPermissionGetRevokedOnUpgradePreM()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/system/theme/themepresets/
DThemePresetsReducer.kt44 toggleRROs(action.themeToEnable.systemPackages, enable = true, UserHandle.SYSTEM) in <lambda>()
49 toggleRROs(theme.systemPackages, enable = false, UserHandle.SYSTEM) in <lambda>()
DThemePresetsItem.kt32 overlayManager.getOverlayInfo(rroPackage, UserHandle.SYSTEM)?.isValid() ?: false in <lambda>()
41 overlayManager.getOverlayInfo(rroPackage, UserHandle.SYSTEM)?.isEnabled ?: false in <lambda>()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DResultPayload.java116 @IntDef({SettingsSource.UNKNOWN, SettingsSource.SYSTEM, SettingsSource.SECURE,
121 int SYSTEM = 1; field
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DRemoteBugreportActivity.java86 UserHandle.SYSTEM, android.Manifest.permission.DUMP); in onCreate()
97 UserHandle.SYSTEM, android.Manifest.permission.DUMP); in onCreate()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/medical/
DDisplayNameExtractor.kt46 private const val SYSTEM = "system" in <lambda>() constant
105 if (coding.optString(SYSTEM) == codingSystem) { in <lambda>()
146 if (coding.optString(SYSTEM) == SNOMED_SYSTEM) { in <lambda>()
/packages/services/Car/cpp/watchdog/server/src/
DIoOveruseConfigs.cpp164 case ComponentType::SYSTEM: in getComponentFilter()
433 case ComponentType::SYSTEM: in updateFromAidlConfig()
585 systemConfig->componentType = ComponentType::SYSTEM; in get()
656 case ComponentType::SYSTEM: in writeToDisk()
686 case ComponentType::SYSTEM: in fetchThreshold()
727 case ComponentType::SYSTEM: in isSafeToKill()
/packages/services/Car/cpp/watchdog/stable_server/src/
DIoOveruseConfigs.cpp164 case ComponentType::SYSTEM: in getComponentFilter()
433 case ComponentType::SYSTEM: in updateFromAidlConfig()
585 systemConfig->componentType = ComponentType::SYSTEM; in get()
656 case ComponentType::SYSTEM: in writeToDisk()
686 case ComponentType::SYSTEM: in fetchThreshold()
727 case ComponentType::SYSTEM: in isSafeToKill()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DIdleServiceTest.java345 Arrays.asList(UserHandle.SYSTEM.getIdentifier(), secondaryUser)); in test_idle_maintenance_nonDemoDevice()
350 + UserHandle.SYSTEM.getIdentifier()); in test_idle_maintenance_nonDemoDevice()
358 Arrays.asList(UserHandle.SYSTEM.getIdentifier(), secondaryUser)); in test_idle_maintenance_nonDemoDevice()
369 + UserHandle.SYSTEM.getIdentifier()); in test_idle_maintenance_nonDemoDevice()
374 Arrays.asList(UserHandle.SYSTEM.getIdentifier(), secondaryUser)); in test_idle_maintenance_nonDemoDevice()

123456789