Home
last modified time | relevance | path

Searched refs:phoneAccount (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/telecom/
DTelecomLoaderService.java77 PhoneAccountHandle phoneAccount = telecomManager.getSimCallManager(); in onServiceConnected() local
78 if (phoneAccount != null) { in onServiceConnected()
81 phoneAccount.getComponentName().getPackageName(); in onServiceConnected()
223 PhoneAccountHandle phoneAccount = in registerDefaultAppProviders()
225 if (phoneAccount != null) { in registerDefaultAppProviders()
226 packages.add(phoneAccount.getComponentName().getPackageName()); in registerDefaultAppProviders()
263 PhoneAccountHandle phoneAccount = telecomManager.getSimCallManager(userId); in updateSimCallManagerPermissions() local
264 if (phoneAccount != null) { in updateSimCallManagerPermissions()
266 String packageName = phoneAccount.getComponentName().getPackageName(); in updateSimCallManagerPermissions()
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccount.java571 public Builder(PhoneAccount phoneAccount) { in Builder() argument
572 mAccountHandle = phoneAccount.getAccountHandle(); in Builder()
573 mAddress = phoneAccount.getAddress(); in Builder()
574 mSubscriptionAddress = phoneAccount.getSubscriptionAddress(); in Builder()
575 mCapabilities = phoneAccount.getCapabilities(); in Builder()
576 mHighlightColor = phoneAccount.getHighlightColor(); in Builder()
577 mLabel = phoneAccount.getLabel(); in Builder()
578 mShortDescription = phoneAccount.getShortDescription(); in Builder()
579 mSupportedUriSchemes.addAll(phoneAccount.getSupportedUriSchemes()); in Builder()
580 mIcon = phoneAccount.getIcon(); in Builder()
[all …]
DParcelableConnection.java61 PhoneAccountHandle phoneAccount, in ParcelableConnection() argument
83 this(phoneAccount, state, capabilities, properties, supportedAudioRoutes, address, in ParcelableConnection()
94 PhoneAccountHandle phoneAccount, in ParcelableConnection() argument
114 mPhoneAccount = phoneAccount; in ParcelableConnection()
264 …PhoneAccountHandle phoneAccount = source.readParcelable(classLoader, android.telecom.PhoneAccountH…
290 phoneAccount,
DParcelableConference.java57 PhoneAccountHandle phoneAccount, in Builder() argument
59 mPhoneAccount = phoneAccount; in Builder()
160 PhoneAccountHandle phoneAccount, in ParcelableConference() argument
178 mPhoneAccount = phoneAccount; in ParcelableConference()
303 …PhoneAccountHandle phoneAccount = source.readParcelable(classLoader, android.telecom.PhoneAccountH…
324 return new ParcelableConference(phoneAccount, state, capabilities, properties,
DConference.java125 public Conference(PhoneAccountHandle phoneAccount) { in Conference() argument
126 mPhoneAccount = phoneAccount; in Conference()
820 PhoneAccountHandle phoneAccount) { in FailureSignalingConference() argument
821 super(phoneAccount); in FailureSignalingConference()
844 @NonNull DisconnectCause disconnectCause, @NonNull PhoneAccountHandle phoneAccount) { in createFailedConference() argument
845 return new FailureSignalingConference(disconnectCause, phoneAccount); in createFailedConference()
DTelecomManager.java2243 public void addNewIncomingCall(PhoneAccountHandle phoneAccount, Bundle extras) { in addNewIncomingCall() argument
2254 service.addNewIncomingCall(phoneAccount, extras == null ? new Bundle() : extras, in addNewIncomingCall()
2257 Log.e(TAG, "RemoteException adding a new incoming call: " + phoneAccount, e); in addNewIncomingCall()
2291 public void addNewIncomingConference(@NonNull PhoneAccountHandle phoneAccount, in addNewIncomingConference() argument
2297 phoneAccount, extras == null ? new Bundle() : extras, in addNewIncomingConference()
2300 Log.e(TAG, "RemoteException adding a new incoming conference: " + phoneAccount, e); in addNewIncomingConference()
2317 public void addNewUnknownCall(PhoneAccountHandle phoneAccount, Bundle extras) { in addNewUnknownCall() argument
2322 phoneAccount, extras == null ? new Bundle() : extras); in addNewUnknownCall()
2324 Log.e(TAG, "RemoteException adding a new unknown call: " + phoneAccount, e); in addNewUnknownCall()
DVoicemail.java109 public Builder setPhoneAccount(PhoneAccountHandle phoneAccount) { in setPhoneAccount() argument
110 mBuilderPhoneAccount = phoneAccount; in setPhoneAccount()
/frameworks/base/core/java/android/provider/
DVoicemailContract.java460 PhoneAccountHandle phoneAccount = voicemail.getPhoneAccount(); in getContentValues() local
461 if (phoneAccount != null) { in getContentValues()
463 phoneAccount.getComponentName().flattenToString()); in getContentValues()
464 contentValues.put(Voicemails.PHONE_ACCOUNT_ID, phoneAccount.getId()); in getContentValues()
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/datatransfer/contextsync/
DCrossDeviceSyncControllerTest.java166 final PhoneAccount phoneAccount = in createPhoneAccount_sip_success() local
171 assertWithMessage("Could not create phone account").that(phoneAccount).isNotNull(); in createPhoneAccount_sip_success()
173 .that(phoneAccount.supportsUriScheme(PhoneAccount.SCHEME_TEL)).isFalse(); in createPhoneAccount_sip_success()
175 .that(phoneAccount.supportsUriScheme(PhoneAccount.SCHEME_SIP)).isTrue(); in createPhoneAccount_sip_success()
180 final PhoneAccount phoneAccount = in createPhoneAccount_tel_success() local
185 assertWithMessage("Could not create phone account").that(phoneAccount).isNotNull(); in createPhoneAccount_tel_success()
187 .that(phoneAccount.supportsUriScheme(PhoneAccount.SCHEME_TEL)).isTrue(); in createPhoneAccount_tel_success()
189 .that(phoneAccount.supportsUriScheme(PhoneAccount.SCHEME_SIP)).isFalse(); in createPhoneAccount_tel_success()
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/
DCallMetadataSyncConnectionService.java166 final PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle); in onCreateOutgoingConnection() local
173 new CallMetadataSyncData.CallFacilitator(phoneAccount != null in onCreateOutgoingConnection()
174 ? phoneAccount.getLabel().toString() in onCreateOutgoingConnection()
176 phoneAccount != null ? phoneAccount.getExtras().getString( in onCreateOutgoingConnection()
184 final int associationId = phoneAccount.getExtras().getInt( in onCreateOutgoingConnection()
DCrossDeviceSyncController.java881 final PhoneAccount phoneAccount = createPhoneAccount(handle, humanReadableAppName, in registerPhoneAccount() local
884 mTelecomManager.registerPhoneAccount(phoneAccount); in registerPhoneAccount()
/frameworks/base/telecomm/java/com/android/internal/telecom/
DITelecomService.aidl275 void addNewIncomingCall(in PhoneAccountHandle phoneAccount, in Bundle extras, in addNewIncomingCall() argument
281 void addNewIncomingConference(in PhoneAccountHandle phoneAccount, in Bundle extras, in addNewIncomingConference() argument
288 void addNewUnknownCall(in PhoneAccountHandle phoneAccount, in Bundle extras); in addNewUnknownCall() argument
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java12763 public int getSubIdForPhoneAccount(@Nullable PhoneAccount phoneAccount) { in getSubIdForPhoneAccount() argument
12765 if (phoneAccount != null in getSubIdForPhoneAccount()
12766 && phoneAccount.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION)) { in getSubIdForPhoneAccount()
12767 retval = getSubscriptionId(phoneAccount.getAccountHandle()); in getSubIdForPhoneAccount()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java5065 final PhoneAccount phoneAccount = telecomManager.getPhoneAccount(phoneAccountHandle); in subscriptionIdToPhoneAccountHandle() local
5066 if (subId == telephonyManager.getSubIdForPhoneAccount(phoneAccount)) { in subscriptionIdToPhoneAccountHandle()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...