/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | EmergencyButtonController.java | 62 private final TelecomManager mTelecomManager; field in EmergencyButtonController 109 mTelecomManager = telecomManager; in EmergencyButtonController() 146 boolean isInCall = mTelecomManager != null && mTelecomManager.isInCall(); in updateEmergencyCallButton() 175 boolean isInCall = mTelecomManager != null && mTelecomManager.isInCall(); in takeEmergencyCallAction() 178 mTelecomManager.showInCallScreen(false); in takeEmergencyCallAction() 184 if (mTelecomManager == null) { in takeEmergencyCallAction() 189 mTelecomManager.createLaunchEmergencyDialerIntent(null /* number*/) in takeEmergencyCallAction() 218 private final TelecomManager mTelecomManager; field in EmergencyButtonController.Factory 243 mTelecomManager = telecomManager; in Factory() 255 mTelecomManager, mMetricsLogger, mLockPatternUtils, mMainExecutor, in create()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | SystemActionsTest.java | 73 private TelecomManager mTelecomManager; field in SystemActionsTest 83 mContext.addMockSystemService(TelecomManager.class, mTelecomManager); in setUp() 98 when(mTelecomManager.getCallState()).thenReturn(TelephonyManager.CALL_STATE_IDLE); in handleHeadsetHook_callStateIdle_injectsKeyEvents() 119 when(mTelecomManager.getCallState()).thenReturn(TelephonyManager.CALL_STATE_RINGING); in handleHeadsetHook_callStateRinging_answersCall() 123 verify(mTelecomManager).acceptRingingCall(); in handleHeadsetHook_callStateRinging_answersCall() 128 when(mTelecomManager.getCallState()).thenReturn(TelephonyManager.CALL_STATE_OFFHOOK); in handleHeadsetHook_callStateOffhook_endsCall() 132 verify(mTelecomManager).endCall(); in handleHeadsetHook_callStateOffhook_endsCall()
|
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/ |
D | CallMetadataSyncConnectionService.java | 49 TelecomManager mTelecomManager; field in CallMetadataSyncConnectionService 119 mTelecomManager = getSystemService(TelecomManager.class); in onCreate() 137 mTelecomManager, in onCreateIncomingConnection() 166 final PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle); in onCreateOutgoingConnection() 192 mTelecomManager, in onCreateOutgoingConnection() 280 private final TelecomManager mTelecomManager; field in CallMetadataSyncConnectionService.CallMetadataSyncConnection 290 mTelecomManager = telecomManager; in CallMetadataSyncConnection() 312 mTelecomManager.silenceRinger(); in initialize() 366 mTelecomManager.silenceRinger(); in update()
|
D | CrossDeviceSyncController.java | 732 private final TelecomManager mTelecomManager; field in CrossDeviceSyncController.CallManager 736 mTelecomManager = context.getSystemService(TelecomManager.class); in CallManager() 765 mTelecomManager.addNewIncomingCall(handle, extras); in updateCalls() 775 mTelecomManager.placeCall(Uri.fromParts(PhoneAccount.SCHEME_SIP, in updateCalls() 813 private final TelecomManager mTelecomManager; field in CrossDeviceSyncController.PhoneAccountManager 817 mTelecomManager = context.getSystemService(TelecomManager.class); in PhoneAccountManager() 823 mTelecomManager.clearPhoneAccounts(); in onBootCompleted() 884 mTelecomManager.registerPhoneAccount(phoneAccount); in registerPhoneAccount() 885 mTelecomManager.enablePhoneAccount(mPhoneAccountHandles.get(handleIdentifier), true); in registerPhoneAccount() 893 mTelecomManager.unregisterPhoneAccount(phoneAccountHandle); in unregisterPhoneAccount()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | UnlaunchableAppActivity.java | 56 private TelecomManager mTelecomManager; field in UnlaunchableAppActivity 65 mTelecomManager = getSystemService(TelecomManager.class); in onCreate() 97 mTelecomManager.getDefaultDialerPackage(UserHandle.of(mUserId)))); in onCreate() 150 startActivity(mTelecomManager.createLaunchEmergencyDialerIntent( in launchEmergencyDialer()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
D | TestPhoneWindowManager.java | 148 @Mock private TelecomManager mTelecomManager; field in TestPhoneWindowManager 321 doReturn(false).when(mTelecomManager).isInCall(); in setUp() 322 doReturn(false).when(mTelecomManager).isRinging(); in setUp() 323 doReturn(mTelecomManager).when(mPhoneWindowManager).getTelecommService(); in setUp() 538 doReturn(false).when(mTelecomManager).isRinging(); in setPhoneCallIsInProgress() 539 doReturn(true).when(mTelecomManager).isInCall(); in setPhoneCallIsInProgress() 540 doReturn(true).when(mTelecomManager).endCall(); in setPhoneCallIsInProgress()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/datatransfer/contextsync/ |
D | CallMetadataSyncConnectionServiceTest.java | 58 mSyncConnectionService.mTelecomManager = mMockTelecomManager; in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/ |
D | NavigationBarTest.java | 204 private TelecomManager mTelecomManager; field in NavigationBarTest 376 when(mTelecomManager.isRinging()).thenReturn(true); in onHomeTouch_isRinging_keyguardShowing_touchBlocked() 402 when(mTelecomManager.isRinging()).thenReturn(true); in onHomeTouch_isRinging_keyguardNotShowing_touchNotBlocked() 597 Optional.of(mTelecomManager), in createNavBar()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LockTaskControllerTest.java | 124 @Mock private TelecomManager mTelecomManager; field in LockTaskControllerTest 154 mLockTaskController.mTelecomManager = mTelecomManager; in setUp() 280 when(mTelecomManager.getSystemDialerPackage()) in testLockTaskViolation_emergencyCall()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 134 private final TelecomManager mTelecomManager; field in PhoneStatusBarPolicy 222 mTelecomManager = telecomManager; in PhoneStatusBarPolicy() 496 if (mTelecomManager == null) { in updateTTY() 499 updateTTY(mTelecomManager.getCurrentTtyMode()); in updateTTY()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | LockTaskController.java | 159 TelecomManager mTelecomManager; field in LockTaskController 1072 if (mTelecomManager == null) { in getTelecomManager() 1076 return mTelecomManager; in getTelecomManager()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ContextFixture.java | 288 return mTelecomManager; in getSystemService() 735 private final TelecomManager mTelecomManager = mock(TelecomManager.class); field in ContextFixture
|
D | TelephonyTest.java | 299 protected TelecomManager mTelecomManager; field in TelephonyTest 621 mTelecomManager = mContext.getSystemService(TelecomManager.class); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialogLite.java | 215 private final TelecomManager mTelecomManager; field in GlobalActionsDialogLite 400 mTelecomManager = telecomManager; in GlobalActionsDialogLite() 943 if (mTelecomManager != null) { in onPress() 946 Intent intent = mTelecomManager.createLaunchEmergencyDialerIntent( in onPress()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | GestureLauncherServiceTest.java | 90 private @Mock TelecomManager mTelecomManager; field in GestureLauncherServiceTest 116 when(mContext.getSystemService(Context.TELECOM_SERVICE)).thenReturn(mTelecomManager); in setup() 117 when(mTelecomManager.createLaunchEmergencyDialerIntent(null)).thenReturn(new Intent()); in setup()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationInfoTest.java | 120 private TelecomManager mTelecomManager; field in NotificationInfoTest 126 mContext.addMockSystemService(TelecomManager.class, mTelecomManager); in setUp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | DataNetworkController.java | 285 private final TelecomManager mTelecomManager; field in DataNetworkController 1016 mTelecomManager = mPhone.getContext().getSystemService(TelecomManager.class); in DataNetworkController() 1735 if ((mTelecomManager.isInEmergencyCall() || mPhone.isInEcm()) in evaluateNetworkRequest() 2106 if ((mTelecomManager.isInEmergencyCall() || mPhone.isInEcm()) in evaluateDataNetwork()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | DataManagerTest.java | 157 private TelecomManager mTelecomManager; field in DataManagerTest 231 when(mContext.getSystemService(Context.TELECOM_SERVICE)).thenReturn(mTelecomManager); in setUp() 234 when(mTelecomManager.getDefaultDialerPackage(any(UserHandle.class))) in setUp()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 427 TelecomManager mTelecomManager; field in NotificationManagerServiceTest 754 mTelecomManager, mLogger, mTestFlagResolver, mPermissionManager, in initNMS() 12421 when(mTelecomManager.isInManagedCall()).thenReturn(true); 12426 when(mTelecomManager.isInSelfManagedCall( 12444 mService.setTelecomManager(mTelecomManager); 12445 when(mTelecomManager.isInCall()).thenThrow(new IllegalStateException("not ready")); 12497 when(mTelecomManager.isInManagedCall()).thenReturn(true); 12510 when(mTelecomManager.isInSelfManagedCall(r.getSbn().getPackageName(), UserHandle.ALL)) 12537 mService.setTelecomManager(mTelecomManager); 12551 mService.setTelecomManager(mTelecomManager); [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 629 private TelecomManager mTelecomManager; field in NotificationManagerService 2380 mTelecomManager = tm; in setTelecomManager() 2432 mTelecomManager = telecomManager; in init() 8131 && mTelecomManager != null) { 8133 return mTelecomManager.isInManagedCall() 8134 || mTelecomManager.isInSelfManagedCall(pkg,
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | DataNetworkControllerTest.java | 4329 doReturn(true).when(mTelecomManager).isInEmergencyCall(); in testEmergencySuplDataDisabled() 4343 doReturn(true).when(mTelecomManager).isInEmergencyCall(); in testEmergencyCallDataDisabled()
|