/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 | LocalGrantedReceiver.java | 34 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); in onReceive()
|
D | RemoteDeniedReceiver.java | 34 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); in onReceive()
|
D | LocalDeniedReceiver.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 | 70 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() 492 data.enforceInterface(LaunchpadActivity.LAUNCH);
|
D | BroadcastTest.java | 207 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 | 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_1Test.cpp | 111 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()
|
D | PowerHalWrapperHidlV1_0Test.cpp | 105 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()
|
D | PowerHalWrapperAidlTest.cpp | 193 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()
|
D | PowerHalWrapperHidlV1_3Test.cpp | 133 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()
|
D | PowerHalWrapperHidlV1_2Test.cpp | 128 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/ |
D | ShortcutConstants.java | 134 ShortcutMenuMode.LAUNCH, 138 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 | 79 ShortcutMenuMode.LAUNCH); in onCreate() 191 mTargetAdapter.setShortcutMenuMode(ShortcutMenuMode.LAUNCH); in onDoneButtonClicked()
|
/frameworks/native/services/powermanager/benchmarks/ |
D | PowerHalHidlBenchmarks.cpp | 41 static constexpr int64_t LAST_POWER_HINT = static_cast<int64_t>(PowerHint::LAUNCH);
|
/frameworks/native/services/powermanager/ |
D | PowerHalWrapper.cpp | 93 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/ |
D | PowerManagerServiceTest.java | 2012 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/ |
D | PowerManagerService.java | 4495 if (mode == Mode.LAUNCH && enabled && mBatterySaverStateMachine != null
|