Home
last modified time | relevance | path

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

12345678910>>...31

/packages/apps/Nfc/nci/jni/
DNativeNfcManager.cpp193 bool isP2p = NfcTag::getInstance ().isP2pDiscovered (); in handleRfDiscoveryEvent()
197 NfcTag::getInstance ().selectP2p(); in handleRfDiscoveryEvent()
202 NfcTag::getInstance ().selectFirstTag(); in handleRfDiscoveryEvent()
270 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback()
299 NfcTag::getInstance().setActive(true); in nfaConnectionCallback()
304 NfcTag::getInstance().setActivationState (); in nfaConnectionCallback()
335 NfcTag::getInstance().connectionEventHandler (connEvent, eventData); in nfaConnectionCallback()
349 NfcTag::getInstance().setDeactivationState (eventData->deactivated); in nfaConnectionCallback()
358 NfcTag::getInstance().connectionEventHandler (connEvent, eventData); in nfaConnectionCallback()
360 NfcTag::getInstance().abort (); in nfaConnectionCallback()
[all …]
DNativeNfcTag.cpp480 NfcTag& natTag = NfcTag::getInstance (); in nativeNfcTag_doConnect()
544 NfcTag& natTag = NfcTag::getInstance (); in reSelect()
552 if (NfcTag::getInstance ().isNdefDetectionTimedOut()) in reSelect()
582 if (NfcTag::getInstance ().getActivationState () != NfcTag::Sleep) in reSelect()
612 if (NfcTag::getInstance ().getActivationState () != NfcTag::Active) in reSelect()
649 NfcTag& natTag = NfcTag::getInstance (); in switchRfInterface()
678 NfcTag& natTag = NfcTag::getInstance (); in nativeNfcTag_doReconnect()
688 if (NfcTag::getInstance ().mTechList [0] == TARGET_TYPE_KOVIO_BARCODE) in nativeNfcTag_doReconnect()
741 NfcTag::getInstance().resetAllTransceiveTimeouts (); in nativeNfcTag_doDisconnect()
743 if (NfcTag::getInstance ().getActivationState () != NfcTag::Active) in nativeNfcTag_doDisconnect()
[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()
DRoutingManager.cpp159 RoutingManager& RoutingManager::getInstance () in getInstance() function in RoutingManager
407 RoutingManager& routingManager = RoutingManager::getInstance(); in stackCallback()
446 getInstance().handleData(ce_data.p_data, ce_data.len, ce_data.status); in stackCallback()
466 RoutingManager& routingManager = RoutingManager::getInstance(); in nfaEeCallback()
580 return getInstance().mDefaultEe; in com_android_nfc_cardemulation_doGetDefaultRouteDestination()
585 return getInstance().mOffHostEe; in com_android_nfc_cardemulation_doGetDefaultOffHostRouteDestination()
590 return getInstance().mAidMatchingMode; in com_android_nfc_cardemulation_doGetAidMatchingMode()
/packages/apps/InCallUI/src/com/android/incallui/
DCallButtonPresenter.java55 AudioModeProvider.getInstance().addListener(this); in onUiReady()
58 InCallPresenter.getInstance().addListener(this); in onUiReady()
59 InCallPresenter.getInstance().addIncomingCallListener(this); in onUiReady()
60 InCallPresenter.getInstance().addDetailsListener(this); in onUiReady()
61 InCallPresenter.getInstance().addCanAddCallListener(this); in onUiReady()
68 InCallPresenter.getInstance().removeListener(this); in onUiUnready()
69 AudioModeProvider.getInstance().removeListener(this); in onUiUnready()
70 InCallPresenter.getInstance().removeIncomingCallListener(this); in onUiUnready()
71 InCallPresenter.getInstance().removeDetailsListener(this); in onUiUnready()
123 onStateChange(oldState, newState, CallList.getInstance()); in onIncomingCall()
[all …]
DInCallServiceImpl.java35 CallList.getInstance().setPhone(phone); in onPhoneCreated()
36 AudioModeProvider.getInstance().setPhone(phone); in onPhoneCreated()
37 TelecomAdapter.getInstance().setPhone(phone); in onPhoneCreated()
38 InCallPresenter.getInstance().setPhone(phone); in onPhoneCreated()
39 TelecomAdapter.getInstance().setContext(InCallServiceImpl.this); in onPhoneCreated()
46 CallList.getInstance().clearPhone(); in onPhoneDestroyed()
47 AudioModeProvider.getInstance().clearPhone(); in onPhoneDestroyed()
48 TelecomAdapter.getInstance().clearPhone(); in onPhoneDestroyed()
49 TelecomAdapter.getInstance().setContext(null); in onPhoneDestroyed()
50 CallList.getInstance().clearOnDisconnect(); in onPhoneDestroyed()
[all …]
DInCallActivity.java195 InCallPresenter.getInstance().setActivity(this); in onStart()
205 InCallPresenter.getInstance().setThemeColors(); in onResume()
206 InCallPresenter.getInstance().onUiShowing(true); in onResume()
238 InCallPresenter.getInstance().onUiShowing(false); in onPause()
240 InCallPresenter.getInstance().unsetActivity(this); in onPause()
253 InCallPresenter.getInstance().unsetActivity(this); in onDestroy()
334 final Call call = CallList.getInstance().getIncomingCall(); in onBackPressed()
371 boolean handled = InCallPresenter.getInstance().handleCallKey(); in onKeyDown()
398 TelecomAdapter.getInstance().mute(!AudioModeProvider.getInstance().getMute()); in onKeyDown()
446 InCallPresenter.getInstance().getProximitySensor().onConfigurationChanged(config); in onConfigurationChanged()
[all …]
DVideoCallPresenter.java173 InCallPresenter.getInstance().addListener(this); in onUiReady()
174 InCallPresenter.getInstance().addIncomingCallListener(this); in onUiReady()
175 InCallPresenter.getInstance().addOrientationListener(this); in onUiReady()
178 InCallVideoCallListenerNotifier.getInstance().addSurfaceChangeListener(this); in onUiReady()
179 InCallVideoCallListenerNotifier.getInstance().addVideoEventListener(this); in onUiReady()
180 InCallVideoCallListenerNotifier.getInstance().addSessionModificationListener(this); in onUiReady()
193 InCallPresenter.getInstance().removeListener(this); in onUiUnready()
194 InCallPresenter.getInstance().removeIncomingCallListener(this); in onUiUnready()
195 InCallPresenter.getInstance().removeOrientationListener(this); in onUiUnready()
196 InCallVideoCallListenerNotifier.getInstance().removeSurfaceChangeListener(this); in onUiUnready()
[all …]
DAnswerPresenter.java40 final CallList calls = CallList.getInstance(); in onUiReady()
59 CallList.getInstance().removeListener(this); in onUiUnready()
64 CallList.getInstance().removeCallUpdateListener(mCallId, this); in onUiUnready()
96 CallList.getInstance().addCallUpdateListener(mCallId, this); in processIncomingCall()
99 final List<String> textMsgs = CallList.getInstance().getTextResponses(call.getId()); in processIncomingCall()
109 CallList.getInstance().addCallUpdateListener(mCallId, this); in processVideoUpgradeRequestCall()
120 CallList.getInstance().removeCallUpdateListener(mCallId, this); in onCallChanged()
129 final List<String> textMsgs = CallList.getInstance().getTextResponses(call.getId()); in onCallChanged()
144 InCallPresenter.getInstance().acceptUpgradeRequest(context); in onAnswer()
146 TelecomAdapter.getInstance().answerCall(mCall.getId(), videoState); in onAnswer()
[all …]
DCallCardPresenter.java132 InCallPresenter.getInstance().addListener(this); in onUiReady()
133 InCallPresenter.getInstance().addIncomingCallListener(this); in onUiReady()
134 InCallPresenter.getInstance().addDetailsListener(this); in onUiReady()
135 InCallPresenter.getInstance().addInCallEventListener(this); in onUiReady()
143 InCallPresenter.getInstance().removeListener(this); in onUiUnready()
144 InCallPresenter.getInstance().removeIncomingCallListener(this); in onUiUnready()
145 InCallPresenter.getInstance().removeDetailsListener(this); in onUiUnready()
146 InCallPresenter.getInstance().removeInCallEventListener(this); in onUiUnready()
156 onStateChange(oldState, newState, CallList.getInstance()); in onIncomingCall()
282 TelecomManager mgr = InCallPresenter.getInstance().getTelecomManager(); in getSubscriptionNumber()
[all …]
DInCallPresenter.java127 CallList.getInstance().getCallByTelecommCall(call).getId(),
135 listener.onDetailsChanged(CallList.getInstance().getCallByTelecommCall(call),
145 listener.onDetailsChanged(CallList.getInstance().getCallByTelecommCall(call),
187 public static synchronized InCallPresenter getInstance() { in getInstance() method in InCallPresenter
227 mContactInfoCache = ContactInfoCache.getInstance(context); in setUp()
450 onCallListChange(CallList.getInstance()); in onDisconnect()
559 TelecomAdapter.getInstance().phoneAccountSelected(callId, accountHandle, setDefault); in handleAccountSelection()
568 TelecomAdapter.getInstance().disconnectCall(callId); in cancelAccountSelection()
593 TelecomAdapter.getInstance().disconnectCall(call.getId()); in hangUpOngoingCall()
612 TelecomAdapter.getInstance().answerCall(call.getId(), videoState); in answerIncomingCall()
[all …]
DStatusBarNotifier.java89 InCallPresenter.getInstance().getInCallState(),
90 InCallPresenter.getInstance().getCallList());
187 !InCallPresenter.getInstance().isActivityPreviouslyStarted(); in updateInCallNotification()
202 (!InCallPresenter.getInstance().isShowingInCallUi() || state.isIncoming()) && in updateInCallNotification()
220 if (InCallPresenter.getInstance().isShowingInCallUi() || call == null) { in updateInCallNotification()
237 Call call = CallList.getInstance().getCallById(callId); in showNotification()
245 Call call = CallList.getInstance().getCallById(callId); in showNotification()
261 final Call call = getCallToShow(CallList.getInstance()); in buildAndSendNotification()
289 !InCallPresenter.getInstance().isShowingInCallUi()) { in buildAndSendNotification()
397 : BidiFormatter.getInstance().unicodeWrap( in getContentTitle()
[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()
DInCallVideoCallListener.java61 InCallVideoCallListenerNotifier.getInstance().upgradeToVideoRequest(mCall); in onSessionModifyRequestReceived()
63 InCallVideoCallListenerNotifier.getInstance().downgradeToAudio(mCall); in onSessionModifyRequestReceived()
67 InCallVideoCallListenerNotifier.getInstance().peerPausedStateChanged(mCall, pause); in onSessionModifyRequestReceived()
89 InCallVideoCallListenerNotifier.getInstance().upgradeToVideoSuccess(mCall); in onSessionModifyResponseReceived()
91 InCallVideoCallListenerNotifier.getInstance().upgradeToVideoFail(mCall); in onSessionModifyResponseReceived()
112 InCallVideoCallListenerNotifier.getInstance().peerDimensionsChanged(mCall, width, height); in onPeerDimensionsChanged()
133 InCallVideoCallListenerNotifier.getInstance().cameraDimensionsChanged( in onCameraCapabilitiesChanged()
DInCallApp.java74 InCallPresenter.getInstance().answerIncomingCall( in onReceive()
77 InCallPresenter.getInstance().answerIncomingCall( in onReceive()
80 InCallPresenter.getInstance().declineIncomingCall(context); in onReceive()
82 InCallPresenter.getInstance().hangUpOngoingCall(context); in onReceive()
84 InCallPresenter.getInstance().acceptUpgradeRequest(context); in onReceive()
86 InCallPresenter.getInstance().declineUpgradeRequest(context); in onReceive()
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()
/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java208 final PhoneGlobals app = PhoneGlobals.getInstance(); in answerCall()
420 CallManager cm = PhoneGlobals.getInstance().mCM; in hangup()
578 final PhoneGlobals app = PhoneGlobals.getInstance(); in placeCall()
730 final PhoneGlobals mApp = PhoneGlobals.getInstance(); in swap()
748 CallManager cm = PhoneGlobals.getInstance().mCM; in switchHoldingAndActive()
763 mergeCalls(PhoneGlobals.getInstance().mCM); in mergeCalls()
770 PhoneGlobals app = PhoneGlobals.getInstance(); in mergeCalls()
887 final PhoneGlobals app = PhoneGlobals.getInstance(); in displayMMIComplete()
1190 return getNumberFromIntent(PhoneGlobals.getInstance(), intent); in getInitialNumber()
1708 final PhoneGlobals app = PhoneGlobals.getInstance(); in isConferenceCall()
[all …]
/packages/apps/Settings/src/com/android/settings/search/
DDynamicIndexableContentMonitor.java213 Index.getInstance(mContext).updateFromClassNameResource( in onInputDeviceAdded()
224 Index.getInstance(mContext).updateFromClassNameResource( in onInputDeviceChanged()
238 Index.getInstance(mContext).updateFromClassNameResource( in handlePackageAvailable()
248 Index.getInstance(mContext).updateFromClassNameResource( in handlePackageAvailable()
259 Index.getInstance(mContext).updateFromClassNameResource( in handlePackageAvailable()
270 Index.getInstance(mContext).updateFromClassNameResource( in handlePackageUnavailable()
278 Index.getInstance(mContext).updateFromClassNameResource( in handlePackageUnavailable()
287 Index.getInstance(mContext).updateFromClassNameResource( in handlePackageUnavailable()
302 Index.getInstance(mContext).updateFromClassNameResource( in onChange()
/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/apps/UnifiedEmail/src/com/android/mail/browse/
DWebViewContextMenu.java129 Analytics.getInstance().sendEvent( in onMenuItemClick()
219 Analytics.getInstance().sendEvent( in onCreateContextMenu()
223 Analytics.getInstance().sendEvent( in onCreateContextMenu()
259 Analytics.getInstance().sendEvent( in onCreateContextMenu()
318 Analytics.getInstance().sendEvent( in onCreateContextMenu()
329 Analytics.getInstance().sendEvent( in onCreateContextMenu()
348 Analytics.getInstance().sendEvent( in onCreateContextMenu()
353 Analytics.getInstance().sendEvent( in onCreateContextMenu()
359 Analytics.getInstance().sendEvent( in onCreateContextMenu()
/packages/apps/Browser/src/com/android/browser/preferences/
DWebsiteSettingsFragment.java256 WebStorage.getInstance().getOrigins(new ValueCallback<Map>() { in askForOrigins()
271 GeolocationPermissions.getInstance().getOrigins(new ValueCallback<Set<String> >() { in askForGeolocation()
509 WebStorage.getInstance().getUsageForOrigin(origin, new ValueCallback<Long>() { in getView()
521 … GeolocationPermissions.getInstance().getAllowed(origin, new ValueCallback<Boolean>() { in getView()
541 … WebStorage.getInstance().getUsageForOrigin(origin, new ValueCallback<Long>() { in getView()
555 … GeolocationPermissions.getInstance().getAllowed(origin, new ValueCallback<Boolean>() { in getView()
588 WebStorage.getInstance().deleteOrigin(mCurrentSite.getOrigin()); in onItemClick()
608 … GeolocationPermissions.getInstance().clear(mCurrentSite.getOrigin()); in onItemClick()
691 WebStorage.getInstance().deleteAllData(); in onClick()
692 GeolocationPermissions.getInstance().clearAll(); in onClick()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioManager.java81 if (CallsManager.getInstance().getCalls().isEmpty()) { in onCallRemoved()
102 boolean isOnlyCall = CallsManager.getInstance().getCalls().size() == 1; in onIncomingCallAnswered()
178 if (CallsManager.getInstance().hasEmergencyCall()) { in mute()
328 CallsManager.getInstance().onAudioStateChanged(oldAudioState, mAudioState); in setSystemAudioState()
363 CallsManager.getInstance().getFirstCallWithState(CallState.PRE_DIAL_WAIT); in updateAudioStreamAndMode()
506 Call call = CallsManager.getInstance().getForegroundCall(); in updateAudioForForegroundCall()
516 Call call = CallsManager.getInstance().getForegroundCall(); in getForegroundCall()
528 Call call = CallsManager.getInstance().getForegroundCall(); in hasRingingForegroundCall()
/packages/apps/Settings/src/com/android/settings/
DDateTimeSettings.java106 mDummyDate = Calendar.getInstance(); in initUI()
159 final Calendar now = Calendar.getInstance(); in updateTimeAndDateDisplay()
211 final Calendar calendar = Calendar.getInstance(); in onCreateDialog()
236 Calendar t = Calendar.getInstance(); in configureDatePicker()
321 Calendar c = Calendar.getInstance(); in setDate()
334 Calendar c = Calendar.getInstance(); in setTime()
356 BidiFormatter bidiFormatter = BidiFormatter.getInstance(); in getTimeZoneText()
/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()
/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
DListener.java128 LocalBroadcastManager.getInstance(Listener.this)
143 LocalBroadcastManager.getInstance(Listener.this)
153 LocalBroadcastManager.getInstance(Listener.this)
160 LocalBroadcastManager.getInstance(Listener.this)
211 LocalBroadcastManager.getInstance(this).registerReceiver(mBroadcastReceiver, intentFilter); in onCreate()
216 LocalBroadcastManager.getInstance(this).unregisterReceiver(mBroadcastReceiver); in onDestroy()

12345678910>>...31