/packages/apps/Dialer/java/com/android/incallui/ |
D | InCallServiceImpl.java | 54 AudioModeProvider.getInstance().onAudioStateChanged(audioState); in onCallAudioStateChanged() 61 InCallPresenter.getInstance().onBringToForeground(showDialpad); in onBringToForeground() 68 InCallPresenter.getInstance().onCallAdded(call); in onCallAdded() 75 speakEasyCallManager.onCallRemoved(CallList.getInstance().getDialerCallFromTelecomCall(call)); in onCallRemoved() 77 InCallPresenter.getInstance().onCallRemoved(call); in onCallRemoved() 84 InCallPresenter.getInstance().onCanAddCallChanged(canAddCall); in onCanAddCallChanged() 98 final ContactInfoCache contactInfoCache = ContactInfoCache.getInstance(context); in onBind() 99 AudioModeProvider.getInstance().initializeAudioState(this); in onBind() 100 InCallPresenter.getInstance() in onBind() 103 CallList.getInstance(), in onBind() [all …]
|
D | VideoCallPresenter.java | 135 && !InCallPresenter.getInstance().isDialpadVisible() 139 InCallPresenter.getInstance().setFullScreen(true); 201 final DialerCall activeCall = CallList.getInstance().getActiveCall(); in updateCameraSelection() 263 InCallPresenter.getInstance().getInCallCameraManager(); in updateCameraSelection() 307 InCallPresenter.getInstance().addListener(this); in onVideoCallScreenUiReady() 308 InCallPresenter.getInstance().addDetailsListener(this); in onVideoCallScreenUiReady() 309 InCallPresenter.getInstance().addIncomingCallListener(this); in onVideoCallScreenUiReady() 310 InCallPresenter.getInstance().addOrientationListener(this); in onVideoCallScreenUiReady() 312 InCallPresenter.getInstance().addInCallEventListener(this); in onVideoCallScreenUiReady() 313 InCallPresenter.getInstance().getLocalVideoSurfaceTexture().setDelegate(new LocalDelegate()); in onVideoCallScreenUiReady() [all …]
|
D | InCallActivity.java | 280 || CallList.getInstance().getIncomingCall() != null) { in setWindowFlags() 292 return AudioModeProvider.getInstance().getAudioState().getRoute(); in getAudioRoute() 312 DialerCall outgoingCall = CallList.getInstance().getOutgoingCall(); in internalResolveIntent() 314 outgoingCall = CallList.getInstance().getPendingOutgoingCall(); in internalResolveIntent() 349 DialerCall call = CallList.getInstance().getActiveOrBackgroundCall(); in relaunchedFromDialer() 362 DialerCall waitingForAccountCall = CallList.getInstance().getWaitingForAccountCall(); in showPhoneAccountSelectionDialog() 444 InCallPresenter.getInstance().setActivity(this); in onStart() 448 InCallPresenter.getInstance().onActivityStarted(); in onStart() 451 InCallPresenter.getInstance().onUiShowing(true); in onStart() 467 if (!InCallPresenter.getInstance().isReadyForTearDown()) { in onResume() [all …]
|
D | CallButtonPresenter.java | 79 AudioModeProvider.getInstance().addListener(this); in onInCallButtonUiReady() 82 final InCallPresenter inCallPresenter = InCallPresenter.getInstance(); in onInCallButtonUiReady() 90 onStateChange(InCallState.NO_CALLS, inCallPresenter.getInCallState(), CallList.getInstance()); in onInCallButtonUiReady() 98 InCallPresenter.getInstance().removeListener(this); in onInCallButtonUiUnready() 99 AudioModeProvider.getInstance().removeListener(this); in onInCallButtonUiUnready() 100 InCallPresenter.getInstance().removeIncomingCallListener(this); in onInCallButtonUiUnready() 101 InCallPresenter.getInstance().removeDetailsListener(this); in onInCallButtonUiUnready() 102 InCallPresenter.getInstance().getInCallCameraManager().removeCameraSelectionListener(this); in onInCallButtonUiUnready() 103 InCallPresenter.getInstance().removeCanAddCallListener(this); in onInCallButtonUiUnready() 165 onStateChange(oldState, newState, CallList.getInstance()); in onIncomingCall() [all …]
|
D | ReturnToCallController.java | 101 AudioModeProvider.getInstance().addListener(this); in ReturnToCallController() 102 audioState = AudioModeProvider.getInstance().getAudioState(); in ReturnToCallController() 103 InCallPresenter.getInstance().addInCallUiListener(this); in ReturnToCallController() 104 CallList.getInstance().addListener(this); in ReturnToCallController() 109 InCallPresenter.getInstance().removeInCallUiListener(this); in tearDown() 110 CallList.getInstance().removeListener(this); in tearDown() 111 AudioModeProvider.getInstance().removeListener(this); in tearDown() 195 boolean shouldStartInBubbleMode = InCallPresenter.getInstance().shouldStartInBubbleMode(); in onCallListChange() 197 InCallPresenter.getInstance().getPotentialStateFromCallList(callList); in onCallListChange() 210 && !InCallPresenter.getInstance().isShowingInCallUi()) { in onCallListChange() [all …]
|
D | NotificationBroadcastReceiver.java | 102 InCallPresenter.getInstance().getExternalCallNotifier().pullExternalCall(notificationId); in onReceive() 104 TelecomAdapter.getInstance().setAudioRoute(CallAudioState.ROUTE_SPEAKER); in onReceive() 106 TelecomAdapter.getInstance().setAudioRoute(CallAudioState.ROUTE_WIRED_OR_EARPIECE); in onReceive() 111 CallList callList = InCallPresenter.getInstance().getCallList(); in acceptUpgradeRequest() 124 CallList callList = InCallPresenter.getInstance().getCallList(); in declineUpgradeRequest() 137 CallList callList = InCallPresenter.getInstance().getCallList(); in hangUpOngoingCall() 155 CallList callList = InCallPresenter.getInstance().getCallList(); in markIncomingCallAsSpeakeasyCall() 168 CallList callList = InCallPresenter.getInstance().getCallList(); in answerIncomingCall() 177 InCallPresenter.getInstance().getSpeakEasyCallManager(); in answerIncomingCall() 208 InCallPresenter.getInstance().showInCall(false /* showDialpad */, false /* newOutgoingCall */); in answerIncomingCallCallback() [all …]
|
D | ConferenceManagerPresenter.java | 40 InCallPresenter.getInstance().addListener(this); in onUiReady() 41 InCallPresenter.getInstance().addIncomingCallListener(this); in onUiReady() 48 InCallPresenter.getInstance().removeListener(this); in onUiUnready() 49 InCallPresenter.getInstance().removeIncomingCallListener(this); in onUiUnready() 63 InCallPresenter.getInstance().showConferenceCallManager(false); in onStateChange() 66 InCallPresenter.getInstance().showConferenceCallManager(false); in onStateChange() 86 InCallPresenter.getInstance().showConferenceCallManager(false); in onDetailsChanged() 95 InCallPresenter.getInstance().showConferenceCallManager(false); in onIncomingCall()
|
D | CallCardPresenter.java | 162 DialerCall call = CallList.getInstance().getFirstCall(); in onInCallScreenDelegateInit() 177 onStateChange(null, InCallPresenter.getInstance().getInCallState(), CallList.getInstance()); in onInCallScreenDelegateInit() 191 InCallPresenter.getInstance().addListener(this); in onInCallScreenReady() 192 InCallPresenter.getInstance().addIncomingCallListener(this); in onInCallScreenReady() 193 InCallPresenter.getInstance().addDetailsListener(this); in onInCallScreenReady() 194 InCallPresenter.getInstance().addInCallEventListener(this); in onInCallScreenReady() 226 InCallPresenter.getInstance().removeListener(this); in onInCallScreenUnready() 227 InCallPresenter.getInstance().removeIncomingCallListener(this); in onInCallScreenUnready() 228 InCallPresenter.getInstance().removeDetailsListener(this); in onInCallScreenUnready() 229 InCallPresenter.getInstance().removeInCallEventListener(this); in onInCallScreenUnready() [all …]
|
D | AnswerScreenPresenter.java | 64 PseudoScreenState pseudoScreenState = InCallPresenter.getInstance().getPseudoScreenState(); in AnswerScreenPresenter() 81 return InCallPresenter.getInstance().acquireInCallUiLock(tag); in acquireInCallUiLock() 98 DialerCall incomingCall = CallList.getInstance().getIncomingCall(); in onAnswer() 173 DialerCall incomingCall = CallList.getInstance().getIncomingCall(); in onSpeakEasyCall() 184 DialerCall activeCall = CallList.getInstance().getActiveCall(); in onAnswerAndReleaseCall() 198 DialerCall activeCall = CallList.getInstance().getActiveCall(); in onAnswerAndReleaseButtonDisabled() 206 DialerCall activeCall = CallList.getInstance().getActiveCall(); in onAnswerAndReleaseButtonEnabled() 289 InCallPresenter.getInstance().refreshUi(); in addTimeoutCheck()
|
D | AudioRouteSelectorActivity.java | 41 AudioRouteSelectorDialogFragment.newInstance(AudioModeProvider.getInstance().getAudioState()) in onCreate() 44 CallList.getInstance().addListener(this); in onCreate() 49 TelecomAdapter.getInstance().setAudioRoute(audioRoute); in onAudioRouteSelected() 99 CallList.getInstance().removeListener(this); in onDestroy() 104 DialerCall dialerCall = CallList.getInstance().getOutgoingCall(); in getCall() 106 dialerCall = CallList.getInstance().getActiveOrBackgroundCall(); in getCall()
|
D | DialpadPresenter.java | 36 InCallPresenter.getInstance().addListener(this); in onUiReady() 37 call = CallList.getInstance().getOutgoingOrActive(); in onUiReady() 43 InCallPresenter.getInstance().removeListener(this); in onUiUnready() 71 TelecomAdapter.getInstance().playDtmfTone(call.getId(), c); in processDtmf() 81 TelecomAdapter.getInstance().stopDtmfTone(call.getId()); in stopDtmf()
|
/packages/apps/Nfc/nci/jni/ |
D | NativeNfcManager.cpp | 231 NfcTag& natTag = NfcTag::getInstance(); in handleRfDiscoveryEvent() 323 NfcTag::getInstance().setNumDiscNtf(0); in nfaConnectionCallback() 327 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback() 367 NfcTag::getInstance().getNumDiscNtf()) { in nfaConnectionCallback() 369 NfcTag::getInstance().setNumDiscNtf(0); in nfaConnectionCallback() 379 NfcTag::getInstance().setActivationState(); in nfaConnectionCallback() 383 NfcTag::getInstance().setActive(true); in nfaConnectionCallback() 387 NfcTag::getInstance().setActivationState(); in nfaConnectionCallback() 426 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback() 427 if (NfcTag::getInstance().getNumDiscNtf()) { in nfaConnectionCallback() [all …]
|
D | NativeNfcTag.cpp | 554 NfcTag& natTag = NfcTag::getInstance(); in nativeNfcTag_doConnect() 627 NfcTag& natTag = NfcTag::getInstance(); in reSelect() 634 if (NfcTag::getInstance().isNdefDetectionTimedOut()) { in reSelect() 684 if (NfcTag::getInstance().getActivationState() != NfcTag::Sleep) { in reSelect() 735 if (NfcTag::getInstance().getActivationState() != NfcTag::Active) { in reSelect() 769 NfcTag& natTag = NfcTag::getInstance(); in switchRfInterface() 800 NfcTag& natTag = NfcTag::getInstance(); in nativeNfcTag_doReconnect() 863 NfcTag::getInstance().resetAllTransceiveTimeouts(); in nativeNfcTag_doDisconnect() 865 if (NfcTag::getInstance().getActivationState() != NfcTag::Active) { in nativeNfcTag_doDisconnect() 944 NfcTag::getInstance().getTransceiveTimeout(sCurrentConnectedTargetType); in nativeNfcTag_doTransceive() [all …]
|
D | NativeLlcpSocket.cpp | 48 bool stat = PeerToPeer::getInstance().connectConnOriented(jniHandle, nSap); in nativeLlcpSocket_doConnect() 76 bool stat = PeerToPeer::getInstance().connectConnOriented( in nativeLlcpSocket_doConnectBy() 99 bool stat = PeerToPeer::getInstance().disconnectConnOriented(jniHandle); in nativeLlcpSocket_doClose() 126 bool stat = PeerToPeer::getInstance().send(jniHandle, raw_ptr, bytes.size()); in nativeLlcpSocket_doSend() 153 bool stat = PeerToPeer::getInstance().receive( in nativeLlcpSocket_doReceive() 184 jint miu = PeerToPeer::getInstance().getRemoteMaxInfoUnit(jniHandle); in nativeLlcpSocket_doGetRemoteSocketMIU() 206 jint rw = PeerToPeer::getInstance().getRemoteRecvWindow(jniHandle); in nativeLlcpSocket_doGetRemoteSocketRW()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/debug/ |
D | TunerDebug.java | 52 public static TunerDebug getInstance() { in getInstance() method in TunerDebug 58 TunerDebug sTunerDebug = getInstance(); in notifyVideoFrameDrop() 63 TunerDebug sTunerDebug = getInstance(); in getVideoFrameDrop() 73 TunerDebug sTunerDebug = getInstance(); in setBytesInQueue() 78 TunerDebug sTunerDebug = getInstance(); in getBytesInQueue() 83 TunerDebug sTunerDebug = getInstance(); in setAudioPositionUs() 88 TunerDebug sTunerDebug = getInstance(); in getAudioPositionUs() 93 TunerDebug sTunerDebug = getInstance(); in setAudioPtsUs() 98 TunerDebug sTunerDebug = getInstance(); in getAudioPtsUs() 103 TunerDebug sTunerDebug = getInstance(); in setVideoPtsUs() [all …]
|
/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/dicnode/ |
D | dic_node_pool_test.cpp | 29 EXPECT_NE(nullptr, dicNodePool.getInstance()); in TEST() 31 EXPECT_EQ(nullptr, dicNodePool.getInstance()); in TEST() 38 DicNode *const dicNode = dicNodePool.getInstance(); in TEST() 40 EXPECT_EQ(nullptr, dicNodePool.getInstance()); in TEST() 42 EXPECT_EQ(dicNode, dicNodePool.getInstance()); in TEST() 51 EXPECT_NE(nullptr, dicNodePool.getInstance()); in TEST() 53 EXPECT_EQ(nullptr, dicNodePool.getInstance()); in TEST() 57 EXPECT_NE(nullptr, dicNodePool.getInstance()); in TEST() 59 EXPECT_EQ(nullptr, dicNodePool.getInstance()); in TEST() 63 EXPECT_NE(nullptr, dicNodePool.getInstance()); in TEST() [all …]
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | GestureBot.java | 59 int toolType = Configurator.getInstance().getToolType(); in gestureSelectFiles() 60 Configurator.getInstance().setToolType(MotionEvent.TOOL_TYPE_FINGER); in gestureSelectFiles() 79 Configurator.getInstance().setToolType(toolType); in gestureSelectFiles() 91 int toolType = Configurator.getInstance().getToolType(); in bandSelection() 92 Configurator.getInstance().setToolType(MotionEvent.TOOL_TYPE_MOUSE); in bandSelection() 94 Configurator.getInstance().setToolType(toolType); in bandSelection() 98 int toolType = Configurator.getInstance().getToolType(); in fingerSelection() 99 Configurator.getInstance().setToolType(MotionEvent.TOOL_TYPE_FINGER); in fingerSelection() 101 Configurator.getInstance().setToolType(toolType); in fingerSelection() 172 properties.toolType = Configurator.getInstance().getToolType(); in getMotionEvent()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/ |
D | MasterClearConfirmFragmentTest.java | 70 ShadowApplication.getInstance().setSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE, in setUp() 72 ShadowApplication.getInstance().setSystemService(Context.OEM_LOCK_SERVICE, mOemLockManager); in setUp() 91 Intent resetIntent = ShadowApplication.getInstance().getBroadcastIntents().get(0); in confirmClicked_sendsResetIntent() 107 Intent resetIntent = ShadowApplication.getInstance().getBroadcastIntents().get(0); in confirmClicked_resetEsimFalse_resetIntentReflectsChoice() 113 ShadowApplication.getInstance().removeSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE); in confirmClicked_pdbManagerNull_sendsResetIntent() 117 Intent resetIntent = ShadowApplication.getInstance().getBroadcastIntents().get(0); in confirmClicked_pdbManagerNull_sendsResetIntent() 136 Intent resetIntent = ShadowApplication.getInstance().getBroadcastIntents().get(0); in confirmClicked_oemUnlockAllowed_sendsResetIntent() 155 Intent resetIntent = ShadowApplication.getInstance().getBroadcastIntents().get(0); in confirmClicked_noOemUnlockAllowed_notProvisioned_sendsResetIntent() 178 Intent resetIntent = ShadowApplication.getInstance().getBroadcastIntents().get(0); in confirmClicked_noOemUnlockAllowed_provisioned_sendsResetIntent()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | HanziToPinyinTest.java | 38 return HanziToPinyin.getInstance().hasChineseTransliterator(); in hasChineseTransliterator() 43 ArrayList<Token> tokens = HanziToPinyin.getInstance().getTokens(hanziString); in test() 68 ArrayList<Token> tokens = HanziToPinyin.getInstance().getTokens(ONE_HANZI); in testGetToken() 73 tokens = HanziToPinyin.getInstance().getTokens(TWO_HANZI); in testGetToken() 80 tokens = HanziToPinyin.getInstance().getTokens(ASSIC); in testGetToken() 84 tokens = HanziToPinyin.getInstance().getTokens(ONE_UNKNOWN); in testGetToken() 88 tokens = HanziToPinyin.getInstance().getTokens(MISC); in testGetToken()
|
/packages/apps/Contacts/src/com/android/contacts/logging/ |
D | Logger.java | 29 private static Logger getInstance() { in getInstance() method in Logger 47 final Logger logger = getInstance(); in logScreenView() 57 final Logger logger = getInstance(); in logSearchEvent() 76 final Logger logger = getInstance(); in logListEvent() 87 final Logger logger = getInstance(); in logQuickContactEvent() 100 final Logger logger = getInstance(); in logEditorEvent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/ |
D | AppFilterItemTest.java | 39 final AppFilterItem item = AppFilterRegistry.getInstance().get(FILTER_APPS_USAGE_ACCESS); in equals_sameContent_true() 55 final AppFilterItem item = AppFilterRegistry.getInstance().get(FILTER_APPS_USAGE_ACCESS); in compare_sameContent_return0() 68 final AppFilterItem item = AppFilterRegistry.getInstance().get(FILTER_APPS_USAGE_ACCESS); in compare_toNull_return1() 74 final AppFilterItem item = AppFilterRegistry.getInstance().get(FILTER_APPS_USAGE_ACCESS); in compare_differentFilter_returnFilterDiff() 84 final AppFilterItem item = AppFilterRegistry.getInstance().get(FILTER_APPS_USAGE_ACCESS); in hash_differentItem_differentHash() 85 final AppFilterItem item2 = AppFilterRegistry.getInstance().get(FILTER_APPS_ENABLED); in hash_differentItem_differentHash()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelecomAccountRegistry.java | 364 boolean isVideoEnabledByPlatform = ImsManager.getInstance(mPhone.getContext(), in buildPstnPhoneAccount() 522 SubscriptionController controller = SubscriptionController.getInstance(); in isEmergencyPreferredAccount() 562 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isCarrierVideoPauseSupported() 575 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isCarrierVideoPresenceSupported() 602 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isCarrierInstantLetteringSupported() 614 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isCarrierAdhocConferenceCallSupported() 627 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isCarrierMergeCallSupported() 639 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isCarrierMergeImsCallSupported() 650 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isCarrierEmergencyVideoCallsAllowed() 662 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isCarrierVideoConferencingSupported() [all …]
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | AccessibilitySettingsFragment.java | 104 if (PhoneGlobals.getInstance().phoneMgr.isTtyModeSupported() && isTtySupportedByCarrier()) { in onCreate() 111 if (PhoneGlobals.getInstance().phoneMgr.isHearingAidCompatibilitySupported()) { in onCreate() 181 for (int subId : SubscriptionController.getInstance().getActiveSubIdList(true)) { in onPreferenceTreeClick() 184 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); in onPreferenceTreeClick() 185 ImsManager imsManager = ImsManager.getInstance(getContext(), phoneId); in onPreferenceTreeClick() 206 ImsManager imsManager = ImsManager.getInstance(mContext, phone.getPhoneId()); in isVolteTtySupportedInAnySlot() 262 for (int subId : SubscriptionController.getInstance().getActiveSubIdList(true)) { in shouldShowRttSetting() 263 if (PhoneGlobals.getInstance().phoneMgr.isRttSupported(subId)) { in shouldShowRttSetting()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | AidRoutingManager.java | 170 NfcService.getInstance().unrouteAids(aid); in clearNfcRoutingTableLocked() 172 if(NfcService.getInstance().getNciVersion() != NfcService.getInstance().NCI_VERSION_1_0) { in clearNfcRoutingTableLocked() 174 NfcService.getInstance().unrouteAids(""); in clearNfcRoutingTableLocked() 251 mMaxAidRoutingTableSize = NfcService.getInstance().getAidRoutingTableSize(); in configureRouting() 339 … if(NfcService.getInstance().getNciVersion() != NfcService.getInstance().NCI_VERSION_1_0) { in configureRouting() 380 NfcService.getInstance().routeAids(aid, route, aidType); in commit() 385 NfcService.getInstance().commitRouting(); in commit()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | CallNotificationReceiver.java | 62 CallServiceNotifier.getInstance().cancelNotifications(context); in onReceive() 64 CallServiceNotifier.getInstance().registerPhoneAccount(context); in onReceive() 66 CallServiceNotifier.getInstance().showAllPhoneAccounts(context); in onReceive() 137 LocalBroadcastManager.getInstance(context).sendBroadcast( in hangupCalls() 145 LocalBroadcastManager.getInstance(context).sendBroadcast(intent); in sendUpgradeRequest() 150 LocalBroadcastManager.getInstance(context).sendBroadcast(intent); in remoteRttUpgrade()
|