Home
last modified time | relevance | path

Searched refs:mProfileId (Results 1 – 4 of 4) 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
113 this.mProfileId = profileId; in DataProfile()
137 mProfileId = source.readInt(); in DataProfile()
159 public int getProfileId() { return mProfileId; } in getProfileId()
262 return "DataProfile=" + mProfileId + "/" + mProtocolType + "/" + mAuthType in toString()
273 dest.writeInt(mProfileId); in writeToParcel()
310 return mProfileId == that.mProfileId in equals()
331 return Objects.hash(mProfileId, mApn, mProtocolType, mAuthType, mUserName, mPassword, mType, in hashCode()
352 private int mProfileId; field in DataProfile.Builder
406 mProfileId = profileId; in setProfileId()
[all …]
DApnSetting.java277 private final int mProfileId; field in ApnSetting
311 return mProfileId; in getProfileId()
661 this.mProfileId = builder.mProfileId; in ApnSetting()
801 apn.mProfileId, apn.mPersistent, apn.mMaxConns, apn.mWaitTime, in makeApnSetting()
1040 sb.append(", ").append(mProfileId); in toString()
1136 && Objects.equals(mProfileId, other.mProfileId) in equals()
1184 && Objects.equals(mProfileId, other.mProfileId) in equals()
1214 && Objects.equals(this.mProfileId, other.mProfileId) in similar()
1569 private int mProfileId; field in ApnSetting.Builder
1613 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()