/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 | 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 | 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 | 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 …]
|
/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/apps/Nfc/nci/jni/ |
D | NativeNfcManager.cpp | 251 NfcTag& natTag = NfcTag::getInstance(); in handleRfDiscoveryEvent() 343 NfcTag::getInstance().setNumDiscNtf(0); in nfaConnectionCallback() 347 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback() 387 NfcTag::getInstance().getNumDiscNtf()) { in nfaConnectionCallback() 389 NfcTag::getInstance().setNumDiscNtf(0); in nfaConnectionCallback() 399 NfcTag::getInstance().setActivationState(); in nfaConnectionCallback() 403 NfcTag::getInstance().setActive(true); in nfaConnectionCallback() 407 NfcTag::getInstance().setActivationState(); in nfaConnectionCallback() 446 NfcTag::getInstance().connectionEventHandler(connEvent, eventData); in nfaConnectionCallback() 447 if (NfcTag::getInstance().getNumDiscNtf()) { in nfaConnectionCallback() [all …]
|
D | NativeNfcTag.cpp | 554 NfcTag& natTag = NfcTag::getInstance(); in nativeNfcTag_doConnect() 630 NfcTag& natTag = NfcTag::getInstance(); in reSelect() 637 if (NfcTag::getInstance().isNdefDetectionTimedOut()) { in reSelect() 687 if (NfcTag::getInstance().getActivationState() != NfcTag::Sleep) { in reSelect() 738 if (NfcTag::getInstance().getActivationState() != NfcTag::Active) { in reSelect() 772 NfcTag& natTag = NfcTag::getInstance(); in switchRfInterface() 803 NfcTag& natTag = NfcTag::getInstance(); in nativeNfcTag_doReconnect() 866 NfcTag::getInstance().resetAllTransceiveTimeouts(); in nativeNfcTag_doDisconnect() 868 if (NfcTag::getInstance().getActivationState() != NfcTag::Active) { in nativeNfcTag_doDisconnect() 947 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/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/modules/StatsD/statsd/tests/subscriber/ |
D | SubscriberReporter_test.cpp | 53 SubscriberReporter::getInstance().setBroadcastSubscriber(configKey1, subscriptionId1, pir1); in SetUp() 54 SubscriberReporter::getInstance().setBroadcastSubscriber(configKey1, subscriptionId2, pir2); in SetUp() 55 SubscriberReporter::getInstance().setBroadcastSubscriber(configKey2, subscriptionId1, pir3); in SetUp() 59 SubscriberReporter::getInstance(); in TearDown() 60 SubscriberReporter::getInstance().unsetBroadcastSubscriber(configKey1, subscriptionId1); in TearDown() 61 SubscriberReporter::getInstance().unsetBroadcastSubscriber(configKey1, subscriptionId2); in TearDown() 62 SubscriberReporter::getInstance().unsetBroadcastSubscriber(configKey2, subscriptionId1); in TearDown() 66 ASSERT_TRUE(SubscriberReporter::getInstance().mIntentMap.empty()); in TearDown() 77 EXPECT_THAT(SubscriberReporter::getInstance().mIntentMap, ContainerEq(expectedIntentMap)); in TEST_F() 86 EXPECT_THAT(SubscriberReporter::getInstance().mIntentMap, ContainerEq(expectedIntentMap)); in TEST_F() [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/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/modules/StatsD/statsd/src/external/ |
D | StatsPuller.cpp | 49 StatsdStats::getInstance().notePull(mTagId); in Pull() 55 StatsdStats::getInstance().notePullFromCache(mTagId); in Pull() 61 StatsdStats::getInstance().updateMinPullIntervalSec( in Pull() 73 StatsdStats::getInstance().notePullTime(mTagId, pullElapsedDurationNs); in Pull() 79 StatsdStats::getInstance().notePullTimeout( in Pull() 92 StatsdStats::getInstance().noteEmptyData(mTagId); in Pull()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | ProxySubscriptionManagerTest.java | 76 private ProxySubscriptionManager getInstance(Context context) { in getInstance() method in ProxySubscriptionManagerTest 108 ProxySubscriptionManager proxy = getInstance(mContext); in addActiveSubscriptionsListener_addOneClient_getNoCallback() 117 ProxySubscriptionManager proxy = getInstance(mContext); in addActiveSubscriptionsListener_addOneClient_changeOnSimGetCallback() 129 ProxySubscriptionManager proxy = getInstance(mContext); in addActiveSubscriptionsListener_addOneClient_noCallbackUntilUiResume() 154 ProxySubscriptionManager proxy = getInstance(mContext); in addActiveSubscriptionsListener_addTwoClient_eachClientGetNoCallback() 167 ProxySubscriptionManager proxy = getInstance(mContext); in addActiveSubscriptionsListener_addTwoClient_callbackOnlyWhenResume() 194 ProxySubscriptionManager proxy = getInstance(mContext); in removeActiveSubscriptionsListener_removedClient_noCallback() 212 ProxySubscriptionManager proxy = getInstance(mContext); in notifySubscriptionInfoMightChanged_destroyedClient_autoRemove()
|
/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() 186 for (int subId : SubscriptionController.getInstance().getActiveSubIdList(true)) { in onPreferenceTreeClick() 189 int phoneId = SubscriptionController.getInstance().getPhoneId(subId); in onPreferenceTreeClick() 190 ImsManager imsManager = ImsManager.getInstance(getContext(), phoneId); in onPreferenceTreeClick() 211 ImsManager imsManager = ImsManager.getInstance(mContext, phone.getPhoneId()); in isVolteTtySupportedInAnySlot() 267 for (int subId : SubscriptionController.getInstance().getActiveSubIdList(true)) { in shouldShowRttSetting() 268 if (PhoneGlobals.getInstance().phoneMgr.isRttSupported(subId)) { in shouldShowRttSetting() 291 PhoneGlobals.getInstance().getCarrierConfigForSubId(subId); in isCarrierAllowRttWhenRoaming()
|
/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_2_0) { in clearNfcRoutingTableLocked() 174 NfcService.getInstance().unrouteAids(""); in clearNfcRoutingTableLocked() 251 mMaxAidRoutingTableSize = NfcService.getInstance().getAidRoutingTableSize(); in configureRouting() 343 if (NfcService.getInstance().getNciVersion() in configureRouting() 344 >= NfcService.getInstance().NCI_VERSION_2_0) { in configureRouting() 375 if (NfcService.getInstance().getNciVersion() in configureRouting() 376 < NfcService.getInstance().NCI_VERSION_2_0) { in configureRouting() 422 NfcService.getInstance().routeAids(aid, route, aidType, power); in commit() 427 NfcService.getInstance().commitRouting(); in commit()
|
/packages/modules/StatsD/statsd/src/packages/ |
D | UidMap.cpp | 72 sp<UidMap> UidMap::getInstance() { in getInstance() function in android::os::statsd::UidMap 148 StatsdStats::getInstance().setCurrentUidMapMemory(mBytesUsed); in updateMap() 197 StatsdStats::getInstance().setCurrentUidMapMemory(mBytesUsed); in updateApp() 198 StatsdStats::getInstance().setUidMapChanges(mChanges.size()); in updateApp() 219 StatsdStats::getInstance().noteUidMapDropped(1); in ensureBytesUsedBelowLimit() 245 StatsdStats::getInstance().noteUidMapAppDeletionDropped(); in removeApp() 250 StatsdStats::getInstance().setCurrentUidMapMemory(mBytesUsed); in removeApp() 251 StatsdStats::getInstance().setUidMapChanges(mChanges.size()); in removeApp() 294 StatsdStats::getInstance().setUidMapChanges(0); in clearOutput() 296 StatsdStats::getInstance().setCurrentUidMapMemory(mBytesUsed); in clearOutput() [all …]
|