/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
H A D | RestrictedLockUtilsTest.java | 71 private final int mProfileId = 160; field in RestrictedLockUtilsTest 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() 207 mContext, KEYGUARD_DISABLE_REMOTE_INPUT, mProfileId)).isNull(); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile() 218 when(mDevicePolicyManager.getKeyguardDisabledFeatures(mAdmin2, mProfileId)) in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile() 229 mContext, KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS, mProfileId); in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile() 241 when(mDevicePolicyManager.getKeyguardDisabledFeatures(mAdmin2, mProfileId)) in checkIfKeyguardFeaturesAreDisabled_onlyMatchesProfile_separateManagedProfile() 255 mContext, KEYGUARD_DISABLE_FINGERPRINT, mProfileId); in checkIfKeyguardFeaturesAreDisabled_onlyMatchesProfile_separateManagedProfile() 276 .getKeyguardDisabledFeatures(mAdmin2, mProfileId)) in checkIfKeyguardFeaturesAreDisabled_onlyMatchesParent_profileParentPolicy() [all …]
|
/aosp12/frameworks/base/telephony/java/android/telephony/data/ |
H A D | DataProfile.java | 65 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 …]
|
H A D | ApnSetting.java | 507 private final int mProfileId; field in ApnSetting 541 return mProfileId; in getProfileId() 891 this.mProfileId = builder.mProfileId; in ApnSetting() 1031 apn.mProfileId, apn.mPersistent, apn.mMaxConns, apn.mWaitTime, in makeApnSetting() 1270 sb.append(", ").append(mProfileId); in toString() 1346 mProtocol, mRoamingProtocol, mMtu, mCarrierEnabled, mNetworkTypeBitmask, mProfileId, in hashCode() 1375 && Objects.equals(mProfileId, other.mProfileId) in equals() 1423 && Objects.equals(mProfileId, other.mProfileId) in equals() 1453 && Objects.equals(this.mProfileId, other.mProfileId) in similar() 1846 private int mProfileId; field in ApnSetting.Builder [all …]
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationHistoryManagerTest.java | 62 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() 176 mHistoryManager.onUserUnlocked(mProfileId); in testOnUserUnlocked_historyDisabled_withProfile() 214 mHistoryManager.onUserUnlocked(mProfileId); in testOnUserUnlocked_historyDisabledThenEnabled_multiProfile() 215 assertThat(mHistoryManager.doesHistoryExistForUser(mProfileId)).isTrue(); in testOnUserUnlocked_historyDisabledThenEnabled_multiProfile() 219 mHistoryManager.onUserStopped(mProfileId); in testOnUserUnlocked_historyDisabledThenEnabled_multiProfile() 233 mHistoryManager.onUserUnlocked(mProfileId); in testOnUserUnlocked_historyDisabledThenEnabled_multiProfile() [all …]
|
/aosp12/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothProfileConnector.java | 41 private final int mProfileId; field in BluetoothProfileConnector 66 mServiceListener.onServiceConnected(mProfileId, mProfileProxy); 74 mServiceListener.onServiceDisconnected(mProfileId); 81 mProfileId = profileId; in BluetoothProfileConnector()
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
H A D | BluetoothProfileDeviceManagerTest.java | 105 private final int mProfileId = BluetoothProfile.HEADSET_CLIENT; field in BluetoothProfileDeviceManagerTest 175 mMockProxies, mProfileId); in setUp() 275 }).when(mMockProxies).bluetoothConnectToProfile(mProfileId, device); in mockDeviceAvailability() 290 }).when(mMockProxies).setProfilePriority(mProfileId, device, anyInt()); in captureDevicePriority() 862 .bluetoothConnectToProfile(mProfileId, device); in testAutoConnectSeveralDevices_attemptsToConnectEachDevice() 1128 verify(mMockProxies, times(0)).setProfilePriority(eq(mProfileId), in testReceiveUuidDevicePriorityAutoConnect_doNothing() 1149 verify(mMockProxies, times(0)).setProfilePriority(eq(mProfileId), in testReceiveUuidDevicePriorityOn_doNothing() 1170 verify(mMockProxies, times(0)).setProfilePriority(eq(mProfileId), in testReceiveUuidDevicePriorityOff_doNothing() 1193 verify(mMockProxies, times(1)).setProfilePriority(mProfileId, device, in testReceiveUuidDevicePriorityUndefinedBonding_setPriorityOn() 1215 verify(mMockProxies, times(0)).setProfilePriority(mProfileId, device, in testReceiveUuidDevicePriorityUndefined_setPriorityOn() [all …]
|
/aosp12/packages/services/Car/service/src/com/android/car/ |
H A D | BluetoothProfileDeviceManager.java | 122 private final int mProfileId; field in BluetoothProfileDeviceManager 326 mProfileId = profileId; in BluetoothProfileDeviceManager() 553 return mBluetoothUserProxies.bluetoothConnectToProfile(mProfileId, device); in connect() 569 return mBluetoothUserProxies.bluetoothDisconnectFromProfile(mProfileId, device); in disconnect() 584 return mBluetoothUserProxies.getProfilePriority(mProfileId, device); in getProfilePriority() 600 mBluetoothUserProxies.setProfilePriority(mProfileId, device, priority); in setProfilePriority() 801 writer.println(indent + "BluetoothProfileDeviceManager [" + Utils.getProfileName(mProfileId) in dump() 820 Slog.d(TAG, "[" + Utils.getProfileName(mProfileId) + " - User: " + mUserId + "] " in logd() 829 Slog.w(TAG, "[" + Utils.getProfileName(mProfileId) + " - User: " + mUserId + "] " + msg); in logw()
|
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/provider/ |
H A D | RestoreDbTaskTest.java | 149 private final long mProfileId; field in RestoreDbTaskTest.MyDatabaseHelper 153 mProfileId = profileId; in MyDatabaseHelper() 158 return mProfileId; in getDefaultUserSerial()
|
/aosp12/packages/apps/Settings/src/com/android/settings/ |
H A D | TrustedCredentialsSettings.java | 501 new UserHandle(certHolder.mProfileId))); in getViewForCertificate() 817 final List<CertHolder> certs = mCertHoldersByUserId.get(certHolder.mProfileId); in remove() 826 public int mProfileId; field in TrustedCredentialsSettings.CertHolder 844 mProfileId = profileId; in CertHolder() 903 return mProfileId; in getUserId() 952 certHolder.mProfileId); in getX509CertsFromCertHolder() 1003 mCertHolder.mProfileId); in doInBackground()
|
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/ |
H A D | BluetoothBondedDevicesPreferenceControllerTest.java | 324 private int mProfileId; field in BluetoothBondedDevicesPreferenceControllerTest.TestLocalBluetoothProfile 328 mProfileId = profileId; in TestLocalBluetoothProfile() 368 return mProfileId; in getProfileId()
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DataConnection.java | 228 int mProfileId; field in DataConnection.ConnectionParams 242 mProfileId = profileId; in ConnectionParams() 254 + " mProfileId=" + mProfileId in toString() 883 DataProfile dp = DcTracker.createDataProfile(mApnSetting, cp.mProfileId, in connect()
|
/aosp12/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 56535 Landroid/telephony/data/ApnSetting$Builder;->mProfileId:I 56590 Landroid/telephony/data/ApnSetting;->mProfileId:I 56677 Landroid/telephony/data/DataProfile;->mProfileId:I
|