Home
last modified time | relevance | path

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

12345678910>>...19

/packages/apps/Email/src/com/android/email/activity/setup/
DSetupData.java68 public static synchronized SetupData getInstance() { in getInstance() method in SetupData
80 return getInstance().mFlowMode; in getFlowMode()
84 getInstance().mFlowMode = mFlowMode; in setFlowMode()
88 return getInstance().mAccount; in getAccount()
92 getInstance().mAccount = mAccount; in setAccount()
96 return getInstance().mUsername; in getUsername()
100 getInstance().mUsername = mUsername; in setUsername()
104 return getInstance().mPassword; in getPassword()
108 getInstance().mPassword = mPassword; in setPassword()
112 getInstance().mCheckSettingsMode = mCheckSettingsMode; in setCheckSettingsMode()
[all …]
/packages/apps/Phone/src/com/android/phone/
DSipBroadcastReceiver.java62 CallManager.getInstance().registerPhone(phone); in onReceive()
65 + CallManager.getInstance().getAllPhones().size()); in onReceive()
70 + CallManager.getInstance().getAllPhones().size()); in onReceive()
81 for (Phone phone : CallManager.getInstance().getAllPhones()) { in removeSipPhone()
84 CallManager.getInstance().unregisterPhone((SipPhone)phone); in removeSipPhone()
93 Context phoneContext = PhoneApp.getInstance(); in takeCall()
97 for (Phone phone : CallManager.getInstance().getAllPhones()) { in takeCall()
109 final Context context = PhoneApp.getInstance(); in registerAllProfiles()
DPhoneUtils.java239 final PhoneApp app = PhoneApp.getInstance(); in answerCall()
376 final CallNotifier notifier = PhoneApp.getInstance().notifier; in hangupRingingCall()
442 CallManager cm = PhoneApp.getInstance().mCM; in hangup()
563 final PhoneApp app = PhoneApp.getInstance(); in placeCall()
713 CallManager cm = PhoneApp.getInstance().mCM; in switchHoldingAndActive()
732 Phone phone = PhoneApp.getInstance().mCM.getFgPhone(); in restoreMuteState()
769 mergeCalls(PhoneApp.getInstance().mCM); in mergeCalls()
776 PhoneApp app = PhoneApp.getInstance(); in mergeCalls()
922 final PhoneApp app = PhoneApp.getInstance(); in displayMMIComplete()
1648 final PhoneApp app = PhoneApp.getInstance(); in isConferenceCall()
[all …]
DDataUsageListener.java82 mStart = GregorianCalendar.getInstance(); in initialize()
83 mEnd = GregorianCalendar.getInstance(); in initialize()
161 long currentTime = GregorianCalendar.getInstance().getTimeInMillis() in updateUI()
166 Calendar cal = Calendar.getInstance(); in updateUI()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DInputMethodServiceCompatWrapper.java45 final IBinder windowToken = KeyboardSwitcher.getInstance().getKeyboardView() in showOptionDialogInternal()
66 mImm = InputMethodManagerCompatWrapper.getInstance(); in onCreate()
91 LanguageSwitcherProxy.getInstance().setLocale(subtype.getLocale()); in notifyOnCurrentInputMethodSubtypeChanged()
93 SubtypeSwitcher.getInstance().updateSubtype(subtype); in notifyOnCurrentInputMethodSubtypeChanged()
104 SubtypeSwitcher.getInstance().updateSubtype( in onCurrentInputMethodSubtypeChanged()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DHanziToPinyinTest.java43 ArrayList<Token> tokens = HanziToPinyin.getInstance().get(ONE_HANZI); in testGetToken()
48 tokens = HanziToPinyin.getInstance().get(TWO_HANZI); in testGetToken()
55 tokens = HanziToPinyin.getInstance().get(ASSIC); in testGetToken()
59 tokens = HanziToPinyin.getInstance().get(ONE_UNKNOWN); in testGetToken()
63 tokens = HanziToPinyin.getInstance().get(MISC); in testGetToken()
/packages/apps/Email/src/com/android/email/provider/
DWidgetProvider.java59 WidgetManager.getInstance().createWidgets(context, appWidgetIds); in onUpdate()
67 WidgetManager.getInstance().deleteWidgets(context, appWidgetIds); in onDeleted()
92 return WidgetManager.getInstance().getOrCreateWidget(this, widgetId); in onGetViewFactory()
106 WidgetManager.getInstance().dump(fd, writer, args); in dump()
/packages/apps/Email/src/com/android/email/service/
DAccountService.java50 NotificationController.getInstance(mContext).showLoginFailedNotification(accountId);
55 NotificationController.getInstance(mContext).cancelLoginFailedNotification(accountId);
89 return ResourceHelper.getInstance(mContext).getAccountColor(accountId);
96 VendorPolicyLoader.getInstance(mContext).useAlternateExchangeStrings());
/packages/apps/Browser/src/com/android/browser/
DSystemAllowGeolocationOrigins.java91 SharedPreferences preferences = BrowserSettings.getInstance()
168 GeolocationPermissions.getInstance().allow(origin); in addOrigins()
178 GeolocationPermissions.getInstance().getAllowed(origin, new ValueCallback<Boolean>() { in removeOrigins()
181 GeolocationPermissions.getInstance().clear(origin); in removeOrigins()
DPreloadRequestReceiver.java57 String preload = BrowserSettings.getInstance().getPreloadEnabled(); in isPreloadEnabledOnCurrentNetwork()
106 Preloader.getInstance().discardPreload(id); in handlePreload()
109 Preloader.getInstance().cancelSearchBoxPreload(id); in handlePreload()
129 Preloader.getInstance().handlePreloadRequest(id, url, headers, sbQuery); in handlePreload()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDefaultCallLogInsertionHelper.java46 public static synchronized DefaultCallLogInsertionHelper getInstance(Context context) { in getInstance() method in DefaultCallLogInsertionHelper
74 mPhoneNumberUtil = PhoneNumberUtil.getInstance(); in getPhoneNumberUtil()
89 mPhoneNumberOfflineGeocoder = PhoneNumberOfflineGeocoder.getInstance(); in getPhoneNumberOfflineGeocoder()
DNameNormalizer.java31 sCompressingCollator = (RuleBasedCollator)Collator.getInstance(Locale.getDefault());
38 sComplexityCollator = (RuleBasedCollator)Collator.getInstance(Locale.getDefault());
/packages/apps/Email/src/com/android/email/widget/
DWidgetManager.java50 public static WidgetManager getInstance() { in getInstance() method in WidgetManager
63 final EmailWidget widget = WidgetManager.getInstance().get(widgetId); in deleteWidgets()
73 EmailWidget widget = WidgetManager.getInstance().get(widgetId); in getOrCreateWidget()
79 WidgetManager.getInstance().put(widgetId, widget); in getOrCreateWidget()
/packages/apps/HTMLViewer/src/com/android/htmlviewer/
DHTMLViewerActivity.java117 CookieSyncManager.getInstance().startSync(); in onResume()
134 CookieSyncManager.getInstance().stopSync(); in onStop()
156 CookieSyncManager.getInstance().sync(); in onProgressChanged()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DUserDictionaryToolsListEN.java34 if (OpenWnnEN.getInstance() == null) { in UserDictionaryToolsListEN()
56 return OpenWnnEN.getInstance().onEvent(ev); in sendEventToIME()
/packages/apps/Email/tests/src/com/android/email/
DVendorPolicyLoaderTest.java64 VendorPolicyLoader pl = VendorPolicyLoader.getInstance(getContext()); in testGetPolicy()
112 VendorPolicyLoader pl = VendorPolicyLoader.getInstance(getContext()); in testGetImapIdValues()
144 VendorPolicyLoader pl = VendorPolicyLoader.getInstance(getContext()); in testFindProviderForDomain()
DFolderPropertiesTests.java45 FolderProperties fp = FolderProperties.getInstance(context); in testGetDisplayName()
102 FolderProperties fp = FolderProperties.getInstance(context); in testGetDisplayNameWithCursor()
121 FolderProperties fp = FolderProperties.getInstance(mContext); in testSpecialIcons()
149 FolderProperties fp = FolderProperties.getInstance(context); in testGetMessageCountWithCursor()
/packages/apps/Mms/src/com/android/mms/dom/smil/
DSmilLayoutElementImpl.java57 rootLayoutNode.setWidth(LayoutManager.getInstance().getLayoutParameters().getWidth()); in getRootLayout()
58 rootLayoutNode.setHeight(LayoutManager.getInstance().getLayoutParameters().getHeight()); in getRootLayout()
/packages/apps/Browser/src/com/android/browser/preferences/
DAccessibilityPreferencesFragment.java43 BrowserSettings settings = BrowserSettings.getInstance(); in onCreate()
109 BrowserSettings settings = BrowserSettings.getInstance(); in onPreferenceChange()
114 BrowserSettings settings = BrowserSettings.getInstance(); in onPreferenceChange()
/packages/apps/Contacts/src/com/android/contacts/socialwidget/
DSocialWidgetConfigureActivity.java50 SocialWidgetSettings.getInstance().setContactUri(context, widgetId, data.getData()); in onActivityResult()
54 context, AppWidgetManager.getInstance(this), widgetId, true); in onActivityResult()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DAccessibleKeyboardViewProxy.java56 sInstance.mListener = AccessibleInputMethodServiceProxy.getInstance(); in init()
59 public static AccessibleKeyboardViewProxy getInstance() { in getInstance() method in AccessibleKeyboardViewProxy
98 final boolean shouldObscure = AccessibilityUtils.getInstance().shouldObscureInput(info); in dispatchPopulateAccessibilityEvent()
99 final CharSequence description = KeyCodeDescriptionMapper.getInstance() in dispatchPopulateAccessibilityEvent()
/packages/apps/Email/src/com/android/email/
DEmail.java179 NotificationController.getInstance(context).watchForMessages(enabled); in setServicesEnabled()
207 RefreshManager.getInstance(this); in onCreate()
209 Controller.getInstance(this).resetVisibleLimits(); in onCreate()
235 Controller.getInstance(context).serviceLogging(debugBits); in updateLoggingFlags()
DSecurityPolicy.java64 public synchronized static SecurityPolicy getInstance(Context context) { in getInstance() method in SecurityPolicy
534 NotificationController.getInstance(mContext).showSecurityNeededNotification(account); in policiesRequired()
542 NotificationController.getInstance(mContext).cancelSecurityNeededNotification(); in clearNotification()
597 Controller.getInstance(context).deleteAccountSync( in deleteSecuredAccounts()
642 NotificationController.getInstance(mContext).showPasswordExpiringNotification( in onPasswordExpiring()
646 boolean wiped = wipeExpiredAccounts(context, Controller.getInstance(context)); in onPasswordExpiring()
648 NotificationController.getInstance(mContext).showPasswordExpiredNotification( in onPasswordExpiring()
707 SecurityPolicy instance = SecurityPolicy.getInstance(context);
720 NotificationController.getInstance(context).cancelPasswordExpirationNotifications();
/packages/apps/Email/tests/src/com/android/email/mail/
DStoreTests.java66 testStore = Store.getInstance(testAccount, getContext()); in testGetInstance()
78 testStore = Store.getInstance(testAccount, getContext()); in testGetInstance()
89 testStore = Store.getInstance(testAccount, getContext()); in testGetInstance()
/packages/apps/Settings/src/com/android/settings/
DEditPinPreference.java59 editText.setTransformationMethod(PasswordTransformationMethod.getInstance()); in onBindDialogView()
60 editText.setKeyListener(DigitsKeyListener.getInstance()); in onBindDialogView()

12345678910>>...19