/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | BasicAdminReceiver.java | 43 public void onUserAdded(Context context, Intent intent, UserHandle userHandle) { in onUserAdded() argument 44 super.onUserAdded(context, intent, userHandle); in onUserAdded() 45 sendUserBroadcast(context, ACTION_USER_ADDED, userHandle); in onUserAdded() 49 public void onUserRemoved(Context context, Intent intent, UserHandle userHandle) { in onUserRemoved() argument 50 super.onUserRemoved(context, intent, userHandle); in onUserRemoved() 51 sendUserBroadcast(context, ACTION_USER_REMOVED, userHandle); in onUserRemoved() 55 public void onUserStarted(Context context, Intent intent, UserHandle userHandle) { in onUserStarted() argument 56 super.onUserStarted(context, intent, userHandle); in onUserStarted() 57 sendUserBroadcast(context, ACTION_USER_STARTED, userHandle); in onUserStarted() 61 public void onUserStopped(Context context, Intent intent, UserHandle userHandle) { in onUserStopped() argument [all …]
|
D | CreateAndManageUserTest.java | 77 UserHandle userHandle = mDevicePolicyManager.createAndManageUser( in testCreateAndManageUser() local 83 Log.d(TAG, "User create: " + userHandle); in testCreateAndManageUser() 134 UserHandle userHandle = mDevicePolicyManager.createAndManageUser( in testCreateAndManageUser_GetSecondaryUsers() local 140 Log.d(TAG, "User create: " + userHandle); in testCreateAndManageUser_GetSecondaryUsers() 144 assertEquals(userHandle, secondaryUsers.get(0)); in testCreateAndManageUser_GetSecondaryUsers() 153 UserHandle userHandle = mDevicePolicyManager.createAndManageUser( in testCreateAndManageUser_SwitchUser() local 159 Log.d(TAG, "User create: " + userHandle); in testCreateAndManageUser_SwitchUser() 165 assertTrue(mDevicePolicyManager.switchUser(getWho(), userHandle)); in testCreateAndManageUser_SwitchUser() local 166 assertEquals(userHandle, broadcastReceiver.waitForBroadcastReceived()); in testCreateAndManageUser_SwitchUser() 178 UserHandle userHandle = mDevicePolicyManager.createAndManageUser( in testCreateAndManageUser_CannotStopCurrentUser() local [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodIconSamplerActivity.java | 61 UserHandle userHandle = Process.myUserHandle(); in sampleImage() local 62 Log.d(TAG, "Sampling image for: " + userHandle); in sampleImage() 63 Drawable drawable = getPackageManager().getUserBadgedIcon(getAppIcon(), userHandle); in sampleImage()
|
D | CommandReceiverActivity.java | 497 UserHandle userHandle = mDpm.createAndManageUser(mAdmin, "managed user", mAdmin, in onCreate() local 502 mDpm.startUserInBackground(mAdmin, userHandle); in onCreate() 524 UserHandle userHandle = mDpm.createAndManageUser(mAdmin, "managed user", mAdmin, in onCreate() local 526 mDpm.switchUser(mAdmin, userHandle); in onCreate() 631 for (final UserHandle userHandle : mUm.getUserProfiles()) { in removeManagedProfile() 632 mDpm.removeUser(mAdmin, userHandle); in removeManagedProfile() 670 UserHandle userHandle = mDpm.createAndManageUser(mAdmin, "managed user", mAdmin, in createAndSwitchUserWithMessage() local 673 mDpm.switchUser(mAdmin, userHandle); in createAndSwitchUserWithMessage()
|
D | ICrossUserService.aidl | 22 void switchUser(in UserHandle userHandle); in switchUser() argument
|
D | DeviceAdminTestReceiver.java | 243 public void switchUser(UserHandle userHandle) { 244 Log.d(TAG, "switchUser: " + userHandle); 246 userHandle);
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | MultiUserDeviceTest.java | 73 final UserHandle userHandle = in performPrivateCommand() local 75 if (userHandle != null) { in performPrivateCommand() 76 mResultQueue.add(userHandle); in performPrivateCommand()
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/ |
D | BindDeviceAdminServiceFailsTest.java | 79 UserHandle userHandle) { in bind() argument 81 serviceIntent, serviceConnection, Context.BIND_AUTO_CREATE, userHandle); in bind()
|
D | BindDeviceAdminServiceGoodSetupTest.java | 218 UserHandle userHandle) { in bind() argument 220 serviceIntent, serviceConnection, Context.BIND_AUTO_CREATE, userHandle); in bind()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | DataObjectUnitTests.java | 101 final UserHandle userHandle = Process.myUserHandle(); in testPhoneAccountHandle() local 105 userHandle); in testPhoneAccountHandle() 109 assertEquals(userHandle, accountHandle.getUserHandle()); in testPhoneAccountHandle()
|