/frameworks/base/telecomm/java/android/telecom/ |
PhoneAccount.aidl | 22 parcelable PhoneAccount;
|
PhoneAccount.java | 45 * {@link TelecomManager} uses registered {@link PhoneAccount}s to present the user with 46 * alternative options when placing a phone call. When building a {@link PhoneAccount}, the app 52 public class PhoneAccount implements Parcelable { 55 * Flag indicating that this {@code PhoneAccount} can act as a connection manager for 56 * other connections. The {@link ConnectionService} associated with this {@code PhoneAccount} 61 * {@link ConnectionService} associated with this {@code PhoneAccount} will be attempted first 69 * Flag indicating that this {@code PhoneAccount} can make phone calls in place of 82 * Flag indicating that this {@code PhoneAccount} represents a built-in PSTN SIM 85 * Only the Android framework can register a {@code PhoneAccount} having this capability. 92 * Flag indicating that this {@code PhoneAccount} is capable of placing video calls [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
TelephonyUtil.java | 22 import android.telecom.PhoneAccount; 45 * @return fallback {@link PhoneAccount} to be used by Telecom for emergency calls in the 50 static PhoneAccount getDefaultEmergencyPhoneAccount() { 51 return PhoneAccount.builder(DEFAULT_EMERGENCY_PHONE_ACCOUNT_HANDLE, "E") 52 .setCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION | 53 PhoneAccount.CAPABILITY_CALL_PROVIDER | 54 PhoneAccount.CAPABILITY_PLACE_EMERGENCY_CALLS).build();
|
CallActivity.java | 28 import android.telecom.PhoneAccount; 108 if (!PhoneAccount.SCHEME_VOICEMAIL.equals(scheme)) { 110 PhoneAccount.SCHEME_SIP : PhoneAccount.SCHEME_TEL, uriString, null);
|
PhoneAccountRegistrar.java | 35 import android.telecom.PhoneAccount; 138 PhoneAccount account = getPhoneAccountInternal(accountHandle); 140 || !account.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION) 162 // If there is a default PhoneAccount, ensure it supports calls to handles with the 164 final PhoneAccount userSelectedAccount = getPhoneAccountInternal(userSelected); 190 * @return The user-selected outgoing {@link PhoneAccount}, or null if it hasn't been set (or 215 for (PhoneAccount m : mState.accounts) { 229 PhoneAccount.CAPABILITY_CALL_PROVIDER)) { 236 PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION)) { 257 PhoneAccount callManagerAccount = getPhoneAccountInternal(callManager) [all...] |
CreateConnectionProcessor.java | 24 import android.telecom.PhoneAccount; 51 // The PhoneAccount describing the target connection service which we will 54 // The PhoneAccount which we will tell the target connection service to use 180 // If the target PhoneAccount differs from the ConnectionManager phone acount, ensure it 185 "Target PhoneAccount does not have BIND_CONNECTION_SERVICE for attempt: %s", 194 PhoneAccountHandle phoneAccount = attempt.connectionManagerPhoneAccount; 197 phoneAccount.getComponentName(), 198 phoneAccount.getUserHandle()); 268 PhoneAccount targetPhoneAccount = mPhoneAccountRegistrar.getPhoneAccount( 271 PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION) != 0 [all...] |
CallReceiver.java | 10 import android.telecom.PhoneAccount; 60 if (!PhoneAccount.SCHEME_VOICEMAIL.equals(scheme)) { 62 PhoneAccount.SCHEME_SIP : PhoneAccount.SCHEME_TEL, uriString, null);
|
TelecomService.java | 39 import android.telecom.PhoneAccount; 277 public PhoneAccount getPhoneAccount(PhoneAccountHandle accountHandle) { 302 public List<PhoneAccount> getAllPhoneAccounts() { 304 List<PhoneAccount> allPhoneAccounts = mPhoneAccountRegistrar.getAllPhoneAccounts(); 305 List<PhoneAccount> profilePhoneAccounts = new ArrayList<>(allPhoneAccounts.size()); 306 for (PhoneAccount phoneAccount : profilePhoneAccounts) { 307 if (isVisibleToCaller(phoneAccount)) { 308 profilePhoneAccounts.add(phoneAccount); 372 public void registerPhoneAccount(PhoneAccount account) [all...] |
NewOutgoingCallIntentBroadcaster.java | 28 import android.telecom.PhoneAccount; 126 PhoneAccount.SCHEME_SIP : PhoneAccount.SCHEME_TEL, resultNumber, null); 174 boolean isVoicemailNumber = PhoneAccount.SCHEME_VOICEMAIL.equals(handle.getScheme()); 241 String scheme = isUriNumber ? PhoneAccount.SCHEME_SIP : PhoneAccount.SCHEME_TEL;
|
BluetoothPhoneService.java | 36 import android.telecom.PhoneAccount; 262 PhoneAccount account = getBestPhoneAccount(); 282 PhoneAccount account = getBestPhoneAccount(); [all...] |
MissedCallNotifier.java | 38 import android.telecom.PhoneAccount; 306 PhoneAccount.SCHEME_SIP : PhoneAccount.SCHEME_TEL,
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/unit/ |
PhoneAccountRegistrarTest.java | 34 import android.telecom.PhoneAccount; 77 PhoneAccount input = makeQuickAccountBuilder("id0", 0) 78 .addSupportedUriScheme(PhoneAccount.SCHEME_TEL) 79 .addSupportedUriScheme(PhoneAccount.SCHEME_VOICEMAIL) 81 PhoneAccount result = roundTripXml(this, input, PhoneAccountRegistrar.sPhoneAccountXml, 97 .setCapabilities(PhoneAccount.CAPABILITY_CONNECTION_MANAGER 98 | PhoneAccount.CAPABILITY_CALL_PROVIDER) 101 .setCapabilities(PhoneAccount.CAPABILITY_CONNECTION_MANAGER 102 | PhoneAccount.CAPABILITY_CALL_PROVIDER) 105 .setCapabilities(PhoneAccount.CAPABILITY_CONNECTION_MANAGE [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
PhoneAccountUtils.java | 21 import android.telecom.PhoneAccount; 30 * Methods to help extract {@code PhoneAccount} information from database and Telecomm sources 43 PhoneAccount account = telecomManager.getPhoneAccount(accountHandle); 44 if (account.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION)) { 52 * Compose PhoneAccount object from component name and account id. 63 * Extract account label from PhoneAccount object. 66 PhoneAccount account = getAccountOrNull(context, accountHandle); 74 * Extract account color from PhoneAccount object. 79 final PhoneAccount account = telecomManager.getPhoneAccount(accountHandle); 81 // For single-sim devices the PhoneAccount will be NO_HIGHLIGHT_COLOR by default, so it i [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
TelecomAccountRegistry.java | 24 import android.telecom.PhoneAccount; 58 private final PhoneAccount mAccount; 64 Log.d(this, "Registered phoneAccount: %s with handle: %s", 76 private PhoneAccount registerPstnPhoneAccount(boolean isEmergency, boolean isDummyAccount) { 86 int color = PhoneAccount.NO_HIGHLIGHT_COLOR; 144 int capabilities = PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION | 145 PhoneAccount.CAPABILITY_CALL_PROVIDER | 146 PhoneAccount.CAPABILITY_PLACE_EMERGENCY_CALLS | 147 PhoneAccount.CAPABILITY_MULTI_USER; 155 PhoneAccount account = PhoneAccount.builder(phoneAccountHandle, label [all...] |
PstnIncomingCallNotifier.java | 28 import android.telecom.PhoneAccount; 220 Uri uri = Uri.fromParts(PhoneAccount.SCHEME_TEL, connection.getAddress(), null); 238 Uri uri = Uri.fromParts(PhoneAccount.SCHEME_TEL, connection.getAddress(), null);
|
/frameworks/base/telecomm/java/com/android/internal/telecom/ |
ITelecomService.aidl | 23 import android.telecom.PhoneAccount; 71 PhoneAccount getPhoneAccount(in PhoneAccountHandle account); 81 List<PhoneAccount> getAllPhoneAccounts(); 106 void registerPhoneAccount(in PhoneAccount metadata); 205 void addNewIncomingCall(in PhoneAccountHandle phoneAccount, in Bundle extras); 210 void addNewUnknownCall(in PhoneAccountHandle phoneAccount, in Bundle extras);
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
SipUtil.java | 30 import android.telecom.PhoneAccount; 101 * Creates a PhoneAccount for a SipProfile. 105 * @return The PhoneAccount. 107 static PhoneAccount createPhoneAccount(Context context, SipProfile profile) { 113 supportedUriSchemes.add(PhoneAccount.SCHEME_SIP); 115 supportedUriSchemes.add(PhoneAccount.SCHEME_TEL); 118 PhoneAccount.Builder builder = PhoneAccount.builder(accountHandle, profile.getDisplayName()) 119 .setCapabilities(PhoneAccount.CAPABILITY_CALL_PROVIDER 120 | PhoneAccount.CAPABILITY_MULTI_USER [all...] |
SipAccountRegistry.java | 23 import android.telecom.PhoneAccount; 34 * Manages the {@link PhoneAccount} entries for SIP calling. 121 * {@link PhoneAccount}. 146 * Stops a SIP profile and un-registers its associated {@link android.telecom.PhoneAccount}. 163 // Un-register its PhoneAccount. 182 * specified SIP profile and registering its {@link android.telecom.PhoneAccount}. 216 // Register a PhoneAccount for the profile and optionally enable the primary 219 PhoneAccount phoneAccount = SipUtil.createPhoneAccount(context, profile); 220 telecomManager.registerPhoneAccount(phoneAccount); [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
CallUtil.java | 22 import android.telecom.PhoneAccount; 122 return getCallIntent(Uri.fromParts(PhoneAccount.SCHEME_VOICEMAIL, "", null)); 150 return Uri.fromParts(PhoneAccount.SCHEME_SIP, number, null); 152 return Uri.fromParts(PhoneAccount.SCHEME_TEL, number, null);
|
/packages/apps/InCallUI/src/com/android/incallui/ |
InCallUIMaterialColorMapUtils.java | 5 import android.telecom.PhoneAccount; 31 if (color == PhoneAccount.NO_HIGHLIGHT_COLOR) {
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/testapps/ |
CallServiceNotifier.java | 31 import android.telecom.PhoneAccount; 105 telecomManager.registerPhoneAccount(PhoneAccount.builder( 112 .setCapabilities(PhoneAccount.CAPABILITY_CALL_PROVIDER) 119 telecomManager.registerPhoneAccount(PhoneAccount.builder( 126 .setCapabilities(PhoneAccount.CAPABILITY_CALL_PROVIDER | 127 PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION) 133 telecomManager.registerPhoneAccount(PhoneAccount.builder( 140 .setCapabilities(PhoneAccount.CAPABILITY_CONNECTION_MANAGER)
|
/packages/services/Telephony/tests/src/com/android/phone/tests/ |
CallDialTest.java | 26 import android.telecom.PhoneAccount; 128 uri = Uri.fromParts(PhoneAccount.SCHEME_SIP, number, null); 130 uri = Uri.fromParts(PhoneAccount.SCHEME_TEL, number, null);
|
/packages/apps/Contacts/src/com/android/contacts/ |
NonPhoneActivity.java | 30 import android.telecom.PhoneAccount; 62 if (!PhoneAccount.SCHEME_TEL.equals(scheme)) return null;
|
/packages/services/Telephony/src/com/android/phone/ |
CallGatewayManager.java | 21 import android.telecom.PhoneAccount; 188 if (PhoneAccount.SCHEME_TEL.equals(uri.getScheme())) {
|
/packages/apps/Settings/src/com/android/settings/sim/ |
SimDialogActivity.java | 27 import android.telecom.PhoneAccount; 134 private void setUserSelectedOutgoingPhoneAccount(PhoneAccountHandle phoneAccount) { 136 telecomManager.setUserSelectedOutgoingPhoneAccount(phoneAccount); 146 final PhoneAccount phoneAccount = telecomManager.getPhoneAccount(phoneAccountHandle); 149 if (phoneAccount.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION) 219 final PhoneAccount phoneAccount = 221 list.add((String)phoneAccount.getLabel()) [all...] |