/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | DisplayColorProfileTest.cpp | 170 auto profile = ProfileFactory().setHasWideColorGamut(false).build(); in TEST_F() local 172 EXPECT_FALSE(profile.hasWideColorGamut()); in TEST_F() 176 auto profile = ProfileFactory().setHasWideColorGamut(true).build(); in TEST_F() local 178 EXPECT_TRUE(profile.hasWideColorGamut()); in TEST_F() 184 auto profile = ProfileFactory().setPerFrameMetadata(0).build(); in TEST_F() local 186 EXPECT_EQ(0, profile.getSupportedPerFrameMetadata()); in TEST_F() 190 impl::DisplayColorProfile profile = ProfileFactory().setPerFrameMetadata(123).build(); in TEST_F() local 192 EXPECT_EQ(123, profile.getSupportedPerFrameMetadata()); in TEST_F() 200 auto profile = ProfileFactory().build(); in TEST_F() local 202 EXPECT_FALSE(profile.hasHDR10PlusSupport()); in TEST_F() [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsCallSessionListener.java | 68 public void callSessionInitiating(@NonNull ImsCallProfile profile) { in callSessionInitiating() argument 70 mListener.callSessionInitiating(profile); in callSessionInitiating() 96 public void callSessionProgressing(ImsStreamMediaProfile profile) { in callSessionProgressing() argument 98 mListener.callSessionProgressing(profile); in callSessionProgressing() 110 public void callSessionInitiated(ImsCallProfile profile) { in callSessionInitiated() argument 112 mListener.callSessionInitiated(profile); in callSessionInitiated() 159 public void callSessionHeld(ImsCallProfile profile) { in callSessionHeld() argument 161 mListener.callSessionHeld(profile); in callSessionHeld() 185 public void callSessionHoldReceived(ImsCallProfile profile) { in callSessionHoldReceived() argument 187 mListener.callSessionHoldReceived(profile); in callSessionHoldReceived() [all …]
|
D | ImsCallSession.java | 109 ImsCallProfile profile) { in callSessionInitiating() argument 129 ImsStreamMediaProfile profile) { in callSessionProgressing() argument 139 ImsCallProfile profile) { in callSessionStarted() argument 169 ImsCallProfile profile) { in callSessionHeld() argument 188 ImsCallProfile profile) { in callSessionHoldReceived() argument 197 ImsCallProfile profile) { in callSessionResumed() argument 216 ImsCallProfile profile) { in callSessionResumeReceived() argument 228 ImsCallSession newSession, ImsCallProfile profile) { in callSessionMergeStarted() argument 255 ImsCallProfile profile) { in callSessionUpdated() argument 274 ImsCallProfile profile) { in callSessionUpdateReceived() argument [all …]
|
/frameworks/av/media/libaudiofoundation/ |
D | AudioProfile.cpp | 220 ssize_t AudioProfileVector::add(const sp<AudioProfile> &profile) in add() argument 223 push_back(profile); in add() 241 for (const auto &profile : *this) { in getFirstValidProfile() 242 if (profile->isValid()) { in getFirstValidProfile() 243 return profile; in getFirstValidProfile() 251 for (const auto &profile : *this) { in getFirstValidProfileFor() 252 if (profile->isValid() && profile->getFormat() == format) { in getFirstValidProfileFor() 253 return profile; in getFirstValidProfileFor() 262 for (const auto &profile : *this) { in getSupportedFormats() 263 if (profile->hasValidFormat()) { in getSupportedFormats() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 165 private String describe(LocalBluetoothProfile profile) { in describe() argument 168 if (profile != null) { in describe() 169 sb.append(" Profile:").append(profile); in describe() 175 void onProfileStateChanged(LocalBluetoothProfile profile, int newProfileState) { in onProfileStateChanged() argument 177 Log.d(TAG, "onProfileStateChanged: profile " + profile + ", device " in onProfileStateChanged() 189 if (profile instanceof A2dpProfile || profile instanceof HeadsetProfile in onProfileStateChanged() 190 || profile instanceof HearingAidProfile) { in onProfileStateChanged() 191 setProfileConnectedStatus(profile.getProfileId(), false); in onProfileStateChanged() 194 mHandler.removeMessages(profile.getProfileId()); in onProfileStateChanged() 197 mHandler.sendEmptyMessageDelayed(profile.getProfileId(), in onProfileStateChanged() [all …]
|
D | LocalBluetoothProfileManager.java | 226 private void addHeadsetProfile(LocalBluetoothProfile profile, String profileName, in addHeadsetProfile() argument 229 profile, audioStateChangedAction, audioDisconnectedState); in addHeadsetProfile() 232 mProfileNameMap.put(profileName, profile); in addHeadsetProfile() 238 private void addProfile(LocalBluetoothProfile profile, in addProfile() argument 240 mEventManager.addProfileHandler(stateChangedAction, new StateChangedHandler(profile)); in addProfile() 241 mProfileNameMap.put(profileName, profile); in addProfile() 244 private void addPanProfile(LocalBluetoothProfile profile, in addPanProfile() argument 247 new PanStateChangedHandler(profile)); in addPanProfile() 248 mProfileNameMap.put(profileName, profile); in addPanProfile() 267 StateChangedHandler(LocalBluetoothProfile profile) { in StateChangedHandler() argument [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioProfileVectorHelper.cpp | 44 const sp<AudioProfile> &profile) in addAudioProfileAndSort() argument 46 ssize_t ret = audioProfileVector.add(profile); in addAudioProfileAndSort() 55 for (const auto &profile : audioProfileVector) { in getAudioProfileForFormat() local 56 if (profile->getFormat() == format) { in getAudioProfileForFormat() 57 return profile; in getAudioProfileForFormat() 67 for (const auto &profile : audioProfileVector) { in setSampleRatesForAudioProfiles() local 68 if (profile->getFormat() == format && profile->isDynamicRate()) { in setSampleRatesForAudioProfiles() 69 if (profile->hasValidRates()) { in setSampleRatesForAudioProfiles() 72 format, profile->getChannels(), sampleRateSet); in setSampleRatesForAudioProfiles() 76 profile->setSampleRates(sampleRateSet); in setSampleRatesForAudioProfiles() [all …]
|
D | HwModule.cpp | 55 sp<IOProfile> profile = new OutputProfile(name); in addOutputProfile() local 57 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask, in addOutputProfile() 65 profile->addSupportedDevice(devDesc); in addOutputProfile() 67 return addOutputProfile(profile); in addOutputProfile() 70 status_t HwModule::addOutputProfile(const sp<IOProfile> &profile) in addOutputProfile() argument 72 profile->attach(this); in addOutputProfile() 73 mOutputProfiles.add(profile); in addOutputProfile() 74 mPorts.add(profile); in addOutputProfile() 78 status_t HwModule::addInputProfile(const sp<IOProfile> &profile) in addInputProfile() argument 80 profile->attach(this); in addInputProfile() [all …]
|
/frameworks/base/core/java/android/net/ |
D | Ikev2VpnProfile.java | 419 final VpnProfile profile = new VpnProfile("" /* Key; value unused by IKEv2VpnProfile(s) */, in toVpnProfile() local 421 profile.type = mType; in toVpnProfile() 422 profile.server = mServerAddr; in toVpnProfile() 423 profile.ipsecIdentifier = mUserIdentity; in toVpnProfile() 424 profile.proxy = mProxyInfo; in toVpnProfile() 425 profile.setAllowedAlgorithms(mAllowedAlgorithms); in toVpnProfile() 426 profile.isBypassable = mIsBypassable; in toVpnProfile() 427 profile.isMetered = mIsMetered; in toVpnProfile() 428 profile.maxMtu = mMaxMtu; in toVpnProfile() 429 profile.areAuthParamsInline = true; in toVpnProfile() [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/aidl/ |
D | IImsCallSessionListener.aidl | 40 void callSessionInitiating(in ImsCallProfile profile); in callSessionInitiating() argument 42 void callSessionProgressing(in ImsStreamMediaProfile profile); in callSessionProgressing() argument 43 void callSessionInitiated(in ImsCallProfile profile); in callSessionInitiated() argument 50 void callSessionHeld(in ImsCallProfile profile); in callSessionHeld() argument 52 void callSessionHoldReceived(in ImsCallProfile profile); in callSessionHoldReceived() argument 53 void callSessionResumed(in ImsCallProfile profile); in callSessionResumed() argument 55 void callSessionResumeReceived(in ImsCallProfile profile); in callSessionResumeReceived() argument 60 void callSessionMergeStarted(IImsCallSession newSession, in ImsCallProfile profile); in callSessionMergeStarted() argument 67 void callSessionUpdated(in ImsCallProfile profile); in callSessionUpdated() argument 69 void callSessionUpdateReceived(in ImsCallProfile profile); in callSessionUpdateReceived() argument [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/stub/ |
D | ImsCallSessionImplBase.java | 166 public void start(String callee, ImsCallProfile profile) { 167 ImsCallSessionImplBase.this.start(callee, profile); 171 public void startConference(String[] participants, ImsCallProfile profile) throws 173 ImsCallSessionImplBase.this.startConference(participants, profile); 177 public void accept(int callType, ImsStreamMediaProfile profile) { 178 ImsCallSessionImplBase.this.accept(callType, profile); 209 public void hold(ImsStreamMediaProfile profile) { 210 ImsCallSessionImplBase.this.hold(profile); 214 public void resume(ImsStreamMediaProfile profile) { 215 ImsCallSessionImplBase.this.resume(profile); [all …]
|
/frameworks/base/core/java/com/android/internal/net/ |
D | VpnProfile.java | 264 VpnProfile profile = new VpnProfile(key, isRestrictedToTestNetworks); in decode() local 265 profile.name = values[0]; in decode() 266 profile.type = Integer.parseInt(values[1]); in decode() 267 if (profile.type < 0 || profile.type > TYPE_MAX) { in decode() 270 profile.server = values[2]; in decode() 271 profile.username = values[3]; in decode() 272 profile.password = values[4]; in decode() 273 profile.dnsServers = values[5]; in decode() 274 profile.searchDomains = values[6]; in decode() 275 profile.routes = values[7]; in decode() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppProfiler.java | 464 ProcessProfileRecord profile; in collectPssInBackground() local 479 profile = mPendingPssProfiles.remove(0); in collectPssInBackground() 480 procState = profile.getPssProcState(); in collectPssInBackground() 481 statType = profile.getPssStatType(); in collectPssInBackground() 482 lastPssTime = profile.getLastPssTime(); in collectPssInBackground() 484 if (profile.getThread() != null && procState == profile.getSetProcState() in collectPssInBackground() 486 pid = profile.getPid(); in collectPssInBackground() 488 profile.abortNextPssTime(); in collectPssInBackground() 495 profile = null; in collectPssInBackground() 499 if (profile != null) { in collectPssInBackground() [all …]
|
/frameworks/av/media/libmedia/ |
D | MediaProfiles.cpp | 252 int profile = -1; in createVideoCodec() local 254 profile = atoi(atts[11]); in createVideoCodec() 259 atoi(atts[3]), atoi(atts[5]), atoi(atts[7]), atoi(atts[9]), profile }; in createVideoCodec() 282 int profile = -1; in createAudioCodec() local 284 profile = atoi(atts[9]); in createAudioCodec() 289 atoi(atts[3]), atoi(atts[5]), atoi(atts[7]), profile }; in createAudioCodec() 440 MediaProfiles::CamcorderProfile *profile = new MediaProfiles::CamcorderProfile; in createCamcorderProfile() local 441 profile->mCameraId = cameraId; in createCamcorderProfile() 445 profile->mFileFormat = static_cast<output_format>(fileFormat); in createCamcorderProfile() 446 profile->mQuality = static_cast<camcorder_quality>(quality); in createCamcorderProfile() [all …]
|
/frameworks/base/media/java/android/media/ |
D | EncoderProfiles.java | 190 return profile; in getProfile() 199 int profile) { in VideoProfile() argument 205 this.profile = profile; in VideoProfile() 213 private int profile; field in EncoderProfiles.VideoProfile 307 return profile; in getProfile() 317 int profile) { in AudioProfile() argument 322 this.profile = profile; in AudioProfile() 329 private int profile; // this contains the profile if codec itself does not field in EncoderProfiles.AudioProfile
|
D | MediaRecorder.java | 789 public void setProfile(CamcorderProfile profile) { in setProfile() argument 790 setOutputFormat(profile.fileFormat); in setProfile() 791 setVideoFrameRate(profile.videoFrameRate); in setProfile() 792 setVideoSize(profile.videoFrameWidth, profile.videoFrameHeight); in setProfile() 793 setVideoEncodingBitRate(profile.videoBitRate); in setProfile() 794 setVideoEncoder(profile.videoCodec); in setProfile() 795 if (profile.quality >= CamcorderProfile.QUALITY_TIME_LAPSE_LOW && in setProfile() 796 profile.quality <= CamcorderProfile.QUALITY_TIME_LAPSE_QVGA) { in setProfile() 800 setAudioEncodingBitRate(profile.audioBitRate); in setProfile() 801 setAudioChannels(profile.audioChannels); in setProfile() [all …]
|
/frameworks/base/telephony/java/com/android/ims/internal/ |
D | IImsCallSessionListener.aidl | 38 void callSessionProgressing(in IImsCallSession session, in ImsStreamMediaProfile profile); in callSessionProgressing() argument 40 void callSessionStarted(in IImsCallSession session, in ImsCallProfile profile); in callSessionStarted() argument 50 void callSessionHeld(in IImsCallSession session, in ImsCallProfile profile); in callSessionHeld() argument 54 void callSessionHoldReceived(in IImsCallSession session, in ImsCallProfile profile); in callSessionHoldReceived() argument 56 void callSessionResumed(in IImsCallSession session, in ImsCallProfile profile); in callSessionResumed() argument 60 void callSessionResumeReceived(in IImsCallSession session, in ImsCallProfile profile); in callSessionResumeReceived() argument 67 in IImsCallSession newSession, in ImsCallProfile profile); in callSessionMergeStarted() argument 79 in ImsCallProfile profile); in callSessionUpdated() argument 83 in ImsCallProfile profile); in callSessionUpdateReceived() argument 89 in IImsCallSession newSession, in ImsCallProfile profile); in callSessionConferenceExtended() argument [all …]
|
D | IImsCallSession.aidl | 115 void start(String callee, in ImsCallProfile profile); in start() argument 128 void startConference(in String[] participants, in ImsCallProfile profile); in startConference() argument 137 void accept(int callType, in ImsStreamMediaProfile profile); in accept() argument 183 void hold(in ImsStreamMediaProfile profile); in hold() argument 192 void resume(in ImsStreamMediaProfile profile); in resume() argument 212 void update(int callType, in ImsStreamMediaProfile profile); in update() argument
|
/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/base/tools/powermodel/src/com/android/powermodel/component/ |
D | ModemAppActivity.java | 48 public ModemAppPower applyProfile(ActivityReport activityReport, PowerProfile profile) { in applyProfile() argument 50 final ModemProfile modemProfile = (ModemProfile)profile.getComponent(Component.MODEM); in applyProfile() 77 static final double getAverageModemPowerMa(ModemProfile profile) { in getAverageModemPowerMa() argument 78 double sumMa = profile.getRxMa(); in getAverageModemPowerMa() 79 for (float powerAtTxLevelMa: profile.getTxMa()) { in getAverageModemPowerMa() 82 return sumMa / (profile.getTxMa().length + 1); in getAverageModemPowerMa()
|
/frameworks/native/opengl/tools/glgen2/ |
D | glgen.py | 232 profile = 'common', 236 profile = 'common', 242 profile = 'common', 246 profile = 'common', 262 profile = 'common'), 265 profile = 'common', 282 profile = 'common'), 285 profile = 'common'), 288 profile = 'common', 293 profile = 'common', [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceCreateProfileTest.java | 86 UserInfo profile = addProfile(secondaryUser); in testGetProfiles() local 100 assertTrue("Missing profile user id", users.get(0).id == profile.id in testGetProfiles() 101 || users.get(1).id == profile.id); in testGetProfiles() 109 UserInfo profile = addProfile(secondaryUser); in testGetProfileIds_specifyType() local 121 assertEquals("Wrong profile id", profile.id, users[0]); in testGetProfileIds_specifyType() 124 users = mUserManagerService.getProfileIds(profile.id, userType1, false); in testGetProfileIds_specifyType() 126 assertEquals("Wrong profile id", profile.id, users[0]); in testGetProfileIds_specifyType() 172 UserInfo profile = addProfile(system); in testProfileBadgeUnique() local 173 profile.profileBadge = nextBadge; in testProfileBadgeUnique() 181 UserInfo profile = addProfile(secondaryUser); in testProfileBadgeReuse() local [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/core/java/android/bluetooth/ |
D | BluetoothClass.java | 358 public boolean doesClassMatch(int profile) { in doesClassMatch() argument 359 if (profile == PROFILE_A2DP) { in doesClassMatch() 375 } else if (profile == PROFILE_A2DP_SINK) { in doesClassMatch() 390 } else if (profile == PROFILE_HEADSET) { in doesClassMatch() 405 } else if (profile == PROFILE_OPP) { in doesClassMatch() 428 } else if (profile == PROFILE_HID) { in doesClassMatch() 430 } else if (profile == PROFILE_PANU || profile == PROFILE_NAP) { in doesClassMatch()
|
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/ |
D | TunerResourceManagerService.java | 130 public void registerClientProfile(@NonNull ResourceClientProfile profile, in registerClientProfile() argument 135 if (profile == null) { in registerClientProfile() 147 if (!mPriorityCongfig.isDefinedUseCase(profile.useCase)) { in registerClientProfile() 148 throw new RemoteException("Use undefined client use case:" + profile.useCase); in registerClientProfile() 152 registerClientProfileInternal(profile, listener, clientId); in registerClientProfile() 477 protected void registerClientProfileInternal(ResourceClientProfile profile, in registerClientProfileInternal() argument 480 Slog.d(TAG, "registerClientProfile(clientProfile=" + profile + ")"); in registerClientProfileInternal() 491 int pid = profile.tvInputSessionId == null in registerClientProfileInternal() 493 : mTvInputManager.getClientPid(profile.tvInputSessionId); /*tvAppId*/ in registerClientProfileInternal() 496 if (profile.tvInputSessionId != null && mMediaResourceManager != null) { in registerClientProfileInternal() [all …]
|