Home
last modified time | relevance | path

Searched refs:CURRENT (Results 1 – 25 of 102) sorted by relevance

12345

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageArchiverTest.java137 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/
DBiometricNotificationUtils.java91 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/
DTileUtilsTest.java131 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 …]
DProviderTileTest.java192 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/
DQSTileInputTestKtx.kt27 user: UserHandle = UserHandle.CURRENT,
33 user: UserHandle = UserHandle.CURRENT,
/frameworks/base/tests/Internal/src/com/android/internal/app/
DAppLocaleCollectorTest.java65 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/
DWifiClientTest.java278 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/
DStorageNotification.java662 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/
DBiometricNotificationService.java136 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/
DActionExecutorTest.kt61 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/
DSnoozeHelperTest.java573 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/
DBiometricDanglingReceiverTest.java105 UserHandle.CURRENT); in testOnReceive_fingerprintReEnrollLaunch()
126 UserHandle.CURRENT); in testOnReceive_faceReEnrollLaunch()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DMultiInstanceHelperTest.kt57 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/
DOperatorInfo.java33 CURRENT, enumConstant
134 return State.CURRENT; in rilStateToState()
/frameworks/compile/slang/
Dslang_version.h123 CURRENT = N_STRUCT_EXPLICIT_PADDING enumerator
Dslang_bitcode_gen.cpp88 const uint32_t CompilerVersion = SlangVersion::CURRENT; in writeBitcode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/panels/
DSelectedComponentRepository.kt38 fun getSelectedComponent(userHandle: UserHandle = UserHandle.CURRENT): SelectedComponent? in selectedComponentFlow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/common/domain/interactor/
DPackageChangeInteractor.kt53 if (user == UserHandle.CURRENT) { in <lambda>()
/frameworks/base/core/java/com/android/internal/util/
DScreenshotHelper.java195 UserHandle.CURRENT)) { in takeScreenshotInternal()
247 mContext.sendBroadcastAsUser(errorIntent, UserHandle.CURRENT); in notifyScreenshotError()
DEmergencyAffordanceManager.java74 context.startActivityAsUser(intent, UserHandle.CURRENT); in performEmergencyCall()
/frameworks/av/media/codec2/core/include/
DC2Component.h39 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/
DMenuNotificationFactory.java72 | PendingIntent.FLAG_IMMUTABLE, UserHandle.CURRENT); in buildDeleteIntent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipMediaController.kt154 UserHandle.CURRENT in <lambda>()
281 null, UserHandle.CURRENT, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSensitiveNotificationProtectionControllerTest.kt121 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/
DCommunalWidgetRepositoryImplTest.kt557 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()

12345