Home
last modified time | relevance | path

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

1234

/packages/services/Car/car-lib/src/android/car/
DICarBluetoothUserService.aidl25 boolean isBluetoothConnectionProxyAvailable(in int profile); in isBluetoothConnectionProxyAvailable()
26 boolean bluetoothConnectToProfile(in int profile, in BluetoothDevice device); in bluetoothConnectToProfile()
27 boolean bluetoothDisconnectFromProfile(in int profile, in BluetoothDevice device); in bluetoothDisconnectFromProfile()
28 int getProfilePriority(in int profile, in BluetoothDevice device); in getProfilePriority()
29 void setProfilePriority(in int profile, in BluetoothDevice device, in int priority); in setProfilePriority()
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/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.java169 VpnProfile profile = new VpnProfile(Long.toHexString(millis)); in onOptionsItemSelected() local
373 VpnProfile profile = pref.getProfile(); in onPreferenceClick() local
449 public LegacyVpnPreference findOrCreatePreference(VpnProfile profile, boolean update) { in findOrCreatePreference()
559 final VpnProfile profile = VpnProfile.decode(key, in loadVpnProfiles() local
/packages/modules/Connectivity/tests/unit/java/android/net/
DIkev2VpnProfileTest.java107 final Ikev2VpnProfile profile = builder.build(); in testBuildValidProfileWithOptions() local
125 final Ikev2VpnProfile profile = builder.build(); in testBuildUsernamePasswordProfile() local
142 final Ikev2VpnProfile profile = builder.build(); in testBuildDigitalSignatureProfile() local
159 final Ikev2VpnProfile profile = builder.build(); in testBuildPresharedKeyProfile() local
182 final Ikev2VpnProfile profile = builder.build(); in testBuildWithAllowedAlgorithmsAead() local
200 final Ikev2VpnProfile profile = builder.build(); in testBuildWithAllowedAlgorithmsNormal() local
273 private void verifyVpnProfileCommon(VpnProfile profile) { in verifyVpnProfileCommon()
287 final VpnProfile profile = builder.build().toVpnProfile(); in testPskConvertToVpnProfile() local
304 final VpnProfile profile = builder.build().toVpnProfile(); in testUsernamePasswordConvertToVpnProfile() local
321 final VpnProfile profile = builder.build().toVpnProfile(); in testRsaConvertToVpnProfile() local
[all …]
DVpnManagerTest.java75 final PlatformVpnProfile profile = getPlatformVpnProfile(); in testProvisionVpnProfilePreconsented() local
86 final PlatformVpnProfile profile = getPlatformVpnProfile(); in testProvisionVpnProfileNeedsConsent() local
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothDeviceProfilesPreferenceControllerTest.java143 LocalBluetoothProfile profile = mock(LocalBluetoothProfile.class); in refreshUi_profiles_showsPreference() local
163 LocalBluetoothProfile profile = mock(LocalBluetoothProfile.class); in profileChecked_setsProfilePreferred() local
178 LocalBluetoothProfile profile = mock(LocalBluetoothProfile.class); in profileChecked_connectsToProfile() local
193 LocalBluetoothProfile profile = mock(LocalBluetoothProfile.class); in profileUnchecked_setsProfileNotPreferred() local
209 LocalBluetoothProfile profile = mock(LocalBluetoothProfile.class); in profileUnchecked_disconnectsFromProfile() local
/packages/services/Car/service/src/com/android/car/
DCarBluetoothUserService.java116 mProfileListener, profile); in setupBluetoothConnectionProxies() local
231 public boolean isBluetoothConnectionProxyAvailable(int profile) { in isBluetoothConnectionProxyAvailable()
278 public boolean bluetoothConnectToProfile(int profile, BluetoothDevice device) { in bluetoothConnectToProfile()
322 public boolean bluetoothDisconnectFromProfile(int profile, BluetoothDevice device) { in bluetoothDisconnectFromProfile()
366 public int getProfilePriority(int profile, BluetoothDevice device) { in getProfilePriority()
417 public void setProfilePriority(int profile, BluetoothDevice device, int priority) { in setProfilePriority()
DCarBluetoothService.java389 public List<BluetoothDevice> getProfileDevicePriorityList(int profile) { in getProfileDevicePriorityList()
408 public int getDeviceConnectionPriority(int profile, BluetoothDevice device) { in getDeviceConnectionPriority()
427 public void setDeviceConnectionPriority(int profile, BluetoothDevice device, int priority) { in setDeviceConnectionPriority()
449 boolean requestProfileInhibit(BluetoothDevice device, int profile, IBinder token) { in requestProfileInhibit()
468 boolean releaseProfileInhibit(BluetoothDevice device, int profile, IBinder token) { in releaseProfileInhibit()
DBluetoothProfileInhibitManager.java95 public BluetoothConnection(Integer profile, BluetoothDevice device) { in BluetoothConnection()
164 Integer profile; in decode() local
309 boolean requestProfileInhibit(BluetoothDevice device, int profile, IBinder token) { in requestProfileInhibit()
327 boolean releaseProfileInhibit(BluetoothDevice device, int profile, IBinder token) { in releaseProfileInhibit()
565 private boolean isProxyAvailable(int profile) { in isProxyAvailable()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesController.java92 LocalBluetoothProfile profile) { in createProfilePreference()
105 LocalBluetoothProfile profile) { in refreshProfilePreference()
141 private void enableProfile(LocalBluetoothProfile profile) { in enableProfile()
157 private void disableProfile(LocalBluetoothProfile profile) { in disableProfile()
173 LocalBluetoothProfile profile = mProfileManager.getProfileByName(preference.getKey()); in onPreferenceClick() local
224 private void maybeAddHighQualityAudioPref(LocalBluetoothProfile profile) { in maybeAddHighQualityAudioPref()
/packages/modules/Connectivity/tests/unit/java/com/android/internal/net/
DVpnProfileTest.java134 final VpnProfile profile = getSampleIkev2Profile(DUMMY_PROFILE_KEY); in testEncodeDecode() local
141 final VpnProfile profile = getSampleIkev2Profile(DUMMY_PROFILE_KEY); in testEncodeDecodeTooManyValues() local
187 final VpnProfile profile = getSampleIkev2Profile(DUMMY_PROFILE_KEY); in testEncodeDecodeLoginsNotSaved() local
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipConnectionService.java49 void onFound(SipProfile profile); in onFound()
191 SipProfile profile, in createConnectionForProfile()
235 private SipPhone findPhoneForProfile(SipProfile profile) { in findPhoneForProfile()
250 private SipPhone createPhoneForProfile(SipProfile profile) { in createPhoneForProfile()
DSipSettings.java169 SipProfile profile = intent.getParcelableExtra(KEY_SIP_PROFILE); in onActivityResult() local
195 private String getProfileName(SipProfile profile) { in getProfileName()
249 SipProfile profile = getProfileFromList(activeProfile); in processActiveProfilesFromSipService() local
284 private void handleProfileClick(final SipProfile profile) { in handleProfileClick()
338 private void startSipEditor(final SipProfile profile) { in startSipEditor()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIkev2VpnTest.java246 private void checkBasicIkev2VpnProfile(@NonNull Ikev2VpnProfile profile) throws Exception { in checkBasicIkev2VpnProfile()
261 final Ikev2VpnProfile profile = in testBuildIkev2VpnProfilePsk() local
279 final Ikev2VpnProfile profile = in testBuildIkev2VpnProfileUsernamePassword() local
297 final Ikev2VpnProfile profile = in testBuildIkev2VpnProfileDigitalSignature() local
319 final Ikev2VpnProfile profile = in verifyProvisionVpnProfile() local
363 final Ikev2VpnProfile profile = in testDeleteVpnProfile() local
407 final Ikev2VpnProfile profile = in checkStartStopVpnProfileBuildsNetworks() 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()
92 public static Size getWidgetItemSizePx(Context context, DeviceProfile profile, in getWidgetItemSizePx()
103 private static Size getWidgetSizePx(DeviceProfile profile, int spanX, int spanY, in getWidgetSizePx()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/
DMetadata.java69 void setProfileConnectionPolicy(int profile, int connectionPolicy) { in setProfileConnectionPolicy()
121 int getProfileConnectionPolicy(int profile) { in getProfileConnectionPolicy()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/shadows/
DLShadowAppWidgetManager.java43 public List<AppWidgetProviderInfo> getInstalledProvidersForProfile(UserHandle profile) { in getInstalledProvidersForProfile()
/packages/apps/Camera2/src/com/android/camera/stats/profiler/
DLoggingProfiler.java32 LoggingProfile profile = new LoggingProfile(mWriter, name); in create() local
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DUtilsGetProfileNameTest.java36 public UtilsGetProfileNameTest(int profile, String name) { in UtilsGetProfileNameTest()
/packages/services/Telecomm/src/com/android/server/telecom/
DBluetoothAdapterProxy.java35 int profile) { in getProfileProxy()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/testutils/
DShadowBluetoothAdapterForDialer.java64 int profile) { in getProfileProxy()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDeviceProfilePreference.java37 public BluetoothDeviceProfilePreference(Context context, LocalBluetoothProfile profile, in BluetoothDeviceProfilePreference()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DBluetoothHeadsetFragment.java412 public void onServiceConnected(int profile, BluetoothProfile proxy) { in onServiceConnected()
424 public void onServiceDisconnected(int profile) { in onServiceDisconnected()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowBluetoothAdapter.java40 public void addSupportedProfiles(int profile) { in addSupportedProfiles()

1234