Home
last modified time | relevance | path

Searched refs:config (Results 1 – 18 of 18) sorted by relevance

/packages/apps/IM/samples/PluginDemo/src/com/android/im/plugin/demo/
DDemoImPlugin.java44 HashMap<String, String> config = new HashMap<String, String>(); in getProviderConfig() local
46 config.put(ImConfigNames.PROTOCOL_NAME, "IMPS"); in getProviderConfig()
47 config.put(ImpsConfigNames.HOST, "http://xxx.xxxx.xxx"); in getProviderConfig()
48 config.put(ImpsConfigNames.CLIENT_ID, "Jimmy"); in getProviderConfig()
49 config.put(ImpsConfigNames.DATA_CHANNEL, "HTTP"); in getProviderConfig()
50 config.put(ImpsConfigNames.DATA_ENCODING, "WBXML"); in getProviderConfig()
51 config.put(ImpsConfigNames.CIR_CHANNEL, "STCP"); in getProviderConfig()
52 config.put(ImpsConfigNames.CUSTOM_PRESENCE_MAPPING, in getProviderConfig()
54 return config; in getProviderConfig()
/packages/apps/Settings/src/com/android/settings/wifi/
DAccessPointState.java477 public void updateWifiConfiguration(WifiConfiguration config) { in updateWifiConfiguration() argument
478 config.BSSID = getWpaSupplicantBssid(); in updateWifiConfiguration()
479 config.priority = priority; in updateWifiConfiguration()
480 config.hiddenSSID = hiddenSsid; in updateWifiConfiguration()
481 config.SSID = convertToQuotedString(ssid); in updateWifiConfiguration()
482 config.eap.setValue(mEap); in updateWifiConfiguration()
485 config.phase2.setValue(convertToQuotedString("auth=" + mPhase2)); in updateWifiConfiguration()
487 config.phase2.setValue(null); in updateWifiConfiguration()
490 config.identity.setValue( in updateWifiConfiguration()
493 config.identity.setValue(null); in updateWifiConfiguration()
[all …]
DWifiLayer.java315 WifiConfiguration config = findConfiguredNetwork(state); in connectToNetwork() local
318 Log.v(TAG, " Found configured network " + config); in connectToNetwork()
321 if (config == null) { in connectToNetwork()
326 config = addConfiguration(state, 0); in connectToNetwork()
328 if (config == null) { in connectToNetwork()
341 state.updateWifiConfiguration(config); in connectToNetwork()
355 setHighestPriorityStateAndSave(state, config); in connectToNetwork()
395 WifiConfiguration config = findConfiguredNetwork(state); in saveNetwork() local
397 if (config == null) { in saveNetwork()
401 config = addConfiguration(state, ADD_CONFIGURATION_ENABLE); in saveNetwork()
[all …]
/packages/apps/IM/src/com/android/im/app/
DImPluginHelper.java181 Map<String, String> config = loadConfiguration(plugin, info); in updateProviderDb() local
182 if (config == null) { in updateProviderDb()
200 pluginChanged = isPluginChanged(cr, providerId, config); in updateProviderDb()
238 ContentValues[] settingValues = new ContentValues[config.size()]; in updateProviderDb()
241 for (Map.Entry<String, String> entry : config.entrySet()) { in updateProviderDb()
256 Map<String, String> config = null; in loadConfiguration() local
258 config = plugin.getProviderConfig(); in loadConfiguration()
260 if (config != null) { in loadConfiguration()
261 config.put(ImConfigNames.PLUGIN_PATH, info.mSrcPath); in loadConfiguration()
262 config.put(ImConfigNames.PLUGIN_CLASS, info.mClassName); in loadConfiguration()
[all …]
DDatabaseUtils.java148 Map<String, String> config) { in updateProviderDb() argument
155 String pluginVersion = config.get(ImConfigNames.PLUGIN_VERSION); in updateProviderDb()
176 saveProviderSettings(cr, providerId, config); in updateProviderDb()
196 Map<String, String> config) { in saveProviderSettings() argument
197 ContentValues[] settingValues = new ContentValues[config.size()]; in saveProviderSettings()
199 for (Map.Entry<String, String> entry : config.entrySet()) { in saveProviderSettings()
DChatView.java854 Configuration config = getResources().getConfiguration(); in sendMessage() local
855 if (config.orientation == config.ORIENTATION_LANDSCAPE) { in sendMessage()
/packages/apps/IM/src/com/android/im/engine/
DConnectionFactory.java50 public ImConnection createConnection(ConnectionConfig config) throws ImException { in createConnection() argument
51 if ("IMPS".equals(config.getProtocolName())) { in createConnection()
52 return new ImpsConnection((ImpsConnectionConfig) config); in createConnection()
/packages/apps/Settings/src/com/android/settings/
DLocalePicker.java168 Configuration config = am.getConfiguration(); in onListItemClick() local
171 config.locale = loc.locale; in onListItemClick()
174 config.userSetLocale = true; in onListItemClick()
176 am.updateConfiguration(config); in onListItemClick()
DLanguageSettings.java72 Configuration config = getResources().getConfiguration(); in onCreate() local
73 if (config.keyboard != Configuration.KEYBOARD_QWERTY) { in onCreate()
/packages/apps/IM/src/com/android/im/imps/
DSmsDataChannel.java64 ImpsConnectionConfig config = connection.getConfig(); in SmsDataChannel() local
65 mReplyTimeout = config.getReplyTimeout(); in SmsDataChannel()
66 mSmsAddr = config.getSmsAddr(); in SmsDataChannel()
67 mSmsPort = (short) config.getSmsPort(); in SmsDataChannel()
72 mSerializer = new PtsPrimitiveSerializer(config.getImpsVersion()); in SmsDataChannel()
DImpsConnection.java60 public ImpsConnection(ImpsConnectionConfig config) { in ImpsConnection() argument
63 mConfig = config; in ImpsConnection()
/packages/apps/GlobalSearch/src/com/android/globalsearch/
DSessionManager.java61 Config config, in refreshSessionmanager() argument
67 sInstance = new SessionManager(context, config, sources, clickLogger, shortcutRepo, in refreshSessionmanager()
72 private SessionManager(Context context, Config config, in SessionManager() argument
76 mConfig = config; in SessionManager()
DShortcutRepositoryImplLog.java61 public static ShortcutRepository create(Context context, Config config) { in create() argument
62 return new ShortcutRepositoryImplLog(context, config, DB_NAME); in create()
69 ShortcutRepositoryImplLog(Context context, Config config, String name) { in ShortcutRepositoryImplLog() argument
70 mConfig = config; in ShortcutRepositoryImplLog()
71 mOpenHelper = new DbOpenHelper(context, name, DB_VERSION, config); in ShortcutRepositoryImplLog()
621 public DbOpenHelper(Context context, String name, int version, Config config) { in DbOpenHelper() argument
623 mConfig = config; in DbOpenHelper()
DSuggestionSession.java119 Config config, in SuggestionSession() argument
128 mConfig = config; in SuggestionSession()
137 mNumPromotedSources = config.getNumPromotedSources(); in SuggestionSession()
729 Config config, in AsyncMux() argument
740 mConfig = config; in AsyncMux()
/packages/apps/GlobalSearch/tests/src/com/android/globalsearch/
DSuggestionSessionTest.java93 Config config = Config.getDefaultConfig(); in initSession() local
96 config, in initSession()
693 public TestSuggestionSession(Config config, SourceLookup sourceLookup, in TestSuggestionSession() argument
698 super(config, sourceLookup, promotableSources, unpromotableSources, in TestSuggestionSession()
/packages/apps/IM/src/com/android/im/service/
DRemoteImService.java256 ImpsConnectionConfig config = new ImpsConnectionConfig(settings); in createConnection() local
259 ImConnection conn = factory.createConnection(config); in createConnection()
/packages/apps/Launcher2/src/com/android/launcher2/
DAllAppsView.java152 final ViewConfiguration config = ViewConfiguration.get(context); in AllAppsView() local
153 mSlop = config.getScaledTouchSlop(); in AllAppsView()
154 mMaxFlingVelocity = config.getScaledMaximumFlingVelocity(); in AllAppsView()
/packages/apps/Mms/src/com/android/mms/ui/
DComposeMessageActivity.java1734 Configuration config = getResources().getConfiguration(); in initialize() local
1735 mIsKeyboardOpen = config.keyboardHidden == KEYBOARDHIDDEN_NO; in initialize()
1736 mIsLandscape = config.orientation == Configuration.ORIENTATION_LANDSCAPE; in initialize()