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

12345

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DHwModule.cpp51 sp<IOProfile> profile = new IOProfile(String8(root->name), AUDIO_PORT_ROLE_SINK); local
55 profile->loadSamplingRates((char *)node->value);
57 profile->loadFormats((char *)node->value);
59 profile->loadInChannels((char *)node->value);
61 profile->mSupportedDevices.loadDevicesFromTag((char *)node->value,
64 profile->mFlags = ConfigParsingUtils::parseInputFlagNames((char *)node->value);
66 profile->loadGains(node);
70 ALOGW_IF(profile->mSupportedDevices.isEmpty(),
72 ALOGW_IF(profile->mChannelMasks.size() == 0,
74 ALOGW_IF(profile
98 sp<IOProfile> profile = new IOProfile(String8(root->name), AUDIO_PORT_ROLE_SOURCE); local
187 sp<IOProfile> profile = new IOProfile(name, AUDIO_PORT_ROLE_SOURCE); local
218 sp<IOProfile> profile = new IOProfile(name, AUDIO_PORT_ROLE_SINK); local
[all...]
/frameworks/base/telephony/java/com/android/ims/internal/
H A DIImsCallSession.aidl44 * Gets the call profile that this session is associated with
46 * @return the call profile that this session is associated with
51 * Gets the local call profile that this session is associated with
53 * @return the local call profile that this session is associated with
58 * Gets the remote call profile that this session is associated with
60 * @return the remote call profile that this session is associated with
103 * Initiates an IMS call with the specified target and call profile.
109 * @param profile call profile to make the call with the specified service type,
113 void start(String callee, in ImsCallProfile profile);
[all...]
H A DIImsCallSessionListener.aidl36 void callSessionProgressing(in IImsCallSession session, in ImsStreamMediaProfile profile);
37 void callSessionStarted(in IImsCallSession session, in ImsCallProfile profile);
44 void callSessionHeld(in IImsCallSession session, in ImsCallProfile profile);
46 void callSessionHoldReceived(in IImsCallSession session, in ImsCallProfile profile);
47 void callSessionResumed(in IImsCallSession session, in ImsCallProfile profile);
49 void callSessionResumeReceived(in IImsCallSession session, in ImsCallProfile profile);
55 in IImsCallSession newSession, in ImsCallProfile profile);
64 in ImsCallProfile profile);
68 in ImsCallProfile profile);
74 in IImsCallSession newSession, in ImsCallProfile profile);
[all...]
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsCallSessionListenerBase.java34 public void callSessionProgressing(IImsCallSession session, ImsStreamMediaProfile profile) { argument
39 public void callSessionStarted(IImsCallSession session, ImsCallProfile profile) { argument
57 public void callSessionHeld(IImsCallSession session, ImsCallProfile profile) { argument
67 public void callSessionHoldReceived(IImsCallSession session, ImsCallProfile profile) { argument
72 public void callSessionResumed(IImsCallSession session, ImsCallProfile profile) { argument
82 public void callSessionResumeReceived(IImsCallSession session, ImsCallProfile profile) { argument
91 ImsCallProfile profile) {
110 public void callSessionUpdated(IImsCallSession session, ImsCallProfile profile) { argument
120 public void callSessionUpdateReceived(IImsCallSession session, ImsCallProfile profile) { argument
129 ImsCallProfile profile) {
90 callSessionMergeStarted(IImsCallSession session, IImsCallSession newSession, ImsCallProfile profile) argument
128 callSessionConferenceExtended(IImsCallSession session, IImsCallSession newSession, ImsCallProfile profile) argument
140 callSessionConferenceExtendReceived(IImsCallSession session, IImsCallSession newSession, ImsCallProfile profile) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDevice.java94 * Last time a bt profile auto-connect was attempted.
109 * Describes the current device and profile for logging.
111 * @param profile Profile to describe
112 * @return Description of the device and profile
114 private String describe(LocalBluetoothProfile profile) { argument
117 if (profile != null) {
118 sb.append(" Profile:").append(profile);
124 void onProfileStateChanged(LocalBluetoothProfile profile, int newProfileState) { argument
126 Log.d(TAG, "onProfileStateChanged: profile " + profile
186 disconnect(LocalBluetoothProfile profile) argument
262 connectProfile(LocalBluetoothProfile profile) argument
271 connectInt(LocalBluetoothProfile profile) argument
338 getProfileConnectionState(LocalBluetoothProfile profile) argument
459 isConnectedProfile(LocalBluetoothProfile profile) argument
[all...]
H A DLocalBluetoothProfileManager.java84 * Mapping from profile name, e.g. "HEADSET" to profile object.
118 if(DEBUG) Log.d(TAG, "Adding local MAP profile");
124 //Create PBAP server profile, but do not add it to list of profiles
125 // as we do not need to monitor the profile as part of profile list
132 * Initialize or update the local profile objects. If a UUID was previously
134 * profile object as it might be referenced elsewhere, or the UUID might
135 * come back and we don't want multiple copies of the profile objects.
142 if(DEBUG) Log.d(TAG, "Adding local A2DP profile");
184 addProfile(LocalBluetoothProfile profile, String profileName, String stateChangedAction) argument
190 addPanProfile(LocalBluetoothProfile profile, String profileName, String stateChangedAction) argument
216 StateChangedHandler(LocalBluetoothProfile profile) argument
242 PanStateChangedHandler(LocalBluetoothProfile profile) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothManager.java78 * Get the current connection state of the profile to the remote device.
81 * the connection state of the local Bluetooth adapter for certain profile.
88 * @param profile GATT or GATT_SERVER
89 * @return State of the profile connection. One of
95 public int getConnectionState(BluetoothDevice device, int profile) { argument
98 List<BluetoothDevice> connectedDevices = getConnectedDevices(profile);
109 * Get connected devices for the specified profile.
114 * the connection state of Bluetooth for this profile.
120 * @param profile GATT or GATT_SERVER
124 public List<BluetoothDevice> getConnectedDevices(int profile) { argument
169 getDevicesMatchingConnectionStates(int profile, int[] states) argument
[all...]
H A DIBluetoothManager.aidl42 boolean bindBluetoothProfileService(int profile, IBluetoothProfileServiceConnection proxy);
43 void unbindBluetoothProfileService(int profile, IBluetoothProfileServiceConnection proxy);
H A DBluetoothProfile.java29 * to get the Profile Proxy. Each public profile implements this
37 * This extra represents the current connection state of the profile of the
40 public static final String EXTRA_STATE = "android.bluetooth.profile.extra.STATE";
45 * This extra represents the previous connection state of the profile of the
49 "android.bluetooth.profile.extra.PREVIOUS_STATE";
51 /** The profile is in disconnected state */
53 /** The profile is in connecting state */
55 /** The profile is in connected state */
57 /** The profile is in disconnecting state */
61 * Headset and Handsfree profile
215 onServiceConnected(int profile, BluetoothProfile proxy) argument
223 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...]
/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/core/java/com/android/internal/os/
H A DCameraPowerCalculator.java28 public CameraPowerCalculator(PowerProfile profile) { argument
29 mCameraPowerOnAvg = profile.getAveragePower(PowerProfile.POWER_CAMERA);
H A DFlashlightPowerCalculator.java26 public FlashlightPowerCalculator(PowerProfile profile) { argument
27 mFlashlightPowerOnAvg = profile.getAveragePower(PowerProfile.POWER_FLASHLIGHT);
H A DBluetoothPowerCalculator.java28 public BluetoothPowerCalculator(PowerProfile profile) { argument
29 mIdleMa = profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_IDLE);
30 mRxMa = profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_RX);
31 mTxMa = profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_TX);
H A DWifiPowerEstimator.java33 public WifiPowerEstimator(PowerProfile profile) { argument
34 mWifiPowerPerPacket = getWifiPowerPerPacket(profile);
35 mWifiPowerOn = profile.getAveragePower(PowerProfile.POWER_WIFI_ON);
36 mWifiPowerScan = profile.getAveragePower(PowerProfile.POWER_WIFI_SCAN);
37 mWifiPowerBatchScan = profile.getAveragePower(PowerProfile.POWER_WIFI_BATCHED_SCAN);
43 private static double getWifiPowerPerPacket(PowerProfile profile) { argument
45 final double WIFI_POWER = profile.getAveragePower(PowerProfile.POWER_WIFI_ACTIVE)
/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/opt/net/ims/src/java/com/android/ims/internal/
H A DImsCallSession.java103 ImsStreamMediaProfile profile) {
113 ImsCallProfile profile) {
143 ImsCallProfile profile) {
162 ImsCallProfile profile) {
171 ImsCallProfile profile) {
190 ImsCallProfile profile) {
202 ImsCallSession newSession, ImsCallProfile profile) {
229 ImsCallProfile profile) {
248 ImsCallProfile profile) {
260 ImsCallSession newSession, ImsCallProfile profile) {
102 callSessionProgressing(ImsCallSession session, ImsStreamMediaProfile profile) argument
112 callSessionStarted(ImsCallSession session, ImsCallProfile profile) argument
142 callSessionHeld(ImsCallSession session, ImsCallProfile profile) argument
161 callSessionHoldReceived(ImsCallSession session, ImsCallProfile profile) argument
170 callSessionResumed(ImsCallSession session, ImsCallProfile profile) argument
189 callSessionResumeReceived(ImsCallSession session, ImsCallProfile profile) argument
201 callSessionMergeStarted(ImsCallSession session, ImsCallSession newSession, ImsCallProfile profile) argument
228 callSessionUpdated(ImsCallSession session, ImsCallProfile profile) argument
247 callSessionUpdateReceived(ImsCallSession session, ImsCallProfile profile) argument
259 callSessionConferenceExtended(ImsCallSession session, ImsCallSession newSession, ImsCallProfile profile) argument
278 callSessionConferenceExtendReceived(ImsCallSession session, ImsCallSession newSession, ImsCallProfile profile) argument
653 start(String callee, ImsCallProfile profile) argument
675 start(String[] participants, ImsCallProfile profile) argument
693 accept(int callType, ImsStreamMediaProfile profile) argument
743 hold(ImsStreamMediaProfile profile) argument
761 resume(ImsStreamMediaProfile profile) argument
796 update(int callType, ImsStreamMediaProfile profile) argument
955 callSessionProgressing(IImsCallSession session, ImsStreamMediaProfile profile) argument
963 callSessionStarted(IImsCallSession session, ImsCallProfile profile) argument
990 callSessionHeld(IImsCallSession session, ImsCallProfile profile) argument
1006 callSessionHoldReceived(IImsCallSession session, ImsCallProfile profile) argument
1014 callSessionResumed(IImsCallSession session, ImsCallProfile profile) argument
1030 callSessionResumeReceived(IImsCallSession session, ImsCallProfile profile) argument
1045 callSessionMergeStarted(IImsCallSession session, IImsCallSession newSession, ImsCallProfile profile) argument
1098 callSessionUpdated(IImsCallSession session, ImsCallProfile profile) argument
1114 callSessionUpdateReceived(IImsCallSession session, ImsCallProfile profile) argument
1125 callSessionConferenceExtended(IImsCallSession session, IImsCallSession newSession, ImsCallProfile profile) argument
1142 callSessionConferenceExtendReceived(IImsCallSession session, IImsCallSession newSession, ImsCallProfile profile) argument
[all...]
/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/av/media/libstagefright/wifi-display/
H A DVideoFormats.h42 unsigned char profile, level; member in struct:android::VideoFormats::config_t
74 ProfileType profile, LevelType level);
83 ProfileType profile, LevelType level);
87 ProfileType *profile, LevelType *level) const;
95 ProfileType profile, LevelType level,
H A DVideoFormats.cpp166 mConfigs[i][j].profile = mConfigs[i][j].level = 0;
175 mConfigs[i][j].profile = (1ul << PROFILE_CBP);
183 ProfileType profile, LevelType level) {
198 setProfileLevel((ResolutionType)i, j, profile, level);
211 mConfigs[type][index].profile = (1ul << PROFILE_CBP);
215 mConfigs[type][index].profile = 0;
222 ProfileType profile, LevelType level) {
226 mConfigs[type][index].profile = (1ul << profile);
232 ProfileType *profile, LevelTyp
181 enableResolutionUpto( ResolutionType type, size_t index, ProfileType profile, LevelType level) argument
220 setProfileLevel( ResolutionType type, size_t index, ProfileType profile, LevelType level) argument
230 getProfileLevel( ResolutionType type, size_t index, ProfileType *profile, LevelType *level) const argument
307 unsigned profile, level, res[3]; local
340 GetProfileLevel( ProfileType profile, LevelType level, unsigned *profileIdc, unsigned *levelIdc, unsigned *constraintSet) argument
[all...]
/frameworks/base/telephony/java/com/android/ims/
H A DImsStreamMediaProfile.java23 * Parcelable object to handle IMS stream media profile.
93 public void copyFrom(ImsStreamMediaProfile profile) { argument
94 mAudioQuality = profile.mAudioQuality;
95 mAudioDirection = profile.mAudioDirection;
96 mVideoQuality = profile.mVideoQuality;
97 mVideoDirection = profile.mVideoDirection;
/frameworks/native/opengl/tools/glgen2/registry/
H A Dgenheaders.py29 # profile - enable Python profiling
37 profile = False variable
61 elif (arg == '-profile'):
62 write('Enabling profiling (-profile)', file=sys.stderr)
63 profile = True variable
197 '/* glcorearb.h is for use with OpenGL core profile implementations.',
201 '** glcorearb.h includes only APIs in the latest OpenGL core profile',
203 '** can be supported by the core profile. It does not, and never will',
204 '** include functionality removed from the core profile, such as',
273 profile
[all...]
/frameworks/av/media/libmedia/
H A DMediaProfiles.cpp332 MediaProfiles::CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local
333 profile->mCameraId = cameraId;
337 profile->mFileFormat = static_cast<output_format>(fileFormat);
338 profile->mQuality = static_cast<camcorder_quality>(quality);
339 profile->mDuration = atoi(atts[5]);
340 return profile;
486 // Check high and low from either camcorder profile, timelapse profile
487 // or high speed profile, but not all of them. Default, check camcorder profile
546 CamcorderProfile *profile = local
644 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local
661 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local
700 MediaProfiles::CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local
717 CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; local
[all...]
/frameworks/native/opengl/tools/glgen2/
H A Dglgen.py250 profile = 'common',
254 profile = 'common',
260 profile = 'common',
264 profile = 'common',
279 profile = 'common'),
282 profile = 'common'),
285 profile = 'common',
290 profile = 'common',
307 profile = 'common',
312 profile
[all...]

Completed in 515 milliseconds

12345