Home
last modified time | relevance | path

Searched refs:profiles (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/av/media/libmedia/
DMediaProfiles.cpp171 MediaProfiles::createVideoCodec(const char **atts, MediaProfiles *profiles) in createVideoCodec() argument
189 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); in createVideoCodec()
190 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mVideoCodec = videoCodec; in createVideoCodec()
195 MediaProfiles::createAudioCodec(const char **atts, MediaProfiles *profiles) in createAudioCodec() argument
211 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); in createAudioCodec()
212 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mAudioCodec = audioCodec; in createAudioCodec()
396 MediaProfiles *profiles = (MediaProfiles *) userData; in startElementHandler() local
398 createVideoCodec(atts, profiles); in startElementHandler()
400 createAudioCodec(atts, profiles); in startElementHandler()
403 profiles->mVideoEncoders.add(createVideoEncoderCap(atts)); in startElementHandler()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManager.java396 Collection<LocalBluetoothProfile> profiles, in updateProfiles() argument
401 removedProfiles.addAll(profiles); in updateProfiles()
403 Log.d(TAG,"Current Profiles" + profiles.toString()); in updateProfiles()
405 profiles.clear(); in updateProfiles()
416 profiles.add(mHeadsetProfile); in updateProfiles()
424 profiles.add(mHfpClientProfile); in updateProfiles()
430 profiles.add(mA2dpProfile); in updateProfiles()
436 profiles.add(mA2dpSinkProfile); in updateProfiles()
442 profiles.add(mOppProfile); in updateProfiles()
449 profiles.add(mHidProfile); in updateProfiles()
[all …]
/frameworks/av/include/media/
DMediaProfiles.h342 static VideoCodec* createVideoCodec(const char **atts, MediaProfiles *profiles);
343 static AudioCodec* createAudioCodec(const char **atts, MediaProfiles *profiles);
383 static void createDefaultCamcorderProfiles(MediaProfiles *profiles);
384 static void createDefaultVideoEncoders(MediaProfiles *profiles);
385 static void createDefaultAudioEncoders(MediaProfiles *profiles);
386 static void createDefaultVideoDecoders(MediaProfiles *profiles);
387 static void createDefaultAudioDecoders(MediaProfiles *profiles);
388 static void createDefaultEncoderOutputFileFormats(MediaProfiles *profiles);
389 static void createDefaultImageEncodingQualityLevels(MediaProfiles *profiles);
390 static void createDefaultImageDecodingMaxMemory(MediaProfiles *profiles);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java37 public static boolean isVisibleToAnyProfile(WifiConfiguration config, List<UserInfo> profiles) { in isVisibleToAnyProfile() argument
42 for (UserInfo profile : profiles) { in isVisibleToAnyProfile()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSerializer.cpp239 AudioProfileTraits::Collection profiles; in deserialize() local
240 deserializeCollection<AudioProfileTraits>(doc, child, profiles, NULL); in deserialize()
241 if (profiles.isEmpty()) { in deserialize()
247 profiles.add(dynamicProfile); in deserialize()
249 mixPort->setAudioProfiles(profiles); in deserialize()
317 AudioProfileTraits::Collection profiles; in deserialize() local
318 deserializeCollection<AudioProfileTraits>(doc, root, profiles, NULL); in deserialize()
319 if (profiles.isEmpty()) { in deserialize()
325 profiles.add(dynamicProfile); in deserialize()
327 deviceDesc->setAudioProfiles(profiles); in deserialize()
DHwModule.cpp89 void HwModule::setProfiles(const IOProfileCollection &profiles) in setProfiles() argument
91 for (size_t i = 0; i < profiles.size(); i++) { in setProfiles()
92 addProfile(profiles[i]); in setProfiles()
/frameworks/base/docs/html/work/
Dmanaged-profiles.jd21 profiles</a>. A managed profile is controlled by an administrator, and the
25 letting users use their personal apps and profiles.</p>
28 reliably on a device with managed profiles. You don't need to do anything
30 practices become especially important on devices with managed profiles. This
41 set up <i>managed profiles</i>. If a device has a managed profile, the profile's
59 <li>Since the managed and unmanaged profiles have separate storage areas, a
168 managed profiles. In particular, testing on a managed-profile device is a good
204 intent is not allowed to cross between profiles, verify the app's behavior both
215 <li>The device does not allow map intents to cross between profiles, but there
218 <li>The device does not allow map intents to cross between profiles, and there
[all …]
Dguide.jd12 <li><a href="#managed-profiles">Managed Profiles</a></li>
31 <a href="#managed-profiles">Managed profile compatibility</a>—Modify your Android
67 <h2 id="managed-profiles">Manage Profiles</h2>
75 personal profile, which your user controls. These separate profiles
79 <a href="{@docRoot}work/managed-profiles.html">Set up Managed Profiles</a>
96 <li>One Android application package (APK) for both profiles when
105 <h3>Considerations for managed profiles</h3>
109 >from crossing profiles</a> and IT administrators can
116 <h3>Prevent intents from failing between profiles</h3>
118 It’s difficult to know which intents can cross between profiles, and
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DRecentsTaskLoadPlan.java88 List<UserInfo> profiles = userManager.getProfiles(currentUserId); in updateCurrentQuietProfilesCache() local
89 if (profiles != null) { in updateCurrentQuietProfilesCache()
90 for (int i = 0; i < profiles.size(); i++) { in updateCurrentQuietProfilesCache()
91 UserInfo user = profiles.get(i); in updateCurrentQuietProfilesCache()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java687 List<UserInfo> profiles = getUserManager().getProfiles( in startProfilesLocked() local
689 List<UserInfo> profilesToStart = new ArrayList<>(profiles.size()); in startProfilesLocked()
690 for (UserInfo user : profiles) { in startProfilesLocked()
1121 List<UserInfo> profiles = getUserManager().getProfiles(oldUserId, false); in sendUserSwitchBroadcastsLocked() local
1122 int count = profiles.size(); in sendUserSwitchBroadcastsLocked()
1124 int profileUserId = profiles.get(i).id; in sendUserSwitchBroadcastsLocked()
1136 List<UserInfo> profiles = getUserManager().getProfiles(newUserId, false); in sendUserSwitchBroadcastsLocked() local
1137 int count = profiles.size(); in sendUserSwitchBroadcastsLocked()
1139 int profileUserId = profiles.get(i).id; in sendUserSwitchBroadcastsLocked()
1314 final List<UserInfo> profiles = getUserManager().getProfiles(mCurrentUserId, in updateCurrentProfileIdsLocked() local
[all …]
/frameworks/av/media/libstagefright/
DUtils.cpp178 const static ALookup<uint16_t, OMX_AUDIO_AACPROFILETYPE> profiles { in parseAacProfileFromCsd() local
192 if (profiles.map(audioObjectType, &profile)) { in parseAacProfileFromCsd()
225 const static ALookup<uint8_t, OMX_VIDEO_AVCPROFILETYPE> profiles { in parseAvcProfileLevelFromAvcc() local
238 if (profiles.map(profile, &codecProfile)) { in parseAvcProfileLevelFromAvcc()
258 const static ALookup<uint8_t, OMX_VIDEO_H263PROFILETYPE> profiles { in parseH263ProfileLevelFromD263() local
284 if (profiles.map(profile, &codecProfile)) { in parseH263ProfileLevelFromD263()
330 const static ALookup<uint8_t, OMX_VIDEO_HEVCPROFILETYPE> profiles { in parseHevcProfileLevelFromHvcc() local
338 if (!profiles.map(profile, &codecProfile)) { in parseHevcProfileLevelFromHvcc()
370 const static ALookup<uint8_t, OMX_VIDEO_MPEG2PROFILETYPE> profiles { in parseMpeg2ProfileLevelFromHeader() local
403 } else if (profiles.map(indication & 0x70, &profile)) { in parseMpeg2ProfileLevelFromHeader()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPort.h78 void setAudioProfiles(const AudioProfileVector &profiles) { mProfiles = profiles; } in setAudioProfiles() argument
DHwModule.h56 void setProfiles(const IOProfileCollection &profiles);
/frameworks/compile/mclinker/include/mcld/LD/
DDiagAttribute.inc18 "conflicting architecture profiles %0 in %1.",
19 "conflicting architecture profiles %0 in %1.")
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java72 final List<UserHandle> profiles = um.getUserProfiles(); in getAppList() local
83 if (isAndroidOs || !profiles.contains(new UserHandle(userId))) { in getAppList()
/frameworks/base/services/core/java/com/android/server/
DLockSettingsService.java407 List<UserInfo> profiles = mUserManager.getProfiles(userId); in onUnlockUser() local
408 for (int i = 0; i < profiles.size(); i++) { in onUnlockUser()
409 UserInfo profile = profiles.get(i); in onUnlockUser()
807 final List<UserInfo> profiles = mUserManager.getProfiles(userId); in unlockUser() local
808 for (UserInfo pi : profiles) { in unlockUser()
859 final List<UserInfo> profiles = mUserManager.getProfiles(userId); in onUserLockChanged() local
860 final int size = profiles.size(); in onUserLockChanged()
862 final UserInfo profile = profiles.get(i); in onUserLockChanged()
1166 final List<UserInfo> profiles = mUserManager.getProfiles(userId); in resetKeyStore() local
1167 for (UserInfo pi : profiles) { in resetKeyStore()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java354 List<UserInfo> profiles = getProfiles(userId); in addUser()
355 int[] results = new int[profiles.size()]; in addUser()
357 results[i] = profiles.get(i).id; in addUser()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp3645 SortedVector< sp<IOProfile> > profiles; in AudioPolicyManager() local
3657 profiles.add(profile); in AudioPolicyManager()
3664 ALOGV(" found %zu profiles, %zu outputs", profiles.size(), outputs.size()); in AudioPolicyManager()
3666 if (profiles.isEmpty() && outputs.isEmpty()) { in AudioPolicyManager()
3673 for (ssize_t profile_index = 0; profile_index < (ssize_t)profiles.size(); profile_index++) { in AudioPolicyManager()
3674 sp<IOProfile> profile = profiles[profile_index]; in AudioPolicyManager()
3804 profiles.removeAt(profile_index); in AudioPolicyManager()
3823 if (profiles.isEmpty()) { in AudioPolicyManager()
3887 SortedVector< sp<IOProfile> > profiles; in AudioPolicyManager() local
3902 profiles.add(profile); in AudioPolicyManager()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtils.java474 final List<UserInfo> profiles = um.getProfiles(userId); in checkIfMaximumTimeToLockIsSet() local
475 final int profilesSize = profiles.size(); in checkIfMaximumTimeToLockIsSet()
480 final UserInfo userInfo = profiles.get(i); in checkIfMaximumTimeToLockIsSet()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DStorageMeasurement.java195 List<UserInfo> profiles, Message finished, int remaining) { in StatsObserver() argument
201 for (UserInfo userInfo : profiles) { in StatsObserver()
/frameworks/base/docs/html/guide/appendix/
Dmedia-formats.jd32 …-specific. <strong>However, it is a best practice to use media encoding profiles that are device-a…
311 <p>Table 2, below, lists examples of video encoding profiles and parameters that the Android
316 a device's available <em>video recording</em> profiles can be used as a proxy for media playback
317 capabilities. These profiles can be inspected using the {@link android.media.CamcorderProfile
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipService.java136 ArrayList<SipProfile> profiles = new ArrayList<SipProfile>(); in getListOfProfiles() local
139 profiles.add(group.getLocalProfile()); in getListOfProfiles()
142 return profiles.toArray(new SipProfile[profiles.size()]); in getListOfProfiles()
/frameworks/base/docs/html/guide/topics/manifest/
Dapplication-element.jd346 <p>Because restricted profiles currently
354 …AccountType">{@code android:restrictedAccountType}</a> null, so that restricted profiles cannot use
362 <dd>Specifies the account type required by this application and indicates that restricted profiles
364 {@link android.accounts.Account} and restricted profiles <strong>are allowed to
373 Specifying this attribute allows restricted profiles to use your
378 to make your app unavailable to restricted profiles.</p>
/frameworks/base/docs/html/guide/topics/connectivity/
Dbluetooth-le.jd72 as "attributes" over a BLE link. All current Low Energy application profiles are
76 <a href="https://www.bluetooth.org/en-us/specification/adopted-specifications">profiles</a>
103 profiles and services on
459 // For all other profiles, writes the data formatted in HEX.
/frameworks/base/docs/html/about/versions/
Dandroid-4.3.jd203 <p>If you'd like to prevent restricted profiles from using your app entirely because your
210 <p>If you’d like to allow restricted profiles to continue using your app even though they can’t
212 or allow restricted profiles to access the accounts created by the primary user. For more
236 <p>On Android tablets, users can now create restricted profiles based on the primary user.
308 app access to the primary user's accounts from restricted profiles. So you should allow this
311 user that your app grants restricted profiles to their accounts, so it should be clear to the user
339 <p>If it’s instead important that your app not be available to restricted profiles because
340 your app depends on sensitive personal information in an account (and because restricted profiles
349 <p>For example, the Gmail app uses this attribute to disable itself for restricted profiles,
350 because the owner's personal email should not be available to restricted profiles.</p>

123