/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | SubActivityTest.java | 29 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()
|
D | LaunchTest.java | 30 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()
|
D | LocalDeniedReceiver.java | 34 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); in onReceive()
|
D | RemoteDeniedReceiver.java | 34 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); in onReceive()
|
D | LocalGrantedReceiver.java | 34 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); in onReceive()
|
D | RemoteGrantedReceiver.java | 34 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); in onReceive()
|
D | AbortReceiver.java | 39 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); in onReceive()
|
D | RemoteReceiver.java | 42 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); in onReceive()
|
D | LocalReceiver.java | 69 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); in onReceive()
|
D | LaunchpadActivity.java | 74 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);
|
D | BroadcastTest.java | 203 data.enforceInterface(LaunchpadActivity.LAUNCH);
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/widget/ |
D | PaintChipsWidget.kt | 164 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/ |
D | PowerHalWrapperAidlTest.cpp | 162 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()
|
D | PowerHalControllerTest.cpp | 138 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()
|
D | PowerHalWrapperHidlV1_0Test.cpp | 97 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()
|
D | PowerHalWrapperHidlV1_1Test.cpp | 114 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/ |
D | ShortcutConstants.java | 94 ShortcutMenuMode.LAUNCH, 98 int LAUNCH = 0; field
|
/frameworks/base/core/java/com/android/internal/accessibility/dialog/ |
D | ShortcutTargetAdapter.java | 35 private int mShortcutMenuMode = ShortcutMenuMode.LAUNCH;
|
D | AccessibilityShortcutChooserActivity.java | 112 mTargetAdapter.setShortcutMenuMode(ShortcutMenuMode.LAUNCH); in onDoneButtonClicked()
|
/frameworks/native/services/powermanager/benchmarks/ |
D | PowerHalHidlBenchmarks.cpp | 43 static constexpr int64_t LAST_POWER_HINT = static_cast<int64_t>(PowerHint::LAUNCH);
|
/frameworks/native/services/powermanager/ |
D | PowerHalWrapper.cpp | 121 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/ |
D | PowerManagerServiceTest.java | 1274 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/ |
D | ActivityTaskManagerService.java | 4215 mPowerManagerInternal.setPowerMode(Mode.LAUNCH, true); in startLaunchPowerMode() 4223 mPowerManagerInternal.setPowerMode(Mode.LAUNCH, false); in endLaunchPowerMode()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 3989 if (mode == Mode.LAUNCH && enabled && mBatterySaverController.isLaunchBoostDisabled()) {
|