Home
last modified time | relevance | path

Searched refs:createIntent (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/packages/SettingsLib/tests/unit/src/com/android/settingslib/fuelgague/
DBatteryStatusTest.kt66 val intent = createIntent(batteryLevel = level) in isLowBattery_20Percent_returnsTrue()
79 val intent = createIntent(batteryLevel = level) in isLowBattery_21Percent_returnsFalse()
91 val batteryChangedIntent = createIntent(batteryLevel = 10) in isSevereLowBattery_10Percent_returnsTrue()
98 val batteryChangedIntent = createIntent(batteryLevel = 11) in isSevereLowBattery_11Percent_returnFalse()
105 val batteryChangedIntent = createIntent(batteryLevel = 3) in isExtremeLowBattery_3Percent_returnsTrue()
112 val batteryChangedIntent = createIntent(batteryLevel = 4) in isExtremeLowBattery_4Percent_returnsFalse()
120 val batteryChangedIntent = createIntent(chargingStatus = chargingStatus) in isBatteryDefender_chargingLongLife_returnsTrue()
128 val batteryChangedIntent = createIntent(chargingStatus = chargingStatus) in isBatteryDefender_nonChargingLongLife_returnsFalse()
160 val batteryChangedIntent = createIntent(plugged = plugged) in isPluggedIn_()
193 val batteryChangedIntent = createIntent(plugged = plugged) in parameters()
[all …]
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DAutoShowTest.java21 import static com.android.inputmethod.stresstest.ImeStressTestUtil.TestActivity.createIntent;
98 createIntent( in autoShow_hasFocusedView_requestFocus()
115 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in autoShow_hasFocusedView_notRequestFocus()
141 createIntent( in autoShow_notFocusedView_notRequestFocus()
169 createIntent( in autoShow_forwardWithKeyboardOff()
178 createIntent( in autoShow_forwardWithKeyboardOff()
196 createIntent( in autoShow_forwardWithKeyboardOn()
209 createIntent( in autoShow_forwardWithKeyboardOn()
226 Intent intent1 = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in autoShow_backwardWithKeyboardOff()
232 createIntent( in autoShow_backwardWithKeyboardOff()
[all …]
DImeOpenCloseStressTest.java25 import static com.android.inputmethod.stresstest.ImeStressTestUtil.TestActivity.createIntent;
100 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in testShowHideWithInputMethodManager_waitingVisibilityChange()
122 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in testShowHideWithInputMethodManager_waitingAnimationEnd()
149 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in testShowHideWithInputMethodManager_intervalAfterHide()
172 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in testShowHideWithInputMethodManager_inSameFrame()
225 createIntent( in testShowHideWithInputMethodManager_onCreate()
239 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in testShowWithInputMethodManager_notRequestFocus()
261 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in testShowHideWithWindowInsetsController_waitingVisibilityChange()
282 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in testShowHideWithWindowInsetsController_waitingAnimationEnd()
308 Intent intent = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in testShowHideWithWindowInsetsController_intervalAfterHide()
[all …]
DDefaultImeVisibilityTest.java24 import static com.android.inputmethod.stresstest.ImeStressTestUtil.TestActivity.createIntent;
90 createIntent( in showHideDefaultIme()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/util/
DSpaIntentTest.kt45 Truth.assertThat(nullPage.createIntent()).isNull() in testCreateIntent()
46 Truth.assertThat(SettingsEntryBuilder.createInject(nullPage).build().createIntent()) in testCreateIntent()
50 val pageIntent = page.createIntent() in testCreateIntent()
57 val entryIntent = entry.createIntent(SESSION_SEARCH) in testCreateIntent()
/frameworks/base/services/core/java/com/android/server/utils/
DAppInstallerUtil.java53 public static Intent createIntent(Context context, String installerPackageName, in createIntent() method in AppInstallerUtil
68 public static Intent createIntent(Context context, String packageName) { in createIntent() method in AppInstallerUtil
70 return createIntent(context, installerPackageName, packageName); in createIntent()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DPolicyWarningUIControllerTest.java120 PolicyWarningUIController.createIntent(mContext, TEST_USER_ID, in receiveActionSendNotification_isNonA11yCategoryService_sendNotification()
134 PolicyWarningUIController.createIntent(mContext, TEST_USER_ID, in receiveActionSendNotification_sendNotificationDisabled_doNothing()
153 PolicyWarningUIController.createIntent(mContext, TEST_USER_ID, in receiveActionSendNotificationWithNotifiedService_doNothing()
164 PolicyWarningUIController.createIntent(mContext, TEST_USER_ID, in receiveActionA11ySettings_launchA11ySettingsAndDismissNotification()
177 PolicyWarningUIController.createIntent(mContext, TEST_USER_ID, in receiveActionDismissNotification_addToNotifiedSettings()
229 PolicyWarningUIController.createIntent(mContext, TEST_USER_ID, in onSwitchUserLocked_hasAlarmAndSentNotification_cancelNotification()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
DSpaIntent.kt47 fun SettingsPage.createIntent(sessionName: String? = null): Intent? { in SettingsPage() method
55 fun SettingsEntry.createIntent(sessionName: String? = null): Intent? { in SettingsEntry() method
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/flags/
DFlagManager.kt108 val intent = createIntent(name) in <lambda>()
115 val intent = createIntent(name) in <lambda>()
148 private fun createIntent(name: String): Intent { in <lambda>() method in com.android.systemui.flags.FlagManager
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubClientBroker.java670 () -> createIntent(ContextHubManager.EVENT_NANOAPP_MESSAGE, nanoAppId) in sendMessageToClient()
692 () -> createIntent(ContextHubManager.EVENT_NANOAPP_LOADED, nanoAppId), nanoAppId); in onNanoAppLoaded()
703 () -> createIntent(ContextHubManager.EVENT_NANOAPP_UNLOADED, nanoAppId), nanoAppId); in onNanoAppUnloaded()
709 sendPendingIntent(() -> createIntent(ContextHubManager.EVENT_HUB_RESET)); in onHubReset()
725 () -> createIntent(ContextHubManager.EVENT_NANOAPP_ABORTED, nanoAppId) in onNanoAppAborted()
932 () -> createIntent(ContextHubManager.EVENT_CLIENT_AUTHORIZATION, nanoAppId) in sendAuthStateCallback()
967 private Intent createIntent(int eventType) { in createIntent() method in ContextHubClientBroker
982 private Intent createIntent(int eventType, long nanoAppId) { in createIntent() method in ContextHubClientBroker
983 Intent intent = createIntent(eventType); in createIntent()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/debug/
DDebugProvider.kt36 import com.android.settingslib.spa.framework.util.createIntent
157 val intent = page.createIntent(SESSION_BROWSE) ?: Intent() in queryPageInfo()
173 val intent = entry.createIntent(SESSION_SEARCH) ?: Intent() in queryEntryInfo()
DDebugActivity.kt43 import com.android.settingslib.spa.framework.util.createIntent in <lambda>()
226 page.createIntent(SESSION_BROWSE) ?: return null in <lambda>()
239 val intent = entry.createIntent(SESSION_SEARCH) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/
DNoteTaskControllerUpdateService.kt52 fun createIntent(context: Context): Intent = method
DNoteTaskRoleManagerExt.kt70 .setIntent(LaunchNoteTaskActivity.createIntent(context)) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/shortcut/
DBubbleShortcutHelper.kt32 .setIntent(ShowBubblesActivity.createIntent(context)) in createShortcut()
DShowBubblesActivity.kt48 fun createIntent(context: Context): Intent { in createIntent() method
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/search/
DSpaSearchProvider.kt34 import com.android.settingslib.spa.framework.util.createIntent
206 val intent = entry.createIntent(SESSION_SEARCH) in fetchSearchData()
241 val intent = entry.createIntent(SESSION_SEARCH) in fetchSearchRow()
/frameworks/base/packages/CredentialManager/shared/src/com/android/credentialmanager/activity/
DStartBalIntentSenderForResultContract.kt33 override fun createIntent(context: Context, input: IntentSenderRequest): Intent { in createIntent() method in com.android.credentialmanager.activity.StartBalIntentSenderForResultContract
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/
DStartBalIntentSenderForResultContract.kt33 override fun createIntent(context: Context, input: IntentSenderRequest): Intent { in createIntent() method in com.android.credentialmanager.common.StartBalIntentSenderForResultContract
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/shortcut/
DLaunchNoteTaskActivity.kt47 fun createIntent(context: Context): Intent = in createIntent() method
/frameworks/base/services/core/java/com/android/server/wm/
DDeprecatedTargetSdkVersionDialog.java52 final Intent installerIntent = AppInstallerUtil.createIntent(context, appInfo.packageName); in DeprecatedTargetSdkVersionDialog()
DUnsupportedCompileSdkDialog.java52 final Intent installerIntent = AppInstallerUtil.createIntent(context, appInfo.packageName); in UnsupportedCompileSdkDialog()
/frameworks/base/core/java/com/android/internal/app/
DBlockedAppActivity.java80 public static Intent createIntent(int userId, String packageName) { in createIntent() method in BlockedAppActivity
/frameworks/base/core/java/android/service/quickaccesswallet/
DQuickAccessWalletClientImpl.java247 return createIntent(walletActivity, packageName, ACTION_VIEW_WALLET); in createWalletIntent()
277 return createIntent(settingsActivity, packageName, ACTION_VIEW_WALLET_SETTINGS); in createWalletSettingsIntent()
281 private Intent createIntent(@Nullable String activityName, String packageName, String action) { in createIntent() method in QuickAccessWalletClientImpl
/frameworks/base/core/java/android/service/games/
DGameSessionTrampolineActivity.java67 public static Intent createIntent( in createIntent() method in GameSessionTrampolineActivity

12