Searched refs:profile (Results 26 - 50 of 136) sorted by relevance

123456

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DLocalBluetoothProfileManager.java92 * Mapping from profile name, e.g. "HEADSET" to profile object.
127 if(DEBUG) Log.d(TAG, "Adding local MAP profile");
133 //Create PBAP server profile, but do not add it to list of profiles
134 // as we do not need to monitor the profile as part of profile list
141 * Initialize or update the local profile objects. If a UUID was previously
143 * profile object as it might be referenced elsewhere, or the UUID might
144 * come back and we don't want multiple copies of the profile objects.
151 if(DEBUG) Log.d(TAG, "Adding local A2DP SRC profile");
236 addProfile(LocalBluetoothProfile profile, String profileName, String stateChangedAction) argument
242 addPanProfile(LocalBluetoothProfile profile, String profileName, String stateChangedAction) argument
268 StateChangedHandler(LocalBluetoothProfile profile) argument
294 PanStateChangedHandler(LocalBluetoothProfile profile) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBluetoothPowerCalculator.java30 public BluetoothPowerCalculator(PowerProfile profile) { argument
31 mIdleMa = profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_IDLE);
32 mRxMa = profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_RX);
33 mTxMa = profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_TX);
H A DWifiPowerCalculator.java34 public WifiPowerCalculator(PowerProfile profile) { argument
35 mIdleCurrentMa = profile.getAveragePower(PowerProfile.POWER_WIFI_CONTROLLER_IDLE);
36 mTxCurrentMa = profile.getAveragePower(PowerProfile.POWER_WIFI_CONTROLLER_TX);
37 mRxCurrentMa = profile.getAveragePower(PowerProfile.POWER_WIFI_CONTROLLER_RX);
H A DSensorPowerCalculator.java29 public SensorPowerCalculator(PowerProfile profile, SensorManager sensorManager) { argument
31 mGpsPowerOn = profile.getAveragePower(PowerProfile.POWER_GPS_ON);
H A DMobileRadioPowerCalculator.java52 public MobileRadioPowerCalculator(PowerProfile profile, BatteryStats stats) { argument
53 mPowerRadioOn = profile.getAveragePower(PowerProfile.POWER_RADIO_ACTIVE);
55 mPowerBins[i] = profile.getAveragePower(PowerProfile.POWER_RADIO_ON, i);
57 mPowerScan = profile.getAveragePower(PowerProfile.POWER_RADIO_SCANNING);
H A DWakelockPowerCalculator.java28 public WakelockPowerCalculator(PowerProfile profile) { argument
29 mPowerWakelock = profile.getAveragePower(PowerProfile.POWER_CPU_AWAKE);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothClass.java290 * Check class bits for possible bluetooth profile support.
292 * given class bits might support specified profile. It is not accurate for all
294 * @param profile The profile to be checked
295 * @return True if this device might support specified profile.
298 public boolean doesClassMatch(int profile) { argument
299 if (profile == PROFILE_A2DP) {
315 } else if (profile == PROFILE_A2DP_SINK) {
330 } else if (profile == PROFILE_HEADSET) {
345 } else if (profile
[all...]
/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/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerTest.java134 // Make sure only one managed profile can be created
143 // Verify that current user is not a managed profile
149 UserInfo profile = createProfileForUser("Managed 1",
151 assertNotNull(profile);
152 assertTrue("creationTime must be set when the profile is created",
153 profile.creationTime > 0);
154 assertEquals(profile.creationTime, mUserManager.getUserCreationTime(
155 new UserHandle(profile.id)));
271 UserInfo profile = mUserManager.createProfileForUser(name, flags, userHandle);
272 if (profile !
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DHwModule.h65 status_t addOutputProfile(const sp<IOProfile> &profile);
66 status_t addInputProfile(const sp<IOProfile> &profile);
67 status_t addProfile(const sp<IOProfile> &profile);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCamera2RecordingTest.java168 * CamcorderProfile list, test each profile configuration and validate the
283 CamcorderProfile profile = CamcorderProfile.get(quality);
284 if (size.equals(new Size(profile.videoFrameWidth, profile.videoFrameHeight))){
285 return profile.videoFrameRate;
389 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId);
390 Size videoSz = new Size(profile.videoFrameWidth, profile.videoFrameHeight);
391 Range<Integer> fpsRange = new Range(profile.videoFrameRate, profile
804 prepareRecordingWithProfile(CamcorderProfile profile) argument
[all...]
H A DCamera2SwitchPreviewTest.java350 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId);
351 Size videoSz = new Size(profile.videoFrameWidth, profile.videoFrameHeight);
352 Range<Integer> fpsRange = new Range(profile.videoFrameRate, profile.videoFrameRate);
353 if (maxVideoFrameRate < profile.videoFrameRate) {
354 maxVideoFrameRate = profile.videoFrameRate;
362 assertTrue("Video size " + videoSz.toString() + " for profile ID " + profileId +
365 assertTrue("Frame rate range " + fpsRange + " (for profile ID " + profileId +
380 prepareRecordingWithProfile(profile);
454 prepareRecordingWithProfile(CamcorderProfile profile) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTPAssembler.h50 unsigned profile,
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DConfigParsingUtils.cpp155 sp<IOProfile> profile = new IOProfile(String8(root->name), role); local
179 profile->setSupportedDevices(devices);
182 profile->setFlags(InputFlagConverter::maskFromString(node->value));
184 profile->setFlags(OutputFlagConverter::maskFromString(node->value));
187 loadAudioPortGains(node, *profile);
199 // For compatibility reason, for each format, creates a profile with the same
208 profile->setAudioProfiles(audioProfiles);
209 ALOGW_IF(!profile->hasSupportedDevices(), "load%s() invalid supported devices",
211 if (profile->hasSupportedDevices()) {
214 profile
[all...]
H A DAudioInputDescriptor.cpp29 AudioInputDescriptor::AudioInputDescriptor(const sp<IOProfile>& profile) argument
32 mProfile(profile), mPatchHandle(AUDIO_PATCH_HANDLE_NONE), mId(0)
34 if (profile != NULL) {
35 profile->pickAudioProfile(mSamplingRate, mChannelMask, mFormat);
36 if (profile->mGains.size() > 0) {
37 profile->mGains[0]->getDefaultConfig(&mGain);
77 "toAudioPortConfig() called on input with null profile %d", mIoHandle);
96 ALOG_ASSERT(mProfile != 0, "toAudioPort() called on input with null profile %d", mIoHandle);
H A DAudioProfile.cpp237 const sp<AudioProfile> profile = itemAt(i); local
238 if (profile->checkExact(samplingRate, channelMask, format) == NO_ERROR) {
261 const sp<AudioProfile> profile = itemAt(i); local
262 audio_format_t formatToCompare = profile->getFormat();
267 // Compatible profile has been found, checks if this profile has compatible
271 if (profile->checkCompatibleChannelMask(channelMask, updatedChannels,
273 profile->checkCompatibleSamplingRate(samplingRate, updatedRate) == NO_ERROR) {
/frameworks/av/media/libstagefright/include/
H A Davc_utils.h90 const char *AVCProfileToString(uint8_t profile);
93 unsigned profile, unsigned sampling_freq_index,
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsCall.java482 // Call profile of the current session.
485 // Call profile to be updated after the application's action (accept/reject)
577 * @param profile the call profile to make/take a call
579 public ImsCall(Context context, ImsCallProfile profile) { argument
581 setCallProfile(profile);
644 * Gets the negotiated (local & remote) call profile.
646 * @return a {@link ImsCallProfile} object that has the negotiated call profile
655 * Replaces the current call profile with a new one, tracking whethere this was previously a
658 * @param profile Th
660 setCallProfile(ImsCallProfile profile) argument
1100 accept(int callType, ImsStreamMediaProfile profile) argument
1574 createNewCall(ImsCallSession session, ImsCallProfile profile) argument
2130 callSessionProgressing(ImsCallSession session, ImsStreamMediaProfile profile) argument
2157 callSessionStarted(ImsCallSession session, ImsCallProfile profile) argument
2248 callSessionHeld(ImsCallSession session, ImsCallProfile profile) argument
2318 callSessionHoldReceived(ImsCallSession session, ImsCallProfile profile) argument
2345 callSessionResumed(ImsCallSession session, ImsCallProfile profile) argument
2413 callSessionResumeReceived(ImsCallSession session, ImsCallProfile profile) argument
2439 callSessionMergeStarted(ImsCallSession session, ImsCallSession newSession, ImsCallProfile profile) argument
2521 callSessionUpdated(ImsCallSession session, ImsCallProfile profile) argument
2573 callSessionUpdateReceived(ImsCallSession session, ImsCallProfile profile) argument
2600 callSessionConferenceExtended(ImsCallSession session, ImsCallSession newSession, ImsCallProfile profile) argument
2662 callSessionConferenceExtendReceived(ImsCallSession session, ImsCallSession newSession, ImsCallProfile profile) argument
3261 trackVideoStateHistory(ImsCallProfile profile) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpn.java847 * in each user and profile will be included.
1280 public void startLegacyVpn(VpnProfile profile, KeyStore keyStore, LinkProperties egress) { argument
1284 startLegacyVpnPrivileged(profile, keyStore, egress);
1296 public void startLegacyVpnPrivileged(VpnProfile profile, KeyStore keyStore, argument
1314 if (!profile.ipsecUserCert.isEmpty()) {
1315 privateKey = Credentials.USER_PRIVATE_KEY + profile.ipsecUserCert;
1316 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecUserCert);
1319 if (!profile.ipsecCaCert.isEmpty()) {
1320 byte[] value = keyStore.get(Credentials.CA_CERTIFICATE + profile.ipsecCaCert);
1323 if (!profile
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/
H A DVpnTest.java207 // Make a copy of the restricted profile, as we're going to mark it deleted halfway through.
213 final UidRange profile = UidRange.createForUser(tempProfile.id);
223 vpn.assertUnblocked(profile.start + PKG_UIDS[0]);
229 new UidRange(profile.start, profile.start + PKG_UIDS[3] - 1),
230 new UidRange(profile.start + PKG_UIDS[3] + 1, profile.stop)
237 new UidRange(profile.start, profile.start + PKG_UIDS[3] - 1),
238 new UidRange(profile
[all...]
/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),
305 fprintf(stdout, "profile / level
[all...]
/frameworks/base/media/java/android/media/
H A DMediaCodecInfo.java134 // found profile/level for which we don't have capability estimates
136 // have not found any profile/level for which we don't have capability estimate
142 * For example, what profile/level combinations it supports and what colorspaces
158 // Enumerates supported profile/level combinations as defined
637 Integer profile = (Integer)map.get(MediaFormat.KEY_PROFILE);
640 if (profile != null) {
641 if (!supportsProfileLevel(profile, level)) {
645 // If we recognize this profile, check that this format is supported by the
646 // highest level supported by the codec for that profile. (Ignore specified
647 // level beyond the above profile/leve
701 supportsProfileLevel(int profile, Integer level) argument
844 createFromProfileLevel( String mime, int profile, int level) argument
2755 supports( Integer complexity, Integer quality, Integer profile) argument
3049 public int profile; field in class:MediaCodecInfo.CodecProfileLevel
[all...]
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java51 /** Timeout for connecting/disconnecting a profile in ms. */
55 /** Timeout to connect a profile proxy in ms. */
217 public ConnectProfileReceiver(BluetoothDevice device, int profile, int expectedFlags) { argument
221 mProfile = profile;
316 public void onServiceConnected(int profile, BluetoothProfile proxy) {
318 switch (profile) {
336 public void onServiceDisconnected(int profile) {
338 switch (profile) {
891 * Connects a profile from the local device to a remote device and checks to make sure that the
892 * profile i
901 connectProfile(BluetoothAdapter adapter, BluetoothDevice device, int profile, String methodName) argument
982 disconnectProfile(BluetoothAdapter adapter, BluetoothDevice device, int profile, String methodName) argument
1402 getConnectProfileReceiver(BluetoothDevice device, int profile, int expectedFlags) argument
1434 connectProxy(BluetoothAdapter adapter, int profile) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Daacenc_core.c62 Word16 profile = 1; local
130 hAacEnc->bseInit.profile = profile;

Completed in 1475 milliseconds

123456