/packages/apps/Settings/src/com/android/settings/vpn2/ |
H A D | ConfigPreference.java | 30 * configuration. Tracks the underlying profile and its connection 37 ConfigPreference(Context context, OnClickListener onManage, VpnProfile profile) { argument 39 setProfile(profile); 46 public void setProfile(VpnProfile profile) { argument 47 mProfile = profile;
|
H A D | ConfigDialogFragment.java | 46 private static final String ARG_PROFILE = "profile"; 55 public static void show(VpnSettings parent, VpnProfile profile, boolean edit, boolean exists) { argument 59 args.putParcelable(ARG_PROFILE, profile); 93 VpnProfile profile = (VpnProfile) args.getParcelable(ARG_PROFILE); 97 return new ConfigDialog(getActivity(), this, profile, editing, exists); 103 VpnProfile profile = dialog.getProfile(); 107 KeyStore.getInstance().put(Credentials.VPN + profile.key, profile.encode(), 110 // Flush out old version of profile 111 disconnect(profile); 137 connect(VpnProfile profile) argument 145 disconnect(VpnProfile profile) argument [all...] |
H A D | ConfigDialog.java | 77 VpnProfile profile, boolean editing, boolean exists) { 81 mProfile = profile; 112 // Second, copy values from the profile. 166 // Create a button to forget the profile if it has already been saved.. 172 // Create a button to save the profile. 368 VpnProfile profile = new VpnProfile(mProfile.key); 369 profile.name = mName.getText().toString(); 370 profile.type = mType.getSelectedItemPosition(); 371 profile.server = mServer.getText().toString().trim(); 372 profile 76 ConfigDialog(Context context, DialogInterface.OnClickListener listener, VpnProfile profile, boolean editing, boolean exists) argument [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/ |
H A D | weighting.cpp | 30 static inline void profile(const CorrectionType correctionType, DicNode *const node) { function in namespace:latinime 88 profile(correctionType, dicNode);
|
/packages/apps/Settings/tests/src/com/android/settings/vpn2/ |
H A D | CertInstallerHelper.java | 172 public void installCertificate(VpnProfile profile, String certFile, String password) { argument 180 String key = Credentials.USER_PRIVATE_KEY + profile.ipsecUserCert; 191 String certName = Credentials.USER_CERTIFICATE + profile.ipsecUserCert; 202 String caListName = Credentials.CA_CERTIFICATE + profile.ipsecCaCert;
|
H A D | VpnTests.java | 59 * adb shell am instrument -e class com.android.settings.vpn2.VpnTests -e profile foo.xml 63 * Push the profile (foo.xml) to the external storage, e.g adb push foo.xml /sdcard/ before running 66 * A typical profile looks like the following: 111 String PROFILE_NAME = arguments.getString("profile"); 112 Assert.assertNotNull("Push profile to external storage and load with" 113 + "'-e profile <filename>'", PROFILE_NAME); 159 private void printVpnProfile(VpnProfile profile) { argument 160 Log.v(TAG, "profile: "); 161 Log.v(TAG, "key: " + profile.key); 162 Log.v(TAG, "name: " + profile 179 printKeyStore(VpnProfile profile) argument 207 connect(VpnProfile profile) argument 273 validateVpnConnection(VpnProfile profile) argument 280 validateVpnConnection(VpnProfile profile, boolean pingTestFlag) argument 336 installCertificatesFromFile(VpnProfile profile, String fileName, String password) argument [all...] |
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
H A D | SipUtil.java | 75 * Creates a {@link PhoneAccountHandle} from the specified SIP profile name. 83 * Determines the SIP profile name for a specified {@link PhoneAccountHandle}. 86 * @return The SIP profile name. 104 * @param profile The SipProfile. 107 static PhoneAccount createPhoneAccount(Context context, SipProfile profile) { argument 111 String sipAddress = profile.getUserName() + "@" + profile.getSipDomain(); 112 Uri sipUri = Uri.parse(profile.getUriString()); 115 SipUtil.createAccountHandle(context, profile.getProfileName()); 123 PhoneAccount.Builder builder = PhoneAccount.builder(accountHandle, profile [all...] |
H A D | SipAccountRegistry.java | 40 AccountEntry(SipProfile profile) { argument 41 mProfile = profile; 49 * Starts the SIP service associated with the SIP profile. 59 if (VERBOSE) log("startSipService, profile: " + mProfile); 61 // Stop the Sip service for the profile if it is already running. This is important 65 // Start the sip service for the profile. 77 log("startSipService, profile: " + mProfile.getProfileName() + 84 * Stops the SIP service associated with the SIP profile. The {@code SipAccountRegistry} is 96 log("stopSipService, stop failed for profile: " + mProfile.getUriString() + 134 SipProfile profile 272 startSipServiceForProfile(SipProfile profile, SipManager sipManager, Context context, boolean isReceivingCalls) argument [all...] |
H A D | SipConnectionService.java | 49 void onFound(SipProfile profile); argument 111 // The ID used for SIP-based phone account is the SIP profile Uri. Use it to find 112 // the actual profile. 116 public void onFound(SipProfile profile) { 117 if (profile == null) { 119 DisconnectCause.OUTGOING_FAILURE, "SIP profile not found.")); 123 createConnectionForProfile(profile, request); 191 SipProfile profile, 193 SipPhone phone = findPhoneForProfile(profile); 195 phone = createPhoneForProfile(profile); 190 createConnectionForProfile( SipProfile profile, ConnectionRequest request) argument 235 findPhoneForProfile(SipProfile profile) argument 250 createPhoneForProfile(SipProfile profile) argument [all...] |
H A D | SipSettings.java | 59 * The PreferenceActivity class for managing sip profile preferences. 75 private SipProfile mProfile; // profile that's being edited 104 log("SipPreference.updateSummary, profile uid: " + profileUid + 175 SipProfile profile = intent.getParcelableExtra(KEY_SIP_PROFILE); 177 if (VERBOSE) log("onActivityResult, new: " + profile.getProfileName()); 178 addProfile(profile); 182 log("onActivityResult, can not handle the profile: " + e); 201 private String getProfileName(SipProfile profile) { argument 202 String profileName = profile.getProfileName(); 204 profileName = profile 285 handleProfileClick(final SipProfile profile) argument 339 startSipEditor(final SipProfile profile) argument [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | DeviceProfilesSettings.java | 175 for (LocalBluetoothProfile profile : mCachedDevice.getConnectableProfiles()) { 176 CheckBox pref = createProfilePreference(profile); 212 * Creates a checkbox preference for the particular profile. The key will be 213 * the profile's name. 215 * @param profile The profile for which the preference controls. 216 * @return A preference that allows the user to choose whether this profile 219 private CheckBox createProfilePreference(LocalBluetoothProfile profile) { argument 221 pref.setTag(profile.toString()); 222 pref.setText(profile 238 onProfileClicked(LocalBluetoothProfile profile, CheckBox profilePref) argument 273 askDisconnect(Context context, final LocalBluetoothProfile profile) argument 339 findProfile(String profile) argument 343 refreshProfilePreference(CheckBox profilePref, LocalBluetoothProfile profile) argument [all...] |
H A D | DockService.java | 99 * If disconnected unexpectedly, reconnect up to 6 times. Each profile counts 776 LocalBluetoothProfile profile, int startId) { 794 cachedDevice.connectProfile(profile); 807 for (LocalBluetoothProfile profile : profiles) { 808 if (profile.getPreferred(device) == BluetoothProfile.PRIORITY_AUTO_CONNECT) { 855 LocalBluetoothProfile profile = mProfiles[i]; 856 if (DEBUG) Log.d(TAG, profile.toString() + " = " + mCheckedItems[i]); 863 int status = profile.getConnectionStatus(cachedDevice.getDevice()); 869 profile.setPreferred(device, mCheckedItems[i]); 871 if (mCheckedItems[i] != profile 775 handleUnexpectedDisconnect(BluetoothDevice disconnectedDevice, LocalBluetoothProfile profile, int startId) argument [all...] |
/packages/apps/Nfc/src/com/android/nfc/handover/ |
H A D | BluetoothPeripheralHandover.java | 174 * Enables bluetooth and gets the profile proxies 529 public void onServiceConnected(int profile, BluetoothProfile proxy) { argument 531 switch (profile) { 555 public void onServiceDisconnected(int profile) { argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | AdapterProperties.java | 338 int getProfileConnectionState(int profile) { argument 340 Pair<Integer, Integer> p = mProfileConnectionState.get(profile); 352 void sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) { argument 365 updateProfileConnectionState(profile, state, prevState); 444 private void updateProfileConnectionState(int profile, int newState, int oldState) { argument 447 // The key is the profile, the value is a pair. first element 455 // 1. If there is no record of profile and state - update 464 Pair<Integer, Integer> stateNumDev = mProfileConnectionState.get(profile); 490 mProfileConnectionState.put(profile, new Pair<Integer, Integer>(newHashState,
|
H A D | AdapterService.java | 230 // Set profile priorities only for the profiles discovered on the remote device. 258 debugLog( "Profile connected. Schedule missing profile connection if any"); 272 public void addProfile(ProfileService profile) { argument 274 mProfiles.add(profile); 278 public void removeProfile(ProfileService profile) { argument 280 mProfiles.remove(profile); 357 debugLog("onProfileServiceStateChange() - All profile services stopped..."); 381 debugLog("onProfileServiceStateChange() - All profile services started."); 454 //Start profile services 456 //Startup all profile service 927 getProfileConnectionState(int profile) argument 1162 sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) argument 1428 getProfileConnectionState(int profile) argument 1793 sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherBackupHelper.java | 247 mBackupDataWasUpdated = (in.profile == null) 248 || !Arrays.equals(DeviceProfieData.toByteArray(in.profile), 278 DeviceProfieData oldProfile = oldState.profile; 393 journal.profile = mDeviceProfileData; 406 private DeviceProfieData initDeviceProfileData(InvariantDeviceProfile profile) { argument 408 data.desktopRows = profile.numRows; 409 data.desktopCols = profile.numColumns; 410 data.hotseatCount = profile.numHotseatIcons; 411 data.allappsRank = profile.hotseatAllAppsRank;
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
H A D | PrivateVolumeSettings.java | 517 private boolean isProfileOf(UserInfo user, UserInfo profile) { argument 518 return user.id == profile.id || 520 && user.profileGroupId == profile.profileGroupId);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | EffectsRecorder.java | 159 public void setProfile(CamcorderProfile profile) { argument 168 mProfile = profile; 533 throw new RuntimeException("No recording profile provided!");
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | EffectsRecorder.java | 331 public void setProfile(CamcorderProfile profile) { argument 340 mProfile = profile; 712 throw new RuntimeException("No recording profile provided!");
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | VideoModule.java | 810 CamcorderProfile profile, Point previewScreenSize) { 813 return new Point(profile.videoFrameWidth, profile.videoFrameHeight); 823 preferred = new Size(profile.videoFrameWidth, profile.videoFrameHeight); 839 if (size.width() == profile.videoFrameWidth 840 && size.height() == profile.videoFrameHeight) { 843 return new Point(profile.videoFrameWidth, profile.videoFrameHeight); 848 (double) profile 809 getDesiredPreviewSize(CameraCapabilities capabilities, CamcorderProfile profile, Point previewScreenSize) argument [all...] |
/packages/apps/Calculator/ |
H A D | arity-2.1.2.jar | ... SyntaxException org.javia.arity.ArityException static void profile (org.javia.arity.Symbols, java.lang ... |