OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mTelecomManager
(Results
1 - 19
of
19
) sorted by null
/cts/tests/tests/telecom2/src/android/telecom/cts/
TelecomManagerNoPermissionsTest.java
30
private TelecomManager
mTelecomManager
;
39
mTelecomManager
= (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
52
mTelecomManager
.endCall();
DefaultDialerOperationsNoPermissionsTest.java
29
private TelecomManager
mTelecomManager
;
48
mTelecomManager
= (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
68
mTelecomManager
.showInCallScreen(false);
80
mTelecomManager
.getCallCapablePhoneAccounts();
92
mTelecomManager
.getDefaultOutgoingPhoneAccount("tel");
104
mTelecomManager
.getLine1Number(null);
116
mTelecomManager
.getVoiceMailNumber(null);
128
mTelecomManager
.isVoiceMailNumber(null, null);
140
mTelecomManager
.isInCall();
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/
BaseNumberBlockingClientTest.java
30
protected TelecomManager
mTelecomManager
;
39
mTelecomManager
= (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
CallBlockingTest.java
61
mTelecomManager
.registerPhoneAccount(phoneAccount);
67
mTelecomManager
.unregisterPhoneAccount(handle);
77
PhoneAccount phoneAccount =
mTelecomManager
.getPhoneAccount(getPhoneAccountHandle());
84
mTelecomManager
.addNewIncomingCall(phoneAccount.getAccountHandle(), bundle);
106
mTelecomManager
.unregisterPhoneAccount(getPhoneAccountHandle());
107
assertNull(
mTelecomManager
.getPhoneAccount(getPhoneAccountHandle()));
153
PhoneAccount phoneAccount =
mTelecomManager
.getPhoneAccount(handle);
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
TelecomManagerFacade.java
56
private final TelecomManager
mTelecomManager
;
64
mTelecomManager
= new TelecomManager(mService);
83
mTelecomManager
.acceptRingingCall();
93
mTelecomManager
.acceptRingingCall(state);
99
mTelecomManager
.cancelMissedCallsNotification();
104
mTelecomManager
.clearAccounts();
109
return
mTelecomManager
.endCall();
114
return
mTelecomManager
.getAllPhoneAccounts();
119
int state =
mTelecomManager
.getCallState();
125
int mode =
mTelecomManager
.getCurrentTtyMode()
[
all
...]
/cts/tests/tests/telecom/src/android/telecom/cts/
CallScreeningServiceTest.java
57
private TelecomManager
mTelecomManager
;
66
mTelecomManager
= (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
79
mTelecomManager
.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE);
115
mTelecomManager
.addNewIncomingCall(TEST_PHONE_ACCOUNT_HANDLE, extras);
141
mTelecomManager
.registerPhoneAccount(TEST_PHONE_ACCOUNT);
157
PhoneAccount phoneAccount =
mTelecomManager
.getPhoneAccount(handle);
DefaultDialerOperationsTest.java
37
private TelecomManager
mTelecomManager
;
57
mTelecomManager
= (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
58
final List<PhoneAccountHandle> accounts =
mTelecomManager
.getCallCapablePhoneAccounts();
78
assertEquals(mSystemDialer,
mTelecomManager
.getDefaultDialerPackage());
80
assertEquals(TestUtils.PACKAGE,
mTelecomManager
.getDefaultDialerPackage());
122
mTelecomManager
.silenceRinger();
130
mTelecomManager
.silenceRinger();
139
mTelecomManager
.cancelMissedCallsNotification();
147
mTelecomManager
.cancelMissedCallsNotification();
156
mTelecomManager
.handleMmi("0")
[
all
...]
SimCallManagerTest.java
56
private TelecomManager
mTelecomManager
;
75
mTelecomManager
= (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
95
assertEquals(mSystemDialer,
mTelecomManager
.getDefaultDialerPackage());
96
assertNotSame(TEST_PHONE_ACCOUNT_HANDLE,
mTelecomManager
.getSimCallManager());
112
PhoneAccountHandle simCallManager =
mTelecomManager
.getSimCallManager();
114
assertEquals(TestUtils.PACKAGE,
mTelecomManager
.getDefaultDialerPackage());
115
assertNotSame(TEST_PHONE_ACCOUNT_HANDLE,
mTelecomManager
.getSimCallManager());
123
mTelecomManager
.registerPhoneAccount(TEST_SIM_CALL_MANAGER_ACCOUNT);
127
mTelecomManager
.getSimCallManager());
131
assertNotSame(TEST_PHONE_ACCOUNT_HANDLE,
mTelecomManager
.getSimCallManager())
[
all
...]
ThirdPartyInCallServiceTest.java
53
private TelecomManager
mTelecomManager
;
65
mTelecomManager
= (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
152
mTelecomManager
.addNewIncomingCall(TEST_PHONE_ACCOUNT_HANDLE, extras);
SelfManagedConnectionServiceTest.java
67
mTelecomManager
.registerPhoneAccount(TestUtils.TEST_SELF_MANAGED_PHONE_ACCOUNT_1);
68
mTelecomManager
.registerPhoneAccount(TestUtils.TEST_SELF_MANAGED_PHONE_ACCOUNT_2);
69
mTelecomManager
.registerPhoneAccount(TestUtils.TEST_SELF_MANAGED_PHONE_ACCOUNT_3);
81
mTelecomManager
.unregisterPhoneAccount(TestUtils.TEST_SELF_MANAGED_HANDLE_1);
82
mTelecomManager
.unregisterPhoneAccount(TestUtils.TEST_SELF_MANAGED_HANDLE_2);
83
mTelecomManager
.unregisterPhoneAccount(TestUtils.TEST_SELF_MANAGED_HANDLE_3);
97
mTelecomManager
.getSelfManagedPhoneAccounts();
128
PhoneAccount registeredAccount =
mTelecomManager
.getPhoneAccount(handle);
211
mTelecomManager
.registerPhoneAccount(toRegister);
235
TestUtils.addIncomingCall(getInstrumentation(),
mTelecomManager
, handle, address)
[
all
...]
ExtendedInCallServiceTest.java
248
mTelecomManager
.acceptRingingCall();
270
mTelecomManager
.endCall();
292
mTelecomManager
.acceptRingingCall();
297
mTelecomManager
.endCall();
329
mTelecomManager
.acceptRingingCall();
365
mTelecomManager
.acceptRingingCall();
390
mTelecomManager
.addNewIncomingCall(TEST_PHONE_ACCOUNT_HANDLE, extras);
IncomingCallTest.java
82
mTelecomManager
.addNewIncomingCall(TEST_INVALID_HANDLE, extras);
103
assertFalse(
mTelecomManager
.getPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDLE)
ConnectionServiceTest.java
47
mTelecomManager
.registerPhoneAccount(TestUtils.TEST_SELF_MANAGED_PHONE_ACCOUNT_1);
226
TestUtils.addIncomingCall(getInstrumentation(),
mTelecomManager
, pah, address);
PhoneAccountOperationsTest.java
105
private TelecomManager
mTelecomManager
;
114
mTelecomManager
= (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
124
mTelecomManager
.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE);
125
PhoneAccount retrievedPhoneAccount =
mTelecomManager
.getPhoneAccount(
136
mTelecomManager
.registerPhoneAccount(TEST_SIM_PHONE_ACCOUNT);
149
mTelecomManager
.registerPhoneAccount(TEST_NO_SIM_PHONE_ACCOUNT);
150
PhoneAccount retrievedPhoneAccount =
mTelecomManager
.getPhoneAccount(
181
mTelecomManager
.registerPhoneAccount(phoneAccount);
182
PhoneAccount retrievedPhoneAccount =
mTelecomManager
.getPhoneAccount(
193
mTelecomManager
.registerPhoneAccount(TEST_NO_SIM_PHONE_ACCOUNT)
[
all
...]
PhoneAccountSuggestionServiceTest.java
47
mTelecomManager
.registerPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT);
48
mTelecomManager
.registerPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_2);
49
mCachedDefaultHandle =
mTelecomManager
.getUserSelectedOutgoingPhoneAccount();
51
() ->
mTelecomManager
.setUserSelectedOutgoingPhoneAccount(null));
66
mTelecomManager
.unregisterPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDLE);
67
mTelecomManager
.unregisterPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDLE_2);
69
mTelecomManager
.setUserSelectedOutgoingPhoneAccount(mCachedDefaultHandle));
92
mTelecomManager
.placeCall(number, new Bundle());
136
mTelecomManager
.placeCall(number, new Bundle());
171
mTelecomManager
.placeCall(number, new Bundle())
[
all
...]
ThirdPartyCallScreeningServiceTest.java
200
mTelecomManager
.addNewIncomingCall(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extras);
BaseTelecomTestWithMockServices.java
77
TelecomManager
mTelecomManager
;
134
mTelecomManager
= (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
198
mTelecomManager
.registerPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT);
207
mPreviousDefaultOutgoingAccount =
mTelecomManager
.getUserSelectedOutgoingPhoneAccount();
222
mTelecomManager
.unregisterPhoneAccount(accountHandle);
394
mTelecomManager
.addNewIncomingCall(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extras);
716
mTelecomManager
.placeCall(number, extras);
745
PhoneAccount phoneAccount =
mTelecomManager
.getPhoneAccount(handle);
[
all
...]
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
PhoneAccountTest.java
63
private TelecomManager
mTelecomManager
;
81
mTelecomManager
= (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE);
142
mTelecomManager
.placeCall(phoneUri, extras);
205
mTelecomManager
.addNewIncomingCall(phoneAccountHandle, bundle);
241
assertNull(
mTelecomManager
.getPhoneAccount(PHONE_ACCOUNT_HANDLE));
287
mTelecomManager
.registerPhoneAccount(phoneAccount);
290
assertNotNull(
mTelecomManager
.getPhoneAccount(PHONE_ACCOUNT_HANDLE));
295
mTelecomManager
.unregisterPhoneAccount(PHONE_ACCOUNT_HANDLE);
296
assertNull(
mTelecomManager
.getPhoneAccount(PHONE_ACCOUNT_HANDLE));
/cts/tests/tests/telecom3/src/android/telecom/cts/
SelfManagedAwareInCallServiceTest.java
43
private TelecomManager
mTelecomManager
;
69
mTelecomManager
= (TelecomManager) context.getSystemService(Context.TELECOM_SERVICE);
76
mTelecomManager
.registerPhoneAccount(TEST_SELF_MANAGED_PHONE_ACCOUNT);
92
mTelecomManager
.unregisterPhoneAccount(TEST_SELF_MANAGED_HANDLE);
119
TestUtils.placeOutgoingCall(getInstrumentation(),
mTelecomManager
, TEST_SELF_MANAGED_HANDLE,
143
TestUtils.addIncomingCall(getInstrumentation(),
mTelecomManager
, TEST_SELF_MANAGED_HANDLE,
166
TestUtils.placeOutgoingCall(getInstrumentation(),
mTelecomManager
, TEST_SELF_MANAGED_HANDLE,
Completed in 219 milliseconds