/frameworks/base/packages/SettingsLib/tests/unit/src/com/android/settingslib/fuelgague/ |
D | BatteryStatusTest.kt | 66 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/ |
D | AutoShowTest.java | 21 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 …]
|
D | ImeOpenCloseStressTest.java | 25 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 …]
|
D | DefaultImeVisibilityTest.java | 24 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/ |
D | SpaIntentTest.kt | 45 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/ |
D | AppInstallerUtil.java | 53 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/ |
D | PolicyWarningUIControllerTest.java | 120 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/ |
D | SpaIntent.kt | 47 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/ |
D | FlagManager.kt | 108 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/ |
D | ContextHubClientBroker.java | 670 () -> 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/ |
D | DebugProvider.kt | 36 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()
|
D | DebugActivity.kt | 43 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/ |
D | NoteTaskControllerUpdateService.kt | 52 fun createIntent(context: Context): Intent = method
|
D | NoteTaskRoleManagerExt.kt | 70 .setIntent(LaunchNoteTaskActivity.createIntent(context)) in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/shortcut/ |
D | BubbleShortcutHelper.kt | 32 .setIntent(ShowBubblesActivity.createIntent(context)) in createShortcut()
|
D | ShowBubblesActivity.kt | 48 fun createIntent(context: Context): Intent { in createIntent() method
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/search/ |
D | SpaSearchProvider.kt | 34 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/ |
D | StartBalIntentSenderForResultContract.kt | 33 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/ |
D | StartBalIntentSenderForResultContract.kt | 33 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/ |
D | LaunchNoteTaskActivity.kt | 47 fun createIntent(context: Context): Intent = in createIntent() method
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DeprecatedTargetSdkVersionDialog.java | 52 final Intent installerIntent = AppInstallerUtil.createIntent(context, appInfo.packageName); in DeprecatedTargetSdkVersionDialog()
|
D | UnsupportedCompileSdkDialog.java | 52 final Intent installerIntent = AppInstallerUtil.createIntent(context, appInfo.packageName); in UnsupportedCompileSdkDialog()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | BlockedAppActivity.java | 80 public static Intent createIntent(int userId, String packageName) { in createIntent() method in BlockedAppActivity
|
/frameworks/base/core/java/android/service/quickaccesswallet/ |
D | QuickAccessWalletClientImpl.java | 247 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/ |
D | GameSessionTrampolineActivity.java | 67 public static Intent createIntent( in createIntent() method in GameSessionTrampolineActivity
|