/packages/apps/IM/samples/PluginDemo/src/com/android/im/plugin/demo/ |
D | DemoImPlugin.java | 44 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/ |
D | AccessPointState.java | 477 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 …]
|
D | WifiLayer.java | 315 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/ |
D | ImPluginHelper.java | 181 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 …]
|
D | DatabaseUtils.java | 148 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()
|
D | ChatView.java | 854 Configuration config = getResources().getConfiguration(); in sendMessage() local 855 if (config.orientation == config.ORIENTATION_LANDSCAPE) { in sendMessage()
|
/packages/apps/IM/src/com/android/im/engine/ |
D | ConnectionFactory.java | 50 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/ |
D | LocalePicker.java | 168 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()
|
D | LanguageSettings.java | 72 Configuration config = getResources().getConfiguration(); in onCreate() local 73 if (config.keyboard != Configuration.KEYBOARD_QWERTY) { in onCreate()
|
/packages/apps/IM/src/com/android/im/imps/ |
D | SmsDataChannel.java | 64 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()
|
D | ImpsConnection.java | 60 public ImpsConnection(ImpsConnectionConfig config) { in ImpsConnection() argument 63 mConfig = config; in ImpsConnection()
|
/packages/apps/GlobalSearch/src/com/android/globalsearch/ |
D | SessionManager.java | 61 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()
|
D | ShortcutRepositoryImplLog.java | 61 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()
|
D | SuggestionSession.java | 119 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/ |
D | SuggestionSessionTest.java | 93 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/ |
D | RemoteImService.java | 256 ImpsConnectionConfig config = new ImpsConnectionConfig(settings); in createConnection() local 259 ImConnection conn = factory.createConnection(config); in createConnection()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | AllAppsView.java | 152 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/ |
D | ComposeMessageActivity.java | 1734 Configuration config = getResources().getConfiguration(); in initialize() local 1735 mIsKeyboardOpen = config.keyboardHidden == KEYBOARDHIDDEN_NO; in initialize() 1736 mIsLandscape = config.orientation == Configuration.ORIENTATION_LANDSCAPE; in initialize()
|