Home
last modified time | relevance | path

Searched defs:profile (Results 1 – 25 of 98) sorted by relevance

1234

/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialogFragment.java62 public static void show(VpnSettings parent, VpnProfile profile, boolean edit, boolean exists) { in show()
86 VpnProfile profile = (VpnProfile) args.getParcelable(ARG_PROFILE); in onCreateDialog() local
112 VpnProfile profile = (VpnProfile) options.getParcelable(ARG_PROFILE); in onConfirmLockdown() local
124 VpnProfile profile = dialog.getProfile(); in onClick() local
168 private void updateLockdownVpn(boolean isVpnAlwaysOn, VpnProfile profile) { in updateLockdownVpn()
189 private void save(VpnProfile profile, boolean lockdown) { in save()
199 private void connect(VpnProfile profile, boolean lockdown) { in connect()
220 private boolean disconnect(VpnProfile profile) { in disconnect()
232 private boolean isConnected(VpnProfile profile) throws RemoteException { in isConnected()
DVpnSettings.java167 VpnProfile profile = new VpnProfile(Long.toHexString(millis)); in onOptionsItemSelected() local
371 VpnProfile profile = pref.getProfile(); in onPreferenceClick() local
447 public LegacyVpnPreference findOrCreatePreference(VpnProfile profile, boolean update) { in findOrCreatePreference()
557 final VpnProfile profile = VpnProfile.decode(key, in loadVpnProfiles() local
/packages/modules/Connectivity/tests/unit/java/android/net/
DIkev2VpnProfileTest.java119 final Ikev2VpnProfile profile = builder.build(); in testBuildValidProfileWithOptions() local
137 final Ikev2VpnProfile profile = builder.build(); in testBuildUsernamePasswordProfile() local
154 final Ikev2VpnProfile profile = builder.build(); in testBuildDigitalSignatureProfile() local
171 final Ikev2VpnProfile profile = builder.build(); in testBuildPresharedKeyProfile() local
194 final Ikev2VpnProfile profile = builder.build(); in testBuildWithAllowedAlgorithmsAead() local
212 final Ikev2VpnProfile profile = builder.build(); in testBuildWithAllowedAlgorithmsNormal() local
283 final Ikev2VpnProfile profile = builder.build(); in testBuildExcludeLocalRoutesSet() local
307 private void verifyVpnProfileCommon(VpnProfile profile) { in verifyVpnProfileCommon()
321 final VpnProfile profile = builder.build().toVpnProfile(); in testPskConvertToVpnProfile() local
338 final VpnProfile profile = builder.build().toVpnProfile(); in testUsernamePasswordConvertToVpnProfile() local
[all …]
DVpnManagerTest.java75 final PlatformVpnProfile profile = getPlatformVpnProfile(); in testProvisionVpnProfilePreconsented() local
86 final PlatformVpnProfile profile = getPlatformVpnProfile(); in testProvisionVpnProfileNeedsConsent() local
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesController.java110 LocalBluetoothProfile profile) { in createProfilePreference()
125 LocalBluetoothProfile profile) { in refreshProfilePreference()
208 private void grayOutPreferenceWhenLeAudioIsEnabled(LocalBluetoothProfile profile) { in grayOutPreferenceWhenLeAudioIsEnabled()
221 private void enableProfile(LocalBluetoothProfile profile) { in enableProfile()
243 private void disableProfile(LocalBluetoothProfile profile) { in disableProfile()
265 LocalBluetoothProfile profile = mProfileManager.getProfileByName(preference.getKey()); in onPreferenceClick() local
350 private void disableLeAudioProfile(LocalBluetoothProfile profile) { in disableLeAudioProfile()
384 private void enableLeAudioProfile(LocalBluetoothProfile profile) { in enableLeAudioProfile()
410 private void disableProfileBeforeUserEnablesLeAudio(LocalBluetoothProfile profile) { in disableProfileBeforeUserEnablesLeAudio()
423 private void enableProfileAfterUserDisablesLeAudio(LocalBluetoothProfile profile) { in enableProfileAfterUserDisablesLeAudio()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothDeviceProfilesPreferenceControllerTest.java184 LocalBluetoothProfile profile = mock(LocalBluetoothProfile.class); in refreshUi_profiles_showsPreference() local
204 LocalBluetoothProfile profile = mock(LocalBluetoothProfile.class); in profileChecked_setsProfilePreferred() local
221 LocalBluetoothProfile profile = mock(LocalBluetoothProfile.class); in profileChecked_connectsToProfile() local
238 LocalBluetoothProfile profile = mock(LocalBluetoothProfile.class); in profileUnchecked_setsProfileNotPreferred() local
256 LocalBluetoothProfile profile = mock(LocalBluetoothProfile.class); in profileUnchecked_disconnectsFromProfile() local
277 LocalBluetoothProfile profile = mock(LocalBluetoothProfile.class); in profileDisabled_showsToast() local
/packages/services/Car/car-lib/src/android/car/
DICarBluetoothUserService.aidl25 boolean isBluetoothConnectionProxyAvailable(in int profile); in isBluetoothConnectionProxyAvailable()
26 int getConnectionPolicy(in int profile, in BluetoothDevice device); in getConnectionPolicy()
27 void setConnectionPolicy(in int profile, in BluetoothDevice device, in int policy); in setConnectionPolicy()
DICarProjection.aidl71 in BluetoothDevice device, in int profile, in IBinder token) = 6; in requestBluetoothProfileInhibit()
75 in BluetoothDevice device, in int profile, in IBinder token) = 7; in releaseBluetoothProfileInhibit()
/packages/services/Car/service/src/com/android/car/bluetooth/
DBluetoothConnectionRetryManager.java88 int profile = BluetoothUtils.getProfileFromConnectionAction(action); in onReceive() local
167 void handleProfileConnectionStateChange(BluetoothDevice device, int profile, int toState, in handleProfileConnectionStateChange()
257 private void untrackProfile(BluetoothDevice device, int profile) { in untrackProfile()
280 private boolean isProfileBeingTracked(BluetoothDevice device, int profile) { in isProfileBeingTracked()
292 boolean isRetryPosted(BluetoothDevice device, int profile) { in isRetryPosted()
312 boolean isRetryPosted(BluetoothDevice device, int profile) { in isRetryPosted()
DCarBluetoothUserService.java126 mProfileListener, profile); in setupBluetoothConnectionProxies() local
233 public boolean isBluetoothConnectionProxyAvailable(int profile) { in isBluetoothConnectionProxyAvailable()
282 public int getConnectionPolicy(int profile, BluetoothDevice device) { in getConnectionPolicy()
327 public void setConnectionPolicy(int profile, BluetoothDevice device, int policy) { in setConnectionPolicy()
DBluetoothProfileInhibitManager.java116 Integer profile = null; in BluetoothConnection() local
132 public BluetoothConnection(Integer profile, BluetoothDevice device) { in BluetoothConnection()
327 boolean requestProfileInhibit(BluetoothDevice device, int profile, IBinder token) { in requestProfileInhibit()
347 boolean releaseProfileInhibit(BluetoothDevice device, int profile, IBinder token) { in releaseProfileInhibit()
599 private boolean isProxyAvailable(int profile) { in isProxyAvailable()
DBluetoothDeviceManager.java147 int profile = BluetoothUtils.getProfileFromConnectionAction(action); in onReceive() local
171 private void handleProfileConnectionStateChanged(BluetoothDevice device, int profile, in handleProfileConnectionStateChanged()
611 private void addWatchedProfileIfSupported(int profile) { in addWatchedProfileIfSupported()
657 private boolean handleAutoConnectingDeviceStateChange(BluetoothDevice device, int profile, in handleAutoConnectingDeviceStateChange()
/packages/modules/Connectivity/tests/unit/java/com/android/internal/net/
DVpnProfileTest.java180 final VpnProfile profile = getSampleIkev2ProfileWithIkeTunConnParams(DUMMY_PROFILE_KEY); in testEncodeDecodeWithIkeTunConnParams() local
187 final VpnProfile profile = getSampleIkev2Profile(DUMMY_PROFILE_KEY); in testEncodeDecode() local
194 final VpnProfile profile = getSampleIkev2Profile(DUMMY_PROFILE_KEY); in testEncodeDecodeTooManyValues() local
265 final VpnProfile profile = getSampleIkev2Profile(DUMMY_PROFILE_KEY); in testEncodeDecodeLoginsNotSaved() local
/packages/apps/Launcher3/src/com/android/launcher3/widget/util/
DWidgetSizes.java71 public static Size getWidgetSizePx(DeviceProfile profile, int spanX, int spanY) { in getWidgetSizePx()
79 DeviceProfile profile, int spanX, int spanY) { in getWidgetPaddedSizePx()
98 public static Size getWidgetItemSizePx(Context context, DeviceProfile profile, in getWidgetItemSizePx()
116 private static Size getWidgetSizePx(DeviceProfile profile, int spanX, int spanY, in getWidgetSizePx()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIkev2VpnTest.java294 private void checkBasicIkev2VpnProfile(@NonNull Ikev2VpnProfile profile) throws Exception { in checkBasicIkev2VpnProfile()
308 final Ikev2VpnProfile profile = buildIkev2VpnProfilePsk(TEST_SERVER_ADDR_V6, in doTestBuildIkev2VpnProfilePsk() local
343 final Ikev2VpnProfile profile = ikeProfileBuilder.build(); in testBuildIkev2VpnProfileWithIkeTunnelConnectionParams() local
358 final Ikev2VpnProfile profile = in testBuildIkev2VpnProfileUsernamePassword() local
376 final Ikev2VpnProfile profile = in testBuildIkev2VpnProfileDigitalSignature() local
398 final Ikev2VpnProfile profile = buildIkev2VpnProfilePsk(TEST_SERVER_ADDR_V6, in verifyProvisionVpnProfile() local
442 final Ikev2VpnProfile profile = buildIkev2VpnProfilePsk(TEST_SERVER_ADDR_V6, in testDeleteVpnProfile() local
488 final Ikev2VpnProfile profile = testIkeTunConnParams in checkStartStopVpnProfileBuildsNetworks() local
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothManager.java104 public int getConnectionState(BluetoothDevice device, int profile) { in getConnectionState()
133 public List<BluetoothDevice> getConnectedDevices(int profile) { in getConnectedDevices()
161 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int profile, int[] states) { in getDevicesMatchingConnectionStates()
DBluetoothProfile.java399 public void onServiceConnected(int profile, BluetoothProfile proxy); in onServiceConnected()
408 public void onServiceDisconnected(int profile); in onServiceDisconnected()
448 static String getProfileName(int profile) { in getProfileName()
/packages/modules/Connectivity/nearby/tests/multidevices/clients/test_support/fastpair_provider/src/android/nearby/fastpair/provider/bluetooth/
DBluetoothManager.java57 public int getConnectionState(BluetoothDevice device, int profile) { in getConnectionState()
62 public List<BluetoothDevice> getConnectedDevices(int profile) { in getConnectedDevices()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/bluetooth/fastpair/
DBluetoothAudioPairer.java278 Profile profile = Constants.PROFILES.get(profileUuid); in connect() local
283 "Connect: " + profile)) { in connect()
288 private void connectByProfileProxy(Profile profile) in connectByProfileProxy()
337 private BluetoothProfileWrapper(Profile profile) in BluetoothProfileWrapper()
354 private BluetoothProfile getProfileProxy(BluetoothProfileWrapper this, Profile profile) in getProfileProxy()
742 private ConnectedReceiver(Profile profile) throws ConnectException { in ConnectedReceiver()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/storage/
DMetadata.java114 void setProfileConnectionPolicy(int profile, int connectionPolicy) { in setProfileConnectionPolicy()
188 public int getProfileConnectionPolicy(int profile) { in getProfileConnectionPolicy()
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/info/
DFiraProfileSupportInfo.java56 sMap.put(profile.mId, profile); in sMap.put() argument
102 FiraProfile profile = FiraProfile.idOf(current_id); in fromBytes() local
/packages/modules/Bluetooth/system/binder/android/bluetooth/
DIBluetoothManager.aidl54 …boolean bindBluetoothProfileService(int profile, String serviceName, IBluetoothProfileServiceConne… in bindBluetoothProfileService()
56 void unbindBluetoothProfileService(int profile, IBluetoothProfileServiceConnection proxy); in unbindBluetoothProfileService()
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DPairedBluetoothDevices.java191 LocalBluetoothProfile profile = getProfile(device, BluetoothProfile.HEADSET_CLIENT); in onNotifyChange() local
196 LocalBluetoothProfile profile = getProfile(device, BluetoothProfile.A2DP_SINK); in onNotifyChange() local
305 LocalBluetoothProfile profile = getProfile(device, profileId); in getBluetoothProfileToggleState() local
/packages/apps/Camera2/src/com/android/camera/stats/profiler/
DLoggingProfiler.java32 LoggingProfile profile = new LoggingProfile(mWriter, name); in create() local
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DConfig.java244 static void updateSupportedProfileMask(Boolean enable, Class profile, int supportedProfile) { in updateSupportedProfileMask()
269 private static long getProfileMask(Class profile) { in getProfileMask()

1234