/packages/services/Car/cpp/watchdog/server/tests/ |
D | IoOveruseConfigsTest.cpp | 134 /*componentLevel=*/toPerStateIoOveruseThreshold(ComponentType::SYSTEM, in sampleBuildSystemConfig() 140 return constructResourceOveruseConfig(ComponentType::SYSTEM, in sampleBuildSystemConfig() 180 /*componentLevel=*/toPerStateIoOveruseThreshold(ComponentType::SYSTEM, in sampleUpdateSystemConfig() 187 return constructResourceOveruseConfig(ComponentType::SYSTEM, /*safeToKill=*/{"systemPackageA"}, in sampleUpdateSystemConfig() 458 /*componentLevel=*/toPerStateIoOveruseThreshold(ComponentType::SYSTEM, 300, 400, 600), in TEST_F() 466 constructResourceOveruseConfig(ComponentType::SYSTEM, /*safeToKill=*/{"systemPackageC"}, in TEST_F() 503 constructResourceOveruseConfig(ComponentType::SYSTEM, /*safeToKill=*/{"systemPackageC"}, in TEST_F() 527 auto packageInfo = constructPackageInfo("systemPackage", ComponentType::SYSTEM); in TEST_F() 563 .update({constructResourceOveruseConfig(ComponentType::SYSTEM, {}, {}, {}, in TEST_F() 629 toPerStateIoOveruseThreshold(ComponentType::SYSTEM, 100, 200, 300); in TEST_F() [all …]
|
D | OveruseConfigurationXmlHelperTest.cpp | 75 /*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()
|
D | PackageInfoResolverTest.cpp | 165 constructPackageInfo("system.package.B", 7700, UidType::NATIVE, ComponentType::SYSTEM, in TEST() 209 ComponentType::SYSTEM, ApplicationCategoryType::OTHERS, in TEST() 212 constructPackageInfo("system.package.B", 7700, UidType::NATIVE, ComponentType::SYSTEM, in TEST() 244 constructPackageInfo("vendor.package", 1003456, UidType::NATIVE, ComponentType::SYSTEM, in TEST()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/graphicsdriver/ |
D | GraphicsDriverAppPreferenceControllerTest.java | 61 private static final int SYSTEM = 3; field in GraphicsDriverAppPreferenceControllerTest 235 assertThat(preference.getEntry()).isEqualTo(mValueList[SYSTEM]); in createPreference_configSystem_shouldSetSystemAttributes() 236 assertThat(preference.getValue()).isEqualTo(mValueList[SYSTEM]); in createPreference_configSystem_shouldSetSystemAttributes() 237 assertThat(preference.getSummary()).isEqualTo(mValueList[SYSTEM]); in createPreference_configSystem_shouldSetSystemAttributes() 299 mController.onPreferenceChange(preference, mValueList[SYSTEM]); in onPreferenceChange_selectSystem_shouldUpdateAttributesAndSettingsGlobal() 301 assertThat(preference.getEntry()).isEqualTo(mValueList[SYSTEM]); in onPreferenceChange_selectSystem_shouldUpdateAttributesAndSettingsGlobal() 302 assertThat(preference.getValue()).isEqualTo(mValueList[SYSTEM]); in onPreferenceChange_selectSystem_shouldUpdateAttributesAndSettingsGlobal() 303 assertThat(preference.getSummary()).isEqualTo(mValueList[SYSTEM]); in onPreferenceChange_selectSystem_shouldUpdateAttributesAndSettingsGlobal()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | PermissionMonitorTest.java | 38 import static com.android.server.connectivity.PermissionMonitor.SYSTEM; 529 doReturn(SYSTEM).when(mPermissionMonitor).highestPermissionForUid(any(), in testUserAndPackageAddRemove() 535 doReturn(SYSTEM).when(mPermissionMonitor).highestPermissionForUid(eq(SYSTEM), anyString()); in testUserAndPackageAddRemove() 544 netdMonitor.expectPermission(SYSTEM, new UserHandle[]{MOCK_USER1}, new int[]{SYSTEM_UID}); in testUserAndPackageAddRemove() 547 netdMonitor.expectPermission(SYSTEM, new UserHandle[]{MOCK_USER1, MOCK_USER2}, in testUserAndPackageAddRemove() 557 netdMonitor.expectPermission(SYSTEM, new UserHandle[]{MOCK_USER1, MOCK_USER2}, in testUserAndPackageAddRemove() 562 netdMonitor.expectPermission(SYSTEM, new UserHandle[]{MOCK_USER1, MOCK_USER2}, in testUserAndPackageAddRemove() 566 netdMonitor.expectPermission(SYSTEM, new UserHandle[]{MOCK_USER1, MOCK_USER2}, in testUserAndPackageAddRemove() 966 netdMonitor.expectPermission(SYSTEM, new UserHandle[]{MOCK_USER1}, new int[]{MOCK_UID1}); in testUidsAllowedOnRestrictedNetworksChanged() 974 netdMonitor.expectPermission(SYSTEM, new UserHandle[]{MOCK_USER1}, new int[]{MOCK_UID2}); in testUidsAllowedOnRestrictedNetworksChanged() [all …]
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
D | SoundSettingsTest.java | 118 assertTrue(mHelper.verifyToggleSetting(SettingsType.SYSTEM, PAGE, in testCallVibrate() 120 assertTrue(mHelper.verifyToggleSetting(SettingsType.SYSTEM, PAGE, in testCallVibrate() 128 SettingsType.SYSTEM, PAGE, "Dial pad tones", in testOtherSoundsDialPadTones() 136 mHelper.verifyToggleSetting(SettingsType.SYSTEM, PAGE, in testOtherSoundsScreenLocking() 152 mHelper.verifyToggleSetting(SettingsType.SYSTEM, PAGE, in testOtherSoundsTouch() 160 mHelper.verifyToggleSetting(SettingsType.SYSTEM, PAGE, in testOtherSoundsVibrateOnTap()
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | PackageInfoHandler.java | 148 case ComponentType.SYSTEM: in getPackageInfo() 163 packageInfo.componentType = ComponentType.SYSTEM; in getPackageInfo() 203 return ComponentType.SYSTEM; in getComponentType()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | IoOveruseConfigs.cpp | 175 case ComponentType::SYSTEM: in getComponentFilter() 434 case ComponentType::SYSTEM: in updateFromAidlConfig() 585 systemConfig->componentType = ComponentType::SYSTEM; in get() 655 case ComponentType::SYSTEM: in writeToDisk() 685 case ComponentType::SYSTEM: in fetchThreshold() 726 case ComponentType::SYSTEM: in isSafeToKill()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/ |
D | ResultPayload.java | 116 @IntDef({SettingsSource.UNKNOWN, SettingsSource.SYSTEM, SettingsSource.SECURE, 121 int SYSTEM = 1; field
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | RemoteBugreportActivity.java | 86 UserHandle.SYSTEM, android.Manifest.permission.DUMP); in onCreate() 97 UserHandle.SYSTEM, android.Manifest.permission.DUMP); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/ |
D | RemoteBugreportActivity.java | 87 UserHandle.SYSTEM, android.Manifest.permission.DUMP); in onCreate() 98 UserHandle.SYSTEM, android.Manifest.permission.DUMP); in onCreate()
|
D | TrustedCredentialsSettings.java | 100 SYSTEM("system", enumConstant 132 case SYSTEM: { in getAliases() 142 case SYSTEM: in deleted() 222 addTab(Tab.SYSTEM); in onCreateView() 911 return mTab == Tab.SYSTEM; in isSystemCert()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/ |
D | UserHalHelperTest.java | 127 assertConvertFlags(UserFlags.SYSTEM, user); in testConvertFlags() 162 assertGetFlags(UserFlags.SYSTEM, user); in testGetFlags_ok() 183 assertThat(UserHalHelper.isSystem(UserFlags.SYSTEM)).isTrue(); in testIsSystem() 184 assertThat(UserHalHelper.isSystem(UserFlags.SYSTEM | 666)).isTrue(); in testIsSystem() 192 assertThat(UserHalHelper.isGuest(UserFlags.SYSTEM)).isFalse(); in testIsGuest() 234 assertThat(UserHalHelper.toUserInfoFlags(UserFlags.SYSTEM)).isEqualTo(0); in testToUserInfoFlags() 1040 request.newUserInfo.flags = UserFlags.SYSTEM; in testCreateUserRequestToVehiclePropValue_newUserFlagsMismatch() 1059 user11.flags = UserFlags.SYSTEM; in testCreateUserRequestToVehiclePropValue_ok() 1091 11, UserFlags.SYSTEM, // existing user 2 in testCreateUserRequestToVehiclePropValue_ok() 1304 currentUser.flags = UserFlags.SYSTEM; in testCheckValidUsersInfo_currentUserFlagsMismatch()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | UidRangeTest.java | 20 import static android.os.UserHandle.SYSTEM; 104 final UidRange uidRangeOfPrimaryUser = UidRange.createForUser(SYSTEM); in testCreateForUser()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | CarWatchdogServiceUnitTest.java | 869 sampleResourceOveruseConfigurationBuilder(ComponentType.SYSTEM, in testFailsSetResourceOveruseConfigurationsOnInvalidArgs() 870 sampleIoOveruseConfigurationBuilder(ComponentType.SYSTEM).build()) in testFailsSetResourceOveruseConfigurationsOnInvalidArgs() 880 sampleResourceOveruseConfigurationBuilder(ComponentType.SYSTEM, in testFailsSetResourceOveruseConfigurationsOnDuplicateComponents() 881 sampleIoOveruseConfigurationBuilder(ComponentType.SYSTEM).build()).build(); in testFailsSetResourceOveruseConfigurationsOnDuplicateComponents() 892 sampleResourceOveruseConfigurationBuilder(ComponentType.SYSTEM, null).build()); in testFailsSetResourceOveruseConfigurationsOnNullIoOveruseConfiguration() 1117 UidType.NATIVE, ComponentType.SYSTEM, ApplicationCategoryType.OTHERS), in testGetPackageInfosForUids() 1120 UidType.NATIVE, ComponentType.SYSTEM, ApplicationCategoryType.OTHERS), in testGetPackageInfosForUids() 1445 sampleResourceOveruseConfigurationBuilder(ComponentType.SYSTEM, in sampleResourceOveruseConfigurations() 1446 sampleIoOveruseConfigurationBuilder(ComponentType.SYSTEM).build()).build(), in sampleResourceOveruseConfigurations() 1457 sampleInternalResourceOveruseConfiguration(ComponentType.SYSTEM, in sampleInternalResourceOveruseConfigurations() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | DefaultUsbConfigurationPreferenceControllerTest.java | 92 TEST_COMPONENT_NAME, null, UserHandle.SYSTEM))); in updateState_usbDataSignalingDisabled_shouldDisablePreference() 115 TEST_COMPONENT_NAME, null, UserHandle.SYSTEM))); in onDeveloperOptionsSwitchEnabled_usbDisabled_shouldDisablePreference()
|
D | UsbAudioRoutingPreferenceControllerTest.java | 113 TEST_COMPONENT_NAME, null, UserHandle.SYSTEM))); in updateState_usbDataSignalingDisabled_shouldDisablePreference() 171 TEST_COMPONENT_NAME, null, UserHandle.SYSTEM))); in onDeveloperOptionsSwitchEnabled_usbDisabled_shouldDisablePreference()
|
/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/ |
D | NotificationEntryTest.java | 81 UserHandle.SYSTEM, 0); in generateSbn() 90 UserHandle.SYSTEM, 0); in generateSbn() 95 UserHandle.SYSTEM, 0); in generateSbn()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | VendorServiceController.java | 196 boolean systemUser = UserHandle.SYSTEM.equals(user); in startOrBindServicesForUser() 211 startOrBindServicesForUser(UserHandle.SYSTEM); in startOrBindServicesIfNeeded() 366 || UserHandle.SYSTEM.equals(mUser)) { in tryToRebind()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | PermissionMonitor.java | 83 protected static final Boolean SYSTEM = Boolean.TRUE; field in PermissionMonitor 423 if (currentPermission == SYSTEM) { in highestPermissionForUid() 508 if (permission == SYSTEM) { in highestUidNetworkPermission() 547 if (permission == SYSTEM) { in onPackageRemoved() 679 uids.removeIf(uid -> mApps.getOrDefault(UserHandle.getAppId(uid), NETWORK) == SYSTEM); in removeBypassingUids()
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/common/ |
D | PolicyComplianceUtilsTest.java | 76 UserHandle.SYSTEM); in isPolicyComplianceActivityResolvableForSystemUser_activityExists_returnsTrue() 87 UserHandle.SYSTEM); in isPolicyComplianceActivityResolvableForSystemUser_activityExists_returnsFalse()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/watchdoglib/ |
D | CarWatchdogDaemonHelperTest.java | 165 config.componentType = ComponentType.SYSTEM; in testIndirectCall_updateResourceOveruseConfigurations() 176 config.componentType = ComponentType.SYSTEM; in testIndirectCall_getResourceOveruseConfigurations()
|
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/ |
D | ComponentType.aidl | 34 SYSTEM, enumConstant
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/ |
D | StorageAsyncLoaderTest.java | 151 when(mSource.getExternalStorageStats(any(), eq(UserHandle.SYSTEM))) in testMultipleUsers() 204 when(mSource.getExternalStorageStats(anyString(), eq(UserHandle.SYSTEM))) in testPackageIsNotDoubleCounted()
|
/packages/modules/Permission/service/java/com/android/permission/compat/ |
D | UserHandleCompat.java | 34 public static final int USER_SYSTEM = UserHandle.SYSTEM.getIdentifier();
|