/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 114 private String describe(LocalBluetoothProfile profile) { in describe() argument 117 if (profile != null) { in describe() 118 sb.append(" Profile:").append(profile); in describe() 124 void onProfileStateChanged(LocalBluetoothProfile profile, int newProfileState) { in onProfileStateChanged() argument 126 Log.d(TAG, "onProfileStateChanged: profile " + profile + in onProfileStateChanged() 134 mProfileConnectionState.put(profile, newProfileState); in onProfileStateChanged() 136 if (profile instanceof MapProfile) { in onProfileStateChanged() 137 profile.setPreferred(mDevice, true); in onProfileStateChanged() 138 } else if (!mProfiles.contains(profile)) { in onProfileStateChanged() 139 mRemovedProfiles.remove(profile); in onProfileStateChanged() [all …]
|
D | LocalBluetoothProfileManager.java | 236 private void addProfile(LocalBluetoothProfile profile, in addProfile() argument 238 mEventManager.addProfileHandler(stateChangedAction, new StateChangedHandler(profile)); in addProfile() 239 mProfileNameMap.put(profileName, profile); in addProfile() 242 private void addPanProfile(LocalBluetoothProfile profile, in addPanProfile() argument 245 new PanStateChangedHandler(profile)); in addPanProfile() 246 mProfileNameMap.put(profileName, profile); in addPanProfile() 268 StateChangedHandler(LocalBluetoothProfile profile) { in StateChangedHandler() argument 269 mProfile = profile; in StateChangedHandler() 294 PanStateChangedHandler(LocalBluetoothProfile profile) { in PanStateChangedHandler() argument 295 super(profile); in PanStateChangedHandler() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioProfile.h | 139 ssize_t add(const sp<AudioProfile> &profile) in add() argument 141 ssize_t index = Vector::add(profile); in add() 175 const sp<AudioProfile> &profile = itemAt(profileIndex); in addProfileFromHal() local 176 if (profile->isValid() && profile == profileToAdd) { in addProfileFromHal() 234 sp<AudioProfile> profile = itemAt(i); in hasDynamicChannelsFor() local 235 if (profile->getFormat() == format && profile->isDynamicChannels()) { in hasDynamicChannelsFor() 245 sp<AudioProfile> profile = itemAt(i); in hasDynamicRateFor() local 246 if (profile->getFormat() == format && profile->isDynamicRate()) { in hasDynamicRateFor() 262 sp<AudioProfile> profile = new AudioProfile(formats[i], in setFormats() local 265 profile->setDynamicFormat(true); in setFormats() [all …]
|
/frameworks/opt/net/ims/src/java/com/android/ims/internal/ |
D | ImsCallSession.java | 103 ImsStreamMediaProfile profile) { in callSessionProgressing() argument 113 ImsCallProfile profile) { in callSessionStarted() argument 143 ImsCallProfile profile) { in callSessionHeld() argument 162 ImsCallProfile profile) { in callSessionHoldReceived() argument 171 ImsCallProfile profile) { in callSessionResumed() argument 190 ImsCallProfile profile) { in callSessionResumeReceived() argument 202 ImsCallSession newSession, ImsCallProfile profile) { in callSessionMergeStarted() argument 229 ImsCallProfile profile) { in callSessionUpdated() argument 248 ImsCallProfile profile) { in callSessionUpdateReceived() argument 260 ImsCallSession newSession, ImsCallProfile profile) { in callSessionConferenceExtended() argument [all …]
|
/frameworks/base/core/java/com/android/internal/net/ |
D | VpnProfile.java | 126 VpnProfile profile = new VpnProfile(key); in decode() local 127 profile.name = values[0]; in decode() 128 profile.type = Integer.parseInt(values[1]); in decode() 129 if (profile.type < 0 || profile.type > TYPE_MAX) { in decode() 132 profile.server = values[2]; in decode() 133 profile.username = values[3]; in decode() 134 profile.password = values[4]; in decode() 135 profile.dnsServers = values[5]; in decode() 136 profile.searchDomains = values[6]; in decode() 137 profile.routes = values[7]; in decode() [all …]
|
/frameworks/av/media/libstagefright/wifi-display/ |
D | VideoFormats.cpp | 166 mConfigs[i][j].profile = mConfigs[i][j].level = 0; in disableAll() 175 mConfigs[i][j].profile = (1ul << PROFILE_CBP); in enableAll() 183 ProfileType profile, LevelType level) { in enableResolutionUpto() argument 198 setProfileLevel((ResolutionType)i, j, profile, level); in enableResolutionUpto() 211 mConfigs[type][index].profile = (1ul << PROFILE_CBP); in setResolutionEnabled() 215 mConfigs[type][index].profile = 0; in setResolutionEnabled() 222 ProfileType profile, LevelType level) { in setProfileLevel() argument 226 mConfigs[type][index].profile = (1ul << profile); in setProfileLevel() 232 ProfileType *profile, LevelType *level) const{ in getProfileLevel() argument 239 if (mConfigs[type][index].profile & (1ul << i)) { in getProfileLevel() [all …]
|
D | VideoFormats.h | 42 unsigned char profile, level; member 74 ProfileType profile, LevelType level); 83 ProfileType profile, LevelType level); 87 ProfileType *profile, LevelType *level) const; 95 ProfileType profile, LevelType level,
|
/frameworks/base/docs/html/work/ |
D | managed-profiles.jd | 21 profiles</a>. A managed profile is controlled by an administrator, and the 23 user's primary profile. This approach lets enterprises control the environment 41 set up <i>managed profiles</i>. If a device has a managed profile, the profile's 43 administrator can choose which apps are allowed for that profile, and can 44 control just what device features are available to the profile.</p> 46 <p>If a device has a managed profile, there are implications for apps 47 running on the device, no matter which profile the app is running under:</p> 51 <li>By default, most intents do not cross from one profile to the other. If an 52 app running on profile fires an intent, there is no handler for the intent on 53 that profile, and the intent is not allowed to cross to the other profile [all …]
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsCallSessionListenerBase.java | 34 public void callSessionProgressing(IImsCallSession session, ImsStreamMediaProfile profile) { in callSessionProgressing() argument 39 public void callSessionStarted(IImsCallSession session, ImsCallProfile profile) { in callSessionStarted() argument 57 public void callSessionHeld(IImsCallSession session, ImsCallProfile profile) { in callSessionHeld() argument 67 public void callSessionHoldReceived(IImsCallSession session, ImsCallProfile profile) { in callSessionHoldReceived() argument 72 public void callSessionResumed(IImsCallSession session, ImsCallProfile profile) { in callSessionResumed() argument 82 public void callSessionResumeReceived(IImsCallSession session, ImsCallProfile profile) { in callSessionResumeReceived() argument 91 ImsCallProfile profile) { in callSessionMergeStarted() argument 110 public void callSessionUpdated(IImsCallSession session, ImsCallProfile profile) { in callSessionUpdated() argument 120 public void callSessionUpdateReceived(IImsCallSession session, ImsCallProfile profile) { in callSessionUpdateReceived() argument 129 ImsCallProfile profile) { in callSessionConferenceExtended() argument [all …]
|
D | ImsCall.java | 543 public ImsCall(Context context, ImsCallProfile profile) { in ImsCall() argument 545 mCallProfile = profile; in ImsCall() 1044 public void accept(int callType, ImsStreamMediaProfile profile) throws ImsException { in accept() argument 1045 logi("accept :: callType=" + callType + ", profile=" + profile); in accept() 1054 mSession.accept(callType, profile); in accept() 1502 private ImsCall createNewCall(ImsCallSession session, ImsCallProfile profile) { in createNewCall() argument 1503 ImsCall call = new ImsCall(mContext, profile); in createNewCall() 2057 public void callSessionProgressing(ImsCallSession session, ImsStreamMediaProfile profile) { in callSessionProgressing() argument 2058 logi("callSessionProgressing :: session=" + session + " profile=" + profile); in callSessionProgressing() 2071 mCallProfile.mMediaProfile.copyFrom(profile); in callSessionProgressing() [all …]
|
/frameworks/base/telephony/java/com/android/ims/internal/ |
D | IImsCallSessionListener.aidl | 36 void callSessionProgressing(in IImsCallSession session, in ImsStreamMediaProfile profile); in callSessionProgressing() argument 37 void callSessionStarted(in IImsCallSession session, in ImsCallProfile profile); in callSessionStarted() argument 44 void callSessionHeld(in IImsCallSession session, in ImsCallProfile profile); in callSessionHeld() argument 46 void callSessionHoldReceived(in IImsCallSession session, in ImsCallProfile profile); in callSessionHoldReceived() argument 47 void callSessionResumed(in IImsCallSession session, in ImsCallProfile profile); in callSessionResumed() argument 49 void callSessionResumeReceived(in IImsCallSession session, in ImsCallProfile profile); in callSessionResumeReceived() argument 55 in IImsCallSession newSession, in ImsCallProfile profile); in callSessionMergeStarted() argument 64 in ImsCallProfile profile); in callSessionUpdated() argument 68 in ImsCallProfile profile); in callSessionUpdateReceived() argument 74 in IImsCallSession newSession, in ImsCallProfile profile); in callSessionConferenceExtended() argument [all …]
|
D | IImsCallSession.aidl | 113 void start(String callee, in ImsCallProfile profile); in start() argument 126 void startConference(in String[] participants, in ImsCallProfile profile); in startConference() argument 135 void accept(int callType, in ImsStreamMediaProfile profile); in accept() argument 158 void hold(in ImsStreamMediaProfile profile); in hold() argument 167 void resume(in ImsStreamMediaProfile profile); in resume() argument 187 void update(int callType, in ImsStreamMediaProfile profile); in update() argument
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothManager.java | 95 public int getConnectionState(BluetoothDevice device, int profile) { in getConnectionState() argument 98 List<BluetoothDevice> connectedDevices = getConnectedDevices(profile); in getConnectionState() 124 public List<BluetoothDevice> getConnectedDevices(int profile) { in getConnectedDevices() argument 126 if (profile != BluetoothProfile.GATT && profile != BluetoothProfile.GATT_SERVER) { in getConnectedDevices() 127 throw new IllegalArgumentException("Profile not supported: " + profile); in getConnectedDevices() 169 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int profile, int[] states) { in getDevicesMatchingConnectionStates() argument 172 if (profile != BluetoothProfile.GATT && profile != BluetoothProfile.GATT_SERVER) { in getDevicesMatchingConnectionStates() 173 throw new IllegalArgumentException("Profile not supported: " + profile); in getDevicesMatchingConnectionStates()
|
D | BluetoothClass.java | 298 public boolean doesClassMatch(int profile) { in doesClassMatch() argument 299 if (profile == PROFILE_A2DP) { in doesClassMatch() 315 } else if (profile == PROFILE_A2DP_SINK) { in doesClassMatch() 330 } else if (profile == PROFILE_HEADSET) { in doesClassMatch() 345 } else if (profile == PROFILE_OPP) { in doesClassMatch() 368 } else if (profile == PROFILE_HID) { in doesClassMatch() 370 } else if (profile == PROFILE_PANU || profile == PROFILE_NAP){ in doesClassMatch()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | HwModule.cpp | 48 sp<IOProfile> profile = new OutputProfile(name); in addOutputProfile() local 50 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addOutputProfile() 55 profile->addSupportedDevice(devDesc); in addOutputProfile() 57 return addOutputProfile(profile); in addOutputProfile() 60 status_t HwModule::addOutputProfile(const sp<IOProfile> &profile) in addOutputProfile() argument 62 profile->attach(this); in addOutputProfile() 63 mOutputProfiles.add(profile); in addOutputProfile() 64 mPorts.add(profile); in addOutputProfile() 68 status_t HwModule::addInputProfile(const sp<IOProfile> &profile) in addInputProfile() argument 70 profile->attach(this); in addInputProfile() [all …]
|
/frameworks/av/media/libmedia/ |
D | MediaProfiles.cpp | 333 MediaProfiles::CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; in createCamcorderProfile() local 334 profile->mCameraId = cameraId; in createCamcorderProfile() 338 profile->mFileFormat = static_cast<output_format>(fileFormat); in createCamcorderProfile() 339 profile->mQuality = static_cast<camcorder_quality>(quality); in createCamcorderProfile() 340 profile->mDuration = atoi(atts[5]); in createCamcorderProfile() 341 return profile; in createCamcorderProfile() 547 CamcorderProfile *profile = in checkAndAddRequiredProfilesIfNecessary() local 554 profile->mQuality = CAMCORDER_QUALITY_LOW; in checkAndAddRequiredProfilesIfNecessary() 557 profile->mQuality = CAMCORDER_QUALITY_HIGH; in checkAndAddRequiredProfilesIfNecessary() 560 profile->mQuality = CAMCORDER_QUALITY_TIME_LAPSE_LOW; in checkAndAddRequiredProfilesIfNecessary() [all …]
|
/frameworks/native/opengl/tools/glgen2/registry/ |
D | genheaders.py | 37 profile = False variable 63 profile = True variable 273 profile = 'compatibility', 292 profile = 'core', 311 profile = 'common', 330 profile = 'common', 349 profile = 'common', 368 profile = 'common', 387 profile = 'common', 406 profile = 'common', [all …]
|
/frameworks/native/opengl/tools/glgen2/ |
D | glgen.py | 226 profile = 'common', 230 profile = 'common', 236 profile = 'common', 240 profile = 'common', 255 profile = 'common'), 258 profile = 'common'), 261 profile = 'common', 266 profile = 'common', 281 profile = 'common', 286 profile = 'common', [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | WifiPowerEstimator.java | 33 public WifiPowerEstimator(PowerProfile profile) { in WifiPowerEstimator() argument 34 mWifiPowerPerPacket = getWifiPowerPerPacket(profile); in WifiPowerEstimator() 35 mWifiPowerOn = profile.getAveragePower(PowerProfile.POWER_WIFI_ON); in WifiPowerEstimator() 36 mWifiPowerScan = profile.getAveragePower(PowerProfile.POWER_WIFI_SCAN); in WifiPowerEstimator() 37 mWifiPowerBatchScan = profile.getAveragePower(PowerProfile.POWER_WIFI_BATCHED_SCAN); in WifiPowerEstimator() 43 private static double getWifiPowerPerPacket(PowerProfile profile) { in getWifiPowerPerPacket() argument 45 final double WIFI_POWER = profile.getAveragePower(PowerProfile.POWER_WIFI_ACTIVE) in getWifiPowerPerPacket()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaRecorderStressTestRunner.java | 36 public static CamcorderProfile profile = CamcorderProfile.get(mCameraId, mProfileQuality); field in 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/ |
D | MediaRecorder.java | 483 public void setProfile(CamcorderProfile profile) { in setProfile() argument 484 setOutputFormat(profile.fileFormat); in setProfile() 485 setVideoFrameRate(profile.videoFrameRate); in setProfile() 486 setVideoSize(profile.videoFrameWidth, profile.videoFrameHeight); in setProfile() 487 setVideoEncodingBitRate(profile.videoBitRate); in setProfile() 488 setVideoEncoder(profile.videoCodec); in setProfile() 489 if (profile.quality >= CamcorderProfile.QUALITY_TIME_LAPSE_LOW && in setProfile() 490 profile.quality <= CamcorderProfile.QUALITY_TIME_LAPSE_QVGA) { in setProfile() 494 setAudioEncodingBitRate(profile.audioBitRate); in setProfile() 495 setAudioChannels(profile.audioChannels); in setProfile() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1280 public void startLegacyVpn(VpnProfile profile, KeyStore keyStore, LinkProperties egress) { in startLegacyVpn() argument 1284 startLegacyVpnPrivileged(profile, keyStore, egress); in startLegacyVpn() 1296 public void startLegacyVpnPrivileged(VpnProfile profile, KeyStore keyStore, in startLegacyVpnPrivileged() argument 1314 if (!profile.ipsecUserCert.isEmpty()) { in startLegacyVpnPrivileged() 1315 privateKey = Credentials.USER_PRIVATE_KEY + profile.ipsecUserCert; in startLegacyVpnPrivileged() 1316 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecUserCert); in startLegacyVpnPrivileged() 1319 if (!profile.ipsecCaCert.isEmpty()) { in startLegacyVpnPrivileged() 1320 byte[] value = keyStore.get(Credentials.CA_CERTIFICATE + profile.ipsecCaCert); in startLegacyVpnPrivileged() 1323 if (!profile.ipsecServerCert.isEmpty()) { in startLegacyVpnPrivileged() 1324 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecServerCert); in startLegacyVpnPrivileged() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | Camera2RecordingTest.java | 283 CamcorderProfile profile = CamcorderProfile.get(quality); in getFpsFromHighSpeedProfileForSize() local 284 if (size.equals(new Size(profile.videoFrameWidth, profile.videoFrameHeight))){ in getFpsFromHighSpeedProfileForSize() 285 return profile.videoFrameRate; in getFpsFromHighSpeedProfileForSize() 389 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId); in basicRecordingTestByCamera() local 390 Size videoSz = new Size(profile.videoFrameWidth, profile.videoFrameHeight); in basicRecordingTestByCamera() 391 Range<Integer> fpsRange = new Range(profile.videoFrameRate, profile.videoFrameRate); in basicRecordingTestByCamera() 392 if (maxVideoFrameRate < profile.videoFrameRate) { in basicRecordingTestByCamera() 393 maxVideoFrameRate = profile.videoFrameRate; in basicRecordingTestByCamera() 419 prepareRecordingWithProfile(profile); in basicRecordingTestByCamera() 422 updatePreviewSurfaceWithVideo(videoSz, profile.videoFrameRate); in basicRecordingTestByCamera() [all …]
|
/frameworks/base/telephony/java/com/android/ims/ |
D | ImsStreamMediaProfile.java | 103 public void copyFrom(ImsStreamMediaProfile profile) { in copyFrom() argument 104 mAudioQuality = profile.mAudioQuality; in copyFrom() 105 mAudioDirection = profile.mAudioDirection; in copyFrom() 106 mVideoQuality = profile.mVideoQuality; in copyFrom() 107 mVideoDirection = profile.mVideoDirection; in copyFrom()
|
/frameworks/base/docs/html/preview/features/ |
D | afw.jd | 102 running in the work profile. The system shows the security challenge when the 104 security challenge, the system unlocks the work profile and decrypts it if 109 If a profile owner sends an {@link 111 system prompts a user to set up a security challenge. The profile owner can 126 setPasswordMinimumLength()}. The profile owner can also set the device lock, 129 method. Additionally, profile owners can customize the credentials screen for 144 Device owners and profile owners can temporarily suspend access to packages 169 On dual-profile devices, users can toggle work mode on and off. While work 170 mode is turned off, the managed profile is temporarily shut down. Work 171 profile apps, background sync, and notifications are all disabled, including [all …]
|