/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
D | OverlayManagerSettingsTests.java | 50 private OverlayManagerSettings mSettings; field in OverlayManagerSettingsTests 109 mSettings = new OverlayManagerSettings(); in setUp() 117 Map<String, List<OverlayInfo>> map = mSettings.getOverlaysForUser(userId); in testSettingsInitiallyEmpty() 123 assertDoesNotContain(mSettings, OVERLAY_A0.packageName, OVERLAY_A0.userId); in testBasicSetAndGet() 126 assertContains(mSettings, OVERLAY_A0); in testBasicSetAndGet() 127 OverlayInfo oi = mSettings.getOverlayInfo(OVERLAY_A0.packageName, OVERLAY_A0.userId); in testBasicSetAndGet() 130 assertTrue(mSettings.remove(OVERLAY_A0.packageName, OVERLAY_A0.userId)); in testBasicSetAndGet() 131 assertDoesNotContain(mSettings, OVERLAY_A0.packageName, OVERLAY_A0.userId); in testBasicSetAndGet() 136 int[] users = mSettings.getUsers(); in testGetUsers() 140 users = mSettings.getUsers(); in testGetUsers() [all …]
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerServiceImpl.java | 71 private final OverlayManagerSettings mSettings; field in OverlayManagerServiceImpl 121 mSettings = settings; in OverlayManagerServiceImpl() 139 final ArrayMap<String, List<OverlayInfo>> tmp = mSettings.getOverlaysForUser(newUserId); in updateOverlaysForUser() 167 mSettings.init(overlayPackage.packageName, newUserId, in updateOverlaysForUser() 175 mSettings.setPriority(overlayPackage.packageName, newUserId, priority); in updateOverlaysForUser() 187 mSettings.remove(oi.packageName, oi.userId); in updateOverlaysForUser() 203 mSettings.remove(overlayPackage.packageName, newUserId); in updateOverlaysForUser() 220 mSettings.getOverlaysForUser(newUserId); in updateOverlaysForUser() 236 final OverlayInfo oi = mSettings.getOverlayInfo(defaultOverlay, newUserId); in updateOverlaysForUser() 241 mSettings.setEnabled(oi.packageName, newUserId, true); in updateOverlaysForUser() [all …]
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAvrcpPlayerSettings.java | 99 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/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiSettingsConfigStore.java | 94 private final Map<String, Object> mSettings = new HashMap<>(); field in WifiSettingsConfigStore 139 if (!mSettings.containsKey(key.key)) return; in invokeListeners() 140 Object newValue = mSettings.get(key.key); in invokeListeners() 181 if (!mSettings.isEmpty()) return; // already migrated. in migrateFromSettingsIfNeeded() 190 mSettings.put(WIFI_P2P_DEVICE_NAME.key, in migrateFromSettingsIfNeeded() 192 mSettings.put(WIFI_P2P_PENDING_FACTORY_RESET.key, in migrateFromSettingsIfNeeded() 194 mSettings.put(WIFI_SCAN_ALWAYS_AVAILABLE.key, in migrateFromSettingsIfNeeded() 196 mSettings.put(WIFI_SCAN_THROTTLE_ENABLED.key, in migrateFromSettingsIfNeeded() 198 mSettings.put(WIFI_VERBOSE_LOGGING_ENABLED.key, in migrateFromSettingsIfNeeded() 211 mSettings.put(key.key, value); in put() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScanTestUtil.java | 99 private final WifiNative.ScanSettings mSettings = new WifiNative.ScanSettings(); field in ScanTestUtil.NativeScanSettingsBuilder 101 mSettings.scanType = WifiScanner.SCAN_TYPE_LOW_LATENCY; in NativeScanSettingsBuilder() 102 mSettings.buckets = new WifiNative.BucketSettings[0]; in NativeScanSettingsBuilder() 103 mSettings.num_buckets = 0; in NativeScanSettingsBuilder() 104 mSettings.report_threshold_percent = 100; in NativeScanSettingsBuilder() 108 mSettings.scanType = type; in withType() 112 mSettings.base_period_ms = basePeriod; in withBasePeriod() 116 mSettings.max_ap_per_scan = maxAp; in withMaxApPerScan() 120 mSettings.report_threshold_num_scans = maxScans; in withMaxScansToCache() 124 mSettings.report_threshold_percent = percent; in withMaxPercentToCache() [all …]
|
/frameworks/base/media/java/android/media/tv/tuner/filter/ |
D | FilterConfiguration.java | 31 /* package */ final Settings mSettings; field in FilterConfiguration 34 mSettings = settings; in FilterConfiguration() 48 return mSettings; in getSettings()
|
D | TsFilterConfiguration.java | 62 private Settings mSettings; field in TsFilterConfiguration.Builder 85 mSettings = settings; in setSettings() 94 return new TsFilterConfiguration(mSettings, mTpid); in build()
|
D | MmtpFilterConfiguration.java | 65 private Settings mSettings; field in MmtpFilterConfiguration.Builder 86 mSettings = settings; in setSettings() 95 return new MmtpFilterConfiguration(mSettings, mMmtpPid); in build()
|
D | TlvFilterConfiguration.java | 109 private Settings mSettings; field in TlvFilterConfiguration.Builder 151 mSettings = settings; in setSettings() 161 mSettings, mPacketType, mIsCompressedIpPacket, mPassthrough); in build()
|
D | AlpFilterConfiguration.java | 123 private Settings mSettings; field in AlpFilterConfiguration.Builder 155 mSettings = settings; in setSettings() 164 return new AlpFilterConfiguration(mSettings, mPacketType, mLengthType); in build()
|
D | IpFilterConfiguration.java | 107 private Settings mSettings; field in IpFilterConfiguration.Builder 168 mSettings = settings; in setSettings() 184 mSettings, mSrcIpAddress, mDstIpAddress, mSrcPort, mDstPort, mPassthrough); in build()
|
/frameworks/wilhelm/src/itf/ |
D | IAudioEncoder.cpp | 33 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/ |
D | IPControlsJB.java | 60 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/ |
D | InputMethodManagerService.java | 314 final InputMethodSettings mSettings; field in InputMethodManagerService 1154 String newEnabled = mSettings.getEnabledInputMethodsStr(); in onChange() 1217 if (senderUserId != mSettings.getCurrentUserId()) { in onReceive() 1296 final boolean retval = userId == mSettings.getCurrentUserId(); in isChangingPackagesOfCurrentUserLocked() 1311 String curInputMethodId = mSettings.getSelectedInputMethod(); in onHandleForceStop() 1428 String curInputMethodId = mSettings.getSelectedInputMethod(); in onFinishPackageChangesInternal() 1442 mSettings.getCurrentUserId()); in onFinishPackageChangesInternal() 1464 curIm.getComponent(), 0, mSettings.getCurrentUserId()); in onFinishPackageChangesInternal() 1627 final int currentUserId = mSettings.getCurrentUserId(); in onUnlockUser() 1634 mSettings.switchCurrentUser(currentUserId, !mSystemReady); in onUnlockUser() [all …]
|
D | InputMethodSubtypeSwitchingController.java | 174 private final InputMethodSettings mSettings; field in InputMethodSubtypeSwitchingController.InputMethodAndSubtypeList 178 mSettings = settings; in InputMethodAndSubtypeList() 186 final ArrayList<InputMethodInfo> imis = mSettings.getEnabledInputMethodListLocked(); in getSortedInputMethodAndSubtypeList() 201 mSettings.getEnabledInputMethodSubtypeListLocked(mContext, imi, true); in getSortedInputMethodAndSubtypeList() 488 private final InputMethodSettings mSettings; field in InputMethodSubtypeSwitchingController 493 mSettings = settings; in InputMethodSubtypeSwitchingController() 513 mSubtypeList = new InputMethodAndSubtypeList(context, mSettings); in resetCircularListLocked()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassificationManager.java | 56 private TextClassificationConstants mSettings; field in TextClassificationManager 119 if (mSettings == null) { in getSettings() 120 mSettings = new TextClassificationConstants(); in getSettings() 122 return mSettings; in getSettings()
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | IPControls.java | 60 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/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsState.java | 172 private final ArrayMap<String, Setting> mSettings = new ArrayMap<>(); field in SettingsState 322 final int settingCount = mSettings.size(); in removeSettingsForPackageLocked() 324 String name = mSettings.keyAt(i); in removeSettingsForPackageLocked() 330 Setting setting = mSettings.valueAt(i); in removeSettingsForPackageLocked() 332 mSettings.removeAt(i); in removeSettingsForPackageLocked() 346 final int settingsCount = mSettings.size(); in getSettingNamesLocked() 348 String name = mSettings.keyAt(i); in getSettingNamesLocked() 360 Setting setting = mSettings.get(name); in getSettingLocked() 387 mSettings.put(name, newSetting); in resetSettingDefaultValueLocked() 419 Setting oldState = mSettings.get(name); in insertSettingLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerService.java | 259 private final PermissionSettings mSettings; field in PermissionManagerService 393 mSettings = new PermissionSettings(mLock); in PermissionManagerService() 415 BasePermission bp = mSettings.getPermissionLocked(perm.name); in PermissionManagerService() 418 mSettings.putPermissionLocked(perm.name, bp); in PermissionManagerService() 493 return mSettings.getPermissionLocked(permName); in getPermission() 507 final ArraySet<String> pkgs = mSettings.mAppOpPermissionPackages.get(permName); in getAppOpPermissionPackagesInternal() 524 final int n = mSettings.mPermissionGroups.size(); in getAllPermissionGroups() 526 for (ParsedPermissionGroup pg : mSettings.mPermissionGroups.values()) { in getAllPermissionGroups() 544 mSettings.mPermissionGroups.get(groupName), flags); in getPermissionGroupInfo() 558 final BasePermission bp = mSettings.getPermissionLocked(permName); in getPermissionInfo() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsServiceTestable.java | 54 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/ |
D | BlasControls.java | 56 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/net/java/com/android/server/ |
D | NsdServiceTest.java | 65 @Mock NsdService.NsdSettings mSettings; field in NsdServiceTest 90 when(mSettings.isEnabled()).thenReturn(true); in testClientsCanConnectAndDisconnect() 110 when(mSettings.isEnabled()).thenReturn(true); in testClientRequestsAreGCedAtDisconnection() 151 NsdService service = new NsdService(mContext, mSettings, mHandler, supplier); in makeService()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableSettingsProvider.java | 43 private final ContentProviderClient mSettings; field in TestableSettingsProvider 48 mSettings = settings; in TestableSettingsProvider() 94 Bundle call = mSettings.call(method, arg, extras); in call()
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | EqualizerTest.java | 60 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()
|
D | VirtualizerTest.java | 58 String mSettings = ""; field in VirtualizerTest 243 if (mSettings != "") { in getEffect() 244 mVirtualizer.setProperties(new Virtualizer.Settings(mSettings)); in getEffect() 263 mSettings = mVirtualizer.getProperties().toString(); in putEffect()
|