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

1234

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothManager.java76 * Get the current connection state of the profile to the remote device.
79 * the connection state of the local Bluetooth adapter for certain profile.
86 * @param profile GATT or GATT_SERVER
87 * @return State of the profile connection. One of
92 public int getConnectionState(BluetoothDevice device, int profile) { argument
95 List<BluetoothDevice> connectedDevices = getConnectedDevices(profile);
106 * Get connected devices for the specified profile.
111 * the connection state of Bluetooth for this profile.
117 * @param profile GATT or GATT_SERVER
120 public List<BluetoothDevice> getConnectedDevices(int profile) { argument
164 getDevicesMatchingConnectionStates(int profile, int[] states) argument
[all...]
H A DBluetoothProfile.java26 * to get the Profile Proxy. Each public profile implements this
34 * This extra represents the current connection state of the profile of the
37 public static final String EXTRA_STATE = "android.bluetooth.profile.extra.STATE";
42 * This extra represents the previous connection state of the profile of the
46 "android.bluetooth.profile.extra.PREVIOUS_STATE";
48 /** The profile is in disconnected state */
50 /** The profile is in connecting state */
52 /** The profile is in connected state */
54 /** The profile is in disconnecting state */
58 * Headset and Handsfree profile
179 onServiceConnected(int profile, BluetoothProfile proxy) argument
187 onServiceDisconnected(int profile) argument
[all...]
H A DBluetoothClass.java288 * Check class bits for possible bluetooth profile support.
290 * given class bits might support specified profile. It is not accurate for all
292 * @param profile The profile to be checked
293 * @return True if this device might support specified profile.
296 public boolean doesClassMatch(int profile) { argument
297 if (profile == PROFILE_A2DP) {
313 } else if (profile == PROFILE_HEADSET) {
328 } else if (profile == PROFILE_OPP) {
351 } else if (profile
[all...]
H A DIBluetooth.aidl54 int getProfileConnectionState(int profile);
75 void sendConnectionStateChange(in BluetoothDevice device, int profile, int state, int prevState);
/frameworks/base/core/java/com/android/internal/net/
H A DVpnProfile.java126 VpnProfile profile = new VpnProfile(key);
127 profile.name = values[0];
128 profile.type = Integer.valueOf(values[1]);
129 if (profile.type < 0 || profile.type > TYPE_MAX) {
132 profile.server = values[2];
133 profile.username = values[3];
134 profile.password = values[4];
135 profile.dnsServers = values[5];
136 profile
[all...]
/frameworks/base/media/java/android/media/videoeditor/
H A DVideoEditorProfile.java20 * predefined videoeditor profile settings for videoeditor applications.
23 * <p>The videoeditor profile specifies the following set of parameters:
59 * Returns the videoeditor profile
66 * Returns the supported profile by given video codec
69 int profile = -1;
75 profile = native_get_videoeditor_export_profile(vidCodec);
81 return profile;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhoneFactory.java42 SipProfile profile = new SipProfile.Builder(sipUri).build();
43 return new SipPhone(context, phoneNotifier, profile);
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dbitenc.h36 Word16 profile; member in struct:BITSTREAMENCODER_INIT
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaRecorderStressTestRunner.java36 public static CamcorderProfile profile = CamcorderProfile.get(mCameraId, mProfileQuality); field in class:MediaRecorderStressTestRunner
38 public static int mVideoEncoder = profile.videoCodec;
39 public static int mAudioEncoder = profile.audioCodec;
40 public static int mFrameRate = profile.videoFrameRate;
41 public static int mVideoWidth = profile.videoFrameWidth;
42 public static int mVideoHeight = profile.videoFrameHeight;
43 public static int mBitRate = profile.videoBitRate;
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java319 * @param profile the CamcorderProfile to use
322 public void setProfile(CamcorderProfile profile) { argument
323 setOutputFormat(profile.fileFormat);
324 setVideoFrameRate(profile.videoFrameRate);
325 setVideoSize(profile.videoFrameWidth, profile.videoFrameHeight);
326 setVideoEncodingBitRate(profile.videoBitRate);
327 setVideoEncoder(profile.videoCodec);
328 if (profile.quality >= CamcorderProfile.QUALITY_TIME_LAPSE_LOW &&
329 profile
[all...]
/frameworks/base/services/java/com/android/server/connectivity/
H A DVpn.java485 public void startLegacyVpn(VpnProfile profile, KeyStore keyStore, LinkProperties egress) { argument
499 if (!profile.ipsecUserCert.isEmpty()) {
500 privateKey = Credentials.USER_PRIVATE_KEY + profile.ipsecUserCert;
501 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecUserCert);
504 if (!profile.ipsecCaCert.isEmpty()) {
505 byte[] value = keyStore.get(Credentials.CA_CERTIFICATE + profile.ipsecCaCert);
508 if (!profile.ipsecServerCert.isEmpty()) {
509 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecServerCert);
518 switch (profile.type) {
521 iface, profile
[all...]
/frameworks/av/media/libmedia/
H A DMediaProfiles.cpp326 MediaProfiles::CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local
327 profile->mCameraId = cameraId;
331 profile->mFileFormat = static_cast<output_format>(fileFormat);
332 profile->mQuality = static_cast<camcorder_quality>(quality);
333 profile->mDuration = atoi(atts[5]);
334 return profile;
389 !strcmp("profile", atts[2]) &&
397 MediaProfiles::ExportVideoProfile *profile = local
401 return profile;
516 // Check high and low from either camcorder profile o
573 CamcorderProfile *profile = local
671 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local
688 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local
723 MediaProfiles::CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local
740 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local
[all...]
/frameworks/av/media/libstagefright/include/
H A Davc_utils.h58 const char *AVCProfileToString(uint8_t profile);
61 unsigned profile, unsigned sampling_freq_index,
/frameworks/av/media/libstagefright/wifi-display/
H A DVideoFormats.cpp163 mConfigs[i][j].profile = mConfigs[i][j].level = 0;
172 mConfigs[i][j].profile = (1ul << PROFILE_CBP);
236 unsigned profile, level, res[3]; local
241 &profile,
253 if (profile > mConfigs[i][j].profile) {
254 mConfigs[i][j].profile = profile;
310 // 1 byte profile
H A DVideoFormats.h42 unsigned char profile, level; member in struct:android::VideoFormats::config_t
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipProfile.java36 * Defines a SIP profile, including a SIP account, domain and server information.
96 * Creates a builder based on the given profile.
98 public Builder(SipProfile profile) { argument
99 if (profile == null) throw new NullPointerException();
101 mProfile = (SipProfile) profile.clone();
106 mUri = profile.getUri();
107 mUri.setUserPassword(profile.getPassword());
108 mDisplayName = profile.getDisplayName();
109 mProxyAddress = profile.getProxyAddress();
110 mProfile.mPort = profile
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTPAssembler.h50 unsigned profile,
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipHelper.java94 private FromHeader createFromHeader(SipProfile profile, String tag) argument
96 return mHeaderFactory.createFromHeader(profile.getSipAddress(), tag);
99 private ToHeader createToHeader(SipProfile profile) throws ParseException { argument
100 return createToHeader(profile, null);
103 private ToHeader createToHeader(SipProfile profile, String tag) argument
105 return mHeaderFactory.createToHeader(profile.getSipAddress(), tag);
152 private ContactHeader createContactHeader(SipProfile profile) argument
154 return createContactHeader(profile, null, 0);
157 private ContactHeader createContactHeader(SipProfile profile, argument
161 ? createSipUri(profile
[all...]
/frameworks/wilhelm/tests/examples/
H A DxaVideoDecoderCapabilities.cpp95 // Map a video codec and profile to string
97 const char *videoProfileToString(XAuint32 codec, XAuint32 profile) { argument
155 return id_pair_to_string(codec, profile, table, sizeof(table) / sizeof(table[0]));
271 /* get the number of profile / level combinations */
274 fprintf(stdout, "decoder %s has %d profile/level combinations:\n\t",
276 /* display the profile / level combinations */
282 XAuint32 profile = decDescriptor.profileSetting; local
284 fprintf(stdout, "%u/%u ", profile, level);
286 printf("(%s/%s) ", videoProfileToString(decoder, profile),
308 fprintf(stdout, "profile / level
[all...]
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java48 /** Timeout for connecting/disconnecting a profile in ms. */
52 /** Timeout to connect a profile proxy in ms. */
213 public ConnectProfileReceiver(BluetoothDevice device, int profile, int expectedFlags) { argument
217 mProfile = profile;
312 public void onServiceConnected(int profile, BluetoothProfile proxy) {
314 switch (profile) {
332 public void onServiceDisconnected(int profile) {
334 switch (profile) {
896 * Connects a profile from the local device to a remote device and checks to make sure that the
897 * profile i
906 connectProfile(BluetoothAdapter adapter, BluetoothDevice device, int profile, String methodName) argument
987 disconnectProfile(BluetoothAdapter adapter, BluetoothDevice device, int profile, String methodName) argument
1407 getConnectProfileReceiver(BluetoothDevice device, int profile, int expectedFlags) argument
1439 connectProxy(BluetoothAdapter adapter, int profile) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Daacenc_core.c63 Word16 profile = 1; local
131 hAacEnc->bseInit.profile = profile;
/frameworks/av/cmds/stagefright/
H A Drecordvideo.cpp44 fprintf(stderr, " -p encoder profile. see omx il header (default: encoder specific)\n");
163 int profile = -1; // Encoder specific default local
225 profile = atoi(optarg);
289 if (profile != -1) {
290 enc_meta->setInt32(kKeyVideoProfile, profile);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/inc/
H A DH264SwDecApi.h120 u32 profile; member in struct:__anon701
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaRecorderStressTest.java169 private void recordVideoAndPlayback(int profile) throws Exception { argument
181 if (profile != USE_TEST_RUNNER_PROFILE) {
182 assertTrue(String.format("Camera doesn't support profile %d", profile),
183 CamcorderProfile.hasProfile(CAMERA_ID, profile));
184 CamcorderProfile camcorderProfile = CamcorderProfile.get(CAMERA_ID, profile);
329 // Set camcorder profile for time lapse
330 CamcorderProfile profile =
332 mRecorder.setProfile(profile);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvop.cpp92 uint32 profile = 0x01; local
108 tmpvar = (uint32) BitstreamReadBits16(stream, 8); /* profile */
130 profile = tmpvar;
133 // save the profile and level for the query
292 if (profile != 0x10 && profile != 0x11 && profile != 0x12)
299 if (profile != 0x01 && profile != 0x02 && profile !
[all...]

Completed in 713 milliseconds

1234