Home
last modified time | relevance | path

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

12345678910>>...34

/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DInCallServiceImpl.java36 AudioModeProvider.getInstance().onAudioStateChanged(audioState.isMuted(), in onCallAudioStateChanged()
42 InCallPresenter.getInstance().onBringToForeground(showDialpad); in onBringToForeground()
47 InCallPresenter.getInstance().onCallAdded(call); in onCallAdded()
52 InCallPresenter.getInstance().onCallRemoved(call); in onCallRemoved()
57 InCallPresenter.getInstance().onCanAddCallChanged(canAddCall); in onCanAddCallChanged()
63 final ContactInfoCache contactInfoCache = ContactInfoCache.getInstance(context); in onBind()
64 InCallPresenter.getInstance().setUp( in onBind()
66 CallList.getInstance(), in onBind()
67 AudioModeProvider.getInstance(), in onBind()
72 AudioModeProvider.getInstance(), in onBind()
[all …]
DAnswerPresenter.java50 CallList.getInstance().addListener(this); in onUiShowing()
51 final CallList calls = CallList.getInstance(); in onUiShowing()
64 CallList.getInstance().removeListener(this); in onUiShowing()
68 CallList.getInstance().removeCallUpdateListener(mCallId, this); in onUiShowing()
76 Call modifyCall = CallList.getInstance().getVideoUpgradeRequestCall(); in onIncomingCall()
80 CallList.getInstance().removeCallUpdateListener(mCallId, this); in onIncomingCall()
81 InCallPresenter.getInstance().declineUpgradeRequest(); in onIncomingCall()
108 CallList.getInstance().removeCallUpdateListener(mCallId, this); in onSessionModificationStateChange()
136 InCallPresenter inCallPresenter = InCallPresenter.getInstance(); in onUpgradeToVideo()
153 CallList.getInstance().addCallUpdateListener(mCallId, this); in processIncomingCall()
[all …]
DCallButtonPresenter.java70 AudioModeProvider.getInstance().addListener(this); in onUiReady()
73 final InCallPresenter inCallPresenter = InCallPresenter.getInstance(); in onUiReady()
82 CallList.getInstance()); in onUiReady()
89 InCallPresenter.getInstance().removeListener(this); in onUiUnready()
90 AudioModeProvider.getInstance().removeListener(this); in onUiUnready()
91 InCallPresenter.getInstance().removeIncomingCallListener(this); in onUiUnready()
92 InCallPresenter.getInstance().removeDetailsListener(this); in onUiUnready()
93 InCallPresenter.getInstance().getInCallCameraManager().removeCameraSelectionListener(this); in onUiUnready()
94 InCallPresenter.getInstance().removeCanAddCallListener(this); in onUiUnready()
147 onStateChange(oldState, newState, CallList.getInstance()); in onIncomingCall()
[all …]
DInCallActivity.java150 InCallPresenter.getInstance().handleAccountSelection(selectedAccountHandle,
156 InCallPresenter.getInstance().cancelAccountSelection();
259 InCallPresenter.getInstance().setActivity(this); in onStart()
263 InCallPresenter.getInstance().onActivityStarted(); in onStart()
271 InCallPresenter.getInstance().setThemeColors(); in onResume()
272 InCallPresenter.getInstance().onUiShowing(true); in onResume()
275 InCallPresenter.getInstance().clearFullscreen(); in onResume()
282 InCallPresenter.getInstance().setFullScreen(false, true /* force */); in onResume()
315 InCallPresenter.getInstance().onUiShowing(false); in onPause()
317 InCallPresenter.getInstance().unsetActivity(this); in onPause()
[all …]
DVideoCallPresenter.java84 if (mAutoFullScreenPending && !InCallPresenter.getInstance().isDialpadVisible()) {
86 InCallPresenter.getInstance().setFullScreen(true);
232 InCallPresenter.getInstance().addListener(this); in onUiReady()
233 InCallPresenter.getInstance().addDetailsListener(this); in onUiReady()
234 InCallPresenter.getInstance().addIncomingCallListener(this); in onUiReady()
235 InCallPresenter.getInstance().addOrientationListener(this); in onUiReady()
237 InCallPresenter.getInstance().addDetailsListener(this); in onUiReady()
238 InCallPresenter.getInstance().addInCallEventListener(this); in onUiReady()
241 InCallVideoCallCallbackNotifier.getInstance().addSurfaceChangeListener(this); in onUiReady()
242 InCallVideoCallCallbackNotifier.getInstance().addVideoEventListener(this); in onUiReady()
[all …]
DConferenceManagerPresenter.java45 InCallPresenter.getInstance().addListener(this); in onUiReady()
46 InCallPresenter.getInstance().addIncomingCallListener(this); in onUiReady()
53 InCallPresenter.getInstance().removeListener(this); in onUiUnready()
54 InCallPresenter.getInstance().removeIncomingCallListener(this); in onUiUnready()
68 InCallPresenter.getInstance().showConferenceCallManager(false); in onStateChange()
71 InCallPresenter.getInstance().showConferenceCallManager(false); in onStateChange()
92 InCallPresenter.getInstance().showConferenceCallManager(false); in onDetailsChanged()
101 InCallPresenter.getInstance().showConferenceCallManager(false); in onIncomingCall()
DNotificationBroadcastReceiver.java56 InCallPresenter.getInstance().answerIncomingCall( in onReceive()
59 InCallPresenter.getInstance().answerIncomingCall( in onReceive()
62 InCallPresenter.getInstance().declineIncomingCall(context); in onReceive()
64 InCallPresenter.getInstance().hangUpOngoingCall(context); in onReceive()
67 InCallPresenter.getInstance().acceptUpgradeRequest( in onReceive()
70 InCallPresenter.getInstance().declineUpgradeRequest(context); in onReceive()
DCallCardPresenter.java152 CallList.getInstance().addCallUpdateListener(call.getId(), this); in init()
162 onStateChange(null, InCallPresenter.getInstance().getInCallState(), CallList.getInstance()); in init()
179 InCallPresenter.getInstance().addListener(this); in onUiReady()
180 InCallPresenter.getInstance().addIncomingCallListener(this); in onUiReady()
181 InCallPresenter.getInstance().addDetailsListener(this); in onUiReady()
182 InCallPresenter.getInstance().addInCallEventListener(this); in onUiReady()
190 InCallPresenter.getInstance().removeListener(this); in onUiUnready()
191 InCallPresenter.getInstance().removeIncomingCallListener(this); in onUiUnready()
192 InCallPresenter.getInstance().removeDetailsListener(this); in onUiUnready()
193 InCallPresenter.getInstance().removeInCallEventListener(this); in onUiUnready()
[all …]
DInCallVideoCallCallback.java60 InCallVideoCallCallbackNotifier.getInstance().upgradeToVideoRequest(mCall, in onSessionModifyRequestReceived()
107 InCallVideoCallCallbackNotifier.getInstance().callSessionEvent(event); in onCallSessionEvent()
118 InCallVideoCallCallbackNotifier.getInstance().peerDimensionsChanged(mCall, width, height); in onPeerDimensionsChanged()
128 InCallVideoCallCallbackNotifier.getInstance().videoQualityChanged(mCall, videoQuality); in onVideoQualityChanged()
140 InCallVideoCallCallbackNotifier.getInstance().callDataUsageChanged(dataUsage); in onCallDataUsageChanged()
152 InCallVideoCallCallbackNotifier.getInstance().cameraDimensionsChanged( in onCameraCapabilitiesChanged()
DDialpadPresenter.java32 InCallPresenter.getInstance().addListener(this); in onUiReady()
33 mCall = CallList.getInstance().getOutgoingOrActive(); in onUiReady()
39 InCallPresenter.getInstance().removeListener(this); in onUiUnready()
64 TelecomAdapter.getInstance().playDtmfTone(mCall.getId(), c); in processDtmf()
76 TelecomAdapter.getInstance().stopDtmfTone(mCall.getId()); in stopDtmf()
DStatusBarNotifier.java105 CallList.getInstance()); in StatusBarNotifier()
150 CallList.getInstance().removeCallUpdateListener(mCallId, this); in cancelNotification()
196 CallList.getInstance().removeCallUpdateListener(mCallId, this); in showNotification()
199 CallList.getInstance().addCallUpdateListener(call.getId(), this); in showNotification()
209 Call call = CallList.getInstance().getCallById(callId); in showNotification()
218 Call call = CallList.getInstance().getCallById(callId); in showNotification()
236 final Call call = getCallToShow(CallList.getInstance()); in buildAndSendNotification()
291 && !InCallPresenter.getInstance().isShowingInCallUi()) { in buildAndSendNotification()
435 return TextUtils.isEmpty(contactInfo.number) ? null : BidiFormatter.getInstance() in getContentTitle()
688 CallList.getInstance().getBackgroundCall() != null)); in configureFullScreenIntent()
[all …]
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
DUsbTunerDebug.java54 public static UsbTunerDebug getInstance() { in getInstance() method in UsbTunerDebug
60 UsbTunerDebug sUsbTunerDebug = getInstance(); in notifyVideoFrameDrop()
65 UsbTunerDebug sUsbTunerDebug = getInstance(); in getVideoFrameDrop()
75 UsbTunerDebug sUsbTunerDebug = getInstance(); in setBytesInQueue()
80 UsbTunerDebug sUsbTunerDebug = getInstance(); in getBytesInQueue()
85 UsbTunerDebug sUsbTunerDebug = getInstance(); in setAudioPositionUs()
90 UsbTunerDebug sUsbTunerDebug = getInstance(); in getAudioPositionUs()
95 UsbTunerDebug sUsbTunerDebug = getInstance(); in setAudioPtsUs()
100 UsbTunerDebug sUsbTunerDebug = getInstance(); in getAudioPtsUs()
105 UsbTunerDebug sUsbTunerDebug = getInstance(); in setVideoPtsUs()
[all …]
/packages/apps/Nfc/nci/jni/
DNativeNfcManager.cpp194 bool isP2p = NfcTag::getInstance ().isP2pDiscovered (); in handleRfDiscoveryEvent()
198 NfcTag::getInstance ().selectP2p(); in handleRfDiscoveryEvent()
203 NfcTag::getInstance ().selectFirstTag(); in handleRfDiscoveryEvent()
271 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
306 NfcTag::getInstance().setActivationState (); in nfaConnectionCallback()
310 NfcTag::getInstance().setActive(true); in nfaConnectionCallback()
315 NfcTag::getInstance().setActivationState (); in nfaConnectionCallback()
346 NfcTag::getInstance().connectionEventHandler (connEvent, eventData); in nfaConnectionCallback()
360 NfcTag::getInstance().setDeactivationState (eventData->deactivated); in nfaConnectionCallback()
369 NfcTag::getInstance().connectionEventHandler (connEvent, eventData); in nfaConnectionCallback()
[all …]
DNativeNfcTag.cpp565 NfcTag& natTag = NfcTag::getInstance (); in nativeNfcTag_doConnect()
632 NfcTag& natTag = NfcTag::getInstance (); in reSelect()
640 if (NfcTag::getInstance ().isNdefDetectionTimedOut()) in reSelect()
670 if (NfcTag::getInstance ().getActivationState () != NfcTag::Sleep) in reSelect()
700 if (NfcTag::getInstance ().getActivationState () != NfcTag::Active) in reSelect()
737 NfcTag& natTag = NfcTag::getInstance (); in switchRfInterface()
766 NfcTag& natTag = NfcTag::getInstance (); in nativeNfcTag_doReconnect()
831 NfcTag::getInstance().resetAllTransceiveTimeouts (); in nativeNfcTag_doDisconnect()
833 if (NfcTag::getInstance ().getActivationState () != NfcTag::Active) in nativeNfcTag_doDisconnect()
917 int timeout = NfcTag::getInstance ().getTransceiveTimeout (sCurrentConnectedTargetType); in nativeNfcTag_doTransceive()
[all …]
DNativeLlcpSocket.cpp44 bool stat = PeerToPeer::getInstance().connectConnOriented (jniHandle, nSap); in nativeLlcpSocket_doConnect()
74 bool stat = PeerToPeer::getInstance().connectConnOriented(jniHandle, serviceName.c_str()); in nativeLlcpSocket_doConnectBy()
97 bool stat = PeerToPeer::getInstance().disconnectConnOriented (jniHandle); in nativeLlcpSocket_doClose()
124 bool stat = PeerToPeer::getInstance().send(jniHandle, raw_ptr, bytes.size()); in nativeLlcpSocket_doSend()
151 …bool stat = PeerToPeer::getInstance().receive(jniHandle, reinterpret_cast<UINT8*>(&bytes[0]), byte… in nativeLlcpSocket_doReceive()
182 jint miu = PeerToPeer::getInstance().getRemoteMaxInfoUnit(jniHandle); in nativeLlcpSocket_doGetRemoteSocketMIU()
205 jint rw = PeerToPeer::getInstance().getRemoteRecvWindow (jniHandle); in nativeLlcpSocket_doGetRemoteSocketRW()
/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/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/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
Dtyping_suggest_policy.h34 static const TypingSuggestPolicy *getInstance() { return &sInstance; } in getInstance() function
39 return TypingTraversal::getInstance(); in getTraversal()
43 return TypingScoring::getInstance(); in getScoring()
47 return TypingWeighting::getInstance(); in getWeighting()
/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
DListener.java161 LocalBroadcastManager.getInstance(Listener.this) in onCreate()
177 LocalBroadcastManager.getInstance(Listener.this) in onCreate()
188 LocalBroadcastManager.getInstance(Listener.this) in onCreate()
196 LocalBroadcastManager.getInstance(Listener.this) in onCreate()
198 LocalBroadcastManager.getInstance(Listener.this) in onCreate()
252 LocalBroadcastManager.getInstance(this).registerReceiver(mBroadcastReceiver, intentFilter); in onCreate()
258 LocalBroadcastManager.getInstance(Listener.this) in onDestroy()
261 LocalBroadcastManager.getInstance(this).unregisterReceiver(mBroadcastReceiver); in onDestroy()
/packages/apps/Settings/src/com/android/settings/search/
DDynamicIndexableContentMonitor.java217 Index.getInstance(mContext).updateFromClassNameResource( in onInputDeviceAdded()
228 Index.getInstance(mContext).updateFromClassNameResource( in onInputDeviceChanged()
243 Index.getInstance(mContext).updateFromClassNameResource( in handlePackageAvailable()
254 Index.getInstance(mContext).updateFromClassNameResource( in handlePackageAvailable()
265 Index.getInstance(mContext).updateFromClassNameResource( in handlePackageUnavailable()
273 Index.getInstance(mContext).updateFromClassNameResource( in handlePackageUnavailable()
289 Index.getInstance(mContext).updateFromClassNameResource( in onLoadFinished()
307 Index.getInstance(mContext).updateFromClassNameResource( in onChange()
/packages/apps/Dialer/src/com/android/dialer/logging/
DLogger.java33 public static Logger getInstance() { in getInstance() method in Logger
43 final Logger logger = getInstance(); in logCall()
56 final Logger logger = getInstance(); in logScreenView()
76 final Logger logger = getInstance(); in logInteraction()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DCallNotificationReceiver.java60 CallServiceNotifier.getInstance().cancelNotifications(context); in onReceive()
62 CallServiceNotifier.getInstance().registerPhoneAccount(context); in onReceive()
64 CallServiceNotifier.getInstance().showAllPhoneAccounts(context); in onReceive()
116 LocalBroadcastManager.getInstance(context).sendBroadcast( in hangupCalls()
124 LocalBroadcastManager.getInstance(context).sendBroadcast(intent); in sendUpgradeRequest()
DTestInCallServiceImpl.java42 TestCallList callList = TestCallList.getInstance();
53 TestCallList.getInstance().removeCall(call);
62 TestCallList.getInstance().clearCalls(); in onPhoneCreated()
70 TestCallList.getInstance().clearCalls(); in onPhoneDestroyed()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DSettingsStorageService.java126 LocalBroadcastManager.getInstance(this).sendBroadcast( in formatAsPublic()
132 LocalBroadcastManager.getInstance(this).sendBroadcast( in formatAsPublic()
152 LocalBroadcastManager.getInstance(this).sendBroadcast( in formatAsPrivate()
160 LocalBroadcastManager.getInstance(this).sendBroadcast( in formatAsPrivate()
200 LocalBroadcastManager.getInstance(this).sendBroadcast(new Intent(ACTION_UNMOUNT) in unmount()
205 LocalBroadcastManager.getInstance(this).sendBroadcast(new Intent(ACTION_UNMOUNT) in unmount()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DAidRoutingManager.java107 NfcService.getInstance().unrouteAids(aid); in clearNfcRoutingTableLocked()
162 NfcService.getInstance().routeAids(defaultRouteAid, mDefaultRoute); in configureRouting()
182 NfcService.getInstance().routeAids(aid.substring(0, in configureRouting()
187 NfcService.getInstance().routeAids(aid, route); in configureRouting()
192 NfcService.getInstance().routeAids(aid, route); in configureRouting()
200 NfcService.getInstance().commitRouting(); in configureRouting()

12345678910>>...34