/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | PackageArchiverTest.java | 137 private final int mUserId = UserHandle.CURRENT.getIdentifier(); 183 when(mLauncherApps.getActivityList(eq(PACKAGE), eq(UserHandle.CURRENT))).thenReturn( in setUp() 195 eq(INSTALLER_PACKAGE), anyInt(), eq(UserHandle.CURRENT))).thenReturn(mContext); in setUp() 238 UserHandle.CURRENT)); in archiveApp_callerPackageNameIncorrect() 255 UserHandle.CURRENT)); in archiveApp_packageNotInstalled() 263 mPackageSetting.modifyUserState(UserHandle.CURRENT.getIdentifier()).setInstalled(false); in archiveApp_packageNotInstalledForUser() 265 mArchiveManager.requestArchive(PACKAGE, CALLER_PACKAGE, mIntentSender, UserHandle.CURRENT); in archiveApp_packageNotInstalledForUser() 295 UserHandle.CURRENT)); in archiveApp_noInstallerFound() 309 UserHandle.CURRENT)); in archiveApp_installerDoesntSupportUnarchival() 317 when(mLauncherApps.getActivityList(eq(PACKAGE), eq(UserHandle.CURRENT))).thenReturn( in archiveApp_noMainActivities() [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
D | BiometricNotificationUtils.java | 91 null /* options */, UserHandle.CURRENT); in showReEnrollmentNotification() 118 null /* options */, UserHandle.CURRENT); in showFaceEnrollNotification() 145 null /* options */, UserHandle.CURRENT); in showFingerprintEnrollNotification() 181 null /* options */, UserHandle.CURRENT); in showBadCalibrationNotification() 217 setupIntent, PendingIntent.FLAG_IMMUTABLE, UserHandle.CURRENT); in showBiometricReEnrollNotification() 228 notNowIntent, PendingIntent.FLAG_IMMUTABLE, UserHandle.CURRENT); in showBiometricReEnrollNotification() 309 null /* options */, UserHandle.CURRENT); in showNotificationHelper() 343 UserHandle.CURRENT); in showNotificationHelper() 354 UserHandle.CURRENT); in cancelFaceReEnrollNotification() 364 UserHandle.CURRENT); in cancelFaceEnrollNotification() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/ |
D | TileUtilsTest.java | 131 TileUtils.loadTilesForAction(mContext, UserHandle.CURRENT, IA_SETTINGS_ACTION, addedCache, in getTilesForIntent_shouldParseCategory() 153 TileUtils.loadTilesForAction(mContext, UserHandle.CURRENT, IA_SETTINGS_ACTION, addedCache, in getTilesForIntent_shouldParseKeyHintForSystemApp() 174 TileUtils.loadTilesForAction(mContext, UserHandle.CURRENT, IA_SETTINGS_ACTION, in getTilesForIntent_shouldSkipNonSystemApp() 215 TileUtils.loadTilesForAction(mContext, UserHandle.CURRENT, IA_SETTINGS_ACTION, addedCache, in getTilesForIntent_shouldReadMetadataTitleAsString() 240 TileUtils.loadTilesForAction(mContext, UserHandle.CURRENT, IA_SETTINGS_ACTION, addedCache, in getTilesForIntent_shouldReadMetadataTitleFromResource() 263 TileUtils.loadTilesForAction(mContext, UserHandle.CURRENT, IA_SETTINGS_ACTION, addedCache, in getTilesForIntent_shouldNotTintIconIfInSettingsPackage() 284 TileUtils.loadTilesForAction(mContext, UserHandle.CURRENT, IA_SETTINGS_ACTION, addedCache, in getTilesForIntent_tileAlreadyInCache_shouldUpdateMetaData() 294 TileUtils.loadTilesForAction(mContext, UserHandle.CURRENT, IA_SETTINGS_ACTION, addedCache, in getTilesForIntent_tileAlreadyInCache_shouldUpdateMetaData() 318 TileUtils.loadTilesForAction(mContext, UserHandle.CURRENT, IA_SETTINGS_ACTION, addedCache, in getTilesForIntent_shouldMarkIconTintableIfMetadataSet() 339 TileUtils.loadTilesForAction(mContext, UserHandle.CURRENT, IA_SETTINGS_ACTION, addedCache, in getTilesForIntent_shouldProcessUriContentForSystemApp() [all …]
|
D | ProviderTileTest.java | 192 UserHandle.CURRENT, PendingIntent.getActivity(mContext, 0, new Intent(), 0)); in hasPendingIntent_notEmpty_returnsTrue() 240 UserHandle.CURRENT, PendingIntent.getActivity(mContext, 0, new Intent(), 0)); in getType_withSwitchAndPendingIntent_returnsSwitchWithAction() 249 UserHandle.CURRENT, PendingIntent.getActivity(mContext, 0, new Intent(), 0)); in getType_withPendingIntent_returnsExternalAction()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/base/interactor/ |
D | QSTileInputTestKtx.kt | 27 user: UserHandle = UserHandle.CURRENT, 33 user: UserHandle = UserHandle.CURRENT,
|
/frameworks/base/tests/Internal/src/com/android/internal/app/ |
D | AppLocaleCollectorTest.java | 65 private static final int CURRENT = LocaleInfo.SUGGESTION_TYPE_CURRENT; field in AppLocaleCollectorTest 95 mAppCurrentLocale = createLocaleInfo("en-US", CURRENT); in testGetSupportedLocaleList_filterNonAppsupportedSystemLanguage() 134 expectedResult.put("en-US", CURRENT); // The locale current App activates. in testGetSupportedLocaleList_filterNonAppsupportedSystemLanguage() 149 mAppCurrentLocale = createLocaleInfo("en-US", CURRENT); in testGetSupportedLocaleList_withActiveLocalesFromOtherAppAndIme() 178 map.put("en-US", CURRENT); // The locale current App activates. in getExpectedResult()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
D | WifiClientTest.java | 278 assertTrue(c.status != WifiConfiguration.Status.CURRENT); in testWifiConfiguredNetworkStatus() 290 assertTrue(c.status == WifiConfiguration.Status.CURRENT); in testWifiConfiguredNetworkStatus() 292 assertTrue(c.status != WifiConfiguration.Status.CURRENT); in testWifiConfiguredNetworkStatus() 303 assertTrue(c.status != WifiConfiguration.Status.CURRENT); in testWifiConfiguredNetworkStatus()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | StorageNotification.java | 662 null, UserHandle.CURRENT); in buildInitPendingIntent() 682 null, UserHandle.CURRENT); in buildInitPendingIntent() 695 null, UserHandle.CURRENT); in buildUnmountPendingIntent() 704 UserHandle.CURRENT); in buildUnmountPendingIntent() 713 UserHandle.CURRENT); in buildUnmountPendingIntent() 725 null, UserHandle.CURRENT); in buildBrowsePendingIntent() 758 null, UserHandle.CURRENT); in buildVolumeSettingsPendingIntent() 768 UserHandle.CURRENT); in buildSnoozeIntent() 781 null, UserHandle.CURRENT); in buildForgetPendingIntent() 804 null, UserHandle.CURRENT); in buildWizardMigratePendingIntent() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | BiometricNotificationService.java | 136 mNotificationManager.cancelAsUser(TAG, FACE_NOTIFICATION_ID, UserHandle.CURRENT); 143 mNotificationManager.cancelAsUser(TAG, FINGERPRINT_NOTIFICATION_ID, UserHandle.CURRENT); 236 UserHandle.CURRENT); in showNotification() 252 mNotificationManager.notifyAsUser(TAG, notificationId, notification, UserHandle.CURRENT); in showNotification()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ActionExecutorTest.kt | 61 actionExecutor.startSharedTransition(Intent(Intent.ACTION_EDIT), UserHandle.CURRENT, true) in <lambda>() 66 launchIntent(capture(intentCaptor), eq(UserHandle.CURRENT), eq(true), any(), any()) in <lambda>()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | SnoozeHelperTest.java | 573 NotificationRecord r4 = getNotificationRecord("pkg2", 3, "three", UserHandle.CURRENT); 587 UserHandle.CURRENT, "group", true); 589 UserHandle.CURRENT, "group", true); 591 UserHandle.CURRENT, "group", true); 593 UserHandle.CURRENT, "group", true); 609 UserHandle.CURRENT, "group", true); 611 UserHandle.CURRENT, null, true); 626 UserHandle.CURRENT, "group", true); 628 UserHandle.CURRENT, "group", true); 630 UserHandle.CURRENT, "group", true); [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | BiometricDanglingReceiverTest.java | 105 UserHandle.CURRENT); in testOnReceive_fingerprintReEnrollLaunch() 126 UserHandle.CURRENT); in testOnReceive_faceReEnrollLaunch()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/ |
D | MultiInstanceHelperTest.kt | 57 TEST_SHORTCUT_ID, UserHandle.CURRENT, launcherApps)) in getShortcutComponent_nullShortcuts() 66 TEST_SHORTCUT_ID, UserHandle.CURRENT, launcherApps)) in getShortcutComponent_noShortcuts() 77 TEST_SHORTCUT_ID, UserHandle.CURRENT, launcherApps)) in getShortcutComponent_validShortcut()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | OperatorInfo.java | 33 CURRENT, enumConstant 134 return State.CURRENT; in rilStateToState()
|
/frameworks/compile/slang/ |
D | slang_version.h | 123 CURRENT = N_STRUCT_EXPLICIT_PADDING enumerator
|
D | slang_bitcode_gen.cpp | 88 const uint32_t CompilerVersion = SlangVersion::CURRENT; in writeBitcode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/panels/ |
D | SelectedComponentRepository.kt | 38 fun getSelectedComponent(userHandle: UserHandle = UserHandle.CURRENT): SelectedComponent? in selectedComponentFlow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/domain/interactor/ |
D | PackageChangeInteractor.kt | 53 if (user == UserHandle.CURRENT) { in <lambda>()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ScreenshotHelper.java | 195 UserHandle.CURRENT)) { in takeScreenshotInternal() 247 mContext.sendBroadcastAsUser(errorIntent, UserHandle.CURRENT); in notifyScreenshotError()
|
D | EmergencyAffordanceManager.java | 74 context.startActivityAsUser(intent, UserHandle.CURRENT); in performEmergencyCall()
|
/frameworks/av/media/codec2/core/include/ |
D | C2Component.h | 39 CURRENT, ///< query currently possible values given dependent settings enumerator 54 return C2FieldSupportedValuesQuery(field_, CURRENT); in Current()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | MenuNotificationFactory.java | 72 | PendingIntent.FLAG_IMMUTABLE, UserHandle.CURRENT); in buildDeleteIntent()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipMediaController.kt | 154 UserHandle.CURRENT in <lambda>() 281 null, UserHandle.CURRENT, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SensitiveNotificationProtectionControllerTest.kt | 121 UserHandle.CURRENT.identifier in setUp() 128 UserHandle.CURRENT.identifier in setUp() 138 UserHandle.CURRENT.identifier in setUp() 703 mediaProjectionInfo = MediaProjectionInfo(packageName, UserHandle.CURRENT, launchCookie) in setShareScreen()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/ |
D | CommunalWidgetRepositoryImplTest.kt | 557 user = UserHandle.CURRENT, in pendingWidgets() 575 user = UserHandle.CURRENT, in pendingWidgets() 597 user = UserHandle.CURRENT, in pendingWidgets_pendingWidgetBecomesAvailableAfterInstall() 610 user = UserHandle.CURRENT, in pendingWidgets_pendingWidgetBecomesAvailableAfterInstall()
|