Home
last modified time | relevance | path

Searched refs:INSTANCE (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Email/emailsync/src/com/android/emailsync/
DSyncManager.java206 protected static SyncManager INSTANCE; field in SyncManager
354 SyncManager ssm = INSTANCE; in getAccountSelector()
564 SyncManager ssm = INSTANCE; in unregisterCalendarObservers()
643 Mailbox mailbox = Mailbox.restoreMailboxOfType(INSTANCE, in onChange()
657 INSTANCE, mailbox); in onChange()
717 Intent syncAlarmIntent = new Intent(INSTANCE, EmailSyncAlarmReceiver.class);
719 PendingIntent.getBroadcast(INSTANCE, 0, syncAlarmIntent, 0);
720 AlarmManager alarmManager = (AlarmManager)INSTANCE.getSystemService(Context.ALARM_SERVICE);
734 SyncManager ssm = INSTANCE; in getAccountById()
745 SyncManager ssm = INSTANCE; in getAccountByName()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppPreference.java51 private static BluetoothOppPreference INSTANCE; field in BluetoothOppPreference
70 if (INSTANCE == null) { in getInstance()
71 INSTANCE = new BluetoothOppPreference(); in getInstance()
73 if (!INSTANCE.init(context)) { in getInstance()
76 return INSTANCE; in getInstance()
DBluetoothOppManager.java64 private static BluetoothOppManager INSTANCE; field in BluetoothOppManager
125 if (INSTANCE == null) { in getInstance()
126 INSTANCE = new BluetoothOppManager(); in getInstance()
128 INSTANCE.init(context); in getInstance()
130 return INSTANCE; in getInstance()
/packages/apps/Exchange/src/com/android/exchange/
DExchangeService.java173 SyncManager exchangeService = INSTANCE;
258 ExchangeService exchangeService = (ExchangeService)INSTANCE; in unregisterCalendarObservers()
309 Mailbox mailbox = Mailbox.restoreMailboxOfType(INSTANCE, in onChangeInBackground()
324 INSTANCE, mailbox); in onChangeInBackground()
444 SyncManager exchangeService = INSTANCE; in reloadFolderList()
509 SyncManager exchangeService = INSTANCE; in stopNonAccountMailboxSyncsForAccount()
522 SyncManager exchangeService = INSTANCE; in checkExchangeServiceServiceRunning()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAppState.java46 private static LauncherAppState INSTANCE; field in LauncherAppState
51 if (INSTANCE == null) { in getInstance()
52 INSTANCE = new LauncherAppState(); in getInstance()
54 return INSTANCE; in getInstance()
58 return INSTANCE; in getInstanceNoCreate()
DHolographicOutlineHelper.java47 static HolographicOutlineHelper INSTANCE; field in HolographicOutlineHelper
73 if (INSTANCE == null) { in obtain()
74 INSTANCE = new HolographicOutlineHelper(context); in obtain()
76 return INSTANCE; in obtain()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountServerBaseFragment.java54 protected Callback mCallback = EmptyCallback.INSTANCE;
100 public static final Callback INSTANCE = new EmptyCallback(); field in AccountServerBaseFragment.EmptyCallback
174 mCallback = EmptyCallback.INSTANCE; in onDetach()
210 mCallback = (callback == null) ? EmptyCallback.INSTANCE : callback; in setCallback()
DAccountSettingsFragment.java137 private Callback mCallback = EmptyCallback.INSTANCE;
164 public static final Callback INSTANCE = new EmptyCallback(); field in AccountSettingsFragment.EmptyCallback
434 mCallback = (callback == null) ? EmptyCallback.INSTANCE : callback; in setCallback()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileUtils.java305 FileFilterUtils.notFileFilter(DirectoryFileFilter.INSTANCE)); in listFiles()
310 effDirFilter = FalseFileFilter.INSTANCE; in listFiles()
313 DirectoryFileFilter.INSTANCE); in listFiles()
376 filter = TrueFileFilter.INSTANCE; in listFiles()
382 (recursive ? TrueFileFilter.INSTANCE : FalseFileFilter.INSTANCE)); in listFiles()
DFileSystemUtils.java52 private static final FileSystemUtils INSTANCE = new FileSystemUtils(); field in FileSystemUtils
137 return INSTANCE.freeSpaceOS(path, OS, false); in freeSpace()
166 return INSTANCE.freeSpaceOS(path, OS, true); in freeSpaceKb()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DClock.java20 private static final Clock INSTANCE = new Clock(); field in Clock
22 private static Clock sInstance = INSTANCE;
35 sInstance = INSTANCE; in resetInstance()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DPhoneNumberUtilsWrapper.java31 public static final PhoneNumberUtilsWrapper INSTANCE = new PhoneNumberUtilsWrapper(); field in PhoneNumberUtilsWrapper
77 if (INSTANCE.isVoicemailNumber(number)) { in isUnknownNumberThatCanBeLookedUp()
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DStopWatch.java90 return NullStopWatch.INSTANCE; in getNullStopWatch()
94 public static final NullStopWatch INSTANCE = new NullStopWatch(); field in StopWatch.NullStopWatch
/packages/apps/Browser/src/com/android/browser/
DBrowserActivity.java52 private ActivityController mController = NullController.INSTANCE;
190 mController = NullController.INSTANCE; in onDestroy()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DClock.java24 public static final Clock INSTANCE = new Clock(); field in Clock
DThrottle.java80 this(name, callback, handler, minTimeout, maxTimeout, Clock.INSTANCE, TIMER); in Throttle()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
DDirectoryFileFilter.java55 public static final IOFileFilter INSTANCE = DIRECTORY; field in DirectoryFileFilter
DTrueFileFilter.java43 public static final IOFileFilter INSTANCE = TRUE; field in TrueFileFilter
DFalseFileFilter.java43 public static final IOFileFilter INSTANCE = FALSE; field in FalseFileFilter
/packages/apps/Dialer/tests/src/com/android/dialer/dialpad/
DUnicodeDialerKeyListenerTest.java72 mUnicodeDialerKeyListener = UnicodeDialerKeyListener.INSTANCE; in setUp()
/packages/apps/Dialer/src/com/android/dialer/dialpad/
DUnicodeDialerKeyListener.java29 public static final UnicodeDialerKeyListener INSTANCE = new UnicodeDialerKeyListener(); field in UnicodeDialerKeyListener
/packages/apps/Browser/src/com/android/browser/stub/
DNullController.java20 public static NullController INSTANCE = new NullController(); field in NullController
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageWebView.java45 private final Clock mClock = Clock.INSTANCE;
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DBaseAccountType.java657 for (DataKind kind : KindParser.INSTANCE.parseDataKindTag(context, parser, attrs)) { in parseEditSchema()
681 public static final KindParser INSTANCE = new KindParser(); field in BaseAccountType.KindParser
/packages/apps/Email/src/com/android/email/
DNotificationController.java103 sInstance = new NotificationController(context, Clock.INSTANCE); in getInstance()

12