Home
last modified time | relevance | path

Searched refs:getInstance (Results 1 – 25 of 1683) sorted by relevance

12345678910>>...68

/packages/apps/Dialer/java/com/android/incallui/
DInCallServiceImpl.java54 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 …]
DVideoCallPresenter.java135 && !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 …]
DCallButtonPresenter.java83 AudioModeProvider.getInstance().addListener(this); in onInCallButtonUiReady()
86 final InCallPresenter inCallPresenter = InCallPresenter.getInstance(); in onInCallButtonUiReady()
94 onStateChange(InCallState.NO_CALLS, inCallPresenter.getInCallState(), CallList.getInstance()); in onInCallButtonUiReady()
102 InCallPresenter.getInstance().removeListener(this); in onInCallButtonUiUnready()
103 AudioModeProvider.getInstance().removeListener(this); in onInCallButtonUiUnready()
104 InCallPresenter.getInstance().removeIncomingCallListener(this); in onInCallButtonUiUnready()
105 InCallPresenter.getInstance().removeDetailsListener(this); in onInCallButtonUiUnready()
106 InCallPresenter.getInstance().getInCallCameraManager().removeCameraSelectionListener(this); in onInCallButtonUiUnready()
107 InCallPresenter.getInstance().removeCanAddCallListener(this); in onInCallButtonUiUnready()
158 onStateChange(oldState, newState, CallList.getInstance()); in onIncomingCall()
[all …]
DInCallActivity.java280 || 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 …]
DReturnToCallController.java101 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 …]
DNotificationBroadcastReceiver.java102 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 …]
DConferenceManagerPresenter.java40 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()
DCallCardPresenter.java162 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 …]
DAnswerScreenPresenter.java64 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()
DAudioRouteSelectorActivity.java41 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()
DDialpadPresenter.java36 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/
DNativeNfcManager.cpp235 bool isP2p = NfcTag::getInstance().isP2pDiscovered(); in handleRfDiscoveryEvent()
238 NfcTag::getInstance().selectP2p(); in handleRfDiscoveryEvent()
241 NfcTag::getInstance().selectFirstTag(); in handleRfDiscoveryEvent()
310 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
353 NfcTag::getInstance().setActivationState(); in nfaConnectionCallback()
357 NfcTag::getInstance().setActive(true); in nfaConnectionCallback()
361 NfcTag::getInstance().setActivationState(); in nfaConnectionCallback()
400 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
415 NfcTag::getInstance().setDeactivationState(eventData->deactivated); in nfaConnectionCallback()
423 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
[all …]
DNativeNfcTag.cpp530 NfcTag& natTag = NfcTag::getInstance(); in nativeNfcTag_doConnect()
598 NfcTag& natTag = NfcTag::getInstance(); in reSelect()
605 if (NfcTag::getInstance().isNdefDetectionTimedOut()) { in reSelect()
638 if (NfcTag::getInstance().getActivationState() != NfcTag::Sleep) { in reSelect()
671 if (NfcTag::getInstance().getActivationState() != NfcTag::Active) { in reSelect()
705 NfcTag& natTag = NfcTag::getInstance(); in switchRfInterface()
735 NfcTag& natTag = NfcTag::getInstance(); in nativeNfcTag_doReconnect()
798 NfcTag::getInstance().resetAllTransceiveTimeouts(); in nativeNfcTag_doDisconnect()
800 if (NfcTag::getInstance().getActivationState() != NfcTag::Active) { in nativeNfcTag_doDisconnect()
879 NfcTag::getInstance().getTransceiveTimeout(sCurrentConnectedTargetType); in nativeNfcTag_doTransceive()
[all …]
DNativeLlcpSocket.cpp48 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/
DTunerDebug.java52 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/
Ddic_node_pool_test.cpp29 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/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastConfigService.java186 CellBroadcastChannelManager.getInstance().getCellBroadcastChannelRanges(this, in setCellBroadcastOnSub()
191 CellBroadcastChannelManager.getInstance().getCellBroadcastChannelRanges(this, in setCellBroadcastOnSub()
196 CellBroadcastChannelManager.getInstance().getCellBroadcastChannelRanges(this, in setCellBroadcastOnSub()
201 CellBroadcastChannelManager.getInstance().getCellBroadcastChannelRanges(this, in setCellBroadcastOnSub()
206 CellBroadcastChannelManager.getInstance().getCellBroadcastChannelRanges(this, in setCellBroadcastOnSub()
209 CellBroadcastChannelManager.getInstance().getCellBroadcastChannelRanges(this, in setCellBroadcastOnSub()
212 CellBroadcastChannelManager.getInstance().getCellBroadcastChannelRanges(this, in setCellBroadcastOnSub()
217 CellBroadcastChannelManager.getInstance().getCellBroadcastChannelRanges(this, in setCellBroadcastOnSub()
222 CellBroadcastChannelManager.getInstance().getCellBroadcastChannelRanges(this, in setCellBroadcastOnSub()
227 CellBroadcastChannelManager.getInstance().getCellBroadcastChannelRanges(this, in setCellBroadcastOnSub()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DGestureBot.java59 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/
DMasterClearConfirmFragmentTest.java69 ShadowApplication.getInstance().setSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE, in setUp()
71 ShadowApplication.getInstance().setSystemService(Context.OEM_LOCK_SERVICE, mOemLockManager); in setUp()
90 Intent resetIntent = ShadowApplication.getInstance().getBroadcastIntents().get(0); in confirmClicked_sendsResetIntent()
106 Intent resetIntent = ShadowApplication.getInstance().getBroadcastIntents().get(0); in confirmClicked_resetEsimFalse_resetIntentReflectsChoice()
112 ShadowApplication.getInstance().removeSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE); in confirmClicked_pdbManagerNull_sendsResetIntent()
116 Intent resetIntent = ShadowApplication.getInstance().getBroadcastIntents().get(0); in confirmClicked_pdbManagerNull_sendsResetIntent()
135 Intent resetIntent = ShadowApplication.getInstance().getBroadcastIntents().get(0); in confirmClicked_oemUnlockAllowed_sendsResetIntent()
154 Intent resetIntent = ShadowApplication.getInstance().getBroadcastIntents().get(0); in confirmClicked_noOemUnlockAllowed_notProvisioned_sendsResetIntent()
177 Intent resetIntent = ShadowApplication.getInstance().getBroadcastIntents().get(0); in confirmClicked_noOemUnlockAllowed_provisioned_sendsResetIntent()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DHanziToPinyinTest.java38 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/services/Telephony/src/com/android/services/telephony/
DTelecomAccountRegistry.java290 boolean isVideoEnabledByPlatform = ImsManager.getInstance(mPhone.getContext(), in buildPstnPhoneAccount()
442 SubscriptionController controller = SubscriptionController.getInstance(); in isEmergencyPreferredAccount()
482 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isCarrierVideoPauseSupported()
495 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isCarrierVideoPresenceSupported()
507 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isCarrierInstantLetteringSupported()
519 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isCarrierMergeCallSupported()
531 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isCarrierMergeImsCallSupported()
542 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isCarrierEmergencyVideoCallsAllowed()
554 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isCarrierVideoConferencingSupported()
568 PhoneGlobals.getInstance().getCarrierConfigForSubId(mPhone.getSubId()); in isCarrierMergeOfWifiCallsAllowedWhenVoWifiOff()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/manageapplications/
DAppFilterItemTest.java39 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/apps/Contacts/src/com/android/contacts/logging/
DLogger.java29 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/Nfc/src/com/android/nfc/cardemulation/
DAidRoutingManager.java170 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()
248 mMaxAidRoutingTableSize = NfcService.getInstance().getAidRoutingTableSize(); in configureRouting()
336 … if(NfcService.getInstance().getNciVersion() != NfcService.getInstance().NCI_VERSION_1_0) { in configureRouting()
377 NfcService.getInstance().routeAids(aid, route, aidType); in commit()
382 NfcService.getInstance().commitRouting(); in commit()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DCallNotificationReceiver.java62 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()

12345678910>>...68