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

12

/packages/apps/Settings/src/com/android/settings/bluetooth/
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, CheckBoxPreference profilePref) argument
274 askDisconnect(Context context, final LocalBluetoothProfile profile) argument
333 refreshProfilePreference(CheckBoxPreference profilePref, LocalBluetoothProfile profile) argument
[all...]
H A DCachedBluetoothDevice.java100 * Last time a bt profile auto-connect was attempted.
114 * Describes the current device and profile for logging.
116 * @param profile Profile to describe
117 * @return Description of the device and profile
119 private String describe(LocalBluetoothProfile profile) { argument
122 if (profile != null) {
123 sb.append(" Profile:").append(profile);
129 void onProfileStateChanged(LocalBluetoothProfile profile, int newProfileState) { argument
131 Log.d(TAG, "onProfileStateChanged: profile " + profile
198 disconnect(LocalBluetoothProfile profile) argument
274 connectProfile(LocalBluetoothProfile profile) argument
283 connectInt(LocalBluetoothProfile profile) argument
350 getProfileConnectionState(LocalBluetoothProfile profile) argument
461 isConnectedProfile(LocalBluetoothProfile profile) argument
[all...]
H A DLocalBluetoothProfileManager.java90 * Mapping from profile name, e.g. "HEADSET" to profile object.
124 if(DEBUG) Log.d(TAG, "Adding local MAP profile");
130 //Create PBAP server profile, but do not add it to list of profiles
131 // as we do not need to monitor the profile as part of profile list
138 * Initialize or update the local profile objects. If a UUID was previously
140 * profile object as it might be referenced elsewhere, or the UUID might
141 * come back and we don't want multiple copies of the profile objects.
148 if(DEBUG) Log.d(TAG, "Adding local A2DP profile");
190 addProfile(LocalBluetoothProfile profile, String profileName, String stateChangedAction) argument
196 addPanProfile(LocalBluetoothProfile profile, String profileName, String stateChangedAction) argument
222 StateChangedHandler(LocalBluetoothProfile profile) argument
248 PanStateChangedHandler(LocalBluetoothProfile profile) argument
[all...]
H A DBluetoothDevicePreference.java218 boolean profileConnected = false; // at least one profile is connected
222 for (LocalBluetoothProfile profile : cachedDevice.getProfiles()) {
223 int connectionStatus = cachedDevice.getProfileConnectionState(profile);
235 if (profile.isProfileReady() && profile.isPreferred(cachedDevice.getDevice())) {
236 if (profile instanceof A2dpProfile) {
238 } else if (profile instanceof HeadsetProfile) {
293 for (LocalBluetoothProfile profile : profiles) {
294 int resId = profile.getDrawableResource(btClass);
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 DA2dpProfile.java52 // Order of this profile in device profiles list
59 public void onServiceConnected(int profile, BluetoothProfile proxy) { argument
78 public void onServiceDisconnected(int profile) { argument
H A DHidProfile.java32 * HidProfile handles Bluetooth HID profile.
47 // Order of this profile in device profiles list
54 public void onServiceConnected(int profile, BluetoothProfile proxy) { argument
73 public void onServiceDisconnected(int profile) { argument
H A DPanProfile.java33 * PanProfile handles Bluetooth PAN profile (NAP and PANU).
48 // Order of this profile in device profiles list
55 public void onServiceConnected(int profile, BluetoothProfile proxy) { argument
61 public void onServiceDisconnected(int profile) { argument
109 // return current connection status so profile checkbox is set correctly
H A DDockService.java91 * If disconnected unexpectedly, reconnect up to 6 times. Each profile counts
768 LocalBluetoothProfile profile, int startId) {
786 cachedDevice.connectProfile(profile);
799 for (LocalBluetoothProfile profile : profiles) {
800 if (profile.getPreferred(device) == BluetoothProfile.PRIORITY_AUTO_CONNECT) {
847 LocalBluetoothProfile profile = mProfiles[i];
848 if (DEBUG) Log.d(TAG, profile.toString() + " = " + mCheckedItems[i]);
855 int status = profile.getConnectionStatus(cachedDevice.getDevice());
861 profile.setPreferred(device, mCheckedItems[i]);
863 if (mCheckedItems[i] != profile
767 handleUnexpectedDisconnect(BluetoothDevice disconnectedDevice, LocalBluetoothProfile profile, int startId) argument
[all...]
H A DHeadsetProfile.java55 // Order of this profile in device profiles list
62 public void onServiceConnected(int profile, BluetoothProfile proxy) { argument
84 public void onServiceDisconnected(int profile) { argument
H A DMapProfile.java35 * MapProfile handles Bluetooth MAP profile.
56 // Order of this profile in device profiles list
62 public void onServiceConnected(int profile, BluetoothProfile proxy) { argument
84 public void onServiceDisconnected(int profile) { argument
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DVpnSettings.java84 // The key of the profile for the current ContextMenu.
95 VpnProfile profile = VpnProfile.decode(savedState.getString("VpnKey"),
97 if (profile != null) {
98 mDialog = new VpnDialog(getActivity(), this, profile,
147 VpnProfile profile = mDialog.getProfile();
148 savedState.putString("VpnKey", profile.key);
149 savedState.putByteArray("VpnProfile", profile.encode());
189 for (VpnProfile profile : profiles) {
190 final VpnPreference pref = new VpnPreference(context, profile);
192 mPreferences.put(profile
377 connect(VpnProfile profile) argument
404 VpnPreference(Context context, VpnProfile profile) argument
417 update(VpnProfile profile) argument
[all...]
H A DVpnDialog.java69 VpnProfile profile, boolean editing) {
72 mProfile = profile;
102 // Second, copy values from the profile.
158 // Create a button to save the profile.
337 VpnProfile profile = new VpnProfile(mProfile.key);
338 profile.name = mName.getText().toString();
339 profile.type = mType.getSelectedItemPosition();
340 profile.server = mServer.getText().toString().trim();
341 profile.username = mUsername.getText().toString();
342 profile
68 VpnDialog(Context context, DialogInterface.OnClickListener listener, VpnProfile profile, boolean editing) argument
[all...]
/packages/services/Telephony/src/com/android/phone/sip/
H A DSipSettings.java59 * The PreferenceActivity class for managing sip profile preferences.
80 private SipProfile mProfile; // profile that's being edited
112 Log.v(TAG, "profile uid is " + profileUid + " isPrimary:"
197 SipProfile profile = intent.getParcelableExtra(KEY_SIP_PROFILE);
199 Log.v(TAG, "New Profile Name:" + profile.getProfileName());
200 addProfile(profile);
204 Log.v(TAG, "Can not handle the profile : " + e.getMessage());
281 private String getProfileName(SipProfile profile) { argument
282 String profileName = profile.getProfileName();
284 profileName = profile
360 handleProfileClick(final SipProfile profile) argument
412 startSipEditor(final SipProfile profile) argument
[all...]
H A DSipEditor.java52 * The activity class for editing a new or existing SIP profile.
61 private static final String KEY_PROFILE = "profile";
158 Log.v(TAG, "start profile editor");
360 SipProfile profile = createSipProfile();
362 intent.putExtra(SipSettings.KEY_SIP_PROFILE, (Parcelable) profile);
367 replaceProfile(mOldProfile, profile);
387 // Replace profile in a background thread as it takes time to access the
389 // newProfile may be null if the old profile is to be deleted rather
394 // if new profile is primary, unregister the old primary account
472 Log.v(TAG, "Edit the existing profile
562 PrimaryAccountSelector(SipProfile profile) argument
585 commit(SipProfile profile) argument
[all...]
/packages/services/Telephony/src/com/android/phone/
H A DSipBroadcastReceiver.java119 for (SipProfile profile : sipProfileList) {
121 if (!profile.getAutoRegistration() &&
122 !profile.getUriString().equals(
126 sipManager.open(profile,
129 if (DBG) log("registerAllProfiles: profile=" + profile);
131 loge("registerAllProfiles: failed" + profile.getProfileName(), e);
H A DBluetoothManager.java269 public void onServiceConnected(int profile, BluetoothProfile proxy) {
275 public void onServiceDisconnected(int profile) {
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterProperties.java277 int getProfileConnectionState(int profile) { argument
279 Pair<Integer, Integer> p = mProfileConnectionState.get(profile);
291 void sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) { argument
304 updateProfileConnectionState(profile, state, prevState);
383 private void updateProfileConnectionState(int profile, int newState, int oldState) { argument
386 // The key is the profile, the value is a pair. first element
394 // 1. If there is no record of profile and state - update
403 Pair<Integer, Integer> stateNumDev = mProfileConnectionState.get(profile);
429 mProfileConnectionState.put(profile, new Pair<Integer, Integer>(newHashState,
H A DAdapterService.java167 if (DBG) debugLog( "Profile connected. Schedule missing profile connection if any");
225 if (DBG) Log.d(TAG, "All profile services stopped...");
243 if (DBG) Log.d(TAG, "All profile services started.");
300 //Start profile services
302 //Startup all profile services
685 public int getProfileConnectionState(int profile) { argument
693 return service.getProfileConnectionState(profile);
847 device, int profile, int state, int prevState) {
850 service.sendConnectionStateChange(device, profile, state, prevState);
1044 int getProfileConnectionState(int profile) { argument
846 sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) argument
1307 sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) argument
[all...]
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/
H A Dweighting.cpp29 static inline void profile(const CorrectionType correctionType, DicNode *const node) { function in namespace:latinime
87 profile(correctionType, dicNode);
/packages/apps/Settings/src/com/android/settings/
H A DUtils.java497 // If there's no profile photo, assign a default avatar
527 // Find the raw contact ID for the local ME profile raw contact.
571 final Cursor profile = cr.query(Profile.CONTENT_URI,
573 if (profile == null) return null;
576 if (!profile.moveToFirst()) {
579 return profile.getString(0);
581 profile.close();
H A DTetherSettings.java194 public void onServiceConnected(int profile, BluetoothProfile proxy) {
197 public void onServiceDisconnected(int profile) {
/packages/apps/Nfc/src/com/android/nfc/handover/
H A DBluetoothHeadsetHandover.java155 * Enables bluetooth and gets the profile proxies
419 public void onServiceConnected(int profile, BluetoothProfile proxy) { argument
421 switch (profile) {
439 public void onServiceDisconnected(int profile) { argument
/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/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!");

Completed in 1020 milliseconds

12