Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java71 private final int mProfileId = 160; field in RestrictedLockUtilsTest
185 UserInfo profileInfo = setUpManagedProfile(mProfileId, new ComponentName[] {mAdmin2}); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile()
190 when(mDevicePolicyManager.getKeyguardDisabledFeatures(mAdmin2, mProfileId)) in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile()
196 assertThat(parent).isEqualTo(new EnforcedAdmin(mAdmin2, UserHandle.of(mProfileId))); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile()
200 mContext, KEYGUARD_DISABLE_FINGERPRINT, mProfileId); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile()
201 assertThat(profile).isEqualTo(new EnforcedAdmin(mAdmin2, UserHandle.of(mProfileId))); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile()
207 mContext, KEYGUARD_DISABLE_REMOTE_INPUT, mProfileId)).isNull(); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile()
213 UserInfo profileInfo = setUpManagedProfile(mProfileId, new ComponentName[] {mAdmin2}); in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile()
218 when(mDevicePolicyManager.getKeyguardDisabledFeatures(mAdmin2, mProfileId)) in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile()
229 mContext, KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS, mProfileId); in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile()
[all …]
/frameworks/base/telephony/java/android/telephony/data/
DDataProfile.java65 private final int mProfileId; field in DataProfile
114 this.mProfileId = profileId; in DataProfile()
139 mProfileId = source.readInt(); in DataProfile()
162 public int getProfileId() { return mProfileId; } in getProfileId()
279 return "DataProfile=" + mProfileId + "/" + mProtocolType + "/" + mAuthType in toString()
290 dest.writeInt(mProfileId); in writeToParcel()
328 return mProfileId == that.mProfileId in equals()
350 return Objects.hash(mProfileId, mApn, mProtocolType, mAuthType, mUserName, mPassword, mType, in hashCode()
371 private int mProfileId; field in DataProfile.Builder
427 mProfileId = profileId; in setProfileId()
[all …]
DApnSetting.java382 private final int mProfileId; field in ApnSetting
416 return mProfileId; in getProfileId()
766 this.mProfileId = builder.mProfileId; in ApnSetting()
906 apn.mProfileId, apn.mPersistent, apn.mMaxConns, apn.mWaitTime, in makeApnSetting()
1145 sb.append(", ").append(mProfileId); in toString()
1246 && Objects.equals(mProfileId, other.mProfileId) in equals()
1294 && Objects.equals(mProfileId, other.mProfileId) in equals()
1324 && Objects.equals(this.mProfileId, other.mProfileId) in similar()
1686 private int mProfileId; field in ApnSetting.Builder
1730 this.mProfileId = profileId; in setProfileId()
/frameworks/base/core/java/android/bluetooth/
DBluetoothProfileConnector.java35 private final int mProfileId; field in BluetoothProfileConnector
60 mServiceListener.onServiceConnected(mProfileId, mProfileProxy);
68 mServiceListener.onServiceDisconnected(mProfileId);
75 mProfileId = profileId; in BluetoothProfileConnector()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryManagerTest.java61 int mProfileId = 11; field in NotificationHistoryManagerTest
103 userProfile.id = mProfileId; in setUp()
162 mHistoryManager.onUserUnlocked(mProfileId); in testOnUserUnlocked_historyDisabled_withProfile()
163 assertThat(mHistoryManager.doesHistoryExistForUser(mProfileId)).isTrue(); in testOnUserUnlocked_historyDisabled_withProfile()
166 mHistoryManager.onUserStopped(mProfileId); in testOnUserUnlocked_historyDisabled_withProfile()
175 mHistoryManager.onUserUnlocked(mProfileId); in testOnUserUnlocked_historyDisabled_withProfile()
178 assertThat(mHistoryManager.doesHistoryExistForUser(mProfileId)).isFalse(); in testOnUserUnlocked_historyDisabled_withProfile()
213 mHistoryManager.onUserUnlocked(mProfileId); in testOnUserUnlocked_historyDisabledThenEnabled_multiProfile()
214 assertThat(mHistoryManager.doesHistoryExistForUser(mProfileId)).isTrue(); in testOnUserUnlocked_historyDisabledThenEnabled_multiProfile()
218 mHistoryManager.onUserStopped(mProfileId); in testOnUserUnlocked_historyDisabledThenEnabled_multiProfile()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java195 int mProfileId; field in DataConnection.ConnectionParams
209 mProfileId = profileId; in ConnectionParams()
221 + " mProfileId=" + mProfileId in toString()
689 DataProfile dp = DcTracker.createDataProfile(mApnSetting, cp.mProfileId, in connect()