Home
last modified time | relevance | path

Searched refs:LAUNCH (Results 1 – 25 of 25) 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()
DLocalGrantedReceiver.java34 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); in onReceive()
DRemoteDeniedReceiver.java34 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); in onReceive()
DLocalDeniedReceiver.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.java70 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()
492 data.enforceInterface(LaunchpadActivity.LAUNCH);
DBroadcastTest.java207 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/
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_1Test.cpp111 EXPECT_CALL(*mMockHal.get(), powerHintAsync(Eq(PowerHint::LAUNCH), Eq(true))) in TEST_F()
125 auto result = mWrapper->setMode(Mode::LAUNCH, true); in TEST_F()
140 EXPECT_CALL(*mMockHal.get(), powerHintAsync(Eq(PowerHint::LAUNCH), Eq(true))) in TEST_F()
146 auto result = mWrapper->setMode(Mode::LAUNCH, 1); in TEST_F()
DPowerHalWrapperHidlV1_0Test.cpp105 EXPECT_CALL(*mMockHal.get(), powerHint(Eq(PowerHint::LAUNCH), Eq(true))).Times(Exactly(1)); in TEST_F()
118 auto result = mWrapper->setMode(Mode::LAUNCH, true); in TEST_F()
133 EXPECT_CALL(*mMockHal.get(), powerHint(Eq(PowerHint::LAUNCH), Eq(1))) in TEST_F()
139 auto result = mWrapper->setMode(Mode::LAUNCH, 1); in TEST_F()
DPowerHalWrapperAidlTest.cpp193 EXPECT_CALL(*mMockHal.get(), isModeSupported(Eq(Mode::LAUNCH), _)) in TEST_F()
197 EXPECT_CALL(*mMockHal.get(), setMode(Eq(Mode::LAUNCH), Eq(true))) in TEST_F()
205 auto result = mWrapper->setMode(Mode::LAUNCH, true); in TEST_F()
212 EXPECT_CALL(*mMockHal.get(), isModeSupported(Eq(Mode::LAUNCH), _)) in TEST_F()
217 auto result = mWrapper->setMode(Mode::LAUNCH, true); in TEST_F()
231 EXPECT_CALL(*mMockHal.get(), isModeSupported(Eq(Mode::LAUNCH), _)) in TEST_F()
235 auto& exp = EXPECT_CALL(*mMockHal.get(), setMode(Eq(Mode::LAUNCH), Eq(false))) in TEST_F()
245 auto result = mWrapper->setMode(Mode::LAUNCH, false); in TEST_F()
DPowerHalWrapperHidlV1_3Test.cpp133 EXPECT_CALL(*mMockHal.get(), powerHintAsync_1_3(Eq(PowerHintV1_3::LAUNCH), Eq(true))) in TEST_F()
160 auto result = mWrapper->setMode(Mode::LAUNCH, true); in TEST_F()
187 EXPECT_CALL(*mMockHal.get(), powerHintAsync_1_3(Eq(PowerHintV1_3::LAUNCH), Eq(1))) in TEST_F()
193 auto result = mWrapper->setMode(Mode::LAUNCH, 1); in TEST_F()
DPowerHalWrapperHidlV1_2Test.cpp128 EXPECT_CALL(*mMockHal.get(), powerHintAsync_1_2(Eq(PowerHintV1_2::LAUNCH), Eq(true))) in TEST_F()
152 auto result = mWrapper->setMode(Mode::LAUNCH, true); in TEST_F()
177 EXPECT_CALL(*mMockHal.get(), powerHintAsync_1_2(Eq(PowerHintV1_2::LAUNCH), Eq(1))) in TEST_F()
183 auto result = mWrapper->setMode(Mode::LAUNCH, 1); in TEST_F()
/frameworks/base/core/java/com/android/internal/accessibility/common/
DShortcutConstants.java134 ShortcutMenuMode.LAUNCH,
138 int LAUNCH = 0; field
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DShortcutTargetAdapter.java35 private int mShortcutMenuMode = ShortcutMenuMode.LAUNCH;
DAccessibilityShortcutChooserActivity.java79 ShortcutMenuMode.LAUNCH); in onCreate()
191 mTargetAdapter.setShortcutMenuMode(ShortcutMenuMode.LAUNCH); in onDoneButtonClicked()
/frameworks/native/services/powermanager/benchmarks/
DPowerHalHidlBenchmarks.cpp41 static constexpr int64_t LAST_POWER_HINT = static_cast<int64_t>(PowerHint::LAUNCH);
/frameworks/native/services/powermanager/
DPowerHalWrapper.cpp93 case Aidl::Mode::LAUNCH: in setMode()
94 return sendPowerHint(V1_3::PowerHint::LAUNCH, data); in setMode()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java2012 mService.getBinderServiceInstance().setPowerMode(Mode.LAUNCH, true); in testSetPowerMode_redirectsCallToNativeWrapper()
2014 verify(mNativeWrapperMock).nativeSetPowerMode(eq(Mode.LAUNCH), eq(true)); in testSetPowerMode_redirectsCallToNativeWrapper()
2026 mService.getBinderServiceInstance().setPowerMode(Mode.LAUNCH, true); in testSetPowerMode_withLaunchBoostDisabledAndModeLaunch_ignoresCallToEnable()
2027 mService.getBinderServiceInstance().setPowerMode(Mode.LAUNCH, false); in testSetPowerMode_withLaunchBoostDisabledAndModeLaunch_ignoresCallToEnable()
2029 verify(mNativeWrapperMock, never()).nativeSetPowerMode(eq(Mode.LAUNCH), eq(true)); in testSetPowerMode_withLaunchBoostDisabledAndModeLaunch_ignoresCallToEnable()
2030 verify(mNativeWrapperMock).nativeSetPowerMode(eq(Mode.LAUNCH), eq(false)); in testSetPowerMode_withLaunchBoostDisabledAndModeLaunch_ignoresCallToEnable()
2045 assertFalse(mService.getBinderServiceInstance().setPowerModeChecked(Mode.LAUNCH, true)); in testSetPowerModeChecked_returnsNativeCallResult()
2047 assertTrue(mService.getBinderServiceInstance().setPowerModeChecked(Mode.LAUNCH, false)); in testSetPowerModeChecked_returnsNativeCallResult()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java4495 if (mode == Mode.LAUNCH && enabled && mBatterySaverStateMachine != null