Home
last modified time | relevance | path

Searched refs:mProfileId (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java68 private final int mProfileId = 160; field in RestrictedLockUtilsTest
196 UserInfo profileInfo = setUpManagedProfile(mProfileId, new ComponentName[] {mAdmin2}); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile()
201 when(mDevicePolicyManager.getKeyguardDisabledFeatures(mAdmin2, mProfileId)) in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile()
207 assertThat(parent).isEqualTo(new EnforcedAdmin(mAdmin2, UserHandle.of(mProfileId))); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile()
211 mContext, KEYGUARD_DISABLE_FINGERPRINT, mProfileId); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile()
212 assertThat(profile).isEqualTo(new EnforcedAdmin(mAdmin2, UserHandle.of(mProfileId))); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile()
218 mContext, KEYGUARD_DISABLE_REMOTE_INPUT, mProfileId)).isNull(); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile()
224 UserInfo profileInfo = setUpManagedProfile(mProfileId, new ComponentName[] {mAdmin2}); in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile()
229 when(mDevicePolicyManager.getKeyguardDisabledFeatures(mAdmin2, mProfileId)) in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile()
240 mContext, KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS, mProfileId); in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryManagerTest.java62 int mProfileId = 11; field in NotificationHistoryManagerTest
104 userProfile.id = mProfileId; in setUp()
163 mHistoryManager.onUserUnlocked(mProfileId); in testOnUserUnlocked_historyDisabled_withProfile()
164 assertThat(mHistoryManager.doesHistoryExistForUser(mProfileId)).isTrue(); in testOnUserUnlocked_historyDisabled_withProfile()
167 mHistoryManager.onUserStopped(mProfileId); in testOnUserUnlocked_historyDisabled_withProfile()
175 Settings.Secure.NOTIFICATION_HISTORY_ENABLED, 0, mProfileId); in testOnUserUnlocked_historyDisabled_withProfile() local
176 mHistoryManager.mSettingsObserver.update(null, mProfileId); in testOnUserUnlocked_historyDisabled_withProfile()
180 mHistoryManager.onUserUnlocked(mProfileId); in testOnUserUnlocked_historyDisabled_withProfile()
183 assertThat(mHistoryManager.doesHistoryExistForUser(mProfileId)).isFalse(); in testOnUserUnlocked_historyDisabled_withProfile()
248 mHistoryManager.onUserUnlocked(mProfileId); in testOnUserUnlocked_historyDisabledThenEnabled_multiProfile()
[all …]
/frameworks/base/telephony/java/android/telephony/data/
DApnSetting.java560 private final int mProfileId; field in ApnSetting
610 return mProfileId; in getProfileId()
1045 this.mProfileId = builder.mProfileId; in ApnSetting()
1170 .setProfileId(apn.mProfileId) in makeApnSetting()
1213 sb.append(", ").append(mProfileId); in toString()
1296 mLingeringNetworkTypeBitmask, mProfileId, mPersistent, mMaxConns, mWaitTime, in hashCode()
1325 && mProfileId == other.mProfileId in equals()
1379 && Objects.equals(mProfileId, other.mProfileId) in equals()
1425 && Objects.equals(this.mProfileId, other.mProfileId) in similar()
1766 dest.writeInt(mProfileId); in writeToParcel()
[all …]
DDataProfile.java523 private int mProfileId; field in DataProfile.Builder
580 mProfileId = profileId; in setProfileId()
837 .setProfileId(mProfileId) in build()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt52569 Landroid/telephony/data/ApnSetting$Builder;->mProfileId:I
52624 Landroid/telephony/data/ApnSetting;->mProfileId:I
52711 Landroid/telephony/data/DataProfile;->mProfileId:I