/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.valueOf(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/core/java/android/bluetooth/ |
D | BluetoothManager.java | 92 public int getConnectionState(BluetoothDevice device, int profile) { in getConnectionState() argument 95 List<BluetoothDevice> connectedDevices = getConnectedDevices(profile); in getConnectionState() 120 public List<BluetoothDevice> getConnectedDevices(int profile) { in getConnectedDevices() argument 122 if (profile != BluetoothProfile.GATT && profile != BluetoothProfile.GATT_SERVER) { in getConnectedDevices() 123 throw new IllegalArgumentException("Profile not supported: " + profile); in getConnectedDevices() 164 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int profile, int[] states) { in getDevicesMatchingConnectionStates() argument 167 if (profile != BluetoothProfile.GATT && profile != BluetoothProfile.GATT_SERVER) { in getDevicesMatchingConnectionStates() 168 throw new IllegalArgumentException("Profile not supported: " + profile); in getDevicesMatchingConnectionStates()
|
D | BluetoothClass.java | 296 public boolean doesClassMatch(int profile) { in doesClassMatch() argument 297 if (profile == PROFILE_A2DP) { in doesClassMatch() 313 } else if (profile == PROFILE_HEADSET) { in doesClassMatch() 328 } else if (profile == PROFILE_OPP) { in doesClassMatch() 351 } else if (profile == PROFILE_HID) { in doesClassMatch() 353 } else if (profile == PROFILE_PANU || profile == PROFILE_NAP){ in doesClassMatch()
|
D | BluetoothProfile.java | 185 public void onServiceConnected(int profile, BluetoothProfile proxy); in onServiceConnected() argument 193 public void onServiceDisconnected(int profile); in onServiceDisconnected() argument
|
D | BluetoothAdapter.java | 1093 public int getProfileConnectionState(int profile) { in getProfileConnectionState() argument 1097 if (mService != null) return mService.getProfileConnectionState(profile); in getProfileConnectionState() 1357 int profile) { in getProfileProxy() argument 1360 if (profile == BluetoothProfile.HEADSET) { in getProfileProxy() 1363 } else if (profile == BluetoothProfile.A2DP) { in getProfileProxy() 1366 } else if (profile == BluetoothProfile.INPUT_DEVICE) { in getProfileProxy() 1369 } else if (profile == BluetoothProfile.PAN) { in getProfileProxy() 1372 } else if (profile == BluetoothProfile.HEALTH) { in getProfileProxy() 1375 } else if (profile == BluetoothProfile.MAP) { in getProfileProxy() 1394 public void closeProfileProxy(int profile, BluetoothProfile proxy) { in closeProfileProxy() argument [all …]
|
D | IBluetooth.aidl | 54 int getProfileConnectionState(int profile); in getProfileConnectionState() argument 75 … void sendConnectionStateChange(in BluetoothDevice device, int profile, int state, int prevState); in sendConnectionStateChange() argument
|
/frameworks/av/media/libmedia/ |
D | MediaProfiles.cpp | 326 MediaProfiles::CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; in createCamcorderProfile() local 327 profile->mCameraId = cameraId; in createCamcorderProfile() 331 profile->mFileFormat = static_cast<output_format>(fileFormat); in createCamcorderProfile() 332 profile->mQuality = static_cast<camcorder_quality>(quality); in createCamcorderProfile() 333 profile->mDuration = atoi(atts[5]); in createCamcorderProfile() 334 return profile; in createCamcorderProfile() 397 MediaProfiles::ExportVideoProfile *profile = in createExportVideoProfile() local 401 return profile; in createExportVideoProfile() 573 CamcorderProfile *profile = in checkAndAddRequiredProfilesIfNecessary() local 580 profile->mQuality = CAMCORDER_QUALITY_LOW; in checkAndAddRequiredProfilesIfNecessary() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaRecorder.java | 356 public void setProfile(CamcorderProfile profile) { in setProfile() argument 357 setOutputFormat(profile.fileFormat); in setProfile() 358 setVideoFrameRate(profile.videoFrameRate); in setProfile() 359 setVideoSize(profile.videoFrameWidth, profile.videoFrameHeight); in setProfile() 360 setVideoEncodingBitRate(profile.videoBitRate); in setProfile() 361 setVideoEncoder(profile.videoCodec); in setProfile() 362 if (profile.quality >= CamcorderProfile.QUALITY_TIME_LAPSE_LOW && in setProfile() 363 profile.quality <= CamcorderProfile.QUALITY_TIME_LAPSE_QVGA) { in setProfile() 367 setAudioEncodingBitRate(profile.audioBitRate); in setProfile() 368 setAudioChannels(profile.audioChannels); in setProfile() [all …]
|
/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/services/java/com/android/server/connectivity/ |
D | Vpn.java | 725 public void startLegacyVpn(VpnProfile profile, KeyStore keyStore, LinkProperties egress) { in startLegacyVpn() argument 740 if (!profile.ipsecUserCert.isEmpty()) { in startLegacyVpn() 741 privateKey = Credentials.USER_PRIVATE_KEY + profile.ipsecUserCert; in startLegacyVpn() 742 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecUserCert); in startLegacyVpn() 745 if (!profile.ipsecCaCert.isEmpty()) { in startLegacyVpn() 746 byte[] value = keyStore.get(Credentials.CA_CERTIFICATE + profile.ipsecCaCert); in startLegacyVpn() 749 if (!profile.ipsecServerCert.isEmpty()) { in startLegacyVpn() 750 byte[] value = keyStore.get(Credentials.USER_CERTIFICATE + profile.ipsecServerCert); in startLegacyVpn() 759 switch (profile.type) { in startLegacyVpn() 762 iface, profile.server, "udppsk", profile.ipsecIdentifier, in startLegacyVpn() [all …]
|
/frameworks/base/media/java/android/media/videoeditor/ |
D | VideoEditorProfile.java | 69 int profile = -1; in getExportProfile() local 75 profile = native_get_videoeditor_export_profile(vidCodec); in getExportProfile() 81 return profile; in getExportProfile()
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
D | SipProfile.java | 98 public Builder(SipProfile profile) { in Builder() argument 99 if (profile == null) throw new NullPointerException(); in Builder() 101 mProfile = (SipProfile) profile.clone(); in Builder() 106 mUri = profile.getUri(); in Builder() 107 mUri.setUserPassword(profile.getPassword()); in Builder() 108 mDisplayName = profile.getDisplayName(); in Builder() 109 mProxyAddress = profile.getProxyAddress(); in Builder() 110 mProfile.mPort = profile.getPort(); in Builder()
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipHelper.java | 94 private FromHeader createFromHeader(SipProfile profile, String tag) in createFromHeader() argument 96 return mHeaderFactory.createFromHeader(profile.getSipAddress(), tag); in createFromHeader() 99 private ToHeader createToHeader(SipProfile profile) throws ParseException { in createToHeader() argument 100 return createToHeader(profile, null); in createToHeader() 103 private ToHeader createToHeader(SipProfile profile, String tag) in createToHeader() argument 105 return mHeaderFactory.createToHeader(profile.getSipAddress(), tag); in createToHeader() 152 private ContactHeader createContactHeader(SipProfile profile) in createContactHeader() argument 154 return createContactHeader(profile, null, 0); in createContactHeader() 157 private ContactHeader createContactHeader(SipProfile profile, in createContactHeader() argument 161 ? createSipUri(profile.getUserName(), profile.getProtocol(), in createContactHeader() [all …]
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 213 public ConnectProfileReceiver(BluetoothDevice device, int profile, int expectedFlags) { in ConnectProfileReceiver() argument 217 mProfile = profile; in ConnectProfileReceiver() 312 public void onServiceConnected(int profile, BluetoothProfile proxy) { 314 switch (profile) { 332 public void onServiceDisconnected(int profile) { 334 switch (profile) { 906 public void connectProfile(BluetoothAdapter adapter, BluetoothDevice device, int profile, in connectProfile() argument 909 methodName = String.format("connectProfile(profile=%d, device=%s)", profile, device); in connectProfile() 923 BluetoothProfile proxy = connectProxy(adapter, profile); in connectProfile() 926 ConnectProfileReceiver receiver = getConnectProfileReceiver(device, profile, mask); in connectProfile() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipPhoneFactory.java | 42 SipProfile profile = new SipProfile.Builder(sipUri).build(); in makePhone() local 43 return new SipPhone(context, phoneNotifier, profile); in makePhone()
|
/frameworks/wilhelm/tests/examples/ |
D | xaVideoDecoderCapabilities.cpp | 97 const char *videoProfileToString(XAuint32 codec, XAuint32 profile) { in videoProfileToString() argument 155 return id_pair_to_string(codec, profile, table, sizeof(table) / sizeof(table[0])); in videoProfileToString() 282 XAuint32 profile = decDescriptor.profileSetting; in TestVideoDecoderCapabilities() local 284 fprintf(stdout, "%u/%u ", profile, level); in TestVideoDecoderCapabilities() 286 printf("(%s/%s) ", videoProfileToString(decoder, profile), in TestVideoDecoderCapabilities()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | MediaRecorderStressTest.java | 169 private void recordVideoAndPlayback(int profile) throws Exception { in recordVideoAndPlayback() argument 181 if (profile != USE_TEST_RUNNER_PROFILE) { in recordVideoAndPlayback() 182 assertTrue(String.format("Camera doesn't support profile %d", profile), in recordVideoAndPlayback() 183 CamcorderProfile.hasProfile(CAMERA_ID, profile)); in recordVideoAndPlayback() 184 CamcorderProfile camcorderProfile = CamcorderProfile.get(CAMERA_ID, profile); in recordVideoAndPlayback() 330 CamcorderProfile profile = in testStressTimeLapse() local 332 mRecorder.setProfile(profile); in testStressTimeLapse()
|
/frameworks/av/media/libstagefright/include/ |
D | avc_utils.h | 58 const char *AVCProfileToString(uint8_t profile); 61 unsigned profile, unsigned sampling_freq_index,
|
/frameworks/av/cmds/stagefright/ |
D | recordvideo.cpp | 163 int profile = -1; // Encoder specific default in main() local 225 profile = atoi(optarg); in main() 289 if (profile != -1) { in main() 290 enc_meta->setInt32(kKeyVideoProfile, profile); in main()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | vop.cpp | 92 uint32 profile = 0x01; in DecodeVOLHeader() local 130 profile = tmpvar; in DecodeVOLHeader() 292 if (profile != 0x10 && profile != 0x11 && profile != 0x12) in DecodeVOLHeader() 299 if (profile != 0x01 && profile != 0x02 && profile != 0x03 && profile != 0x08 && in DecodeVOLHeader() 300 profile != 0x10 && profile != 0x11 && profile != 0x12) in DecodeVOLHeader() 304 profile |= 0x0100; in DecodeVOLHeader() 721 if (profile > 0xFF || profile == 0) in DecodeVOLHeader()
|
/frameworks/av/media/libstagefright/ |
D | avc_utils.cpp | 270 const char *AVCProfileToString(uint8_t profile) { in AVCProfileToString() argument 271 switch (profile) { in AVCProfileToString() 321 uint8_t profile = out[0]; in MakeAVCCodecSpecificData() local 361 AVCProfileToString(profile), in MakeAVCCodecSpecificData() 370 AVCProfileToString(profile), in MakeAVCCodecSpecificData() 423 unsigned profile, unsigned sampling_freq_index, in MakeAACCodecSpecificData() argument 459 ((profile + 1) << 3) | (sampling_freq_index >> 1); in MakeAACCodecSpecificData()
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
D | aacenc_core.c | 63 Word16 profile = 1; in AacEncOpen() local 131 hAacEnc->bseInit.profile = profile; in AacEncOpen()
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
D | SoftAACEncoder2.cpp | 290 static AUDIO_OBJECT_TYPE getAOTFromProfile(OMX_U32 profile) { in getAOTFromProfile() argument 291 if (profile == OMX_AUDIO_AACObjectLC) { in getAOTFromProfile() 293 } else if (profile == OMX_AUDIO_AACObjectHE) { in getAOTFromProfile() 295 } else if (profile == OMX_AUDIO_AACObjectHE_PS) { in getAOTFromProfile() 297 } else if (profile == OMX_AUDIO_AACObjectLD) { in getAOTFromProfile() 299 } else if (profile == OMX_AUDIO_AACObjectELD) { in getAOTFromProfile()
|