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

123

/frameworks/base/core/java/android/bluetooth/
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
169 onServiceConnected(int profile, BluetoothProfile proxy) argument
177 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 DBluetoothProfileState.java30 * to a particular profile. Currently, we only allow one device
31 * to be connected to a particular profile.
36 * {@link PendingCommandState} : A profile connection / disconnection
37 * command is being executed. This will result in a profile state
91 public BluetoothProfileState(Context context, int profile) { argument
92 super("BluetoothProfileState:" + profile);
93 mProfile = profile;
H A DBluetoothAdapter.java286 * Bluetooth adapter to a profile of the remote device. When the adapter is
288 * connection to a profile this intent will sent. Once connected, this intent
290 * remote device. When the adapter disconnects from the last profile its
294 * whether the local adapter is connected to any profile of any device and
295 * are not really concerned about which profile. For example, an application
330 /** The profile is in disconnected state */
332 /** The profile is in connecting state */
334 /** The profile is in connected state */
336 /** The profile is in disconnecting state */
763 * to any profile o
796 getProfileConnectionState(int profile) argument
1147 getProfileProxy(Context context, BluetoothProfile.ServiceListener listener, int profile) argument
1182 closeProfileProxy(int profile, BluetoothProfile proxy) argument
[all...]
H A DBluetoothTetheringDataTracker.java105 public void onServiceConnected(int profile, BluetoothProfile proxy) {
108 public void onServiceDisconnected(int profile) {
/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/base/telephony/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/base/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 = field in class:MediaRecorderStressTestRunner
40 public static int mVideoEncoder = profile.videoCodec;
41 public static int mAudioEncdoer = profile.audioCodec;
42 public static int mFrameRate = profile.videoFrameRate;
43 public static int mVideoWidth = profile.videoFrameWidth;
44 public static int mVideoHeight = profile.videoFrameHeight;
45 public static int mBitRate = profile.videoBitRate;
/frameworks/base/media/java/android/media/
H A DMediaRecorder.java298 * @param profile the CamcorderProfile to use
301 public void setProfile(CamcorderProfile profile) { argument
302 setOutputFormat(profile.fileFormat);
303 setVideoFrameRate(profile.videoFrameRate);
304 setVideoSize(profile.videoFrameWidth, profile.videoFrameHeight);
305 setVideoEncodingBitRate(profile.videoBitRate);
306 setVideoEncoder(profile.videoCodec);
307 if (profile.quality >= CamcorderProfile.QUALITY_TIME_LAPSE_LOW &&
308 profile
[all...]
/frameworks/base/media/libstagefright/codecs/aacdec/
H A Ds_progconfig.h77 Int profile; member in struct:__anon562
H A Dget_adts_header.cpp31 (3) use (profile + 1) when calling set_mc_info
203 pVars->prog_config.profile = (lower_16 >> 10) AND 0x3;
421 * the profile used.
423 * '00' AAC_MAIN profile
424 * '01' AAC_LC (Low Complexity) profile
425 * '10' AAC_SSR (Scaleable Sampling Rate) profile
426 * '11' AAC_LTP (Long Term Prediction) profile
428 pVars->prog_config.profile = (lower_16 >> 10) & 0x3;
430 if (pVars->prog_config.profile == MP4AUDIO_AAC_SSR)
512 /* profile
[all...]
H A Dget_prog_config.cpp144 RETURNING( pScratchPCE->profile = returnValue )
363 objectType = pVars->prog_config.profile + 1,
487 pScratchPCE->profile =
728 (tMP4AudioObjectType)(pVars->prog_config.profile + 1),
/frameworks/base/media/libmedia/
H A DMediaProfiles.cpp324 MediaProfiles::CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local
325 profile->mCameraId = cameraId;
329 profile->mFileFormat = static_cast<output_format>(fileFormat);
330 profile->mQuality = static_cast<camcorder_quality>(quality);
331 profile->mDuration = atoi(atts[5]);
332 return profile;
387 !strcmp("profile", atts[2]) &&
395 MediaProfiles::ExportVideoProfile *profile = local
399 return profile;
514 // Check high and low from either camcorder profile o
571 CamcorderProfile *profile = local
669 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local
686 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local
721 MediaProfiles::CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local
738 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local
[all...]
/frameworks/base/media/libstagefright/include/
H A Davc_utils.h55 const char *AVCProfileToString(uint8_t profile);
58 unsigned profile, unsigned sampling_freq_index,
/frameworks/base/voip/java/android/net/sip/
H A DSipProfile.java36 * Defines a SIP profile, including a SIP account, domain and server information.
89 * Creates a builder based on the given profile.
91 public Builder(SipProfile profile) { argument
92 if (profile == null) throw new NullPointerException();
94 mProfile = (SipProfile) profile.clone();
99 mUri = profile.getUri();
100 mUri.setUserPassword(profile.getPassword());
101 mDisplayName = profile.getDisplayName();
102 mProxyAddress = profile.getProxyAddress();
103 mProfile.mPort = profile
[all...]
/frameworks/base/voip/java/com/android/server/sip/
H A DSipHelper.java96 private FromHeader createFromHeader(SipProfile profile, String tag) argument
98 return mHeaderFactory.createFromHeader(profile.getSipAddress(), tag);
101 private ToHeader createToHeader(SipProfile profile) throws ParseException { argument
102 return createToHeader(profile, null);
105 private ToHeader createToHeader(SipProfile profile, String tag) argument
107 return mHeaderFactory.createToHeader(profile.getSipAddress(), tag);
154 private ContactHeader createContactHeader(SipProfile profile) argument
156 return createContactHeader(profile, null, 0);
159 private ContactHeader createContactHeader(SipProfile profile, argument
163 ? createSipUri(profile
[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/base/media/libstagefright/codecs/aacenc/src/
H A Daacenc_core.c63 Word16 profile = 1; local
131 hAacEnc->bseInit.profile = profile;
/frameworks/base/cmds/stagefright/
H A Drecordvideo.cpp44 fprintf(stderr, " -p encoder profile. see omx il header (default: encoder specific)\n");
162 int profile = -1; // Encoder specific default local
223 profile = atoi(optarg);
275 if (profile != -1) {
276 enc_meta->setInt32(kKeyVideoProfile, profile);
/frameworks/base/media/libstagefright/codecs/on2/h264dec/inc/
H A DH264SwDecApi.h120 u32 profile; member in struct:__anon742
/frameworks/base/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...]
/frameworks/base/core/java/android/server/
H A DBluetoothBondState.java327 public void onServiceConnected(int profile, BluetoothProfile proxy) {
328 if (profile == BluetoothProfile.A2DP) {
330 } else if (profile == BluetoothProfile.HEADSET) {
335 public void onServiceDisconnected(int profile) {
336 if (profile == BluetoothProfile.A2DP) {
338 } else if (profile == BluetoothProfile.HEADSET) {
/frameworks/base/media/libstagefright/
H A Davc_utils.cpp225 const char *AVCProfileToString(uint8_t profile) { argument
226 switch (profile) {
272 memcpy(out, seqParamSet->data() + 1, 3); // profile/level...
274 uint8_t profile = out[0]; local
304 LOGI("found AVC codec config (%d x %d, %s-profile level %d.%d)",
305 width, height, AVCProfileToString(profile), level / 10, level % 10);
355 unsigned profile, unsigned sampling_freq_index,
391 ((profile + 1) << 3) | (sampling_freq_index >> 1);
354 MakeAACCodecSpecificData( unsigned profile, unsigned sampling_freq_index, unsigned channel_configuration) argument
/frameworks/base/core/java/android/os/
H A DLooper.java145 ((Profiler) logging).profile(msg, wallStart, wallTime,
251 void profile(Message message, long wallStart, long wallTime, method in interface:Looper.Profiler

Completed in 1239 milliseconds

123