/frameworks/base/core/java/com/android/internal/os/ |
H A D | CameraPowerCalculator.java | 28 public CameraPowerCalculator(PowerProfile profile) { argument 29 mCameraPowerOnAvg = profile.getAveragePower(PowerProfile.POWER_CAMERA);
|
H A D | CpuPowerCalculator.java | 28 public CpuPowerCalculator(PowerProfile profile) { argument 29 mProfile = profile;
|
H A D | FlashlightPowerCalculator.java | 26 public FlashlightPowerCalculator(PowerProfile profile) { argument 27 mFlashlightPowerOnAvg = profile.getAveragePower(PowerProfile.POWER_FLASHLIGHT);
|
H A D | MediaPowerCalculator.java | 30 public MediaPowerCalculator(PowerProfile profile) { argument 31 mAudioAveragePowerMa = profile.getAveragePower(PowerProfile.POWER_AUDIO); 32 mVideoAveragePowerMa = profile.getAveragePower(PowerProfile.POWER_VIDEO);
|
H A D | MemoryPowerCalculator.java | 13 public MemoryPowerCalculator(PowerProfile profile) { argument 14 int numBuckets = profile.getNumElements(PowerProfile.POWER_MEMORY); 17 powerAverages[i] = profile.getAveragePower(PowerProfile.POWER_MEMORY, i); 40 Log.d(TAG, "Converted power profile number from "
|
H A D | SensorPowerCalculator.java | 31 public SensorPowerCalculator(PowerProfile profile, SensorManager sensorManager, argument 34 mGpsPower = getAverageGpsPower(profile, stats, rawRealtimeUs, statsType); 68 private double getAverageGpsPower(PowerProfile profile, BatteryStats stats, long rawRealtimeUs, argument 71 profile.getAveragePowerOrDefault(PowerProfile.POWER_GPS_ON, -1); 81 totalPower += profile.getAveragePower(PowerProfile.POWER_GPS_SIGNAL_QUALITY_BASED, i)
|
H A D | WakelockPowerCalculator.java | 28 public WakelockPowerCalculator(PowerProfile profile) { argument 29 mPowerWakelock = profile.getAveragePower(PowerProfile.POWER_CPU_IDLE);
|
H A D | BluetoothPowerCalculator.java | 30 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 D | MobileRadioPowerCalculator.java | 52 public MobileRadioPowerCalculator(PowerProfile profile, BatteryStats stats) { argument 54 profile.getAveragePowerOrDefault(PowerProfile.POWER_RADIO_ACTIVE, -1); 59 sum += profile.getAveragePower(PowerProfile.POWER_MODEM_CONTROLLER_RX); 61 sum += profile.getAveragePower(PowerProfile.POWER_MODEM_CONTROLLER_TX, i); 66 temp = profile.getAveragePowerOrDefault(PowerProfile.POWER_RADIO_ON, -1); 69 mPowerBins[i] = profile.getAveragePower(PowerProfile.POWER_RADIO_ON, i); 72 double idle = profile.getAveragePower(PowerProfile.POWER_MODEM_CONTROLLER_IDLE); 79 mPowerScan = profile.getAveragePowerOrDefault(PowerProfile.POWER_RADIO_SCANNING, 0);
|
H A D | WifiPowerCalculator.java | 34 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 D | WifiPowerEstimator.java | 33 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/base/core/java/android/bluetooth/ |
H A D | BluetoothManager.java | 83 * Get the current connection state of the profile to the remote device. 86 * the connection state of the local Bluetooth adapter for certain profile. 91 * @param profile GATT or GATT_SERVER 92 * @return State of the profile connection. One of {@link BluetoothProfile#STATE_CONNECTED}, 97 public int getConnectionState(BluetoothDevice device, int profile) { argument 100 List<BluetoothDevice> connectedDevices = getConnectedDevices(profile); 111 * Get connected devices for the specified profile. 116 * the connection state of Bluetooth for this profile. 120 * @param profile GATT or GATT_SERVER 124 public List<BluetoothDevice> getConnectedDevices(int profile) { argument 165 getDevicesMatchingConnectionStates(int profile, int[] states) argument [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ |
H A D | TestMMTelFeatureCompat.java | 53 public IImsCallSession createCallSession(int sessionId, ImsCallProfile profile, argument
|
H A D | TestMmTelFeature.java | 63 public ImsCallSessionImplBase createCallSession(ImsCallProfile profile) { argument
|
/frameworks/av/media/libstagefright/ |
H A D | MetaDataUtils.cpp | 51 unsigned profile, unsigned sampling_freq_index, 90 ((profile + 1) << 3) | (sampling_freq_index >> 1); 49 MakeAACCodecSpecificData( MetaDataBase &meta, unsigned profile, unsigned sampling_freq_index, unsigned channel_configuration) argument
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPAssembler.cpp | 73 unsigned profile, 102 dst[2] = (profile << 6) 72 MakeADTSCompoundFromAACFrames( unsigned profile, unsigned samplingFreqIndex, unsigned channelConfig, const List<sp<ABuffer> > &frames) argument
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | MediaRecorderStressTestRunner.java | 36 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/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioProfile.cpp | 236 for (const auto& profile : *this) { 237 if (profile->checkExact(samplingRate, channelMask, format) == NO_ERROR) { 260 const sp<AudioProfile> profile = itemAt(i); local 261 audio_format_t formatToCompare = profile->getFormat(); 266 // Compatible profile has been found, checks if this profile has compatible 270 if (profile->checkCompatibleChannelMask(channelMask, updatedChannels, 272 profile->checkCompatibleSamplingRate(samplingRate, updatedRate) == NO_ERROR) {
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
H A D | Engine.cpp | 179 const audio_stream_type_t &profile) 182 profile)) { 183 mPolicyEngine->mApmObserver->getVolumeCurves().switchVolumeCurve(profile, stream); 178 setVolumeProfileForStream(const audio_stream_type_t &stream, const audio_stream_type_t &profile) argument
|
/frameworks/base/telephony/java/android/telephony/ims/compat/feature/ |
H A D | MMTelFeature.java | 115 public IImsCallSession createCallSession(int sessionId, ImsCallProfile profile) 118 return MMTelFeature.this.createCallSession(sessionId, profile, null); 285 * Creates an {@link ImsCallSession} with the specified call profile. 290 * @param profile a call profile to make the call 292 public IImsCallSession createCallSession(int sessionId, ImsCallProfile profile, argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
H A D | ImsServiceInterfaceAdapter.java | 83 public IImsCallSession createCallSession(int sessionId, ImsCallProfile profile) argument 85 return getInterface().createCallSession(sessionId, profile, null);
|
H A D | MmTelInterfaceAdapter.java | 83 public IImsCallSession createCallSession(int sessionId, ImsCallProfile profile) argument 85 return getInterface().createCallSession(sessionId, profile);
|
/frameworks/av/cmds/stagefright/ |
H A D | recordvideo.cpp | 52 fprintf(stderr, " -p encoder profile. see omx il header (default: encoder specific)\n"); 175 int profile = -1; // Encoder specific default local 237 profile = atoi(optarg); 298 if (profile != -1) { 299 enc_meta->setInt32("profile", profile);
|
/frameworks/av/media/libmedia/ |
H A D | MediaCodecInfo.cpp | 115 uint32_t profile, uint32_t level) { 117 profileLevel.mProfile = profile; 114 addProfileLevel( uint32_t profile, uint32_t level) argument
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
H A D | SoftAACEncoder2.cpp | 403 static AUDIO_OBJECT_TYPE getAOTFromProfile(OMX_U32 profile) { argument 404 if (profile == OMX_AUDIO_AACObjectLC) { 406 } else if (profile == OMX_AUDIO_AACObjectHE) { 408 } else if (profile == OMX_AUDIO_AACObjectHE_PS) { 410 } else if (profile == OMX_AUDIO_AACObjectLD) { 412 } else if (profile == OMX_AUDIO_AACObjectELD) { 415 ALOGW("Unsupported AAC profile - defaulting to AAC-LC"); 490 ALOGE("Unable to initialize encoder for profile / sample-rate / bit-rate / channels");
|