Searched refs:profiles (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/service/euicc/
H A DGetEuiccProfileInfoListResult.java53 public final EuiccProfileInfo[] profiles; field in class:GetEuiccProfileInfoListResult
64 * @param profiles the list of profiles. Should only be provided if the result is
66 * @param isRemovable whether the eUICC in this slot is removable. If true, the profiles
72 int result, @Nullable EuiccProfileInfo[] profiles, boolean isRemovable) {
76 this.profiles = profiles;
78 if (profiles != null) {
80 "Error result with non-null profiles: " + result);
82 this.profiles
71 GetEuiccProfileInfoListResult( int result, @Nullable EuiccProfileInfo[] profiles, boolean isRemovable) argument
[all...]
/frameworks/av/media/libmedia/
H A DMediaProfiles.cpp173 MediaProfiles::createVideoCodec(const char **atts, MediaProfiles *profiles) argument
191 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1);
192 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mVideoCodec = videoCodec;
197 MediaProfiles::createAudioCodec(const char **atts, MediaProfiles *profiles) argument
213 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1);
214 profiles->mCamcorderProfiles[nCamcorderProfiles - 1]->mAudioCodec = audioCodec;
398 MediaProfiles *profiles = (MediaProfiles *) userData; local
400 createVideoCodec(atts, profiles);
402 createAudioCodec(atts, profiles);
405 profiles
639 createDefaultVideoEncoders(MediaProfiles *profiles) argument
752 createDefaultCamcorderProfiles(MediaProfiles *profiles) argument
786 createDefaultAudioEncoders(MediaProfiles *profiles) argument
792 createDefaultVideoDecoders(MediaProfiles *profiles) argument
801 createDefaultAudioDecoders(MediaProfiles *profiles) argument
810 createDefaultEncoderOutputFileFormats(MediaProfiles *profiles) argument
824 createDefaultImageEncodingQualityLevels(MediaProfiles *profiles) argument
837 MediaProfiles *profiles = new MediaProfiles; local
863 MediaProfiles *profiles = new MediaProfiles(); local
[all...]
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
H A DIntentForwarderActivityTest.java107 List<UserInfo> profiles = new ArrayList<>();
108 profiles.add(CURRENT_USER_INFO);
109 profiles.add(MANAGED_PROFILE_INFO);
110 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles);
140 List<UserInfo> profiles = new ArrayList<>();
141 profiles.add(CURRENT_USER_INFO);
142 profiles.add(MANAGED_PROFILE_INFO);
143 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles);
162 List<UserInfo> profiles = new ArrayList<>();
163 profiles
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DLocalBluetoothProfileManager.java43 * objects for the available Bluetooth profiles.
123 // Always add HID and PAN profiles
143 //Create PBAP server profile, but do not add it to list of profiles
317 /** State change handler for NAP and PANU profiles. */
422 * @param profiles The list of profiles to fill
423 * @param removedProfiles list of profiles that were removed
426 Collection<LocalBluetoothProfile> profiles,
431 removedProfiles.addAll(profiles);
433 Log.d(TAG,"Current Profiles" + profiles
425 updateProfiles(ParcelUuid[] uuids, ParcelUuid[] localUuids, Collection<LocalBluetoothProfile> profiles, Collection<LocalBluetoothProfile> removedProfiles, boolean isPanNapConnected, BluetoothDevice device) argument
[all...]
/frameworks/av/include/media/
H A DMediaProfiles.h199 // Camcorder profiles (high/low) and timelapse profiles (high/low)
371 static VideoCodec* createVideoCodec(const char **atts, MediaProfiles *profiles);
372 static AudioCodec* createAudioCodec(const char **atts, MediaProfiles *profiles);
412 static void createDefaultCamcorderProfiles(MediaProfiles *profiles);
413 static void createDefaultVideoEncoders(MediaProfiles *profiles);
414 static void createDefaultAudioEncoders(MediaProfiles *profiles);
415 static void createDefaultVideoDecoders(MediaProfiles *profiles);
416 static void createDefaultAudioDecoders(MediaProfiles *profiles);
417 static void createDefaultEncoderOutputFileFormats(MediaProfiles *profiles);
[all...]
/frameworks/av/media/libmedia/include/media/
H A DMediaProfiles.h199 // Camcorder profiles (high/low) and timelapse profiles (high/low)
371 static VideoCodec* createVideoCodec(const char **atts, MediaProfiles *profiles);
372 static AudioCodec* createAudioCodec(const char **atts, MediaProfiles *profiles);
412 static void createDefaultCamcorderProfiles(MediaProfiles *profiles);
413 static void createDefaultVideoEncoders(MediaProfiles *profiles);
414 static void createDefaultAudioEncoders(MediaProfiles *profiles);
415 static void createDefaultVideoDecoders(MediaProfiles *profiles);
416 static void createDefaultAudioDecoders(MediaProfiles *profiles);
417 static void createDefaultEncoderOutputFileFormats(MediaProfiles *profiles);
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioPort.h78 void setAudioProfiles(const AudioProfileVector &profiles) { mProfiles = profiles; } argument
H A DHwModule.h55 void setProfiles(const IOProfileCollection &profiles);
90 OutputProfileCollection mOutputProfiles; // output profiles exposed by this module
91 InputProfileCollection mInputProfiles; // input profiles exposed by this module
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DRecentsTaskLoadPlan.java89 List<UserInfo> profiles = userManager.getProfiles(currentUserId);
90 if (profiles != null) {
91 for (int i = 0; i < profiles.size(); i++) {
92 UserInfo user = profiles.get(i);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DSerializer.cpp187 const char *const AudioProfileTraits::collectionTag = "profiles";
240 AudioProfileTraits::Collection profiles; local
241 deserializeCollection<AudioProfileTraits>(doc, child, profiles, NULL);
242 if (profiles.isEmpty()) {
248 profiles.add(dynamicProfile);
250 mixPort->setAudioProfiles(profiles);
318 AudioProfileTraits::Collection profiles; local
319 deserializeCollection<AudioProfileTraits>(doc, root, profiles, NULL);
320 if (profiles.isEmpty()) {
326 profiles
[all...]
H A DHwModule.cpp89 void HwModule::setProfiles(const IOProfileCollection &profiles) argument
91 for (size_t i = 0; i < profiles.size(); i++) {
92 addProfile(profiles[i]);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiConfigurationUtil.java63 * Check whether a network configuration is visible to a user or any of its managed profiles.
66 * @param profiles the user IDs of the user itself and all its managed profiles (can be obtained
69 * profiles
71 public static boolean isVisibleToAnyProfile(WifiConfiguration config, List<UserInfo> profiles) { argument
72 return (config.shared || doesUidBelongToAnyProfile(config.creatorUid, profiles));
76 * Check whether a uid belong to a user or any of its managed profiles.
79 * @param profiles the user IDs of the user itself and all its managed profiles (can be obtained
81 * @return whether the uid belongs to the user or any of its managed profiles
83 doesUidBelongToAnyProfile(int uid, List<UserInfo> profiles) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
H A DRecentLocationApps.java75 final List<UserHandle> profiles = um.getUserProfiles();
86 if (isAndroidOs || !profiles.contains(new UserHandle(userId))) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DSecurityControllerTest.java124 List<UserInfo> profiles = Arrays.asList(new UserInfo(PRIMARY_USER_ID, "Primary",
128 when(mUserManager.getProfiles(anyInt())).thenReturn(profiles);
/frameworks/base/services/core/java/com/android/server/am/
H A DUserController.java152 // If there are multiple profiles for the current user, their ids are here
153 // Currently only the primary user can have managed profiles
285 // We need to delay unlocking managed profiles until the parent user
388 // Suppress double notifications for managed profiles that
762 List<UserInfo> profiles = mInjector.getUserManager().getProfiles(
764 List<UserInfo> profilesToStart = new ArrayList<>(profiles.size());
765 for (UserInfo user : profiles) {
777 Slog.w(TAG, "More profiles than MAX_RUNNING_USERS");
792 * user and all profiles of this user. Sent only if {@code foreground} parameter is true
794 * user and all profiles o
[all...]
/frameworks/av/media/libstagefright/
H A DUtils.cpp179 const static ALookup<uint16_t, OMX_AUDIO_AACPROFILETYPE> profiles {
193 if (profiles.map(audioObjectType, &profile)) {
207 { 9, OMX_VIDEO_AVCLevel1b }, // technically, 9 is only used for High+ profiles
226 const static ALookup<uint8_t, OMX_VIDEO_AVCPROFILETYPE> profiles {
239 if (profiles.map(profile, &codecProfile)) {
264 const static ALookup<uint8_t, OMX_VIDEO_H263PROFILETYPE> profiles {
290 if (profiles.map(profile, &codecProfile)) {
336 const static ALookup<uint8_t, OMX_VIDEO_HEVCPROFILETYPE> profiles {
344 if (!profiles.map(profile, &codecProfile)) {
376 const static ALookup<uint8_t, OMX_VIDEO_MPEG2PROFILETYPE> profiles {
[all...]
/frameworks/base/services/core/java/com/android/server/locksettings/
H A DLockSettingsService.java428 // locked managed profiles.
439 // Only show notifications for managed profiles once their parent
540 // about any profiles that exist.
541 List<UserInfo> profiles = mUserManager.getProfiles(userId);
542 for (int i = 0; i < profiles.size(); i++) {
543 UserInfo profile = profiles.get(i);
1109 final List<UserInfo> profiles = mUserManager.getProfiles(userId);
1110 for (UserInfo pi : profiles) {
1134 final List<UserInfo> profiles = mUserManager.getProfiles(userId);
1135 final int size = profiles
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DMockSystemServices.java191 List<UserInfo> profiles = getProfiles(userId13);
192 return profiles.stream()
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp737 // reject profiles not corresponding to a device currently available
741 // if several profiles are compatible, give priority to one with offload capability
2438 // When a mix is registered, corresponding input and output profiles are
4098 // then look for output profiles that can be routed to this device
4099 SortedVector< sp<IOProfile> > profiles; local
4111 profiles.add(profile);
4118 ALOGV(" found %zu profiles, %zu outputs", profiles.size(), outputs.size());
4120 if (profiles.isEmpty() && outputs.isEmpty()) {
4125 // open outputs for matching profiles i
4341 SortedVector< sp<IOProfile> > profiles; local
5896 updateAudioProfiles(audio_devices_t device, audio_io_handle_t ioHandle, AudioProfileVector &profiles) argument
[all...]
H A DAudioPolicyManager.h604 AudioProfileVector &profiles);
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipService.java136 ArrayList<SipProfile> profiles = new ArrayList<SipProfile>();
139 profiles.add(group.getLocalProfile());
142 return profiles.toArray(new SipProfile[profiles.size()]);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DRestrictedLockUtils.java441 final List<UserInfo> profiles = um.getProfiles(userId);
442 final int profilesSize = profiles.size();
444 // we need to combine all profiles maximum time to lock even work challenge is
447 final UserInfo userInfo = profiles.get(i);
487 * Checks whether any of the user's profiles enforce the lock setting. A managed profile is only
501 // Return all admins for this user and the profiles that are visible from this
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbProfileGroupSettingsManager.java875 * Resolve all activities that match an intent for all profiles of this group.
879 * @return The {@link ResolveInfo}s for all profiles of the group
883 List<UserInfo> profiles = mUserManager.getEnabledProfiles(mParentUser.getIdentifier());
886 int numProfiles = profiles.size();
889 PackageManager.GET_META_DATA, profiles.get(i).id));
/frameworks/base/services/core/java/com/android/server/notification/
H A DManagedServices.java117 // app services for current profiles.
201 + ") enabled for current profiles:");
1135 List<UserInfo> profiles = userManager.getProfiles(currentUserId);
1138 for (UserInfo user : profiles) {
/frameworks/base/core/java/com/android/internal/app/
H A DResolverActivity.java562 List<UserInfo> profiles = userManager.getProfiles(getUserId());
563 for (UserInfo userInfo : profiles) {

Completed in 664 milliseconds

12