Home
last modified time | relevance | path

Searched refs:LAUNCH (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/activity/
DSubActivityTest.java29 runLaunchpad(LaunchpadActivity.LAUNCH); in testPendingResult()
35 runLaunchpad(LaunchpadActivity.LAUNCH); in testNoResult()
41 runLaunchpad(LaunchpadActivity.LAUNCH); in testResult()
48 runLaunchpad(LaunchpadActivity.LAUNCH); in testFinishSub()
55 runLaunchpad(LaunchpadActivity.LAUNCH); in testRemoteNoResult()
62 runLaunchpad(LaunchpadActivity.LAUNCH); in testRemoteResult()
68 runLaunchpad(LaunchpadActivity.LAUNCH); in testRemoteFinishSub()
76 runLaunchpad(LaunchpadActivity.LAUNCH); in testRemoteRestartNoResult()
84 runLaunchpad(LaunchpadActivity.LAUNCH); in testRemoteRestartResult()
91 runLaunchpad(LaunchpadActivity.LAUNCH); in testRemoteRestartFinishSub()
DLaunchTest.java30 runLaunchpad(LaunchpadActivity.LAUNCH); in testColdActivity()
36 runLaunchpad(LaunchpadActivity.LAUNCH); in testLocalActivity()
42 runLaunchpad(LaunchpadActivity.LAUNCH); in testColdScreen()
48 runLaunchpad(LaunchpadActivity.LAUNCH); in testLocalScreen()
67 runLaunchpad(LaunchpadActivity.LAUNCH); in testClearTopInCreate()
74 runLaunchpad(LaunchpadActivity.LAUNCH); in testClearTopWhileResumed()
DLocalDeniedReceiver.java34 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); in onReceive()
DRemoteDeniedReceiver.java34 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); in onReceive()
DLocalGrantedReceiver.java34 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); in onReceive()
DRemoteGrantedReceiver.java34 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); in onReceive()
DAbortReceiver.java39 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); in onReceive()
DRemoteReceiver.java42 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); in onReceive()
DLocalReceiver.java69 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); in onReceive()
DLaunchpadActivity.java74 public static final String LAUNCH = "com.android.frameworks.coretests.activity.LAUNCH"; field in LaunchpadActivity
231 if (LAUNCH.equals(action)) { in onResume()
491 data.enforceInterface(LaunchpadActivity.LAUNCH);
DBroadcastTest.java203 data.enforceInterface(LaunchpadActivity.LAUNCH);
/frameworks/base/packages/EasterEgg/src/com/android/egg/widget/
DPaintChipsWidget.kt164 to buildWidget(context, 1, 1, ClickBehavior.LAUNCH), in updateAppWidget()
166 to buildWidget(context, 1, 2, ClickBehavior.LAUNCH), in updateAppWidget()
168 to buildWidget(context, 1, 3, ClickBehavior.LAUNCH), in updateAppWidget()
170 to buildWidget(context, 1, 4, ClickBehavior.LAUNCH), in updateAppWidget()
172 to buildWidget(context, 1, 5, ClickBehavior.LAUNCH), in updateAppWidget()
175 to buildWidget(context, 3, 1, ClickBehavior.LAUNCH), in updateAppWidget()
177 to buildWidget(context, 3, 2, ClickBehavior.LAUNCH), in updateAppWidget()
179 to buildWidget(context, 3, 3, ClickBehavior.LAUNCH), in updateAppWidget()
181 to buildWidget(context, 3, 4, ClickBehavior.LAUNCH), in updateAppWidget()
183 to buildWidget(context, 3, 5, ClickBehavior.LAUNCH), in updateAppWidget()
[all …]
/frameworks/native/services/powermanager/tests/
DPowerHalWrapperAidlTest.cpp162 EXPECT_CALL(*mMockHal.get(), isModeSupported(Eq(Mode::LAUNCH), _)) in TEST_F()
165 EXPECT_CALL(*mMockHal.get(), setMode(Eq(Mode::LAUNCH), Eq(true))) in TEST_F()
173 auto result = mWrapper->setMode(Mode::LAUNCH, true); in TEST_F()
180 EXPECT_CALL(*mMockHal.get(), isModeSupported(Eq(Mode::LAUNCH), _)) in TEST_F()
184 auto result = mWrapper->setMode(Mode::LAUNCH, true); in TEST_F()
193 EXPECT_CALL(*mMockHal.get(), isModeSupported(Eq(Mode::LAUNCH), _)) in TEST_F()
196 EXPECT_CALL(*mMockHal.get(), setMode(Eq(Mode::LAUNCH), Eq(false))).Times(Exactly(10)); in TEST_F()
202 auto result = mWrapper->setMode(Mode::LAUNCH, false); in TEST_F()
DPowerHalControllerTest.cpp138 result = halController.setMode(Mode::LAUNCH, true); in TEST_F()
158 EXPECT_CALL(*mMockHal.get(), powerHint(Eq(PowerHint::LAUNCH), Eq(1))).Times(Exactly(1)); in TEST_F()
163 result = mHalController->setMode(Mode::LAUNCH, true); in TEST_F()
177 ON_CALL(*mMockHal.get(), powerHint(Eq(PowerHint::LAUNCH), _)) in TEST_F()
186 result = mHalController->setMode(Mode::LAUNCH, true); in TEST_F()
245 ON_CALL(*mMockHal.get(), powerHint(Eq(PowerHint::LAUNCH), _)) in TEST_F()
259 auto result = mHalController->setMode(Mode::LAUNCH, true); in TEST_F()
DPowerHalWrapperHidlV1_0Test.cpp97 EXPECT_CALL(*mMockHal.get(), powerHint(Eq(PowerHint::LAUNCH), Eq(1))).Times(Exactly(1)); in TEST_F()
108 auto result = mWrapper->setMode(Mode::LAUNCH, true); in TEST_F()
123 EXPECT_CALL(*mMockHal.get(), powerHint(Eq(PowerHint::LAUNCH), Eq(1))) in TEST_F()
129 auto result = mWrapper->setMode(Mode::LAUNCH, 1); in TEST_F()
DPowerHalWrapperHidlV1_1Test.cpp114 EXPECT_CALL(*mMockHalV1_1.get(), powerHintAsync(Eq(PowerHint::LAUNCH), Eq(1))) in TEST_F()
129 auto result = mWrapper->setMode(Mode::LAUNCH, true); in TEST_F()
144 EXPECT_CALL(*mMockHalV1_1.get(), powerHintAsync(Eq(PowerHint::LAUNCH), Eq(1))) in TEST_F()
150 auto result = mWrapper->setMode(Mode::LAUNCH, 1); in TEST_F()
/frameworks/base/core/java/com/android/internal/accessibility/common/
DShortcutConstants.java94 ShortcutMenuMode.LAUNCH,
98 int LAUNCH = 0; field
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DShortcutTargetAdapter.java35 private int mShortcutMenuMode = ShortcutMenuMode.LAUNCH;
DAccessibilityShortcutChooserActivity.java112 mTargetAdapter.setShortcutMenuMode(ShortcutMenuMode.LAUNCH); in onDoneButtonClicked()
/frameworks/native/services/powermanager/benchmarks/
DPowerHalHidlBenchmarks.cpp43 static constexpr int64_t LAST_POWER_HINT = static_cast<int64_t>(PowerHint::LAUNCH);
/frameworks/native/services/powermanager/
DPowerHalWrapper.cpp121 case Mode::LAUNCH: in setMode()
122 return sendPowerHint(V1_0::PowerHint::LAUNCH, data); in setMode()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java1274 mService.getBinderServiceInstance().setPowerMode(Mode.LAUNCH, true); in testSetPowerMode_redirectsCallToNativeWrapper()
1277 verify(mNativeWrapperMock).nativeSetPowerMode(eq(Mode.LAUNCH), eq(true)); in testSetPowerMode_redirectsCallToNativeWrapper()
1290 mService.getBinderServiceInstance().setPowerMode(Mode.LAUNCH, true); in testSetPowerMode_withLaunchBoostDisabledAndModeLaunch_ignoresCallToEnable()
1291 mService.getBinderServiceInstance().setPowerMode(Mode.LAUNCH, false); in testSetPowerMode_withLaunchBoostDisabledAndModeLaunch_ignoresCallToEnable()
1293 verify(mNativeWrapperMock, never()).nativeSetPowerMode(eq(Mode.LAUNCH), eq(true)); in testSetPowerMode_withLaunchBoostDisabledAndModeLaunch_ignoresCallToEnable()
1294 verify(mNativeWrapperMock).nativeSetPowerMode(eq(Mode.LAUNCH), eq(false)); in testSetPowerMode_withLaunchBoostDisabledAndModeLaunch_ignoresCallToEnable()
1309 assertFalse(mService.getBinderServiceInstance().setPowerModeChecked(Mode.LAUNCH, true)); in testSetPowerModeChecked_returnsNativeCallResult()
1311 assertTrue(mService.getBinderServiceInstance().setPowerModeChecked(Mode.LAUNCH, false)); in testSetPowerModeChecked_returnsNativeCallResult()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java4215 mPowerManagerInternal.setPowerMode(Mode.LAUNCH, true); in startLaunchPowerMode()
4223 mPowerManagerInternal.setPowerMode(Mode.LAUNCH, false); in endLaunchPowerMode()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java3989 if (mode == Mode.LAUNCH && enabled && mBatterySaverController.isLaunchBoostDisabled()) {