/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataProfile.java | 31 public final int profileId; field in DataProfile 74 DataProfile(int profileId, String apn, String protocol, int authType, in DataProfile() argument 80 this.profileId = profileId; in DataProfile() 106 this(apn, apn.profileId); in DataProfile() 109 public DataProfile(ApnSetting apn, int profileId) { in DataProfile() argument 110 this(profileId, apn.apn, apn.protocol, in DataProfile() 121 return "DataProfile=" + profileId + "/" + apn + "/" + protocol + "/" + authType in toString()
|
D | ApnSetting.java | 88 public final int profileId; field in ApnSetting 120 int bearerBitmask, int profileId, boolean modemCognitive, int maxConns, in ApnSetting() argument 147 this.profileId = profileId; in ApnSetting() 162 apn.profileId, apn.modemCognitive, apn.maxConns, apn.waitTime, apn.maxConnsTime, in ApnSetting() 225 int profileId = 0; in fromString() local 253 profileId = Integer.parseInt(a[18]); in fromString() 274 bearerBitmask, profileId, modemCognitive, maxConns, waitTime, maxConnsTime, mtu, in fromString() 326 sb.append(", ").append(profileId); in toString() 505 && profileId == other.profileId in equals()
|
D | DcAsyncChannel.java | 373 public void bringUp(ApnContext apnContext, int profileId, int rilRadioTechnology, in bringUp() argument 381 new ConnectionParams(apnContext, profileId, rilRadioTechnology, unmeteredUseOnly, in bringUp()
|
D | DcTracker.java | 2130 int profileId = apnSetting.profileId; in setupData() local 2131 if (profileId == 0) { in setupData() 2132 profileId = getApnProfileID(apnContext.getApnType()); in setupData() 2199 dcac.bringUp(apnContext, profileId, radioTech, unmeteredUseOnly, msg, generation); in setupData() 3524 && first.profileId == second.profileId in apnsSimilar() 3561 roamingProtocol, dest.carrierEnabled, 0, bearerBitmask, dest.profileId, in mergeApns()
|
D | DataConnection.java | 111 ConnectionParams(ApnContext apnContext, int profileId, int rilRadioTechnology, in ConnectionParams() argument 115 mProfileId = profileId; in ConnectionParams()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | BaseLockSettingsServiceTests.java | 123 private UserInfo installChildProfile(int profileId) { in installChildProfile() argument 125 profileId, null, null, UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE); in installChildProfile() 127 when(mUserManager.getUserInfo(eq(profileId))).thenReturn(userInfo); in installChildProfile() 128 when(mUserManager.getProfileParent(eq(profileId))).thenReturn(PRIMARY_USER_INFO); in installChildProfile() 129 when(mUserManager.isUserRunning(eq(profileId))).thenReturn(true); in installChildProfile() 130 when(mUserManager.isUserUnlocked(eq(profileId))).thenReturn(true); in installChildProfile() 134 private UserInfo installAndTurnOffChildProfile(int profileId) { in installAndTurnOffChildProfile() argument 135 final UserInfo userInfo = installChildProfile(profileId); in installAndTurnOffChildProfile() 137 when(mUserManager.isUserRunning(eq(profileId))).thenReturn(false); in installAndTurnOffChildProfile() 138 when(mUserManager.isUserUnlocked(eq(profileId))).thenReturn(false); in installAndTurnOffChildProfile()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 147 for (int profileId : mUserManager.getProfileIdsWithDisabled(mCurrentUserId)) { in getProfileOwnerName() 148 String name = mDevicePolicyManager.getProfileOwnerNameAsUser(profileId); in getProfileOwnerName() 163 final int profileId = getWorkProfileUserId(mCurrentUserId); in getWorkProfileOrganizationName() local 164 if (profileId == UserHandle.USER_NULL) return null; in getWorkProfileOrganizationName() 165 return mDevicePolicyManager.getOrganizationNameForUser(profileId); in getWorkProfileOrganizationName() 194 final int profileId = getWorkProfileUserId(mVpnUserId); in getWorkProfileVpnName() local 195 if (profileId == UserHandle.USER_NULL) return null; in getWorkProfileVpnName() 196 VpnConfig cfg = mCurrentVpns.get(profileId); in getWorkProfileVpnName() 198 return getNameForVpnConfig(cfg, UserHandle.of(profileId)); in getWorkProfileVpnName() 210 for (int profileId : mUserManager.getProfileIdsWithDisabled(mVpnUserId)) { in isVpnEnabled() [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManagerInternal.java | 43 public void onCrossProfileWidgetProvidersChanged(int profileId, List<String> packages); in onCrossProfileWidgetProvidersChanged() argument 57 public abstract List<String> getCrossProfileWidgetProviders(int profileId); in getCrossProfileWidgetProviders() argument
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2SwitchPreviewTest.java | 344 int profileId = camcorderProfileList[0]; in basicRecordingPreviewTestByCamera() local 345 if (!CamcorderProfile.hasProfile(cameraId, profileId) || in basicRecordingPreviewTestByCamera() 346 allowedUnsupported(cameraId, profileId)) { in basicRecordingPreviewTestByCamera() 350 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId); in basicRecordingPreviewTestByCamera() 362 assertTrue("Video size " + videoSz.toString() + " for profile ID " + profileId + in basicRecordingPreviewTestByCamera() 365 assertTrue("Frame rate range " + fpsRange + " (for profile ID " + profileId + in basicRecordingPreviewTestByCamera() 435 private boolean allowedUnsupported(int cameraId, int profileId) { in allowedUnsupported() argument 440 switch(profileId) { in allowedUnsupported() 444 return !CamcorderProfile.hasProfile(cameraId, profileId) || in allowedUnsupported() 445 CamcorderProfile.get(cameraId, profileId).videoFrameWidth >= 1080; in allowedUnsupported()
|
D | Camera2RecordingTest.java | 383 for (int profileId : camcorderProfileList) { in basicRecordingTestByCamera() 384 if (!CamcorderProfile.hasProfile(cameraId, profileId) || in basicRecordingTestByCamera() 385 allowedUnsupported(cameraId, profileId)) { in basicRecordingTestByCamera() 389 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId); in basicRecordingTestByCamera() 401 assertTrue("Video size " + videoSz.toString() + " for profile ID " + profileId + in basicRecordingTestByCamera() 404 assertTrue("Frame rate range " + fpsRange + " (for profile ID " + profileId + in basicRecordingTestByCamera() 507 private boolean allowedUnsupported(int cameraId, int profileId) { in allowedUnsupported() argument 512 switch(profileId) { in allowedUnsupported() 516 return !CamcorderProfile.hasProfile(cameraId, profileId) || in allowedUnsupported() 517 CamcorderProfile.get(cameraId, profileId).videoFrameWidth >= 1080; in allowedUnsupported() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
D | DataProfileTest.java | 86 assertEquals(mApn1.profileId, dp.profileId); in testCreateFromApnSetting()
|
D | DcTrackerTest.java | 360 private void verifyDataProfile(DataProfile dp, String apn, int profileId, in verifyDataProfile() argument 362 assertEquals(profileId, dp.profileId); in verifyDataProfile()
|
D | ApnSettingTest.java | 131 assertEquals(a1.profileId, a2.profileId); in assertApnSettingEqual()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 467 for (int profileId : profileIds) { in reloadWidgetsMaskedStateForGroup() 468 reloadWidgetsMaskedState(profileId); in reloadWidgetsMaskedStateForGroup() 520 int profileId) { in updateWidgetPackageSuspensionMaskedState() argument 530 if (providerUserId != profileId in updateWidgetPackageSuspensionMaskedState() 682 final int profileId = profileIds[i]; in ensureGroupStateLoadedLocked() local 683 if (mLoadedUserIds.indexOfKey(profileId) >= 0) { in ensureGroupStateLoadedLocked() 697 final int profileId = profileIds[i]; in ensureGroupStateLoadedLocked() local 698 if (profileId != LOADED_PROFILE_ID) { in ensureGroupStateLoadedLocked() 699 mLoadedUserIds.put(profileId, profileId); in ensureGroupStateLoadedLocked() 700 newProfileIds[newMemberIndex] = profileId; in ensureGroupStateLoadedLocked() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardViewMediator.java | 907 for (int profileId : um.getEnabledProfileIds(UserHandle.myUserId())) { in doKeyguardLaterForChildProfilesLocked() 908 if (mLockPatternUtils.isSeparateProfileChallengeEnabled(profileId)) { in doKeyguardLaterForChildProfilesLocked() 909 long userTimeout = getLockTimeout(profileId); in doKeyguardLaterForChildProfilesLocked() 916 lockIntent.putExtra(Intent.EXTRA_USER_ID, profileId); in doKeyguardLaterForChildProfilesLocked() 929 for (int profileId : um.getEnabledProfileIds(UserHandle.myUserId())) { in doKeyguardForChildProfilesLocked() 930 if (mLockPatternUtils.isSeparateProfileChallengeEnabled(profileId)) { in doKeyguardForChildProfilesLocked() 931 lockProfile(profileId); in doKeyguardForChildProfilesLocked() 1625 … for (int profileId : um.getProfileIdsWithDisabled(currentUser.getIdentifier())) { in sendUserPresentBroadcast() 1626 mContext.sendBroadcastAsUser(USER_PRESENT_INTENT, UserHandle.of(profileId)); in sendUserPresentBroadcast()
|
/frameworks/base/core/java/com/android/internal/appwidget/ |
D | IAppWidgetService.aidl | 58 ParceledListSlice getInstalledProvidersForProfile(int categoryFilter, int profileId, in getInstalledProvidersForProfile() argument
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetManager.java | 1128 private boolean bindAppWidgetIdIfAllowed(int appWidgetId, int profileId, in bindAppWidgetIdIfAllowed() argument 1135 profileId, provider, options); in bindAppWidgetIdIfAllowed()
|
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
D | FingerprintService.java | 703 for (int profileId : um.getEnabledProfileIds(ActivityManager.getCurrentUser())) { in isCurrentUserOrProfile() 704 if (profileId == userId) { in isCurrentUserOrProfile()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 2789 for (int profileId : mUserManager.getProfileIdsWithDisabled(userId)) { 2791 if (profileId != userId) { 2793 profileId, 0, uri).sendToTarget(); 2794 final int key = makeKey(type, profileId);
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 2417 for (int profileId : profileIds) { in sendAdminCommandToSelfAndProfilesLocked() 2418 sendAdminCommandLocked(action, reqPolicy, profileId, adminExtras); in sendAdminCommandToSelfAndProfilesLocked() 4492 for (int profileId : profileIds) { in updateMaximumTimeToLockLocked() 4493 DevicePolicyData policy = getUserDataUnchecked(profileId); in updateMaximumTimeToLockLocked() 7771 for (int profileId : profileIds) { in getPermittedAccessibilityServicesForUser() 7774 DevicePolicyData policy = getUserDataUnchecked(profileId); in getPermittedAccessibilityServicesForUser() 7951 for (int profileId : profileIds) { in getPermittedInputMethodsForCurrentUser() 7954 DevicePolicyData policy = getUserDataUnchecked(profileId); in getPermittedInputMethodsForCurrentUser() 9185 public List<String> getCrossProfileWidgetProviders(int profileId) { in getCrossProfileWidgetProviders() argument 9190 ComponentName ownerComponent = mOwners.getProfileOwnerComponent(profileId); in getCrossProfileWidgetProviders() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | LockSettingsService.java | 1366 for (int profileId : mUserManager.getProfileIdsWithDisabled(userId)) { in resetKeyStore() 1368 mKeyStore.clearUid(UserHandle.getUid(profileId, uid)); in resetKeyStore()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 1270 dpi.profileId = dp.profileId; in convertToHalDataProfile() 1353 mMetrics.writeRilSetupDataCall(mPhoneId, rr.mSerial, radioTechnology, dpi.profileId, in setupDataCall()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 626 int profileId = profileIds.get(i); in getProfilesLU() local 627 UserInfo userInfo = mUsers.get(profileId).info; in getProfilesLU()
|