Home
last modified time | relevance | path

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

12345

/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()
/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.java116 LocalBluetoothProfile profile) { in createProfilePreference()
133 LocalBluetoothProfile profile) { in refreshProfilePreference()
202 private void enableProfile(LocalBluetoothProfile profile) { in enableProfile()
224 private void disableProfile(LocalBluetoothProfile profile) { in disableProfile()
246 LocalBluetoothProfile profile = mProfileManager.getProfileByName(preference.getKey()); in onPreferenceClick() local
323 private void disableLeAudioProfile(LocalBluetoothProfile profile) { in disableLeAudioProfile()
353 private void enableLeAudioProfile(LocalBluetoothProfile profile) { in enableLeAudioProfile()
377 private void disableProfileBeforeUserEnablesLeAudio(LocalBluetoothProfile profile) { in disableProfileBeforeUserEnablesLeAudio()
399 private void enableProfileAfterUserDisablesLeAudio(LocalBluetoothProfile profile) { in enableProfileAfterUserDisablesLeAudio()
428 private void maybeAddHighQualityAudioPref(LocalBluetoothProfile profile) { in maybeAddHighQualityAudioPref()
/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.java93 int profile = BluetoothUtils.getProfileFromConnectionAction(action); in onReceive() local
172 void handleProfileConnectionStateChange(BluetoothDevice device, int profile, int toState, in handleProfileConnectionStateChange()
263 private void untrackProfile(BluetoothDevice device, int profile) { in untrackProfile()
286 private boolean isProfileBeingTracked(BluetoothDevice device, int profile) { in isProfileBeingTracked()
298 boolean isRetryPosted(BluetoothDevice device, int profile) { in isRetryPosted()
318 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.java148 int profile = BluetoothUtils.getProfileFromConnectionAction(action); in onReceive() local
172 private void handleProfileConnectionStateChanged(BluetoothDevice device, int profile, in handleProfileConnectionStateChanged()
624 private void addWatchedProfileIfSupported(int profile) { in addWatchedProfileIfSupported()
675 private boolean handleAutoConnectingDeviceStateChange(BluetoothDevice device, int profile, in handleAutoConnectingDeviceStateChange()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIkev2VpnTest.java315 private void checkBasicIkev2VpnProfile(@NonNull Ikev2VpnProfile profile) throws Exception { in checkBasicIkev2VpnProfile()
329 final Ikev2VpnProfile profile = buildIkev2VpnProfilePsk(TEST_SERVER_ADDR_V6, in doTestBuildIkev2VpnProfilePsk() local
364 final Ikev2VpnProfile profile = ikeProfileBuilder.build(); in testBuildIkev2VpnProfileWithIkeTunnelConnectionParams() local
379 final Ikev2VpnProfile profile = in testBuildIkev2VpnProfileUsernamePassword() local
397 final Ikev2VpnProfile profile = in testBuildIkev2VpnProfileDigitalSignature() local
419 final Ikev2VpnProfile profile = buildIkev2VpnProfilePsk(TEST_SERVER_ADDR_V6, in verifyProvisionVpnProfile() local
463 final Ikev2VpnProfile profile = buildIkev2VpnProfilePsk(TEST_SERVER_ADDR_V6, in testDeleteVpnProfile() local
509 final Ikev2VpnProfile profile = testIkeTunConnParams in checkStartStopVpnProfileBuildsNetworks() local
727 final Ikev2VpnProfile profile = buildIkev2VpnProfileCommon(builder, in testBuildIkev2VpnProfileWithAutomaticNattKeepaliveTimerEnabled() local
752 final Ikev2VpnProfile profile = buildIkev2VpnProfileCommon(builder, in testBuildIkev2VpnProfileWithAutomaticIpVersionSelectionEnabled() local
/packages/modules/NetworkStack/apishim/34/com/android/networkstack/apishim/api34/
DIkev2VpnProfileShimImpl.java33 protected Ikev2VpnProfileShimImpl(Ikev2VpnProfile profile) { in Ikev2VpnProfileShimImpl()
40 public static Ikev2VpnProfileShim<Ikev2VpnProfile> newInstance(Ikev2VpnProfile profile) { in newInstance()
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/
DIkev2VpnProfileShimImpl.java31 protected Ikev2VpnProfileShimImpl(Ikev2VpnProfile profile) { in Ikev2VpnProfileShimImpl()
38 public static Ikev2VpnProfileShim<Ikev2VpnProfile> newInstance( in newInstance()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothProfile.java407 void onServiceConnected(int profile, BluetoothProfile proxy); in onServiceConnected()
416 void onServiceDisconnected(int profile); in onServiceDisconnected()
432 public void onServiceConnected(int profile, BluetoothProfile proxy) { in onServiceConnected()
439 public void onServiceDisconnected(int profile) { in onServiceDisconnected()
483 static String getProfileName(int profile) { in getProfileName()
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()
/packages/modules/Connectivity/tests/unit/java/com/android/internal/net/
DVpnProfileTest.java193 final VpnProfile profile = getSampleIkev2ProfileWithIkeTunConnParams(DUMMY_PROFILE_KEY); in testEncodeDecodeWithIkeTunConnParams() local
200 final VpnProfile profile = getSampleIkev2Profile(DUMMY_PROFILE_KEY); in testEncodeDecode() local
207 final VpnProfile profile = getSampleIkev2Profile(DUMMY_PROFILE_KEY); in testEncodeDecodeTooManyValues() local
303 final VpnProfile profile = getSampleIkev2Profile(DUMMY_PROFILE_KEY); in testEncodeDecodeLoginsNotSaved() local
/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/IntentResolver/java/src/com/android/intentresolver/measurements/
DTracer.kt94 val profile = getProfileRecord(userHandle, createIfMissing = true) ?: return in <lambda>() constant
107 val profile = getProfileRecord(userHandle, createIfMissing = false) ?: return -1L in <lambda>() constant
/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/apps/Settings/src/com/android/settings/network/
DAllInOneTetherPreferenceController.java196 final BluetoothProfile profile = mBluetoothPan.getAndSet(null); in onDestroy() local
234 final BluetoothProfile profile = mBluetoothPan.get(); in onReceive() local
/packages/modules/NetworkStack/apishim/35/com/android/networkstack/apishim/
DIkev2VpnProfileShimImpl.java32 protected Ikev2VpnProfileShimImpl(Ikev2VpnProfile profile) { in Ikev2VpnProfileShimImpl()
/packages/modules/NetworkStack/apishim/33/com/android/networkstack/apishim/api33/
DIkev2VpnProfileShimImpl.java26 protected Ikev2VpnProfileShimImpl(Ikev2VpnProfile profile) { in Ikev2VpnProfileShimImpl()

12345