/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
ShortcutManagerMultiuserTest.java | 40 final int profileId = createProfile(getPrimaryUserId()); 43 installAppAsUser(TARGET_APK, profileId); 48 getDevice().startUser(profileId); 53 "test03_createShortuctsOnManagedProfile", profileId); 58 "test05_getAndLaunch_managed", profileId);
|
/frameworks/base/core/java/android/app/admin/ |
DevicePolicyManagerInternal.java | 40 * @param profileId The profile for which the white-listed packages changed. 43 public void onCrossProfileWidgetProvidersChanged(int profileId, List<String> packages); 52 * @param profileId The profile id. 57 public abstract List<String> getCrossProfileWidgetProviders(int profileId);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DataProfile.java | 31 public final int profileId; 74 DataProfile(int profileId, String apn, String protocol, int authType, 80 this.profileId = profileId; 106 this(apn, apn.profileId); 109 public DataProfile(ApnSetting apn, int profileId) { 110 this(profileId, apn.apn, apn.protocol, 121 return "DataProfile=" + profileId + "/" + apn + "/" + protocol + "/" + authType
|
ApnSetting.java | 88 public final int profileId; 120 int bearerBitmask, int profileId, boolean modemCognitive, int maxConns, 147 this.profileId = profileId; 162 apn.profileId, apn.modemCognitive, apn.maxConns, apn.waitTime, apn.maxConnsTime, 188 * <profileId>, <modemCognitive>, <maxConns>, <waitTime>, <maxConnsTime>, <mtu>, 225 int profileId = 0; 253 profileId = Integer.parseInt(a[18]); 274 bearerBitmask, profileId, modemCognitive, maxConns, waitTime, maxConnsTime, mtu, 326 sb.append(", ").append(profileId); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.p2.console_1.0.200.v20100601.jar | |
org.eclipse.equinox.p2.updatechecker_1.1.101.R36x_v20100823.jar | |
org.eclipse.equinox.p2.operations_2.0.0.v20100510.jar | |
/packages/apps/Settings/src/com/android/settings/notification/ |
AudioHelper.java | 49 public Context createPackageContextAsUser(@UserIdInt int profileId) { 50 return Utils.createPackageContextAsUser(mContext, profileId);
|
WorkSoundPreferenceController.java | 281 public void onManagedProfileAdded(@UserIdInt int profileId) { 283 mManagedProfileId = profileId; 288 public void onManagedProfileRemoved(@UserIdInt int profileId) { 289 if (mManagedProfileId == profileId) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
BaseLockSettingsServiceTests.java | 123 private UserInfo installChildProfile(int profileId) { 125 profileId, null, null, UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE); 127 when(mUserManager.getUserInfo(eq(profileId))).thenReturn(userInfo); 128 when(mUserManager.getProfileParent(eq(profileId))).thenReturn(PRIMARY_USER_INFO); 129 when(mUserManager.isUserRunning(eq(profileId))).thenReturn(true); 130 when(mUserManager.isUserUnlocked(eq(profileId))).thenReturn(true); 134 private UserInfo installAndTurnOffChildProfile(int profileId) { 135 final UserInfo userInfo = installChildProfile(profileId); 137 when(mUserManager.isUserRunning(eq(profileId))).thenReturn(false); 138 when(mUserManager.isUserUnlocked(eq(profileId))).thenReturn(false) [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
DataProfileTest.java | 86 assertEquals(mApn1.profileId, dp.profileId);
|
/packages/apps/Settings/src/com/android/settings/system/ |
FactoryResetPreferenceController.java | 61 final int profileId = userInfo.id; 62 Account[] accounts = mAm.getAccountsAsUser(profileId);
|
/packages/apps/Settings/src/com/android/settings/ |
DeviceAdminSettings.java | 158 final int profileId = profiles.get(i).getIdentifier(); 159 mProfileOwnerComponents.put(profileId, mDPM.getProfileOwnerAsUser(profileId)); 182 final int profileId = profiles.get(i).getIdentifier(); 183 updateAvailableAdminsForProfile(profileId); 340 * @param profileId the profile identifier. 342 private void updateAvailableAdminsForProfile(final int profileId) { 348 List<ComponentName> activeAdminsListForProfile = mDPM.getActiveAdminsAsUser(profileId); 349 addActiveAdminsForProfile(activeAdminsListForProfile, profileId); 352 addDeviceAdminBroadcastReceiversForProfile(activeAdminsListForProfile, profileId); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
SecurityControllerImpl.java | 147 for (int profileId : mUserManager.getProfileIdsWithDisabled(mCurrentUserId)) { 148 String name = mDevicePolicyManager.getProfileOwnerNameAsUser(profileId); 163 final int profileId = getWorkProfileUserId(mCurrentUserId); 164 if (profileId == UserHandle.USER_NULL) return null; 165 return mDevicePolicyManager.getOrganizationNameForUser(profileId); 194 final int profileId = getWorkProfileUserId(mVpnUserId); 195 if (profileId == UserHandle.USER_NULL) return null; 196 VpnConfig cfg = mCurrentVpns.get(profileId); 198 return getNameForVpnConfig(cfg, UserHandle.of(profileId)); 210 for (int profileId : mUserManager.getProfileIdsWithDisabled(mVpnUserId)) [all...] |
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
EphemeralUserTest.java | 66 int profileId = createManagedProfile(userId); 67 int flags = getUserFlags(profileId);
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/provider/ |
RestoreDbTaskTest.java | 33 assertEquals(5, getCount(db, "select * from favorites where profileId = 42")); 38 assertEquals(0, getCount(db, "select * from favorites where profileId = 42")); 39 assertEquals(5, getCount(db, "select * from favorites where profileId = 33")); 46 assertEquals(6, getCount(db, "select * from favorites where profileId = 33")); 62 public MyDatabaseHelper(long profileId) { 64 mProfileId = profileId;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
AppStateAppOpsBridge.java | 175 final int profileId = profile.getIdentifier(); 176 entries.put(profileId, entriesForProfile); 179 profileId); 203 final int profileId = profile.getIdentifier(); 204 final ArrayMap<String, PermissionState> entriesForProfile = entries.get(profileId); 210 .getPackagesHoldingPermissions(mPermissions, 0, profileId).getList();
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
PhonePolicy.java | 237 BluetoothDevice device, int profileId, int nextState, int prevState) { 239 if (((profileId == BluetoothProfile.A2DP) || (profileId == BluetoothProfile.HEADSET)) 241 debugLog("Profile connected id: " + profileId 244 setProfileAutoConnectionPriority(device, profileId); 386 void setProfileAutoConnectionPriority(BluetoothDevice device, int profileId) { 387 switch (profileId) {
|
/packages/apps/Settings/src/com/android/settings/location/ |
SettingsInjector.java | 120 final int profileId = userHandle.getIdentifier(); 122 pm.queryIntentServicesAsUser(intent, PackageManager.GET_META_DATA, profileId); 124 Log.d(TAG, "Found services for profile id " + profileId + ": " + resolveInfos); 142 Log.d(TAG, "Loaded settings for profile id " + profileId + ": " + settings); 231 * @param profileId Identifier of the user/profile to obtain the injected settings for or 234 public List<Preference> getInjectedSettings(Context prefContext, final int profileId) { 241 if (profileId == UserHandle.USER_CURRENT || profileId == userHandle.getIdentifier()) {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
Camera2SwitchPreviewTest.java | 344 int profileId = camcorderProfileList[0]; 345 if (!CamcorderProfile.hasProfile(cameraId, profileId) || 346 allowedUnsupported(cameraId, profileId)) { 350 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId); 362 assertTrue("Video size " + videoSz.toString() + " for profile ID " + profileId + 365 assertTrue("Frame rate range " + fpsRange + " (for profile ID " + profileId + 432 * @param profileId a {@link CamcorderProfile} ID to check. 435 private boolean allowedUnsupported(int cameraId, int profileId) { 440 switch(profileId) { 444 return !CamcorderProfile.hasProfile(cameraId, profileId) || [all...] |
Camera2RecordingTest.java | 383 for (int profileId : camcorderProfileList) { 384 if (!CamcorderProfile.hasProfile(cameraId, profileId) || 385 allowedUnsupported(cameraId, profileId)) { 389 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId); 401 assertTrue("Video size " + videoSz.toString() + " for profile ID " + profileId + 404 assertTrue("Frame rate range " + fpsRange + " (for profile ID " + profileId + 504 * @param profileId a {@link CamcorderProfile} ID to check. 507 private boolean allowedUnsupported(int cameraId, int profileId) { 512 switch(profileId) { 516 return !CamcorderProfile.hasProfile(cameraId, profileId) || [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/ |
RecordingTest.java | 328 for (int profileId : mCamcorderProfileList) { 329 if (!CamcorderProfile.hasProfile(cameraId, profileId)) { 332 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId); 334 minFpsProfileId = profileId; 338 maxFpsProfileId = profileId; 716 for (int profileId : camcorderProfileList) { 717 if (!CamcorderProfile.hasProfile(cameraId, profileId)) { 721 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId); 728 if (allowedUnsupported(cameraId, profileId)) { 738 assertTrue("Video size " + videoSz.toString() + " for profile ID " + profileId [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
ContactManager.java | 223 * the contact's status until they have a profileId. 423 final long profileId = lookupProfile(resolver, serverId); 424 if (profileId <= 0) { 534 final long profileId = lookupProfile(resolver, userId); 537 if (profileId > 0) { 538 values.put(StatusUpdates.DATA_ID, profileId); 626 long profileId = 0; 632 profileId = c.getLong(ProfileQuery.COLUMN_ID); 639 return profileId; [all...] |
/hardware/interfaces/radio/1.0/vts/functional/ |
radio_hidl_hal_data.cpp | 48 dataProfileInfo.profileId = DataProfileId::IMS; 131 dataProfileInfo.profileId = DataProfileId::IMS; 193 dataProfileInfo.profileId = DataProfileId::IMS;
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
UninstallFinish.java | 202 * @param profileId The id of the profile 206 private boolean isProfileOfOrSame(@NonNull UserManager userManager, int userId, int profileId) { 207 if (userId == profileId) { 211 UserInfo parentUser = userManager.getProfileParent(profileId);
|