/packages/apps/Nfc/nci/jni/ |
D | NativeNfcManager.cpp | 192 bool isP2p = NfcTag::getInstance ().isP2pDiscovered (); in handleRfDiscoveryEvent() 196 NfcTag::getInstance ().selectP2p(); in handleRfDiscoveryEvent() 201 NfcTag::getInstance ().selectFirstTag(); in handleRfDiscoveryEvent() 269 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback() 298 NfcTag::getInstance().setActive(true); in nfaConnectionCallback() 303 NfcTag::getInstance().setActivationState (); in nfaConnectionCallback() 334 NfcTag::getInstance().connectionEventHandler (connEvent, eventData); in nfaConnectionCallback() 348 NfcTag::getInstance().setDeactivationState (eventData->deactivated); in nfaConnectionCallback() 357 NfcTag::getInstance().connectionEventHandler (connEvent, eventData); in nfaConnectionCallback() 359 NfcTag::getInstance().abort (); in nfaConnectionCallback() [all …]
|
D | NativeNfcTag.cpp | 480 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 …]
|
D | NativeLlcpSocket.cpp | 44 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()
|
D | RoutingManager.cpp | 159 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/ |
D | CallButtonPresenter.java | 54 AudioModeProvider.getInstance().addListener(this); in onUiReady() 57 InCallPresenter.getInstance().addListener(this); in onUiReady() 58 InCallPresenter.getInstance().addIncomingCallListener(this); in onUiReady() 59 InCallPresenter.getInstance().addDetailsListener(this); in onUiReady() 66 InCallPresenter.getInstance().removeListener(this); in onUiUnready() 67 AudioModeProvider.getInstance().removeListener(this); in onUiUnready() 68 InCallPresenter.getInstance().removeIncomingCallListener(this); in onUiUnready() 69 InCallPresenter.getInstance().removeDetailsListener(this); in onUiUnready() 123 onStateChange(oldState, newState, CallList.getInstance()); in onIncomingCall() 148 return AudioModeProvider.getInstance().getAudioMode(); in getAudioMode() [all …]
|
D | VideoCallPresenter.java | 173 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 …]
|
D | InCallActivity.java | 185 InCallPresenter.getInstance().setActivity(this); in onStart() 194 InCallPresenter.getInstance().onUiShowing(true); in onResume() 226 InCallPresenter.getInstance().onUiShowing(false); in onPause() 239 InCallPresenter.getInstance().setActivity(null); in onDestroy() 321 final Call call = CallList.getInstance().getIncomingCall(); in onBackPressed() 358 boolean handled = InCallPresenter.getInstance().handleCallKey(); in onKeyDown() 385 TelecomAdapter.getInstance().mute(!AudioModeProvider.getInstance().getMute()); in onKeyDown() 433 InCallPresenter.getInstance().getProximitySensor().onConfigurationChanged(config); in onConfigurationChanged() 440 InCallPresenter.getInstance().onDeviceRotationChange( in onConfigurationChanged() 442 InCallPresenter.getInstance().onDeviceOrientationChange(mCurrentOrientation); in onConfigurationChanged() [all …]
|
D | InCallServiceImpl.java | 33 CallList.getInstance().setPhone(phone); in onPhoneCreated() 34 AudioModeProvider.getInstance().setPhone(phone); in onPhoneCreated() 35 TelecomAdapter.getInstance().setPhone(phone); in onPhoneCreated() 36 InCallPresenter.getInstance().setPhone(phone); in onPhoneCreated() 37 InCallPresenter.getInstance().setUp( in onPhoneCreated() 39 CallList.getInstance(), in onPhoneCreated() 40 AudioModeProvider.getInstance()); in onPhoneCreated() 41 TelecomAdapter.getInstance().setContext(InCallServiceImpl.this); in onPhoneCreated() 48 CallList.getInstance().clearPhone(); in onPhoneDestroyed() 49 AudioModeProvider.getInstance().clearPhone(); in onPhoneDestroyed() [all …]
|
D | AnswerPresenter.java | 41 final CallList calls = CallList.getInstance(); in onUiReady() 60 CallList.getInstance().removeListener(this); in onUiUnready() 65 CallList.getInstance().removeCallUpdateListener(mCallId, this); in onUiUnready() 97 CallList.getInstance().addCallUpdateListener(mCallId, this); in processIncomingCall() 100 final List<String> textMsgs = CallList.getInstance().getTextResponses(call.getId()); in processIncomingCall() 110 CallList.getInstance().addCallUpdateListener(mCallId, this); in processVideoUpgradeRequestCall() 121 CallList.getInstance().removeCallUpdateListener(mCallId, this); in onCallChanged() 130 final List<String> textMsgs = CallList.getInstance().getTextResponses(call.getId()); in onCallChanged() 145 InCallPresenter.getInstance().acceptUpgradeRequest(context); in onAnswer() 147 TelecomAdapter.getInstance().answerCall(mCall.getId(), videoState); in onAnswer() [all …]
|
D | InCallPresenter.java | 110 CallList.getInstance().getCallByTelecommCall(call).getId(), 118 listener.onDetailsChanged(CallList.getInstance().getCallByTelecommCall(call), 128 listener.onDetailsChanged(CallList.getInstance().getCallByTelecommCall(call), 144 public static synchronized InCallPresenter getInstance() { in getInstance() method in InCallPresenter 184 mContactInfoCache = ContactInfoCache.getInstance(context); in setUp() 370 onCallListChange(CallList.getInstance()); in onDisconnect() 468 TelecomAdapter.getInstance().phoneAccountSelected(callId, accountHandle); in handleAccountSelection() 477 TelecomAdapter.getInstance().disconnectCall(callId); in cancelAccountSelection() 502 TelecomAdapter.getInstance().disconnectCall(call.getId()); in hangUpOngoingCall() 521 TelecomAdapter.getInstance().answerCall(call.getId(), videoState); in answerIncomingCall() [all …]
|
D | CallCardPresenter.java | 136 InCallPresenter.getInstance().addListener(this); in onUiReady() 137 InCallPresenter.getInstance().addIncomingCallListener(this); in onUiReady() 138 InCallPresenter.getInstance().addDetailsListener(this); in onUiReady() 139 InCallPresenter.getInstance().addInCallEventListener(this); in onUiReady() 147 InCallPresenter.getInstance().removeListener(this); in onUiUnready() 148 InCallPresenter.getInstance().removeIncomingCallListener(this); in onUiUnready() 149 InCallPresenter.getInstance().removeDetailsListener(this); in onUiUnready() 150 InCallPresenter.getInstance().removeInCallEventListener(this); in onUiUnready() 160 onStateChange(oldState, newState, CallList.getInstance()); in onIncomingCall() 375 final ContactInfoCache cache = ContactInfoCache.getInstance(mContext); in startContactInfoSearch() [all …]
|
D | StatusBarNotifier.java | 85 InCallPresenter.getInstance().getInCallState(), 86 InCallPresenter.getInstance().getCallList()); 181 !InCallPresenter.getInstance().isActivityPreviouslyStarted(); in updateInCallNotification() 196 (!InCallPresenter.getInstance().isShowingInCallUi() || state.isIncoming()) && in updateInCallNotification() 214 if (InCallPresenter.getInstance().isShowingInCallUi() || call == null) { in updateInCallNotification() 231 Call call = CallList.getInstance().getCallById(callId); in showNotification() 239 Call call = CallList.getInstance().getCallById(callId); in showNotification() 255 final Call call = getCallToShow(CallList.getInstance()); in buildAndSendNotification() 286 !InCallPresenter.getInstance().isShowingInCallUi()) { in buildAndSendNotification() 596 CallList.getInstance().getBackgroundCall() != null)); in configureFullScreenIntent() [all …]
|
D | InCallVideoCallListener.java | 61 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()
|
D | InCallApp.java | 74 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()
|
D | DialpadPresenter.java | 32 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/ |
D | PhoneUtils.java | 196 final PhoneGlobals app = PhoneGlobals.getInstance(); in answerCall() 408 CallManager cm = PhoneGlobals.getInstance().mCM; in hangup() 566 final PhoneGlobals app = PhoneGlobals.getInstance(); in placeCall() 718 final PhoneGlobals mApp = PhoneGlobals.getInstance(); in swap() 736 CallManager cm = PhoneGlobals.getInstance().mCM; in switchHoldingAndActive() 751 mergeCalls(PhoneGlobals.getInstance().mCM); in mergeCalls() 758 PhoneGlobals app = PhoneGlobals.getInstance(); in mergeCalls() 875 final PhoneGlobals app = PhoneGlobals.getInstance(); in displayMMIComplete() 1171 return getNumberFromIntent(PhoneGlobals.getInstance(), intent); in getInitialNumber() 1689 final PhoneGlobals app = PhoneGlobals.getInstance(); in isConferenceCall() [all …]
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | DynamicIndexableContentMonitor.java | 213 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/apps/Email/src/com/android/email/ |
D | SecurityPolicy.java | 77 public synchronized static SecurityPolicy getInstance(Context context) { in getInstance() method in SecurityPolicy 456 NotificationController.getInstance(context).showSecurityNeededNotification(account); in setAccountHoldFlag() 504 NotificationController.getInstance(mContext).showSecurityNeededNotification(account); in policiesRequired() 506 NotificationController.getInstance(mContext).showSecurityUnsupportedNotification( in policiesRequired() 622 NotificationController.getInstance(mContext).showSecurityUnsupportedNotification( in setAccountPolicy() 634 NotificationController.getInstance(mContext).showSecurityChangedNotification( in setAccountPolicy() 646 NotificationController.getInstance(mContext).showSecurityNeededNotification( in setAccountPolicy() 659 NotificationController.getInstance(mContext).cancelSecurityNeededNotification(); in clearNotification() 761 … NotificationController.getInstance(mContext).showPasswordExpiringNotificationSynchronous( in onPasswordExpiring() 767 … NotificationController.getInstance(mContext).showPasswordExpiredNotificationSynchronous( in onPasswordExpiring() [all …]
|
/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/UnifiedEmail/src/com/android/mail/browse/ |
D | WebViewContextMenu.java | 129 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/ |
D | WebsiteSettingsFragment.java | 256 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/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | AidRoutingManager.java | 91 NfcService.getInstance().unrouteAids(aidEntry.getKey()); in clearNfcRoutingTableLocked() 146 NfcService.getInstance().routeAids(defaultRouteAid, mDefaultRoute); in configureRouting() 166 NfcService.getInstance().routeAids(aid.substring(0, in configureRouting() 171 NfcService.getInstance().routeAids(aid, route); in configureRouting() 176 NfcService.getInstance().routeAids(aid, route); in configureRouting() 184 NfcService.getInstance().commitRouting(); in configureRouting()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallAudioManager.java | 79 if (CallsManager.getInstance().getCalls().isEmpty()) { in onCallRemoved() 100 boolean isOnlyCall = CallsManager.getInstance().getCalls().size() == 1; in onIncomingCallAnswered() 157 if (CallsManager.getInstance().hasEmergencyCall()) { in mute() 305 CallsManager.getInstance().onAudioStateChanged(oldAudioState, mAudioState); in setSystemAudioState() 473 Call call = CallsManager.getInstance().getForegroundCall(); in updateAudioForForegroundCall() 483 Call call = CallsManager.getInstance().getForegroundCall(); in getForegroundCall() 494 Call call = CallsManager.getInstance().getForegroundCall(); in hasRingingForegroundCall()
|
/packages/apps/Settings/src/com/android/settings/ |
D | DateTimeSettings.java | 108 mDummyDate = Calendar.getInstance(); in initUI() 193 final Calendar now = Calendar.getInstance(); in updateTimeAndDateDisplay() 252 final Calendar calendar = Calendar.getInstance(); in onCreateDialog() 277 Calendar t = Calendar.getInstance(); in configureDatePicker() 367 Calendar c = Calendar.getInstance(); in setDate() 380 Calendar c = Calendar.getInstance(); in setTime() 402 BidiFormatter bidiFormatter = BidiFormatter.getInstance(); in getTimeZoneText()
|
/packages/apps/Browser/src/com/android/browser/ |
D | BrowserSettings.java | 133 public static BrowserSettings getInstance() { in getInstance() method in BrowserSettings 312 CookieManager.getInstance().setAcceptCookie(acceptCookies()); in syncSharedSettings() 427 WebIconDatabase.getInstance().removeAllIcons(); in clearCache() 437 CookieManager.getInstance().removeAllCookie(); in clearCookies() 447 WebViewDatabase.getInstance(mContext).clearFormData(); in clearFormData() 457 WebViewDatabase db = WebViewDatabase.getInstance(mContext); in clearPasswords() 463 WebStorage.getInstance().deleteAllData(); in clearDatabases() 467 GeolocationPermissions.getInstance().clearAll(); in clearLocationAccess()
|