/packages/apps/Settings/src/com/android/settings/network/ |
D | ProxySubscriptionManager.java | 65 if (sSingleton != null) { in getInstance() 66 return sSingleton; in getInstance() 68 sSingleton = new ProxySubscriptionManager(context.getApplicationContext()); in getInstance() 69 return sSingleton; in getInstance() 72 private static ProxySubscriptionManager sSingleton; field in ProxySubscriptionManager 150 sSingleton = null; in onDestroy()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | FastScrollingIndexCache.java | 89 private static FastScrollingIndexCache sSingleton; field in FastScrollingIndexCache 92 if (sSingleton == null) { in getInstance() 96 sSingleton = new FastScrollingIndexCache(prefs); in getInstance() 101 return sSingleton; in getInstance() 107 sSingleton = new FastScrollingIndexCache(prefs); in getInstanceForTest() 108 return sSingleton; in getInstanceForTest()
|
D | ProfileDatabaseHelper.java | 39 private static ProfileDatabaseHelper sSingleton = null; field in ProfileDatabaseHelper 56 if (sSingleton == null) { in getInstance() 57 sSingleton = new ProfileDatabaseHelper(context, DATABASE_NAME, true, in getInstance() 60 return sSingleton; in getInstance()
|
D | ContactLocaleUtils.java | 508 private static ContactLocaleUtils sSingleton; field in ContactLocaleUtils 535 if (sSingleton == null) { in getInstance() 536 sSingleton = new ContactLocaleUtils(LocaleSet.newDefault()); in getInstance() 538 return sSingleton; in getInstance() 552 if (sSingleton == null || !sSingleton.isLocale(locales)) { in setLocales() 556 sSingleton = new ContactLocaleUtils(locales); in setLocales()
|
D | ContactsDatabaseHelper.java | 930 private static ContactsDatabaseHelper sSingleton = null; field in ContactsDatabaseHelper 996 if (sSingleton == null) { in getInstance() 997 sSingleton = new ContactsDatabaseHelper(context, DATABASE_NAME, true, in getInstance() 1000 return sSingleton; in getInstance()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | SlicesDatabaseHelper.java | 131 private static SlicesDatabaseHelper sSingleton; field in SlicesDatabaseHelper 134 if (sSingleton == null) { in getInstance() 135 sSingleton = new SlicesDatabaseHelper(context.getApplicationContext()); in getInstance() 137 return sSingleton; in getInstance()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | AnomalyDatabaseHelper.java | 137 private static AnomalyDatabaseHelper sSingleton; field in AnomalyDatabaseHelper 140 if (sSingleton == null) { in getInstance() 141 sSingleton = new AnomalyDatabaseHelper(context.getApplicationContext()); in getInstance() 143 return sSingleton; in getInstance()
|
D | BatteryDatabaseManager.java | 54 private static BatteryDatabaseManager sSingleton; field in BatteryDatabaseManager 63 if (sSingleton == null) { in getInstance() 64 sSingleton = new BatteryDatabaseManager(context); in getInstance() 66 return sSingleton; in getInstance() 71 sSingleton = batteryDatabaseManager; in setUpForTest()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/ |
D | AnomalyDatabaseHelper.java | 137 private static AnomalyDatabaseHelper sSingleton; field in AnomalyDatabaseHelper 140 if (sSingleton == null) { in getInstance() 141 sSingleton = new AnomalyDatabaseHelper(context.getApplicationContext()); in getInstance() 143 return sSingleton; in getInstance()
|
D | BatteryDatabaseManager.java | 54 private static BatteryDatabaseManager sSingleton; field in BatteryDatabaseManager 63 if (sSingleton == null) { in getInstance() 64 sSingleton = new BatteryDatabaseManager(context); in getInstance() 66 return sSingleton; in getInstance() 71 sSingleton = batteryDatabaseManager; in setUpForTest()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SlicesDatabaseHelper.java | 131 private static SlicesDatabaseHelper sSingleton; field in SlicesDatabaseHelper 134 if (sSingleton == null) { in getInstance() 135 sSingleton = new SlicesDatabaseHelper(context.getApplicationContext()); in getInstance() 137 return sSingleton; in getInstance()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | IndexDatabaseHelper.java | 170 private static IndexDatabaseHelper sSingleton; field in IndexDatabaseHelper 175 if (sSingleton == null) { in getInstance() 176 sSingleton = new IndexDatabaseHelper(context); in getInstance() 178 return sSingleton; in getInstance()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarDatabaseHelper.java | 251 private static CalendarDatabaseHelper sSingleton = null; field in CalendarDatabaseHelper 308 if (sSingleton == null) { in getInstance() 309 sSingleton = new CalendarDatabaseHelper(context); in getInstance() 311 return sSingleton; in getInstance()
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | TvProvider.java | 770 private static DatabaseHelper sSingleton = null; field in TvProvider.DatabaseHelper 774 if (sSingleton == null) { in getInstance() 775 sSingleton = new DatabaseHelper(context); in getInstance() 777 return sSingleton; in getInstance()
|