/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
D | HealthService.java | 297 …blic BluetoothHealthDeathRecipient(HealthService service, BluetoothHealthAppConfiguration config) { in BluetoothHealthDeathRecipient() argument 299 mConfig = config; in BluetoothHealthDeathRecipient() 340 public boolean registerAppConfiguration(BluetoothHealthAppConfiguration config, in registerAppConfiguration() argument 344 return service.registerAppConfiguration(config, callback); in registerAppConfiguration() 347 public boolean unregisterAppConfiguration(BluetoothHealthAppConfiguration config) { in unregisterAppConfiguration() argument 350 return service.unregisterAppConfiguration(config); in unregisterAppConfiguration() 354 BluetoothHealthAppConfiguration config) { in connectChannelToSource() argument 357 return service.connectChannelToSource(device, config); in connectChannelToSource() 361 BluetoothHealthAppConfiguration config, int channelType) { in connectChannelToSink() argument 364 return service.connectChannelToSink(device, config, channelType); in connectChannelToSink() [all …]
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiConfigController.java | 225 WifiConfiguration config = mAccessPoint.getConfig(); in WifiConfigController() local 226 if (config.ipAssignment == IpAssignment.STATIC) { in WifiConfigController() 233 for(InetAddress a : config.linkProperties.getAddresses()) { in WifiConfigController() 238 if (config.proxySettings == ProxySettings.STATIC) { in WifiConfigController() 319 WifiConfiguration config = new WifiConfiguration(); in getConfig() local 322 config.SSID = AccessPoint.convertToQuotedString( in getConfig() 325 config.hiddenSSID = true; in getConfig() 327 config.SSID = AccessPoint.convertToQuotedString( in getConfig() 330 config.networkId = mAccessPoint.networkId; in getConfig() 335 config.allowedKeyManagement.set(KeyMgmt.NONE); in getConfig() [all …]
|
D | WifiApDialog.java | 81 WifiConfiguration config = new WifiConfiguration(); in getConfig() local 89 config.SSID = mSsid.getText().toString(); in getConfig() 93 config.allowedKeyManagement.set(KeyMgmt.NONE); in getConfig() 94 return config; in getConfig() 97 config.allowedKeyManagement.set(KeyMgmt.WPA_PSK); in getConfig() 98 config.allowedAuthAlgorithms.set(AuthAlgorithm.OPEN); in getConfig() 101 config.preSharedKey = password; in getConfig() 103 return config; in getConfig() 106 config.allowedKeyManagement.set(KeyMgmt.WPA2_PSK); in getConfig() 107 config.allowedAuthAlgorithms.set(AuthAlgorithm.OPEN); in getConfig() [all …]
|
D | AccessPoint.java | 75 static int getSecurity(WifiConfiguration config) { in getSecurity() argument 76 if (config.allowedKeyManagement.get(KeyMgmt.WPA_PSK)) { in getSecurity() 79 if (config.allowedKeyManagement.get(KeyMgmt.WPA_EAP) || in getSecurity() 80 config.allowedKeyManagement.get(KeyMgmt.IEEE8021X)) { in getSecurity() 83 return (config.wepKeys[0] != null) ? SECURITY_WEP : SECURITY_NONE; in getSecurity() 143 AccessPoint(Context context, WifiConfiguration config) { in AccessPoint() argument 146 loadConfig(config); in AccessPoint() 185 private void loadConfig(WifiConfiguration config) { in loadConfig() argument 186 ssid = (config.SSID == null ? "" : removeDoubleQuotes(config.SSID)); in loadConfig() 187 bssid = config.BSSID; in loadConfig() [all …]
|
D | WifiSettings.java | 777 for (WifiConfiguration config : configs) { 778 AccessPoint accessPoint = new AccessPoint(getActivity(), config); 991 final WifiConfiguration config = configController.getConfig(); 993 if (config == null) { 999 } else if (config.networkId != INVALID_NETWORK_ID) { 1001 mWifiManager.save(config, mSaveListener); 1005 mWifiManager.save(config, mSaveListener); 1007 mWifiManager.connect(config, mConnectListener);
|
D | WifiSettingsForSetupWizardXL.java | 591 for (WifiConfiguration config : configs) { in onBackButtonPressed() 594 config.SSID, config.networkId)); in onBackButtonPressed() 596 mWifiManager.forget(config.networkId, new WifiManager.ActionListener() { in onBackButtonPressed() 759 /* package */ void onSaveNetwork(WifiConfiguration config) { in onSaveNetwork() argument 761 mWifiManager.connect(config, new WifiManager.ActionListener() { in onSaveNetwork()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | UploadedTexture.java | 87 public Config config; field in UploadedTexture.BorderKey 92 int x = config.hashCode() ^ length; in hashCode() 101 && config == o.config && length == o.length; in equals() 119 boolean vertical, Config config, int length) { in getBorderLine() argument 122 key.config = config; in getBorderLine() 127 ? Bitmap.createBitmap(1, length, config) in getBorderLine() 128 : Bitmap.createBitmap(length, 1, config); in getBorderLine() 233 Config config = bitmap.getConfig(); in uploadToCanvas() local 240 Bitmap line = getBorderLine(true, config, texHeight); in uploadToCanvas() 244 line = getBorderLine(false, config, texWidth); in uploadToCanvas() [all …]
|
D | GLES11Canvas.java | 768 ConfigState config = obtainRestoreConfig(); in save() local 771 config.mAlpha = mAlpha; in save() 773 config.mAlpha = -1; in save() 777 System.arraycopy(mMatrixValues, 0, config.mMatrix, 0, 16); in save() 779 config.mMatrix[0] = Float.NEGATIVE_INFINITY; in save() 782 mRestoreStack.add(config); in save() 788 ConfigState config = mRestoreStack.remove(mRestoreStack.size() - 1); in restore() local 789 config.restore(this); in restore() 790 freeRestoreConfig(config); in restore()
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | MosaicRendererSurfaceView.java | 177 for (EGLConfig config : configs) { in chooseConfig() 178 int d = findConfigAttrib(egl, display, config, in chooseConfig() 180 int s = findConfigAttrib(egl, display, config, in chooseConfig() 188 int r = findConfigAttrib(egl, display, config, in chooseConfig() 190 int g = findConfigAttrib(egl, display, config, in chooseConfig() 192 int b = findConfigAttrib(egl, display, config, in chooseConfig() 194 int a = findConfigAttrib(egl, display, config, in chooseConfig() 198 return config; in chooseConfig() 204 EGLConfig config, int attribute, int defaultValue) { in findConfigAttrib() argument 206 if (egl.eglGetConfigAttrib(display, config, attribute, mValue)) { in findConfigAttrib() [all …]
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | BlendingPromoterTest.java | 119 ListSuggestionCursorNoDuplicates promoted = promote(config(), shortcuts, maxPromoted); in maxPromotedTest() 128 Config config = config(maxShortcutsPerWebSource, maxShortcutsPerNonWebSource); in limit() local 130 return promote(config, shortcuts, maxPromoted); in limit() 133 private ListSuggestionCursorNoDuplicates promote(Config config, SuggestionCursor shortcuts, in promote() argument 135 ShortcutPromoter promoter = new ShortcutPromoter(config, in promote() 136 new RankAwarePromoter(config, null, null), null); in promote() 142 private Config config() { in config() method in BlendingPromoterTest 146 private Config config(final int maxShortcutsPerWebSource, in config() method in BlendingPromoterTest
|
D | MultiSourceCorpusTest.java | 43 Config config = new Config(getContext()); in setUp() local 46 mCorpus = new SkeletonMultiSourceCorpus(getContext(), config, executor, in setUp() 81 public SkeletonMultiSourceCorpus(Context context, Config config, Executor executor, in SkeletonMultiSourceCorpus() argument 83 super(context, config, executor, sources); in SkeletonMultiSourceCorpus()
|
D | ResultPromoterTest.java | 85 return new ShortcutPromoter(config(), in createResultPromoter() 86 new RankAwarePromoter(config(), results, null), results); in createResultPromoter() 98 RankAwarePromoter promoter = new RankAwarePromoter(config(), results, null); in promoteSuggestions() 104 private Config config() { in config() method in ResultPromoterTest
|
D | MockSource.java | 51 public int getMaxShortcuts(Config config) { 52 return config.getMaxShortcutsPerWebSource(); 193 public int getMaxShortcuts(Config config) { in getMaxShortcuts() argument 194 return config.getMaxShortcutsPerNonWebSource(); in getMaxShortcuts()
|
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/ |
D | PartnerBookmarksProvider.java | 139 private String getConfigSignature(Configuration config) { in getConfigSignature() argument 140 return "mmc=" + Integer.toString(config.mcc) in getConfigSignature() 141 + "-mnc=" + Integer.toString(config.mnc) in getConfigSignature() 142 + "-loc=" + config.locale.toString(); in getConfigSignature() 145 public synchronized void prepareForConfiguration(Configuration config) { in prepareForConfiguration() argument 147 String newSignature = getConfigSignature(config); in prepareForConfiguration() 159 private void setActiveConfiguration(Configuration config) { in setActiveConfiguration() argument 161 editor.putString(ACTIVE_CONFIGURATION_PREFNAME, getConfigSignature(config)); in setActiveConfiguration()
|
/packages/apps/Settings/src/com/android/settings/net/ |
D | DataUsageMeteredSettings.java | 84 for (WifiConfiguration config : mWifiManager.getConfiguredNetworks()) { in updateNetworks() 85 if (config.SSID != null) { in updateNetworks() 86 mWifiCategory.addPreference(buildWifiPref(context, config)); in updateNetworks() 103 private Preference buildWifiPref(Context context, WifiConfiguration config) { in buildWifiPref() argument 104 final String networkId = config.SSID; in buildWifiPref()
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
D | WifiP2pSettings.java | 362 WifiP2pConfig config = new WifiP2pConfig(); in onPreferenceTreeClick() local 363 config.deviceAddress = mSelectedWifiPeer.device.deviceAddress; in onPreferenceTreeClick() 368 config.wps.setup = forceWps; in onPreferenceTreeClick() 371 config.wps.setup = WpsInfo.PBC; in onPreferenceTreeClick() 373 config.wps.setup = WpsInfo.KEYPAD; in onPreferenceTreeClick() 375 config.wps.setup = WpsInfo.DISPLAY; in onPreferenceTreeClick() 379 mWifiP2pManager.connect(mChannel, config, in onPreferenceTreeClick()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | ManageCachePage.java | 219 public void onConfigurationChanged(Configuration config) { in onConfigurationChanged() argument 291 Config.ManageCachePage config = Config.ManageCachePage.get(activity); in initializeViews() local 292 mSlotView = new SlotView(mActivity, config.slotViewSpec); in initializeViews() 294 config.labelSpec, config.cachePinSize, config.cachePinMargin); in initializeViews()
|
D | AbstractGalleryActivity.java | 92 public void onConfigurationChanged(Configuration config) { in onConfigurationChanged() argument 93 super.onConfigurationChanged(config); in onConfigurationChanged() 94 mStateManager.onConfigurationChange(config); in onConfigurationChanged()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | DeleteDropTarget.java | 258 DragObject d, PointF vel, ViewConfiguration config) { in createFlingToTrashAnimatorListener() argument 267 float vp = Math.min(1f, velocity / (config.getScaledMaximumFlingVelocity() / 2f)); in createFlingToTrashAnimatorListener() 362 ViewConfiguration config) { 387 final ViewConfiguration config = ViewConfiguration.get(mLauncher); 415 updateCb = createFlingToTrashAnimatorListener(dragLayer, d, vel, config); 418 duration, config);
|
D | CellLayout.java | 1601 ItemConfiguration config; field in CellLayout.ViewCluster 1611 public ViewCluster(ArrayList<View> views, ItemConfiguration config) { in ViewCluster() argument 1613 this.config = config; in ViewCluster() 1636 CellAndSpan cs = config.map.get(views.get(i)); in computeEdge() 1675 CellAndSpan cs = config.map.get(v); in isViewTouchingEdge() 1714 CellAndSpan c = config.map.get(v); in shift() 1743 CellAndSpan c = config.map.get(v); in getBoundingRect() 1801 CellAndSpan l = config.map.get(left); in compare() 1802 CellAndSpan r = config.map.get(right); in compare() 1819 Collections.sort(config.sortedViews, comparator); in sortConfigurationForEdgePush()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | ShortcutRepositoryImplLog.java | 87 public static ShortcutRepository create(Context context, Config config, in create() argument 90 return new ShortcutRepositoryImplLog(context, config, sources, refresher, in create() 99 ShortcutRepositoryImplLog(Context context, Config config, Corpora corpora, in ShortcutRepositoryImplLog() argument 102 mConfig = config; in ShortcutRepositoryImplLog() 107 mOpenHelper = new DbOpenHelper(context, name, DB_VERSION, config); in ShortcutRepositoryImplLog() 797 public DbOpenHelper(Context context, String name, int version, Config config) { in DbOpenHelper() argument 799 mConfig = config; in DbOpenHelper()
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/glrenderer/ |
D | TextureTest.java | 130 Config config = Config.ARGB_8888; in onGetBitmap() local 131 mBitmap = Bitmap.createBitmap(47, 42, config); in onGetBitmap() 200 Config config = Config.ARGB_8888; in testBitmapTexture() local 201 Bitmap bitmap = Bitmap.createBitmap(47, 42, config); in testBitmapTexture()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 132 Bitmap.Config config = bitmap.getConfig(); in getConfig() local 133 if (config == null) { in getConfig() 134 config = Bitmap.Config.ARGB_8888; in getConfig() 136 return config; in getConfig()
|
/packages/apps/Mms/src/com/android/mms/util/ |
D | ThumbnailManager.java | 418 Bitmap.Config config = bitmap.getConfig(); in getConfig() local 419 if (config == null) { in getConfig() 420 config = Bitmap.Config.ARGB_8888; in getConfig() 422 return config; in getConfig()
|
/packages/apps/Browser/src/com/android/browser/ |
D | UrlInputView.java | 198 protected void onConfigurationChanged(Configuration config) { in onConfigurationChanged() argument 199 super.onConfigurationChanged(config); in onConfigurationChanged() 200 mLandscape = (config.orientation & in onConfigurationChanged()
|