Home
last modified time | relevance | path

Searched refs:profileId (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataProfile.java29 public final int profileId; field in DataProfile
56 DataProfile(int profileId, String apn, String protocol, int authType, in DataProfile() argument
60 this.profileId = profileId; in DataProfile()
74 this(apn.profileId, apn.apn, isRoaming? apn.roamingProtocol : apn.protocol, in DataProfile()
89 pc.writeInt(dps[i].profileId); in toParcel()
106 return "DataProfile " + profileId + "/" + apn + "/" + protocol + "/" + authType in toString()
DApnSetting.java88 public final int profileId; field in ApnSetting
132 int bearerBitmask, int profileId, boolean modemCognitive, int maxConns, int waitTime, in ApnSetting() argument
155 this.profileId = profileId; in ApnSetting()
170 apn.profileId, apn.modemCognitive, apn.maxConns, apn.waitTime, apn.maxConnsTime, in ApnSetting()
233 int profileId = 0; in fromString() local
261 profileId = Integer.parseInt(a[18]); in fromString()
282 bearerBitmask, profileId, modemCognitive, maxConns, waitTime, maxConnsTime, mtu, in fromString()
334 sb.append(", ").append(profileId); in toString()
516 profileId == other.profileId && in equals()
DDcAsyncChannel.java369 public void bringUp(ApnContext apnContext, int profileId, int rilRadioTechnology, in bringUp() argument
375 new ConnectionParams(apnContext, profileId, rilRadioTechnology, onCompletedMsg, in bringUp()
DDcTracker.java2089 int profileId = apnSetting.profileId; in setupData() local
2090 if (profileId == 0) { in setupData()
2091 profileId = getApnProfileID(apnContext.getApnType()); in setupData()
2158 dcac.bringUp(apnContext, profileId, radioTech, msg, generation); in setupData()
3455 first.profileId == second.profileId && in apnsSimilar()
3492 roamingProtocol, dest.carrierEnabled, 0, bearerBitmask, dest.profileId, in mergeApns()
DDataConnection.java107 ConnectionParams(ApnContext apnContext, int profileId, in ConnectionParams() argument
110 mProfileId = profileId; in ConnectionParams()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java117 for (int profileId : mUserManager.getProfileIdsWithDisabled(mCurrentUserId)) { in getProfileOwnerName()
118 String name = mDevicePolicyManager.getProfileOwnerNameAsUser(profileId); in getProfileOwnerName()
138 for (int profileId : mUserManager.getProfileIdsWithDisabled(mVpnUserId)) { in getProfileVpnName()
139 if (profileId == mVpnUserId) { in getProfileVpnName()
142 VpnConfig cfg = mCurrentVpns.get(profileId); in getProfileVpnName()
144 return getNameForVpnConfig(cfg, UserHandle.of(profileId)); in getProfileVpnName()
152 for (int profileId : mUserManager.getProfileIdsWithDisabled(mVpnUserId)) { in isVpnEnabled()
153 if (mCurrentVpns.get(profileId) != null) { in isVpnEnabled()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2SwitchPreviewTest.java344 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()
DCamera2RecordingTest.java383 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/base/core/java/android/app/admin/
DDevicePolicyManagerInternal.java43 public void onCrossProfileWidgetProvidersChanged(int profileId, List<String> packages); in onCrossProfileWidgetProvidersChanged() argument
57 public abstract List<String> getCrossProfileWidgetProviders(int profileId); in getCrossProfileWidgetProviders() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDataProfileTest.java85 assertEquals(mApn1.profileId, dp.profileId); in testCreateFromApnSetting()
110 assertEquals("i = " + i, mApn1.profileId, p.readInt()); in testParcel()
DApnSettingTest.java113 assertEquals(a1.profileId, a2.profileId); in assertApnSettingEqual()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java453 for (int profileId : profileIds) { in reloadWidgetsMaskedStateForGroup()
454 reloadWidgetsMaskedState(profileId); in reloadWidgetsMaskedStateForGroup()
506 int profileId) { in updateWidgetPackageSuspensionMaskedState() argument
516 if (providerUserId != profileId in updateWidgetPackageSuspensionMaskedState()
668 final int profileId = profileIds[i]; in ensureGroupStateLoadedLocked() local
669 if (mLoadedUserIds.indexOfKey(profileId) >= 0) { in ensureGroupStateLoadedLocked()
683 final int profileId = profileIds[i]; in ensureGroupStateLoadedLocked() local
684 if (profileId != LOADED_PROFILE_ID) { in ensureGroupStateLoadedLocked()
685 mLoadedUserIds.put(profileId, profileId); in ensureGroupStateLoadedLocked()
686 newProfileIds[newMemberIndex] = profileId; in ensureGroupStateLoadedLocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java851 for (int profileId : um.getEnabledProfileIds(UserHandle.myUserId())) { in doKeyguardLaterForChildProfilesLocked()
852 if (mLockPatternUtils.isSeparateProfileChallengeEnabled(profileId)) { in doKeyguardLaterForChildProfilesLocked()
853 long userTimeout = getLockTimeout(profileId); in doKeyguardLaterForChildProfilesLocked()
860 lockIntent.putExtra(Intent.EXTRA_USER_ID, profileId); in doKeyguardLaterForChildProfilesLocked()
873 for (int profileId : um.getEnabledProfileIds(UserHandle.myUserId())) { in doKeyguardForChildProfilesLocked()
874 if (mLockPatternUtils.isSeparateProfileChallengeEnabled(profileId)) { in doKeyguardForChildProfilesLocked()
875 lockProfile(profileId); in doKeyguardForChildProfilesLocked()
1490 for (int profileId : um.getProfileIdsWithDisabled(currentUser.getIdentifier())) { in sendUserPresentBroadcast()
1491 mContext.sendBroadcastAsUser(USER_PRESENT_INTENT, UserHandle.of(profileId)); in sendUserPresentBroadcast()
/frameworks/base/core/java/android/appwidget/
DAppWidgetManager.java1058 private boolean bindAppWidgetIdIfAllowed(int appWidgetId, int profileId, in bindAppWidgetIdIfAllowed() argument
1065 profileId, provider, options); in bindAppWidgetIdIfAllowed()
/frameworks/base/core/java/com/android/internal/appwidget/
DIAppWidgetService.aidl59 int profileId); in getInstalledProvidersForProfile() argument
/frameworks/base/services/core/java/com/android/server/fingerprint/
DFingerprintService.java418 for (int profileId : um.getEnabledProfileIds(userId)) { in isCurrentUserOrProfile()
419 if (profileId == userId) { in isCurrentUserOrProfile()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java1977 for (int profileId : mUserManager.getProfileIdsWithDisabled(userId)) { in maybeNotifyProfiles()
1979 if (profileId != userId) { in maybeNotifyProfiles()
1981 profileId, 0, uri).sendToTarget(); in maybeNotifyProfiles()
1982 final int key = makeKey(type, profileId); in maybeNotifyProfiles()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2073 for (int profileId : profileIds) { in sendAdminCommandToSelfAndProfilesLocked()
2074 sendAdminCommandLocked(action, reqPolicy, profileId); in sendAdminCommandToSelfAndProfilesLocked()
4056 for (int profileId : profileIds) { in updateMaximumTimeToLockLocked()
4057 DevicePolicyData policy = getUserDataUnchecked(profileId); in updateMaximumTimeToLockLocked()
6827 for (int profileId : profileIds) { in getPermittedAccessibilityServicesForUser()
6830 DevicePolicyData policy = getUserDataUnchecked(profileId); in getPermittedAccessibilityServicesForUser()
7006 for (int profileId : profileIds) { in getPermittedInputMethodsForCurrentUser()
7009 DevicePolicyData policy = getUserDataUnchecked(profileId); in getPermittedInputMethodsForCurrentUser()
8083 public List<String> getCrossProfileWidgetProviders(int profileId) { in getCrossProfileWidgetProviders() argument
8088 ComponentName ownerComponent = mOwners.getProfileOwnerComponent(profileId); in getCrossProfileWidgetProviders()
[all …]
/frameworks/base/services/core/java/com/android/server/
DLockSettingsService.java1191 for (int profileId : mUserManager.getProfileIdsWithDisabled(userId)) { in resetKeyStore()
1193 mKeyStore.clearUid(UserHandle.getUid(profileId, uid)); in resetKeyStore()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java585 int profileId = profileIds.get(i); in getProfilesLU() local
586 UserInfo userInfo = mUsers.get(profileId).info; in getProfilesLU()