/cts/tests/PhotoPicker/src/android/photopicker/cts/ |
D | PhotoPickerTest.java | 119 mUriList.addAll(createImagesAndGetUris(itemCount, mContext.getUserId())); in testSingleSelect() 128 assertPickerUriFormat(mAction, uri, mContext.getUserId()); in testSingleSelect() 136 mUriList.addAll(createImagesAndGetUris(itemCount, mContext.getUserId(), in testSingleSelectForFavoritesAlbum() 152 assertPickerUriFormat(mAction, uri, mContext.getUserId()); in testSingleSelectForFavoritesAlbum() 159 mUriList.addAll(createVideosAndGetUris(videoCount, mContext.getUserId())); in testLaunchPreviewMultipleForVideoAlbum() 192 mUriList.addAll(createImagesAndGetUris(itemCount, mContext.getUserId())); in testSingleSelectWithPreview() 206 assertPickerUriFormat(mAction, uri, mContext.getUserId()); in testSingleSelectWithPreview() 213 mUriList.addAll(createImagesAndGetUris(imageCount, mContext.getUserId())); in testMultiSelect() 232 assertPickerUriFormat(mAction, uri, mContext.getUserId()); in testMultiSelect() 241 mUriList.addAll(createMj2VideosAndGetUris(videoCount, mContext.getUserId())); in testMultiSelect_longPress() [all …]
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceAdminServiceDeviceOwnerTest.java | 23 protected int getUserId() throws Exception { in getUserId() method in DeviceAdminServiceDeviceOwnerTest 41 setDeviceOwnerOrFail(component, getUserId()); in setAsOwnerOrFail()
|
D | BaseDeviceAdminServiceTest.java | 52 removeAdmin(OWNER_COMPONENT, getUserId()); in tearDown() 53 removeAdmin(OWNER_COMPONENT_B, getUserId()); in tearDown() 60 protected abstract int getUserId() throws Exception; in getUserId() method in BaseDeviceAdminServiceTest 63 runDeviceTestsAsUser(OWNER_PKG, className, testName, getUserId()); in executeDeviceTestMethod()
|
D | DeviceAdminServiceProfileOwnerTest.java | 29 protected int getUserId() { in getUserId() method in DeviceAdminServiceProfileOwnerTest
|
/cts/hostsidetests/appsecurity/test-apps/ApplicationVisibilityCrossUserApp/src/com/android/cts/applicationvisibility/ |
D | ApplicationVisibilityCrossUserTest.java | 61 pm.getInstalledPackagesAsUser(0, mContext.getUserId()); in testPackageVisibility_currentUser() 70 pm.getInstalledPackagesAsUser(MATCH_KNOWN_PACKAGES, mContext.getUserId()); in testPackageVisibility_anyUserCrossUserGrant() 81 pm.getInstalledPackagesAsUser(MATCH_KNOWN_PACKAGES, mContext.getUserId()); in testPackageVisibility_anyUserCrossUserNoGrant() 112 pm.getInstalledApplicationsAsUser(0, mContext.getUserId()); in testApplicationVisibility_currentUser() 121 pm.getInstalledApplicationsAsUser(MATCH_KNOWN_PACKAGES, mContext.getUserId()); in testApplicationVisibility_anyUserCrossUserGrant() 132 pm.getInstalledApplicationsAsUser(MATCH_KNOWN_PACKAGES, mContext.getUserId()); in testApplicationVisibility_anyUserCrossUserNoGrant() 162 final int userId = mContext.getUserId(); in testGetPackagesForUidVisibility_currentUser() 328 return mContext.getUserId(); in getInstallUser()
|
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
D | UiAutomationTestA11yService.java | 66 Log.v(LOG_TAG, "onServiceConnected() for user " + getUserId() + " on " + this); in onServiceConnected() 76 .append("{user=").append(getUserId()); in toString()
|
/cts/tests/framework/base/grammaticalinflection/src/android/grammaticalinflection/cts/ |
D | GrammaticalInflectionManagerTest.java | 148 CMD_GET_GRAMMATICAL_GENDER + " --user %d ", mContext.getUserId())); in testGetSystemGrammaticalGender_setMasculineForSysApp_returnMasculineToSysApp() 153 CMD_GET_GRAMMATICAL_GENDER + " --user %d ", mContext.getUserId())); in testGetSystemGrammaticalGender_setMasculineForSysApp_returnMasculineToSysApp() 167 CMD_GET_GRAMMATICAL_GENDER + " --user %d ", mContext.getUserId())); in testGetSystemGrammaticalGender_setNeutralForSysApp_throwExceptionTo3rdApp() 176 mContext.getUserId(), in setGrammaticalGender()
|
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/ |
D | GenericManagerWrapper.java | 39 int userId = context.getUserId(); in getWrapper() 48 Log.d(TAG, "get(): creatied mock for user " + context.getUserId() + ": " + mockString); in getWrapper()
|
D | UserManagerWrapper.java | 41 int userId = context.getUserId(); in getWrapper() 50 Log.d(TAG, "get(): created spy for user " + context.getUserId() + ": " + spyString); in getWrapper()
|
D | TestAppHelper.java | 62 + " locally on user " + context.getUserId()); in registerTestCaseReceiver() 84 Log.d(TAG, "Unegistering " + receiver + " locally on user " + context.getUserId()); in unregisterTestCaseReceiver()
|
D | HardwarePropertiesManagerWrapper.java | 43 int userId = context.getUserId(); in getWrapper() 52 Log.d(TAG, "get(): created spy for user " + context.getUserId() + ": " + spyString); in getWrapper()
|
D | WifiManagerWrapper.java | 43 int userId = context.getUserId(); in getWrapper() 52 Log.d(TAG, "get(): created spy for user " + context.getUserId() + ": " + spyString); in getWrapper()
|
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/ |
D | OperationSafetyChangedCallback.java | 73 Log.d(TAG, "Received intent with event " + event + " on user " + context.getUserId()); 86 Log.d(TAG, "Registering " + ACTION_STATE_CHANGED + " on user " + context.getUserId()); in register() 98 Log.d(TAG, "Unregistering " + mReceiver + " on user " + context.getUserId()); in unregister()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | BasicAdminReceiver.java | 55 Log.d(TAG, "onReceive(userId=" + context.getUserId() + "): " + action); in onReceive() 87 Log.d(TAG, "onNetworkLogsAvailable() on user " + context.getUserId() in onNetworkLogsAvailable() 100 Log.d(TAG, "onOperationSafetyStateChanged() on user " + context.getUserId() + ": " + event); in onOperationSafetyStateChanged()
|
D | PreDeviceOwnerTest.java | 39 Log.d(TAG, "setUp(): running on user " + mContext.getUserId()); in setUp()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerNegativeTest.java | 113 "package", getTestContext().getUserId()); in testDirectAidlCalls() 115 checkAidlCall("getBackupPayload", "Caller must be", getTestContext().getUserId()); in testDirectAidlCalls() 117 checkAidlCall("applyRestore", "Caller must be", null, getTestContext().getUserId()); in testDirectAidlCalls()
|
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/common/src/com/android/cts/appdataisolation/common/ |
D | UserUtils.java | 24 return UserHandle.getUserId(Process.myUid()); in getCurrentUserId()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/activity/ |
D | TaskInfoTestActivity.java | 31 public int getUserId() { in getUserId() method in TaskInfoTestActivity
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | IntentSenderActivity.java | 58 Log.d(TAG, "Created on user " + getUserId()); in onCreate() 63 Log.d(TAG, "onActivityResult(): userId=" + getUserId() + ", requestCode=" + requestCode in onActivityResult()
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
D | BroadcastIntentReceiver.java | 36 Log.i(TAG, "onReceive(userId=" + c.getUserId() + "): " + i); in onReceive()
|
D | SimpleIntentReceiverActivity.java | 45 Log.i(TAG, "activity " + className + " started on user " + getUserId() in onCreate()
|
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | SecureSettingsUtils.java | 128 if (context.getUserId() == userId && UserHandle.myUserId() == userId) { in putInt() 151 if (context.getUserId() == userId && UserHandle.myUserId() == userId) { in getString()
|
/cts/hostsidetests/appbinding/app/src/com/android/cts/appbinding/app/ |
D | MyEnabler.java | 44 Log.w(TAG, "Enabled " + cn + " on user " + context.getUserId()); in enableService()
|
/cts/apps/EmptyDeviceOwner/src/com/android/cts/emptydeviceowner/ |
D | EmptyDeviceAdmin.java | 48 Log.d(TAG, "onReceive(): user=" + context.getUserId() + ", action=" + action); in onReceive()
|
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/helper_a/ |
D | AppSearchInstantAppTest.java | 45 int userId = context.getUserId(); in testInstantAppDoesntHaveAccess()
|