Home
last modified time | relevance | path

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

123

/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAppState.java48 private static LauncherAppState INSTANCE; field in LauncherAppState
55 if (INSTANCE == null) { in getInstance()
56 INSTANCE = new LauncherAppState(); in getInstance()
58 return INSTANCE; in getInstance()
62 return INSTANCE; in getInstanceNoCreate()
/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/Camera2/src/com/android/camera/one/v1/
DLegacyOneCameraManagerImpl.java41 private static Optional<LegacyOneCameraManagerImpl> INSTANCE; field in LegacyOneCameraManagerImpl
51 if (INSTANCE != null) { in instance()
52 return INSTANCE; in instance()
87 INSTANCE = Optional.of(cameraManager); in instance()
88 return INSTANCE; in instance()
/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/Camera2/src/com/android/camera/debug/
DLoggers.java61 private static final NoOpLoggerFactory INSTANCE = new NoOpLoggerFactory();
65 return Singleton.INSTANCE;
86 private static final TagLoggerFactory INSTANCE = new TagLoggerFactory();
90 return Singleton.INSTANCE;
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomSystem.java90 private static TelecomSystem INSTANCE = null; field in TelecomSystem
135 return INSTANCE; in getInstance()
139 if (INSTANCE != null) { in setInstance()
143 INSTANCE = instance; in setInstance()
/packages/apps/Camera2/src_pd/com/android/camera/debug/
DLogHelper.java20 private static final LogHelper INSTANCE = new LogHelper(); field in LogHelper.Singleton
24 return Singleton.INSTANCE; in instance()
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/utils/
DManagedProfileUtils.java24 private static ManagedProfileUtils INSTANCE = new ManagedProfileUtils(); field in ManagedProfileUtils
37 return sTestInstance == null ? INSTANCE : sTestInstance; in getInstance()
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
DGlobalMeteringParameters.java32 private static final GlobalMeteringParameters INSTANCE = new GlobalMeteringParameters(); field in GlobalMeteringParameters.Singleton
36 return Singleton.INSTANCE; in create()
/packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/
DMenuItemControllerFactory.java29 private static final MenuItemControllerFactory INSTANCE = new MenuItemControllerFactory(); field in MenuItemControllerFactory
32 return INSTANCE; in getInstance()
/packages/apps/TV/src/com/android/tv/util/
DMainThreadExecutor.java33 private final static MainThreadExecutor INSTANCE = new MainThreadExecutor(); field in MainThreadExecutor
36 return INSTANCE; in getInstance()
/packages/apps/Camera2/src/com/android/camera/device/
DActiveCameraDeviceTracker.java38 public static final ActiveCameraDeviceTracker INSTANCE = new ActiveCameraDeviceTracker(); field in ActiveCameraDeviceTracker.Singleton
42 return Singleton.INSTANCE; in instance()
/packages/apps/Camera2/src/com/android/camera/app/
DFirstRunDetector.java33 private static final FirstRunDetector INSTANCE = new FirstRunDetector( field in FirstRunDetector.Singleton
38 return Singleton.INSTANCE; in instance()
DCameraServicesImpl.java45 private static final CameraServicesImpl INSTANCE = new CameraServicesImpl( field in CameraServicesImpl.Singleton
53 return Singleton.INSTANCE; in instance()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerWhitelistBackend.java34 private static final PowerWhitelistBackend INSTANCE = new PowerWhitelistBackend(); field in PowerWhitelistBackend
94 return INSTANCE; in getInstance()
/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/Nfc/src/com/android/nfc/
DNfcUnlockManager.java32 return Singleton.INSTANCE; in getInstance()
91 private static final NfcUnlockManager INSTANCE = new NfcUnlockManager(); field in NfcUnlockManager.Singleton
/packages/apps/Camera2/src/com/android/camera/processing/
DProcessingServiceManager.java40 private static final ProcessingServiceManager INSTANCE = new ProcessingServiceManager( field in ProcessingServiceManager.Singleton
45 return Singleton.INSTANCE; in instance()
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
DTestInputControl.java45 private final static TestInputControl INSTANCE = new TestInputControl(); field in TestInputControl
57 return INSTANCE; in getInstance()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileSystemUtils.java52 private static final FileSystemUtils INSTANCE = new FileSystemUtils(); field in FileSystemUtils
138 return INSTANCE.freeSpaceOS(path, OS, false); in freeSpace()
167 return INSTANCE.freeSpaceOS(path, OS, true); in freeSpaceKb()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
DUsbTunerDebug.java51 private static final UsbTunerDebug INSTANCE = new UsbTunerDebug(); field in UsbTunerDebug.LazyHolder
55 return LazyHolder.INSTANCE; in getInstance()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamManager.java49 public static final BeamManager INSTANCE = new BeamManager(); field in BeamManager.Singleton
59 return Singleton.INSTANCE; in getInstance()
/packages/apps/Camera2/src/com/android/camera/ui/
DAnimatedCircleDrawable.java92 animator.setInterpolator(Gusterpolator.INSTANCE); in animateToSmallRadius()
106 animator.setInterpolator(Gusterpolator.INSTANCE); in animateToFullSize()
/packages/apps/Camera2/src/com/android/camera/stats/profiler/
DProfilers.java36 private static final Profilers INSTANCE = new Profilers( field in Profilers.Singleton
47 return Singleton.INSTANCE; in instance()

123