Home
last modified time | relevance | path

Searched refs:mConfiguration (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/java/android/app/servertransaction/
DConfigurationChangeItem.java32 private Configuration mConfiguration; field in ConfigurationChangeItem
36 client.updatePendingConfiguration(mConfiguration); in preExecute()
42 client.handleConfigurationChanged(mConfiguration); in execute()
56 instance.mConfiguration = config; in obtain()
63 mConfiguration = null; in recycle()
73 dest.writeTypedObject(mConfiguration, flags); in writeToParcel()
78 mConfiguration = in.readTypedObject(Configuration.CREATOR); in ConfigurationChangeItem()
101 return Objects.equals(mConfiguration, other.mConfiguration); in equals()
106 return mConfiguration.hashCode(); in hashCode()
111 return "ConfigurationChangeItem{config=" + mConfiguration + "}"; in toString()
DActivityConfigurationChangeItem.java36 private Configuration mConfiguration; field in ActivityConfigurationChangeItem
40 client.updatePendingActivityConfiguration(token, mConfiguration); in preExecute()
48 client.handleActivityConfigurationChanged(token, mConfiguration, INVALID_DISPLAY); in execute()
64 instance.mConfiguration = config; in obtain()
71 mConfiguration = null; in recycle()
81 dest.writeTypedObject(mConfiguration, flags); in writeToParcel()
86 mConfiguration = in.readTypedObject(Configuration.CREATOR); in ActivityConfigurationChangeItem()
109 return Objects.equals(mConfiguration, other.mConfiguration); in equals()
114 return mConfiguration.hashCode(); in hashCode()
119 return "ActivityConfigurationChange{config=" + mConfiguration + "}"; in toString()
DMoveToDisplayItem.java36 private Configuration mConfiguration; field in MoveToDisplayItem
42 client.handleActivityConfigurationChanged(token, mConfiguration, mTargetDisplayId); in execute()
58 instance.mConfiguration = configuration; in obtain()
66 mConfiguration = null; in recycle()
77 dest.writeTypedObject(mConfiguration, flags); in writeToParcel()
83 mConfiguration = in.readTypedObject(Configuration.CREATOR); in MoveToDisplayItem()
106 && Objects.equals(mConfiguration, other.mConfiguration); in equals()
113 result = 31 * result + mConfiguration.hashCode(); in hashCode()
120 + ",configuration=" + mConfiguration + "}"; in toString()
/frameworks/base/core/java/android/view/
DDisplayAdjustments.java30 private Configuration mConfiguration; field in DisplayAdjustments
37 mConfiguration = new Configuration(configuration != null in DisplayAdjustments()
43 mConfiguration = new Configuration(daj.mConfiguration != null in DisplayAdjustments()
44 ? daj.mConfiguration : Configuration.EMPTY); in DisplayAdjustments()
70 mConfiguration.setTo(configuration != null ? configuration : Configuration.EMPTY); in setConfiguration()
75 return mConfiguration; in getConfiguration()
82 hash = hash * 31 + Objects.hashCode(mConfiguration); in hashCode()
93 Objects.equals(daj.mConfiguration, mConfiguration); in equals()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java93 private final SQLiteDatabaseConfiguration mConfiguration; field in SQLiteConnectionPool
164 mConfiguration = new SQLiteDatabaseConfiguration(configuration); in SQLiteConnectionPool()
168 if (mConfiguration.idleConnectionTimeoutMs != Long.MAX_VALUE) { in SQLiteConnectionPool()
170 mConfiguration.idleConnectionTimeoutMs); in SQLiteConnectionPool()
206 mAvailablePrimaryConnection = openConnectionLocked(mConfiguration, in open()
257 Log.i(TAG, "The connection pool for " + mConfiguration.label in dispose()
289 boolean walModeChanged = ((configuration.openFlags ^ mConfiguration.openFlags) in reconfigure()
308 != mConfiguration.foreignKeyConstraintsEnabled; in reconfigure()
323 boolean onlyCompatWalChanged = (mConfiguration.openFlags ^ configuration.openFlags) in reconfigure()
326 if (!onlyCompatWalChanged && mConfiguration.openFlags != configuration.openFlags) { in reconfigure()
[all …]
DSQLiteConnection.java101 private final SQLiteDatabaseConfiguration mConfiguration; field in SQLiteConnection
168 mConfiguration = new SQLiteDatabaseConfiguration(configuration); in SQLiteConnection()
173 mConfiguration.maxSqlCacheSize); in SQLiteConnection()
215 mConnectionPtr = nativeOpen(mConfiguration.path, mConfiguration.openFlags, in open()
216 mConfiguration.label, in open()
218 mConfiguration.lookasideSlotSize, mConfiguration.lookasideSlotCount); in open()
230 final int functionCount = mConfiguration.customFunctions.size(); in open()
232 SQLiteCustomFunction function = mConfiguration.customFunctions.get(i); in open()
258 if (!mConfiguration.isInMemoryDb() && !mIsReadOnlyConnection) { in setPageSize()
268 if (!mConfiguration.isInMemoryDb() && !mIsReadOnlyConnection) { in setAutoCheckpointInterval()
[all …]
/frameworks/base/core/java/android/app/usage/
DConfigurationStats.java34 public Configuration mConfiguration; field in ConfigurationStats
73 mConfiguration = stats.mConfiguration; in ConfigurationStats()
82 return mConfiguration; in getConfiguration()
135 if (mConfiguration != null) { in writeToParcel()
137 mConfiguration.writeToParcel(dest, flags); in writeToParcel()
154 stats.mConfiguration = Configuration.CREATOR.createFromParcel(source);
DUsageEvents.java344 public Configuration mConfiguration; field in UsageEvents.Event
412 mConfiguration = orig.mConfiguration; in Event()
507 return mConfiguration; in getConfiguration()
753 event.mConfiguration.writeToParcel(p, flags); in writeEventToParcel()
811 eventOut.mConfiguration = null; in readEventFromParcel()
821 eventOut.mConfiguration = Configuration.CREATOR.createFromParcel(p); in readEventFromParcel()
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamRequest.cpp40 : mConfiguration() in AAudioStreamRequest()
55 status = mConfiguration.writeToParcel(parcel); in writeToParcel()
77 status = mConfiguration.readFromParcel(parcel); in readFromParcel()
88 return mConfiguration.validate(); in validate()
96 mConfiguration.dump(); in dump()
DAAudioStreamRequest.h64 return mConfiguration; in getConstantConfiguration()
68 return mConfiguration; in getConfiguration()
88 AAudioStreamConfiguration mConfiguration;
/frameworks/base/core/java/android/content/res/
DResourcesImpl.java164 private final Configuration mConfiguration = new Configuration(); field in ResourcesImpl
189 mConfiguration.setToDefaults(); in ResourcesImpl()
210 return mConfiguration; in getConfiguration()
224 mPluralRule = PluralRules.forLocale(mConfiguration.getLocales().get(0)); in getPluralRule()
381 + mConfiguration + " old compat is " in updateConfiguration()
406 LocaleList locales = mConfiguration.getLocales(); in updateConfiguration()
409 mConfiguration.setLocales(locales); in updateConfiguration()
429 mConfiguration.setLocales(new LocaleList(bestLocale, locales)); in updateConfiguration()
435 if (mConfiguration.densityDpi != Configuration.DENSITY_DPI_UNDEFINED) { in updateConfiguration()
436 mMetrics.densityDpi = mConfiguration.densityDpi; in updateConfiguration()
[all …]
/frameworks/av/include/media/
DVolumeShaper.h578 : mConfiguration(configuration) // we do not make a copy in VolumeShaper()
635 const bool clockTime = (mConfiguration->getOptionFlags() in getVolume()
664 (mConfiguration.get() == nullptr in toString()
665 ? "nullptr" : mConfiguration->toString().c_str()); in toString()
674 sp<VolumeShaper::Configuration> mConfiguration; variable
685 double scale = (mConfiguration->last().first - mConfiguration->first().first) in updatePosition()
686 / (mConfiguration->getDurationMs() * 0.001 * sampleRate); in updatePosition()
701 const T unscaledVolume = mConfiguration->findY(xOffset); in computeVolumeFromXOffset()
702 const T volume = mConfiguration->adjustVolume(unscaledVolume); // handle log scale in computeVolumeFromXOffset()
851 const bool clockTime = (it->mConfiguration->getOptionFlags() in applyVolumeShaper()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarView.java138 private Configuration mConfiguration; field in NavigationBarView
292 mConfiguration = new Configuration(); in NavigationBarView()
294 mConfiguration.updateFrom(context.getResources().getConfiguration()); in NavigationBarView()
456 final boolean orientationChange = oldConfig.orientation != mConfiguration.orientation; in updateIcons()
457 final boolean densityChange = oldConfig.densityDpi != mConfiguration.densityDpi; in updateIcons()
458 … final boolean dirChange = oldConfig.getLayoutDirection() != mConfiguration.getLayoutDirection(); in updateIcons()
496 final boolean isRtl = mConfiguration.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in orientBackButton()
1002 mTmpLastConfiguration.updateFrom(mConfiguration); in onConfigurationChanged()
1003 mConfiguration.updateFrom(newConfig); in onConfigurationChanged()
1007 mRecentsOnboarding.onConfigurationChanged(mConfiguration); in onConfigurationChanged()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DIntervalStats.java143 configStats.mConfiguration = config; in getOrCreateConfigurationStats()
197 event.mConfiguration = new Configuration(); in buildEvent()
198 event.mConfiguration.readFromProto(parser, IntervalStatsProto.Event.CONFIG); in buildEvent()
232 if (event.mConfiguration == null) { in buildEvent()
233 event.mConfiguration = new Configuration(); in buildEvent()
366 activeConfiguration = configStats.mConfiguration; in updateConfigurationStats()
DUsageStatsXmlV1.java198 statsOut.activeConfiguration = configStats.mConfiguration; in loadConfigStats()
227 event.mConfiguration = new Configuration(); in loadEvent()
228 Configuration.readXmlAttrs(parser, event.mConfiguration); in loadEvent()
328 Configuration.writeXmlAttrs(xml, configStats.mConfiguration); in writeConfigStats()
350 if (event.mConfiguration != null) { in writeEvent()
351 Configuration.writeXmlAttrs(xml, event.mConfiguration); in writeEvent()
DUsageStatsProto.java289 statsOut.activeConfiguration = configStats.mConfiguration; in loadConfigStats()
402 configStats.mConfiguration.writeToProto(proto, IntervalStatsProto.Configuration.CONFIG); in writeConfigStats()
464 if (event.mConfiguration != null) { in writeEvent()
465 event.mConfiguration.writeToProto(proto, IntervalStatsProto.Event.CONFIG); in writeEvent()
DUserUsageStatsService.java178 final Configuration newFullConfig = event.mConfiguration; in reportEvent()
182 event.mConfiguration = Configuration.generateDelta( in reportEvent()
727 if (event.mConfiguration != null) { in printEvent()
728 pw.printPair("config", Configuration.resourceQualifierString(event.mConfiguration)); in printEvent()
894 config.mConfiguration)); in printIntervalStats()
/frameworks/base/services/core/java/com/android/server/
DAttributeCache.java47 private final Configuration mConfiguration = new Configuration(); field in AttributeCache
107 int changes = mConfiguration.updateFrom(config); in updateConfiguration()
DUiModeManagerService.java128 private Configuration mConfiguration = new Configuration(); field in UiModeManagerService
330 mConfiguration.setToDefaults(); in onStart()
379 return mConfiguration; in getConfiguration()
907 mConfiguration.uiMode = uiMode; in updateConfigurationLocked()
921 if (mSetUiMode != mConfiguration.uiMode) { in applyConfigurationExternallyLocked()
922 mSetUiMode = mConfiguration.uiMode; in applyConfigurationExternallyLocked()
924 ActivityTaskManager.getService().updateConfiguration(mConfiguration); in applyConfigurationExternallyLocked()
1094 mConfiguration, null, UserHandle.USER_CURRENT); in sendConfigurationAndStartDreamOrDockAppLocked()
1299 final boolean isIt = (mConfiguration.uiMode & Configuration.UI_MODE_NIGHT_YES) != 0; in isNightMode()
1304 + "; uiMode=" + mConfiguration.uiMode in isNightMode()
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h94 inline const PropertyMap& getConfiguration() { return mConfiguration; } in getConfiguration()
137 PropertyMap mConfiguration; variable
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java157 event.mConfiguration = new Configuration(); in populateIntervalStats()
274 assertEquals(e1.mConfiguration, e2.mConfiguration, in compareUsageEvent()
275 "Usage event " + debugId + e2.mConfiguration.toString()); in compareUsageEvent()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java613 private final Configuration mConfiguration; field in RemoteViewsAdapter.FixedSizeRemoteViewsCache
622 mConfiguration = new Configuration(configuration); in FixedSizeRemoteViewsCache()
870 || (cache.mConfiguration.diff(config) & CACHE_RESET_CONFIG_FLAGS) != 0) { in RemoteViewsAdapter()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java606 private final Configuration mConfiguration = new Configuration(); field in ContextFixture
658 mConfiguration.locale = Locale.US; in ContextFixture()
659 doReturn(mConfiguration).when(mResources).getConfiguration(); in ContextFixture()
/frameworks/base/core/java/android/app/
DActivityThread.java335 Configuration mConfiguration; field in ActivityThread
3431 r.createdConfig = new Configuration(mConfiguration); in handleLaunchActivity()
3694 final Configuration newConfig = new Configuration(mConfiguration); in handleMultiWindowModeChanged()
3707 final Configuration newConfig = new Configuration(mConfiguration); in handlePictureInPictureModeChanged()
4863 handleConfigurationChanged(mConfiguration, data.info); in handleUpdatePackageCompatibilityInfo()
4864 WindowManagerGlobal.getInstance().reportNewConfiguration(mConfiguration); in handleUpdatePackageCompatibilityInfo()
5176 if (mConfiguration == null in handleRelaunchActivity()
5177 || (tmp.createdConfig.isOtherSeqNewer(mConfiguration) in handleRelaunchActivity()
5178 && mConfiguration.diff(tmp.createdConfig) != 0)) { in handleRelaunchActivity()
5266 r.createdConfig != null ? r.createdConfig : mConfiguration, in handleRelaunchActivityLocally()
[all …]
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp123 mContext->getEventHub()->getConfiguration(mId, &mConfiguration); in configure()

12