/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | AppPredictionsUITests.java | 70 AppLaunchTracker.INSTANCE.initializeForTesting(new AppLaunchTracker()); in setUp() 71 PredictionUiStateManager.INSTANCE.initializeForTesting(null); in setUp() 73 mCallback = PredictionUiStateManager.INSTANCE.get(mTargetContext).appPredictorCallback( in setUp() 81 AppLaunchTracker.INSTANCE.initializeForTesting(null); in tearDown() 82 PredictionUiStateManager.INSTANCE.initializeForTesting(null); in tearDown() 130 assertFalse(PredictionUiStateManager.INSTANCE.get(mTargetContext) in testPredictionsDisabled()
|
/packages/apps/Camera2/src/com/android/camera/one/v1/ |
D | LegacyOneCameraManagerImpl.java | 41 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/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherAppState.java | 48 private static final MainThreadInitializedObject<LauncherAppState> INSTANCE = field in LauncherAppState 59 return INSTANCE.get(context); in getInstance() 63 return INSTANCE.getNoCreate(); in getInstanceNoCreate() 79 mInvariantDeviceProfile = InvariantDeviceProfile.INSTANCE.get(mContext); in LauncherAppState() 176 return InvariantDeviceProfile.INSTANCE.get(context); in getIDP()
|
D | BaseDraggingActivity.java | 170 AppLaunchTracker.INSTANCE.get(this).onStartApp(intent.getComponent(), in startActivitySafely() 175 AppLaunchTracker.INSTANCE.get(this).onStartApp(intent.getComponent(), user, in startActivitySafely() 204 AppLaunchTracker.INSTANCE.get(this).onStartShortcut(packageName, id, info.user, in startShortcutIntentSafely()
|
/packages/apps/Camera2/src/com/android/camera/debug/ |
D | Loggers.java | 61 private static final NoOpLoggerFactory INSTANCE = new NoOpLoggerFactory(); 65 return Singleton.INSTANCE; 86 private static final TagLoggerFactory INSTANCE = new TagLoggerFactory(); 90 return Singleton.INSTANCE;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | Clock.java | 20 private static final Clock INSTANCE = new Clock(); field in Clock 22 private static Clock sInstance = INSTANCE; 35 sInstance = INSTANCE; in resetInstance()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | UiFactory.java | 71 SysUINavigationMode mode = SysUINavigationMode.INSTANCE.get(launcher); in enableLiveUIChanges() 97 OverviewInteractionState.INSTANCE.get(launcher) in onLauncherStateOrFocusChanged() 113 boolean swipeUpEnabled = SysUINavigationMode.INSTANCE.get(launcher).getMode() in onCreate() 151 RecentsModel.INSTANCE.get(context).getThumbnailCache() in onEnterAnimationComplete() 156 RecentsModel model = RecentsModel.INSTANCE.get(context); in onTrimMemory()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelecomSystem.java | 104 private static TelecomSystem INSTANCE = null; field in TelecomSystem 171 return INSTANCE; in getInstance() 175 if (INSTANCE != null) { in setInstance() 179 INSTANCE = instance; in setInstance()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | PredictionAppTracker.java | 69 InvariantDeviceProfile.INSTANCE.get(mContext).addOnChangeListener(this::onIdpChanged); in PredictionAppTracker() 105 PredictionUiStateManager.INSTANCE.get(mContext).appPredictorCallback(client)); in createPredictor() 127 int count = InvariantDeviceProfile.INSTANCE.get(mContext).numColumns; in handleMessage()
|
/packages/apps/Camera2/src_pd/com/android/camera/debug/ |
D | LogHelper.java | 20 private static final LogHelper INSTANCE = new LogHelper(); field in LogHelper.Singleton 24 return Singleton.INSTANCE; in instance()
|
/packages/apps/TV/src/com/android/tv/perf/ |
D | PerformanceMonitorManagerFactory.java | 22 private static final PerformanceMonitorManagerFactory INSTANCE = field in PerformanceMonitorManagerFactory 29 return INSTANCE.get(); in create()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ManagedProfileUtils.java | 24 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/ |
D | GlobalMeteringParameters.java | 32 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/ |
D | MenuItemControllerFactory.java | 29 private static final MenuItemControllerFactory INSTANCE = new MenuItemControllerFactory(); field in MenuItemControllerFactory 32 return INSTANCE; in getInstance()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/view/ |
D | ContactAvatarOutputlineProvider.java | 30 private static final ContactAvatarOutputlineProvider INSTANCE = field in ContactAvatarOutputlineProvider 35 return INSTANCE; in get()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | MainThreadExecutor.java | 32 private static final MainThreadExecutor INSTANCE = new MainThreadExecutor(); field in MainThreadExecutor 35 return INSTANCE; in getInstance()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | PopupDataProvider.java | 61 private PopupDataChangeListener mChangeListener = PopupDataChangeListener.INSTANCE; 205 mChangeListener = listener == null ? PopupDataChangeListener.INSTANCE : listener; in setChangeListener() 231 PopupDataChangeListener INSTANCE = new PopupDataChangeListener() { }; field
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | FileSystemUtils.java | 52 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()
|
D | FileUtils.java | 305 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()
|
/packages/apps/Camera2/src/com/android/camera/device/ |
D | ActiveCameraDeviceTracker.java | 38 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/ |
D | FirstRunDetector.java | 33 private static final FirstRunDetector INSTANCE = new FirstRunDetector( field in FirstRunDetector.Singleton 38 return Singleton.INSTANCE; in instance()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | TouchInteractionService.java | 314 onNavigationModeChanged(SysUINavigationMode.INSTANCE.get(this).addModeChangeListener(this)); in onCreate() 433 mRecentsModel = RecentsModel.INSTANCE.get(this); in initWhenUserUnlocked() 437 mOverviewInteractionState = OverviewInteractionState.INSTANCE.get(this); in initWhenUserUnlocked() 439 mTaskOverlayFactory = TaskOverlayFactory.INSTANCE.get(this); in initWhenUserUnlocked() 492 SysUINavigationMode.INSTANCE.get(this).removeModeChangeListener(this); in onDestroy()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcUnlockManager.java | 32 return Singleton.INSTANCE; in getInstance() 91 private static final NfcUnlockManager INSTANCE = new NfcUnlockManager(); field in NfcUnlockManager.Singleton
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | PendingAppWidgetHostView.java | 83 setOnClickListener(ItemClickHandler.INSTANCE); in PendingAppWidgetHostView() 136 DrawableFactory drawableFactory = DrawableFactory.INSTANCE.get(getContext()); in reapplyItemInfo() 147 mCenterDrawable = DrawableFactory.INSTANCE.get(getContext()) in reapplyItemInfo()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | StopWatch.java | 90 return NullStopWatch.INSTANCE; in getNullStopWatch() 94 public static final NullStopWatch INSTANCE = new NullStopWatch(); field in StopWatch.NullStopWatch
|