Home
last modified time | relevance | path

Searched refs:mSettings (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerSettingsTests.java56 private OverlayManagerSettings mSettings; field in OverlayManagerSettingsTests
78 mSettings = new OverlayManagerSettings(); in setUp()
85 final Map<String, List<OverlayInfo>> map = mSettings.getOverlaysForUser(0 /* userId */); in testSettingsInitiallyEmpty()
91 assertDoesNotContain(mSettings, OVERLAY_A_USER0); in testBasicSetAndGet()
94 assertContains(mSettings, OVERLAY_A_USER0); in testBasicSetAndGet()
95 final OverlayInfo oi = mSettings.getOverlayInfo(OVERLAY_A, USER_0); in testBasicSetAndGet()
98 assertTrue(mSettings.remove(OVERLAY_A, USER_0)); in testBasicSetAndGet()
99 assertDoesNotContain(mSettings, OVERLAY_A, USER_0); in testBasicSetAndGet()
104 assertArrayEquals(new int[]{}, mSettings.getUsers()); in testGetUsers()
107 assertArrayEquals(new int[]{USER_0}, mSettings.getUsers()); in testGetUsers()
[all …]
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerServiceImpl.java80 private final OverlayManagerSettings mSettings; field in OverlayManagerServiceImpl
141 mSettings = settings; in OverlayManagerServiceImpl()
197 mSettings.getOverlaysForUser(newUserId); in updateOverlaysForUser()
218 final OverlayInfo oi = mSettings.getOverlayInfo(overlay, newUserId); in updateOverlaysForUser()
223 mSettings.setEnabled(overlay, newUserId, true); in updateOverlaysForUser()
243 mSettings.removeUser(userId); in onUserRemoved()
290 final List<OverlayInfo> overlays = mSettings.removeIf( in removeOverlaysForUser()
308 final List<OverlayInfo> overlays = mSettings.getOverlaysForTarget(targetPackage, userId); in updateOverlaysForTarget()
315 modified |= mSettings.remove(oi.getOverlayIdentifier(), userId); in updateOverlaysForTarget()
336 OverlayInfo currentInfo = mSettings.getNullableOverlayInfo(overlay, userId); in updatePackageOverlays()
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothAvrcpPlayerSettings.java99 private int mSettings; field in BluetoothAvrcpPlayerSettings
113 out.writeInt(mSettings); in writeToParcel()
133 mSettings = in.readInt(); in BluetoothAvrcpPlayerSettings()
146 mSettings = settings; in BluetoothAvrcpPlayerSettings()
155 return mSettings; in getSettings()
168 if ((setting & mSettings) == 0) { in addSettingValue()
169 Log.e(TAG, "Setting not supported: " + setting + " " + mSettings); in addSettingValue()
185 if ((setting & mSettings) == 0) { in getSettingValue()
186 Log.e(TAG, "Setting not supported: " + setting + " " + mSettings); in getSettingValue()
/frameworks/base/core/java/android/view/textclassifier/
DSystemTextClassifier.java51 private final TextClassificationConstants mSettings; field in SystemTextClassifier
72 mSettings = Objects.requireNonNull(settings); in SystemTextClassifier()
92 new BlockingCallback<>("textselection", mSettings); in suggestSelection()
115 new BlockingCallback<>("textclassification", mSettings); in classifyText()
138 if (!mSettings.isSmartLinkifyEnabled() && request.isLegacyFallback()) { in generateLinks()
145 new BlockingCallback<>("textlinks", mSettings); in generateLinks()
196 new BlockingCallback<>("textlanguage", mSettings); in detectLanguage()
216 new BlockingCallback<>("conversation-actions", mSettings); in suggestConversationActions()
235 return mSettings.getGenerateLinksMaxTextLength(); in getMaxGenerateLinksTextLength()
306 private final TextClassificationConstants mSettings; field in SystemTextClassifier.ResponseReceiver
[all …]
DTextClassificationManager.java57 private TextClassificationConstants mSettings; field in TextClassificationManager
120 if (mSettings == null) { in getSettings()
121 mSettings = new TextClassificationConstants(); in getSettings()
123 return mSettings; in getSettings()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayWindowSettingsProvider.java171 protected final Map<String, SettingsEntry> mSettings = new HashMap<>(); field in DisplayWindowSettingsProvider.ReadableSettings
182 if ((settings = mSettings.get(identifier)) != null) { in getSettingsEntry()
186 if ((settings = mSettings.get(info.name)) != null) { in getSettingsEntry()
188 mSettings.remove(info.name); in getSettingsEntry()
189 mSettings.put(identifier, settings); in getSettingsEntry()
210 mSettings.putAll(fileData.mSettings); in loadSettings()
232 if ((settings = mSettings.get(identifier)) != null) { in getOrCreateSettingsEntry()
236 if ((settings = mSettings.get(info.name)) != null) { in getOrCreateSettingsEntry()
238 mSettings.remove(info.name); in getOrCreateSettingsEntry()
239 mSettings.put(identifier, settings); in getOrCreateSettingsEntry()
[all …]
/frameworks/base/media/java/android/media/tv/tuner/filter/
DFilterConfiguration.java31 /* package */ final Settings mSettings; field in FilterConfiguration
34 mSettings = settings; in FilterConfiguration()
48 return mSettings; in getSettings()
DTsFilterConfiguration.java62 private Settings mSettings; field in TsFilterConfiguration.Builder
85 mSettings = settings; in setSettings()
94 return new TsFilterConfiguration(mSettings, mTpid); in build()
DMmtpFilterConfiguration.java65 private Settings mSettings; field in MmtpFilterConfiguration.Builder
86 mSettings = settings; in setSettings()
95 return new MmtpFilterConfiguration(mSettings, mMmtpPid); in build()
DTlvFilterConfiguration.java109 private Settings mSettings; field in TlvFilterConfiguration.Builder
151 mSettings = settings; in setSettings()
161 mSettings, mPacketType, mIsCompressedIpPacket, mPassthrough); in build()
DAlpFilterConfiguration.java123 private Settings mSettings; field in AlpFilterConfiguration.Builder
155 mSettings = settings; in setSettings()
164 return new AlpFilterConfiguration(mSettings, mPacketType, mLengthType); in build()
DIpFilterConfiguration.java127 private Settings mSettings; field in IpFilterConfiguration.Builder
189 mSettings = settings; in setSettings()
219 return new IpFilterConfiguration(mSettings, mSrcIpAddress, mDstIpAddress, mSrcPort, in build()
/frameworks/wilhelm/src/itf/
DIAudioEncoder.cpp33 thiz->mSettings = settings; in IAudioEncoder_SetEncoderSettings()
52 SLAudioEncoderSettings settings = thiz->mSettings; in IAudioEncoder_GetEncoderSettings()
71 memset(&thiz->mSettings, 0, sizeof(SLAudioEncoderSettings)); in IAudioEncoder_init()
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
DIPControlsJB.java60 private boolean mSettings[] = {true, true, true, false, false, false}; field in IPControlsJB
201 intent.putExtra("enable io", mSettings[SETTING_USE_IO]); in makeBasicLaunchIntent()
202 intent.putExtra("enable dvfs", mSettings[SETTING_USE_DVFS]); in makeBasicLaunchIntent()
203 intent.putExtra("enable long", mSettings[SETTING_LONG_RUN]); in makeBasicLaunchIntent()
204 intent.putExtra("enable pause", mSettings[SETTING_PAUSE]); in makeBasicLaunchIntent()
205 intent.putExtra("enable animate", mSettings[SETTING_ANIMATE]); in makeBasicLaunchIntent()
206 intent.putExtra("enable display", mSettings[SETTING_DISPLAY]); in makeBasicLaunchIntent()
323 IPSettings newFragment = new IPSettings(mSettings); in onOptionsItemSelected()
344 IPSettings newFragment = new IPSettings(mSettings); in btnSettings()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java300 final InputMethodSettings mSettings; field in InputMethodManagerService
1102 String newEnabled = mSettings.getEnabledInputMethodsStr(); in onChange()
1165 if (senderUserId != mSettings.getCurrentUserId()) { in onReceive()
1244 final boolean retval = userId == mSettings.getCurrentUserId(); in isChangingPackagesOfCurrentUserLocked()
1259 String curInputMethodId = mSettings.getSelectedInputMethod(); in onHandleForceStop()
1376 String curInputMethodId = mSettings.getSelectedInputMethod(); in onFinishPackageChangesInternal()
1390 mSettings.getCurrentUserId()); in onFinishPackageChangesInternal()
1412 curIm.getComponent(), 0, mSettings.getCurrentUserId()); in onFinishPackageChangesInternal()
1556 final int currentUserId = mSettings.getCurrentUserId(); in onUnlockUser()
1563 mSettings.switchCurrentUser(currentUserId, !mSystemReady); in onUnlockUser()
[all …]
DInputMethodMenuController.java62 private final InputMethodUtils.InputMethodSettings mSettings; field in InputMethodMenuController
83 mSettings = mService.mSettings; in InputMethodMenuController()
97 final String lastInputMethodId = mSettings.getSelectedInputMethod(); in showInputMethodMenu()
98 int lastInputMethodSubtypeId = mSettings.getSelectedInputMethodSubtypeId(lastInputMethodId); in showInputMethodMenu()
169 mSettings.setShowImeWithHardKeyboard(isChecked); in showInputMethodMenu()
242 mShowImeWithHardKeyboard = mSettings.isShowImeWithHardKeyboardEnabled(); in updateKeyboardFromSettingsLocked()
DInputMethodSubtypeSwitchingController.java173 private final InputMethodSettings mSettings; field in InputMethodSubtypeSwitchingController.InputMethodAndSubtypeList
177 mSettings = settings; in InputMethodAndSubtypeList()
185 final ArrayList<InputMethodInfo> imis = mSettings.getEnabledInputMethodListLocked(); in getSortedInputMethodAndSubtypeList()
203 mSettings.getEnabledInputMethodSubtypeListLocked(mContext, imi, true); in getSortedInputMethodAndSubtypeList()
491 private final InputMethodSettings mSettings; field in InputMethodSubtypeSwitchingController
496 mSettings = settings; in InputMethodSubtypeSwitchingController()
516 mSubtypeList = new InputMethodAndSubtypeList(context, mSettings); in resetCircularListLocked()
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
DIPControls.java60 private boolean mSettings[] = {true, true, false, false, false}; field in IPControls
199 intent.putExtra("enable long", mSettings[SETTING_LONG_RUN]); in makeBasicLaunchIntent()
200 intent.putExtra("enable pause", mSettings[SETTING_PAUSE]); in makeBasicLaunchIntent()
201 intent.putExtra("enable animate", mSettings[SETTING_ANIMATE]); in makeBasicLaunchIntent()
202 intent.putExtra("enable display", mSettings[SETTING_DISPLAY]); in makeBasicLaunchIntent()
203 intent.putExtra("enable io", mSettings[SETTING_USAGE_IO]); in makeBasicLaunchIntent()
315 IPSettings newFragment = new IPSettings(mSettings); in onOptionsItemSelected()
335 IPSettings newFragment = new IPSettings(mSettings); in btnSettings()
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerService.java112 private final ArrayMap<Integer, GameManagerSettings> mSettings = new ArrayMap<>(); field in GameManagerService
160 if (mSettings.containsKey(userId)) { in doHandleMessage()
161 GameManagerSettings userSettings = mSettings.get(userId); in doHandleMessage()
184 if (mSettings.containsKey(userId)) { in doHandleMessage()
185 final GameManagerSettings userSettings = mSettings.get(userId); in doHandleMessage()
186 mSettings.remove(userId); in doHandleMessage()
545 if (!mSettings.containsKey(userId)) { in getGameModeFromSettings()
551 return mSettings.get(userId).getGameModeLocked(packageName); in getGameModeFromSettings()
623 if (!mSettings.containsKey(userId)) { in setGameMode()
626 GameManagerSettings userSettings = mSettings.get(userId); in setGameMode()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTestable.java54 private FakeSettings mSettings; field in LockSettingsServiceTestable.MockInjector
72 mSettings = settings; in MockInjector()
123 return mSettings.globalGetInt(keyName); in settingsGlobalGetInt()
129 return mSettings.secureGetInt(contentResolver, keyName, defaultValue, userId); in settingsSecureGetInt()
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBlasControls.java56 private boolean mSettings[] = {false, false}; field in BlasControls
110 intent.putExtra("enable long", mSettings[SETTING_LONG_RUN]); in makeBasicLaunchIntent()
111 intent.putExtra("enable pause", mSettings[SETTING_PAUSE]); in makeBasicLaunchIntent()
205 BlasSettings newFragment = new BlasSettings(mSettings); in onOptionsItemSelected()
221 BlasSettings newFragment = new BlasSettings(mSettings); in btnSettings()
/frameworks/base/tests/testables/src/android/testing/
DTestableSettingsProvider.java43 private final ContentProviderClient mSettings; field in TestableSettingsProvider
48 mSettings = settings; in TestableSettingsProvider()
94 Bundle call = mSettings.call(method, arg, extras); in call()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java163 private final ArrayMap<String, Setting> mSettings = new ArrayMap<>(); field in SettingsState
313 final int settingCount = mSettings.size(); in removeSettingsForPackageLocked()
315 String name = mSettings.keyAt(i); in removeSettingsForPackageLocked()
321 Setting setting = mSettings.valueAt(i); in removeSettingsForPackageLocked()
323 mSettings.removeAt(i); in removeSettingsForPackageLocked()
337 final int settingsCount = mSettings.size(); in getSettingNamesLocked()
339 String name = mSettings.keyAt(i); in getSettingNamesLocked()
351 Setting setting = mSettings.get(name); in getSettingLocked()
378 mSettings.put(name, newSetting); in resetSettingDefaultValueLocked()
410 Setting oldState = mSettings.get(name); in insertSettingLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java924 final Settings mSettings; field in PackageManagerService
1873 settings = mSettings.snapshot(); in Snapshot()
1896 settings = mSettings; in Snapshot()
2150 protected final Settings mSettings; field in PackageManagerService.ComputerEngine
2203 mSettings = args.settings; in ComputerEngine()
2615 if (pkg != null && mSettings.isEnabledAndMatchLPr(pkg, a, flags, userId)) { in getActivityInfoInternalBody()
2616 PackageSetting ps = mSettings.getPackageLPr(component.getPackageName()); in getActivityInfoInternalBody()
2651 PackageSetting ps = mSettings.getPackageLPr(packageName); in generateApplicationInfoFromSettingsLPw()
2712 PackageSetting ps = mSettings.getPackageLPr(packageName); in getApplicationInfoInternalBody()
2799 mSettings::getPackageLPr); in filterCandidatesWithDomainPreferredActivitiesLPrBody()
[all …]
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEqualizerTest.java60 String mSettings = ""; field in EqualizerTest
377 if (mSettings != "") { in getEffect()
378 Log.d(TAG,"Equalizer settings: "+mSettings); in getEffect()
379 mEqualizer.setProperties(new Equalizer.Settings(mSettings)); in getEffect()
399 mSettings = mEqualizer.getProperties().toString(); in putEffect()
401 Log.d(TAG,"Equalizer released, settings: "+mSettings); in putEffect()

123