Searched defs:profileId (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/core/java/android/app/admin/
H A DDevicePolicyManagerInternal.java41 * @param profileId The profile for which the white-listed packages changed.
44 public void onCrossProfileWidgetProvidersChanged(int profileId, List<String> packages); argument
53 * @param profileId The profile id.
58 public abstract List<String> getCrossProfileWidgetProviders(int profileId); argument
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A DBaseLockSettingsServiceTests.java157 private UserInfo installChildProfile(int profileId) { argument
159 profileId, null, null, UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE);
161 when(mUserManager.getUserInfo(eq(profileId))).thenReturn(userInfo);
162 when(mUserManager.getProfileParent(eq(profileId))).thenReturn(PRIMARY_USER_INFO);
163 when(mUserManager.isUserRunning(eq(profileId))).thenReturn(true);
164 when(mUserManager.isUserUnlocked(eq(profileId))).thenReturn(true);
168 private UserInfo installAndTurnOffChildProfile(int profileId) { argument
169 final UserInfo userInfo = installChildProfile(profileId);
171 when(mUserManager.isUserRunning(eq(profileId))).thenReturn(false);
172 when(mUserManager.isUserUnlocked(eq(profileId)))
[all...]
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetManager.java1142 private boolean bindAppWidgetIdIfAllowed(int appWidgetId, int profileId, argument
1149 profileId, provider, options);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2RecordingTest.java383 for (int profileId : camcorderProfileList) {
384 if (!CamcorderProfile.hasProfile(cameraId, profileId) ||
385 allowedUnsupported(cameraId, profileId)) {
389 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId);
401 assertTrue("Video size " + videoSz.toString() + " for profile ID " + profileId +
404 assertTrue("Frame rate range " + fpsRange + " (for profile ID " + profileId +
504 * @param profileId a {@link CamcorderProfile} ID to check.
507 private boolean allowedUnsupported(int cameraId, int profileId) { argument
512 switch(profileId) {
516 return !CamcorderProfile.hasProfile(cameraId, profileId) ||
[all...]
H A DCamera2SwitchPreviewTest.java344 int profileId = camcorderProfileList[0];
345 if (!CamcorderProfile.hasProfile(cameraId, profileId) ||
346 allowedUnsupported(cameraId, profileId)) {
350 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId);
362 assertTrue("Video size " + videoSz.toString() + " for profile ID " + profileId +
365 assertTrue("Frame rate range " + fpsRange + " (for profile ID " + profileId +
432 * @param profileId a {@link CamcorderProfile} ID to check.
435 private boolean allowedUnsupported(int cameraId, int profileId) { argument
440 switch(profileId) {
444 return !CamcorderProfile.hasProfile(cameraId, profileId) ||
[all...]
/frameworks/base/telephony/java/android/telephony/data/
H A DDataProfile.java75 public DataProfile(int profileId, String apn, String protocol, int authType, argument
81 this.mProfileId = profileId;
H A DApnSetting.java573 int networkTypeBitmask, int profileId, boolean modemCognitive, int maxConns,
593 .setProfileId(profileId)
1145 * @param profileId the profile id to set for the APN
1148 public Builder setProfileId(int profileId) { argument
1149 this.mProfileId = profileId;
569 makeApnSetting(int id, String operatorNumeric, String entryName, String apnName, InetAddress proxy, int port, Uri mmsc, InetAddress mmsProxy, int mmsPort, String user, String password, int authType, int mApnTypeBitmask, int protocol, int roamingProtocol, boolean carrierEnabled, int networkTypeBitmask, int profileId, boolean modemCognitive, int maxConns, int waitTime, int maxConnsTime, int mtu, int mvnoType, String mvnoMatchData) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DApnSetting.java110 public final int profileId; field in class:ApnSetting
159 int bearerBitmask, int profileId, boolean modemCognitive, int maxConns,
186 this.profileId = profileId;
205 int networkTypeBitmask, int profileId, boolean modemCognitive, int maxConns,
210 profileId, modemCognitive, maxConns, waitTime, maxConnsTime, mtu, mvnoType,
219 int networkTypeBitmask, int profileId, boolean modemCognitive, int maxConns,
248 this.profileId = profileId;
262 apn.roamingProtocol, apn.carrierEnabled, apn.networkTypeBitmask, apn.profileId,
154 ApnSetting(int id, String numeric, String carrier, String apn, String proxy, String port, String mmsc, String mmsProxy, String mmsPort, String user, String password, int authType, String[] types, String protocol, String roamingProtocol, boolean carrierEnabled, int bearer, int bearerBitmask, int profileId, boolean modemCognitive, int maxConns, int waitTime, int maxConnsTime, int mtu, String mvnoType, String mvnoMatchData) argument
200 ApnSetting(int id, String numeric, String carrier, String apn, String proxy, String port, String mmsc, String mmsProxy, String mmsPort, String user, String password, int authType, String[] types, String protocol, String roamingProtocol, boolean carrierEnabled, int networkTypeBitmask, int profileId, boolean modemCognitive, int maxConns, int waitTime, int maxConnsTime, int mtu, String mvnoType, String mvnoMatchData) argument
214 ApnSetting(int id, String numeric, String carrier, String apn, String proxy, String port, String mmsc, String mmsProxy, String mmsPort, String user, String password, int authType, String[] types, String protocol, String roamingProtocol, boolean carrierEnabled, int networkTypeBitmask, int profileId, boolean modemCognitive, int maxConns, int waitTime, int maxConnsTime, int mtu, String mvnoType, String mvnoMatchData, int apnSetId) argument
[all...]
H A DDcAsyncChannel.java366 * @param profileId for the connection
375 public void bringUp(ApnContext apnContext, int profileId, int rilRadioTechnology, argument
382 mLastConnectionParams = new ConnectionParams(apnContext, profileId, rilRadioTechnology,
H A DDataConnection.java129 ConnectionParams(ApnContext apnContext, int profileId, int rilRadioTechnology, argument
133 mProfileId = profileId;
H A DDcTracker.java1987 int profileId = apnSetting.profileId;
1988 if (profileId == 0) {
1989 profileId = getApnProfileID(apnContext.getApnType());
2059 dcac.bringUp(apnContext, profileId, radioTech, unmeteredUseOnly, msg, generation);
3428 roamingProtocol, dest.carrierEnabled, networkTypeBitmask, dest.profileId,
4876 return createDataProfile(apn, apn.profileId);
4880 public static DataProfile createDataProfile(ApnSetting apn, int profileId) { argument
4895 return new DataProfile(profileId, apn.apn, apn.protocol,
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
H A DDcTrackerTest.java511 private void verifyDataProfile(DataProfile dp, String apn, int profileId, argument
513 assertEquals(profileId, dp.getProfileId());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
H A DTelephonyMetrics.java1068 * @param profileId Data profile id
1072 public void writeSetupDataCall(int phoneId, int radioTechnology, int profileId, String apn, argument
1077 setupDataCall.dataProfile = profileId + 1; // off by 1 between proto and RIL constants.
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
H A DAppWidgetServiceImpl.java488 for (int profileId : profileIds) {
489 reloadWidgetsMaskedState(profileId);
541 int profileId) {
552 if (providerUserId != profileId
714 final int profileId = profileIds[i];
715 if (mLoadedUserIds.indexOfKey(profileId) >= 0) {
729 final int profileId = profileIds[i];
730 if (profileId != LOADED_PROFILE_ID) {
731 mLoadedUserIds.put(profileId, profileId);
540 updateWidgetPackageSuspensionMaskedState(Intent intent, boolean suspended, int profileId) argument
1692 getInstalledProvidersForProfile(int categoryFilter, int profileId, String packageName) argument
3649 isEnabledGroupProfile(int profileId) argument
3782 isParentOrProfile(int parentId, int profileId) argument
3789 isProviderInCallerOrInProfileAndWhitelListed(String packageName, int profileId) argument
3802 isProviderWhiteListed(String packageName, int profileId) argument
3814 getProfileParent(int profileId) argument
3827 getGroupParent(int profileId) argument
3850 isProfileEnabled(int profileId) argument
[all...]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java2763 for (int profileId : profileIds) {
2764 sendAdminCommandLocked(action, reqPolicy, profileId, adminExtras);
8519 for (int profileId : profileIds) {
8522 DevicePolicyData policy = getUserDataUnchecked(profileId);
8700 for (int profileId : profileIds) {
8703 DevicePolicyData policy = getUserDataUnchecked(profileId);
10307 public List<String> getCrossProfileWidgetProviders(int profileId) { argument
10312 ComponentName ownerComponent = mOwners.getProfileOwnerComponent(profileId);
10317 DevicePolicyData policy = getUserDataUnchecked(profileId);

Completed in 1023 milliseconds