Searched refs:profile (Results 1 - 25 of 28) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/vpn2/
H A DVpnProfile.java75 VpnProfile profile = new VpnProfile(key);
76 profile.name = values[0];
77 profile.type = Integer.valueOf(values[1]);
78 if (profile.type < 0 || profile.type > TYPE_MAX) {
81 profile.server = values[2];
82 profile.username = values[3];
83 profile.password = values[4];
84 profile.dnsServers = values[5];
85 profile
[all...]
H A DVpnSettings.java69 // The key of the profile for the current ContextMenu.
79 VpnProfile profile = VpnProfile.decode(savedState.getString("VpnKey"),
81 if (profile != null) {
82 mDialog = new VpnDialog(getActivity(), this, profile,
92 VpnProfile profile = mDialog.getProfile();
93 savedState.putString("VpnKey", profile.key);
94 savedState.putByteArray("VpnProfile", profile.encode());
132 VpnProfile profile = VpnProfile.decode(key,
134 if (profile == null) {
135 Log.w(TAG, "bad profile
351 connect(VpnProfile profile) argument
476 VpnPreference(Context context, VpnProfile profile) argument
490 update(VpnProfile profile) argument
[all...]
H A DVpnDialog.java68 VpnProfile profile, boolean editing) {
71 mProfile = profile;
101 // Second, copy values from the profile.
157 // Create a button to save the profile.
336 VpnProfile profile = new VpnProfile(mProfile.key);
337 profile.name = mName.getText().toString();
338 profile.type = mType.getSelectedItemPosition();
339 profile.server = mServer.getText().toString().trim();
340 profile.username = mUsername.getText().toString();
341 profile
67 VpnDialog(Context context, DialogInterface.OnClickListener listener, VpnProfile profile, boolean editing) argument
[all...]
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DCachedBluetoothDevice.java87 * Last time a bt profile auto-connect was attempted.
101 * Describes the current device and profile for logging.
103 * @param profile Profile to describe
104 * @return Description of the device and profile
106 private String describe(LocalBluetoothProfile profile) { argument
109 if (profile != null) {
110 sb.append(" Profile:").append(profile);
116 void onProfileStateChanged(LocalBluetoothProfile profile, int newProfileState) { argument
118 Log.d(TAG, "onProfileStateChanged: profile " + profile
161 disconnect(LocalBluetoothProfile profile) argument
234 connectProfile(LocalBluetoothProfile profile) argument
241 connectInt(LocalBluetoothProfile profile) argument
310 getProfileConnectionState(LocalBluetoothProfile profile) argument
408 isConnectedProfile(LocalBluetoothProfile profile) argument
[all...]
H A DDeviceProfilesSettings.java130 // Add a preference for each profile
178 for (LocalBluetoothProfile profile : mCachedDevice.getConnectableProfiles()) {
179 Preference pref = createProfilePreference(profile);
197 * Creates a checkbox preference for the particular profile. The key will be
198 * the profile's name.
200 * @param profile The profile for which the preference controls.
201 * @return A preference that allows the user to choose whether this profile
204 private CheckBoxPreference createProfilePreference(LocalBluetoothProfile profile) { argument
206 pref.setKey(profile
253 onProfileClicked(LocalBluetoothProfile profile) argument
268 askDisconnect(Context context, final LocalBluetoothProfile profile) argument
327 refreshProfilePreference(CheckBoxPreference profilePref, LocalBluetoothProfile profile) argument
[all...]
H A DLocalBluetoothProfileManager.java82 * Mapping from profile name, e.g. "HEADSET" to profile object.
120 * Initialize or update the local profile objects. If a UUID was previously
122 * profile object as it might be referenced elsewhere, or the UUID might
123 * come back and we don't want multiple copies of the profile objects.
130 Log.d(TAG, "Adding local A2DP profile");
136 Log.w(TAG, "Warning: A2DP profile was previously added but the UUID is now missing.");
143 Log.d(TAG, "Adding local HEADSET profile");
150 Log.w(TAG, "Warning: HEADSET profile was previously added but the UUID is now missing.");
156 Log.d(TAG, "Adding local OPP profile");
172 addProfile(LocalBluetoothProfile profile, String profileName, String stateChangedAction) argument
178 addPanProfile(LocalBluetoothProfile profile, String profileName, String stateChangedAction) argument
204 StateChangedHandler(LocalBluetoothProfile profile) argument
230 PanStateChangedHandler(LocalBluetoothProfile profile) argument
[all...]
H A DBluetoothDevicePreference.java215 boolean profileConnected = false; // at least one profile is connected
219 for (LocalBluetoothProfile profile : cachedDevice.getProfiles()) {
220 int connectionStatus = cachedDevice.getProfileConnectionState(profile);
232 if (profile.isProfileReady() && profile.isPreferred(cachedDevice.getDevice())) {
233 if (profile instanceof A2dpProfile) {
235 } else if (profile instanceof HeadsetProfile) {
290 for (LocalBluetoothProfile profile : profiles) {
291 int resId = profile.getDrawableResource(btClass);
H A DA2dpProfile.java46 // Order of this profile in device profiles list
53 public void onServiceConnected(int profile, BluetoothProfile proxy) { argument
57 public void onServiceDisconnected(int profile) { argument
H A DHidProfile.java30 * HidProfile handles Bluetooth HID profile.
38 // Order of this profile in device profiles list
45 public void onServiceConnected(int profile, BluetoothProfile proxy) { argument
50 public void onServiceDisconnected(int profile) { argument
H A DLocalBluetoothAdapter.java93 BluetoothProfile.ServiceListener listener, int profile) {
94 mAdapter.getProfileProxy(context, listener, profile);
92 getProfileProxy(Context context, BluetoothProfile.ServiceListener listener, int profile) argument
H A DPanProfile.java32 * PanProfile handles Bluetooth PAN profile (NAP and PANU).
43 // Order of this profile in device profiles list
50 public void onServiceConnected(int profile, BluetoothProfile proxy) { argument
54 public void onServiceDisconnected(int profile) { argument
H A DHeadsetProfile.java52 // Order of this profile in device profiles list
59 public void onServiceConnected(int profile, BluetoothProfile proxy) { argument
81 public void onServiceDisconnected(int profile) { argument
H A DDockService.java90 * If disconnected unexpectedly, reconnect up to 6 times. Each profile counts
717 LocalBluetoothProfile profile, int startId) {
735 cachedDevice.connectProfile(profile);
748 for (LocalBluetoothProfile profile : profiles) {
749 if (profile.getPreferred(device) == BluetoothProfile.PRIORITY_AUTO_CONNECT) {
796 LocalBluetoothProfile profile = mProfiles[i];
797 if (DEBUG) Log.d(TAG, profile.toString() + " = " + mCheckedItems[i]);
804 int status = profile.getConnectionStatus(cachedDevice.getDevice());
810 profile.setPreferred(device, mCheckedItems[i]);
812 if (mCheckedItems[i] != profile
716 handleUnexpectedDisconnect(BluetoothDevice disconnectedDevice, LocalBluetoothProfile profile, int startId) argument
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DAutoFillProfileDatabase.java98 public void addOrUpdateProfile(final int id, AutoFillProfile profile) { argument
113 profile.getFullName(),
114 profile.getEmailAddress(),
115 profile.getCompanyName(),
116 profile.getAddressLine1(),
117 profile.getAddressLine2(),
118 profile.getCity(),
119 profile.getState(),
120 profile.getZipCode(),
121 profile
[all...]
H A DAutofillHandler.java37 // Default to zero. In the case no profile is set up, the initial
39 // creates a profile. Otherwise, we'll read the ID of the last used
40 // profile from the prefs db.
87 // Read the last active AutoFill profile id.
92 // Load the autofill profile data from the database. We use a database separate
95 // is extremely slow. We do this to ensure that if there's a profile set, the
130 // At this point we've loaded the profile if there was one, so let any thread
137 // to actually setting the inferred profile.
139 // We did not load a profile from disk. Try to infer one from the user's
146 // Only attempt to read other data and set a profile i
198 setAutoFillProfile(AutoFillProfile profile, Message msg) argument
[all...]
H A DBrowserSettings.java516 public void setAutoFillProfile(AutoFillProfile profile, Message msg) { argument
517 mAutofillHandler.setAutoFillProfile(profile, msg);
518 // Auto-fill will reuse the same profile ID when making edits to the profile,
/packages/apps/Phone/src/com/android/phone/sip/
H A DSipSettings.java58 * The PreferenceActivity class for managing sip profile preferences.
79 private SipProfile mProfile; // profile that's being edited
111 Log.v(TAG, "profile uid is " + profileUid + " isPrimary:"
196 SipProfile profile = intent.getParcelableExtra(KEY_SIP_PROFILE);
198 Log.v(TAG, "New Profile Name:" + profile.getProfileName());
199 addProfile(profile);
203 Log.v(TAG, "Can not handle the profile : " + e.getMessage());
280 private String getProfileName(SipProfile profile) { argument
281 String profileName = profile.getProfileName();
283 profileName = profile
359 handleProfileClick(final SipProfile profile) argument
411 startSipEditor(final SipProfile profile) argument
[all...]
H A DSipEditor.java51 * The activity class for editing a new or existing SIP profile.
60 private static final String KEY_PROFILE = "profile";
157 Log.v(TAG, "start profile editor");
359 SipProfile profile = createSipProfile();
361 intent.putExtra(SipSettings.KEY_SIP_PROFILE, (Parcelable) profile);
366 replaceProfile(mOldProfile, profile);
386 // Replace profile in a background thread as it takes time to access the
388 // newProfile may be null if the old profile is to be deleted rather
393 // if new profile is primary, unregister the old primary account
471 Log.v(TAG, "Edit the existing profile
561 PrimaryAccountSelector(SipProfile profile) argument
584 commit(SipProfile profile) argument
[all...]
/packages/apps/Phone/src/com/android/phone/
H A DSipBroadcastReceiver.java116 for (SipProfile profile : sipProfileList) {
118 if (!profile.getAutoRegistration() &&
119 !profile.getUriString().equals(
123 sipManager.open(profile,
127 Log.e(TAG, "failed" + profile.getProfileName(), e);
H A DBluetoothHandsfree.java153 /* Constants from Bluetooth Specification Hands-Free profile version 1.5 */
1473 public void onServiceConnected(int profile, BluetoothProfile proxy) {
1474 if (profile == BluetoothProfile.HEADSET) {
1482 } else if (profile == BluetoothProfile.A2DP) {
1486 public void onServiceDisconnected(int profile) {
1487 if (profile == BluetoothProfile.HEADSET) {
1489 } else if (profile == BluetoothProfile.A2DP) {
1969 * Register AT Command handlers to implement the Headset profile
2022 * Register AT Command handlers to implement the Handsfree profile
2945 /** Turns on/off handsfree profile debuggin
[all...]
/packages/apps/Calculator/
H A Darity-2.1.2.jar ... SyntaxException org.javia.arity.ArityException static void profile (org.javia.arity.Symbols, java.lang ...
/packages/apps/Nfc/src/com/android/nfc/handover/
H A DHandoverManager.java980 public void onServiceConnected(int profile, BluetoothProfile proxy) { argument
982 switch (profile) {
994 public void onServiceDisconnected(int profile) { argument
996 switch (profile) {
/packages/apps/Camera/src/com/android/camera/
H A DEffectsRecorder.java155 public void setProfile(CamcorderProfile profile) { argument
164 mProfile = profile;
527 throw new RuntimeException("No recording profile provided!");
/packages/apps/LegacyCamera/src/com/android/camera/
H A DEffectsRecorder.java159 public void setProfile(CamcorderProfile profile) { argument
168 mProfile = profile;
533 throw new RuntimeException("No recording profile provided!");
/packages/apps/Settings/src/com/android/settings/
H A DTetherSettings.java189 public void onServiceConnected(int profile, BluetoothProfile proxy) {
192 public void onServiceDisconnected(int profile) {

Completed in 615 milliseconds

12