Searched defs:profile (Results 1 - 24 of 24) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/
H A DBluetoothAdapterProxy.java34 int profile) {
38 return mBluetoothAdapter.getProfileProxy(context, listener, profile);
33 getProfileProxy(Context context, BluetoothProfile.ServiceListener listener, int profile) argument
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DLegacyVpnPreference.java29 * {@link android.support.v7.preference.Preference} tracks the underlying legacy vpn profile and
44 public void setProfile(VpnProfile profile) { argument
46 final String newLabel = (profile != null ? profile.name : null);
51 mProfile = profile;
H A DConfigDialogFragment.java49 private static final String ARG_PROFILE = "profile";
58 public static void show(VpnSettings parent, VpnProfile profile, boolean edit, boolean exists) { argument
62 args.putParcelable(ARG_PROFILE, profile);
96 VpnProfile profile = (VpnProfile) args.getParcelable(ARG_PROFILE);
100 return new ConfigDialog(getActivity(), this, profile, editing, exists);
106 VpnProfile profile = dialog.getProfile();
110 KeyStore.getInstance().put(Credentials.VPN + profile.key, profile.encode(),
113 // Flush out old version of profile
114 disconnect(profile);
145 updateLockdownVpn(boolean isVpnAlwaysOn, VpnProfile profile) argument
167 connect(VpnProfile profile) argument
175 disconnect(VpnProfile profile) argument
[all...]
H A DVpnSettings.java155 VpnProfile profile = new VpnProfile(Long.toHexString(millis));
156 ConfigDialogFragment.show(this, profile, true /* editing */, false /* exists */);
231 for (VpnProfile profile : vpnProfiles) {
232 LegacyVpnPreference p = findOrCreatePreference(profile);
233 if (connectedLegacyVpns.containsKey(profile.key)) {
234 p.setState(connectedLegacyVpns.get(profile.key).state);
238 p.setAlwaysOn(lockdownVpnKey != null && lockdownVpnKey.equals(profile.key));
281 VpnProfile profile = pref.getProfile();
282 if (mConnectedLegacyVpn != null && profile.key.equals(mConnectedLegacyVpn.key) &&
291 ConfigDialogFragment.show(this, profile, fals
357 findOrCreatePreference(VpnProfile profile) argument
[all...]
H A DConfigDialog.java81 VpnProfile profile, boolean editing, boolean exists) {
85 mProfile = profile;
117 // Second, copy values from the profile.
182 // Create a button to forget the profile if it has already been saved..
188 // Create a button to save the profile.
406 VpnProfile profile = new VpnProfile(mProfile.key);
407 profile.name = mName.getText().toString();
408 profile.type = mType.getSelectedItemPosition();
409 profile.server = mServer.getText().toString().trim();
410 profile
80 ConfigDialog(Context context, DialogInterface.OnClickListener listener, VpnProfile profile, boolean editing, boolean exists) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DConfig.java48 * List of profile services.
68 * Resource flag to indicate whether profile is supported or not.
124 private static boolean isProfileDisabled(Context context, Class profile) { argument
125 final int profileIndex = getProfileIndex(profile);
128 Log.w(TAG, "Could not find profile bit mask");
140 private static int getProfileIndex(Class profile) { argument
143 if (profile == HeadsetService.class) {
145 } else if (profile == A2dpService.class) {
147 } else if (profile == A2dpSinkService.class) {
149 } else if (profile
[all...]
H A DAdapterProperties.java312 int getProfileConnectionState(int profile) { argument
314 Pair<Integer, Integer> p = mProfileConnectionState.get(profile);
324 void sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) { argument
337 updateProfileConnectionState(profile, state, prevState);
416 private void updateProfileConnectionState(int profile, int newState, int oldState) { argument
419 // The key is the profile, the value is a pair. first element
427 // 1. If there is no record of profile and state - update
436 Pair<Integer, Integer> stateNumDev = mProfileConnectionState.get(profile);
462 mProfileConnectionState.put(profile, new Pair<Integer, Integer>(newHashState,
H A DAdapterService.java260 // Set profile priorities only for the profiles discovered on the remote device.
308 debugLog( "Profile connected. Schedule missing profile connection if any");
317 debugLog( "Profile connected. Schedule missing profile connection if any");
332 public void addProfile(ProfileService profile) { argument
334 if (!mProfiles.contains(profile)) {
335 mProfiles.add(profile);
340 public void removeProfile(ProfileService profile) { argument
342 mProfiles.remove(profile);
419 debugLog("onProfileServiceStateChange() - All profile services stopped...");
445 debugLog("onProfileServiceStateChange() - All profile service
1067 getProfileConnectionState(int profile) argument
1319 sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) argument
1588 getProfileConnectionState(int profile) argument
2091 sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) argument
[all...]
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/
H A Dweighting.cpp30 static inline void profile(const CorrectionType correctionType, DicNode *const node) { function in namespace:latinime
88 profile(correctionType, dicNode);
/packages/apps/Settings/tests/app/src/com/android/settings/vpn2/
H A DCertInstallerHelper.java172 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 DVpnTests.java59 * 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 DSipUtil.java78 * Creates a {@link PhoneAccountHandle} from the specified SIP profile name.
86 * Determines the SIP profile name for a specified {@link PhoneAccountHandle}.
89 * @return The SIP profile name.
107 * @param profile The SipProfile.
110 static PhoneAccount createPhoneAccount(Context context, SipProfile profile) { argument
114 String sipAddress = profile.getUserName() + "@" + profile.getSipDomain();
115 Uri sipUri = Uri.parse(profile.getUriString());
118 SipUtil.createAccountHandle(context, profile.getProfileName());
126 PhoneAccount.Builder builder = PhoneAccount.builder(accountHandle, profile
[all...]
H A DSipAccountRegistry.java39 AccountEntry(SipProfile profile) { argument
40 mProfile = profile;
48 * Starts the SIP service associated with the SIP profile.
58 if (VERBOSE) log("startSipService, profile: " + mProfile);
60 // Stop the Sip service for the profile if it is already running. This is important
64 // Start the sip service for the profile.
76 log("startSipService, profile: " + mProfile.getProfileName() +
83 * Stops the SIP service associated with the SIP profile. The {@code SipAccountRegistry} is
95 log("stopSipService, stop failed for profile: " + mProfile.getUriString() +
133 SipProfile profile
264 startSipServiceForProfile(SipProfile profile, SipManager sipManager, Context context, boolean isReceivingCalls) argument
[all...]
H A DSipConnectionService.java48 void onFound(SipProfile profile); argument
110 // The ID used for SIP-based phone account is the SIP profile Uri. Use it to find
111 // the actual profile.
115 public void onFound(SipProfile profile) {
116 if (profile == null) {
118 DisconnectCause.OUTGOING_FAILURE, "SIP profile not found."));
122 createConnectionForProfile(profile, request);
190 SipProfile profile,
192 SipPhone phone = findPhoneForProfile(profile);
194 phone = createPhoneForProfile(profile);
189 createConnectionForProfile( SipProfile profile, ConnectionRequest request) argument
234 findPhoneForProfile(SipProfile profile) argument
249 createPhoneForProfile(SipProfile profile) argument
[all...]
H A DSipSettings.java52 * The PreferenceActivity class for managing sip profile preferences.
68 private SipProfile mProfile; // profile that's being edited
97 log("SipPreference.updateSummary, profile uid: " + profileUid +
168 SipProfile profile = intent.getParcelableExtra(KEY_SIP_PROFILE);
170 if (VERBOSE) log("onActivityResult, new: " + profile.getProfileName());
171 addProfile(profile);
175 log("onActivityResult, can not handle the profile: " + e);
194 private String getProfileName(SipProfile profile) { argument
195 String profileName = profile.getProfileName();
197 profileName = profile
283 handleProfileClick(final SipProfile profile) argument
337 startSipEditor(final SipProfile profile) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/mbs/
H A DA2dpMediaBrowserService.java55 // Message snet when the AVRCP profile is disconnected = 1;
59 // Message sent when AVRCP profile is connected (note AVRCP profile may be connected before or
62 // Message sent when we recieve a TRACK update from AVRCP profile over a connected A2DP device.
160 public void onServiceConnected(int profile, BluetoothProfile proxy) {
162 if (profile == BluetoothProfile.AVRCP_CONTROLLER) {
172 public void onServiceDisconnected(int profile) {
173 Log.d(TAG, "onServiceDisconnected " + profile);
174 if (profile == BluetoothProfile.AVRCP_CONTROLLER) {
289 private void msgProfileConnect(BluetoothProfile profile) { argument
[all...]
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DDeviceProfilesSettings.java175 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 DDockService.java99 * 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 DBluetoothPeripheralHandover.java177 * Enables bluetooth and gets the profile proxies
537 public void onServiceConnected(int profile, BluetoothProfile proxy) { argument
539 switch (profile) {
563 public void onServiceDisconnected(int profile) { argument
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DPrivateVolumeSettings.java658 private boolean isProfileOf(UserInfo user, UserInfo profile) { argument
659 return user.id == profile.id ||
661 && user.profileGroupId == profile.profileGroupId);
/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/Camera2/src/com/android/camera/
H A DVideoModule.java810 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 Darity-2.1.2.jar ... SyntaxException org.javia.arity.ArityException static void profile (org.javia.arity.Symbols, java.lang ...
/packages/apps/TV/usbtuner/libs/
H A Dexoplayer_1.5.6.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ...

Completed in 534 milliseconds