Home
last modified time | relevance | path

Searched defs:activity (Results 1 – 25 of 321) sorted by relevance

12345678910>>...13

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowActivityTest.java69 private Activity activity; field in ShadowActivityTest
157 TranscriptActivity activity = Robolectric.setupActivity(TranscriptActivity.class); in startActivity_shouldDelegateToStartActivityForResult() local
209 TranscriptActivity activity = Robolectric.setupActivity(TranscriptActivity.class); in startActivityForResultAndReceiveResult_shouldSendResponsesBackToActivity() local
222 ThrowOnResultActivity activity = Robolectric.buildActivity(ThrowOnResultActivity.class).get(); in startActivityForResultAndReceiveResult_whenNoIntentMatches_shouldThrowException() local
327 … final DialogLifeCycleActivity activity = Robolectric.setupActivity(DialogLifeCycleActivity.class); in showDialog_shouldCreatePrepareAndShowDialog() local
330 new Dialog(activity) { in showDialog_shouldCreatePrepareAndShowDialog() argument
350 … final DialogLifeCycleActivity activity = Robolectric.setupActivity(DialogLifeCycleActivity.class); in showDialog_shouldCreatePrepareAndShowDialogWithBundle() local
353 new Dialog(activity) { in showDialog_shouldCreatePrepareAndShowDialogWithBundle() argument
373 … final DialogLifeCycleActivity activity = Robolectric.setupActivity(DialogLifeCycleActivity.class); in showDialog_shouldReturnFalseIfDialogDoesNotExist() local
383 final DialogCreatingActivity activity = Robolectric.setupActivity(DialogCreatingActivity.class); in showDialog_shouldReuseDialogs() local
[all …]
DShadowWindowTest.java28 Activity activity = Robolectric.buildActivity(Activity.class).create().get(); in getFlag_shouldReturnWindowFlags() local
40 Activity activity = Robolectric.buildActivity(Activity.class).create().get(); in getTitle_shouldReturnWindowTitle() local
48 Activity activity = Robolectric.buildActivity(Activity.class).create().get(); in getBackgroundDrawable_returnsSetDrawable() local
60 TestActivity activity = Robolectric.buildActivity(TestActivity.class).create().get(); in getSoftInputMode_returnsSoftInputMode() local
71 Activity activity = Robolectric.buildActivity(TestActivity.class).create().get(); in getProgressBar_returnsTheProgressBar() local
85 TestActivity activity = testActivityActivityController.get(); in getIndeterminateProgressBar_returnsTheIndeterminateProgressBar() local
DShadowNfcAdapterTest.java35 final Activity activity = Robolectric.setupActivity(Activity.class); in setNdefPushMesageCallback_shouldUseCallback() local
46 final Activity activity = Robolectric.setupActivity(Activity.class); in setOnNdefPushCompleteCallback_shouldUseCallback() local
57 final Activity activity = Robolectric.setupActivity(Activity.class); in setOnNdefPushCompleteCallback_throwsOnNullActivity() local
70 final Activity activity = Robolectric.setupActivity(Activity.class); in setOnNdefPushCompleteCallback_throwsOnNullInActivities() local
114 final Activity activity = Robolectric.setupActivity(Activity.class); in setNdefPushMessage_setsNullMessage() local
124 final Activity activity = Robolectric.setupActivity(Activity.class); in setNdefPushMessage_setsNonNullMessage() local
136 final Activity activity = Robolectric.setupActivity(Activity.class); in getNdefPushMessage_messageNotSet_throwsIllegalStateException() local
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowActivityTest.java94 private Activity activity; field in ShadowActivityTest
195 TranscriptActivity activity = Robolectric.setupActivity(TranscriptActivity.class); in startActivity_shouldDelegateToStartActivityForResult() local
250 TranscriptActivity activity = Robolectric.setupActivity(TranscriptActivity.class); in startActivityForResultAndReceiveResult_shouldSendResponsesBackToActivity() local
269 ThrowOnResultActivity activity = controller.get(); in startActivityForResultAndReceiveResult_whenNoIntentMatches_shouldThrowException() local
389 final DialogLifeCycleActivity activity = in showDialog_shouldCreatePrepareAndShowDialog() local
393 new Dialog(activity) { in showDialog_shouldCreatePrepareAndShowDialog() argument
413 final DialogLifeCycleActivity activity = in showDialog_shouldCreatePrepareAndShowDialogWithBundle() local
417 new Dialog(activity) { in showDialog_shouldCreatePrepareAndShowDialogWithBundle() argument
437 final DialogLifeCycleActivity activity = in showDialog_shouldReturnFalseIfDialogDoesNotExist() local
448 final DialogCreatingActivity activity = Robolectric.setupActivity(DialogCreatingActivity.class); in showDialog_shouldReuseDialogs() local
[all …]
DShadowNfcAdapterTest.java44 final Activity activity = Robolectric.setupActivity(Activity.class); in setNdefPushMesageCallback_shouldUseCallback() local
55 final Activity activity = Robolectric.setupActivity(Activity.class); in setOnNdefPushCompleteCallback_shouldUseCallback() local
66 final Activity activity = Robolectric.setupActivity(Activity.class); in setOnNdefPushCompleteCallback_throwsOnNullActivity() local
79 final Activity activity = Robolectric.setupActivity(Activity.class); in setOnNdefPushCompleteCallback_throwsOnNullInActivities() local
123 final Activity activity = Robolectric.setupActivity(Activity.class); in setNdefPushMessage_setsNullMessage() local
133 final Activity activity = Robolectric.setupActivity(Activity.class); in setNdefPushMessage_setsNonNullMessage() local
145 final Activity activity = Robolectric.setupActivity(Activity.class); in getNdefPushMessage_messageNotSet_throwsIllegalStateException() local
156 final Activity activity = Robolectric.setupActivity(Activity.class); in isInReaderMode_beforeEnableReaderMode_shouldReturnFalse() local
165 final Activity activity = Robolectric.setupActivity(Activity.class); in isInReaderMode_afterEnableReaderMode_shouldReturnTrue() local
180 final Activity activity = Robolectric.setupActivity(Activity.class); in isInReaderMode_afterDisableReaderMode_shouldReturnFalse() local
[all …]
DShadowWindowTest.java38 Activity activity = Robolectric.buildActivity(Activity.class).create().get(); in getFlag_shouldReturnWindowFlags() local
50 Activity activity = Robolectric.buildActivity(Activity.class).create().get(); in getSystemFlag_isFalseByDefault() local
60 Activity activity = Robolectric.buildActivity(Activity.class).create().get(); in getSystemFlag_shouldReturnFlagsSetViaAddSystemFlags() local
72 Activity activity = Robolectric.buildActivity(Activity.class).create().get(); in getSystemFlag_callingAddSystemFlagsShouldNotOverrideExistingFlags() local
86 Activity activity = Robolectric.buildActivity(Activity.class).create().get(); in getSystemFlag_shouldReturnFlagsSetViaAddPrivateFlags() local
99 Activity activity = Robolectric.buildActivity(Activity.class).create().get(); in getSystemFlag_callingAddPrivateFlagsShouldNotOverrideExistingFlags() local
112 Activity activity = Robolectric.buildActivity(Activity.class).create().get(); in getTitle_shouldReturnWindowTitle() local
120 Activity activity = Robolectric.buildActivity(Activity.class).create().get(); in getBackgroundDrawable_returnsSetDrawable() local
132 TestActivity activity = Robolectric.buildActivity(TestActivity.class).create().get(); in getSoftInputMode_returnsSoftInputMode() local
/external/deqp/framework/platform/android/
DtcuAndroidNativeActivity.cpp29 static void onStartCallback (ANativeActivity* activity) in onStartCallback()
34 static void onResumeCallback (ANativeActivity* activity) in onResumeCallback()
39 static void* onSaveInstanceStateCallback (ANativeActivity* activity, size_t* outSize) in onSaveInstanceStateCallback()
44 static void onPauseCallback (ANativeActivity* activity) in onPauseCallback()
49 static void onStopCallback (ANativeActivity* activity) in onStopCallback()
54 static void onDestroyCallback (ANativeActivity* activity) in onDestroyCallback()
59 static void onWindowFocusChangedCallback (ANativeActivity* activity, int hasFocus) in onWindowFocusChangedCallback()
64 static void onNativeWindowCreatedCallback (ANativeActivity* activity, ANativeWindow* window) in onNativeWindowCreatedCallback()
69 static void onNativeWindowResizedCallback (ANativeActivity* activity, ANativeWindow* window) in onNativeWindowResizedCallback()
74 static void onNativeWindowRedrawNeededCallback (ANativeActivity* activity, ANativeWindow* window) in onNativeWindowRedrawNeededCallback()
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/transition/
DTransitionHelper.java176 public static void applyForwardTransition(Activity activity) { in applyForwardTransition()
221 public static void applyForwardTransition(Activity activity, @TransitionType int transitionId) { in applyForwardTransition()
250 Activity activity, @TransitionType int transitionId, boolean useClientTransitionSettings) { in applyForwardTransition()
333 public static void applyBackwardTransition(Activity activity) { in applyBackwardTransition()
379 public static void applyBackwardTransition(Activity activity, @TransitionType int transitionId) { in applyBackwardTransition()
408 Activity activity, @TransitionType int transitionId, boolean useClientTransitionSettings) { in applyBackwardTransition()
480 public static void startActivityWithTransition(Activity activity, Intent intent) { in startActivityWithTransition()
493 Activity activity, Intent intent, Bundle overrideActivityOptions) { in startActivityWithTransition()
544 Activity activity, Intent intent, Bundle overrideActivityOptions) { in startActivityWithTransitionInternal()
569 Activity activity, Intent intent, int requestCode) { in startActivityForResultWithTransition()
[all …]
/external/angle/util/android/third_party/
Dandroid_native_app_glue.c243 static struct android_app* android_app_create(ANativeActivity* activity, in android_app_create()
336 static void onDestroy(ANativeActivity* activity) { in onDestroy()
341 static void onStart(ANativeActivity* activity) { in onStart()
346 static void onResume(ANativeActivity* activity) { in onResume()
351 static void* onSaveInstanceState(ANativeActivity* activity, size_t* outLen) { in onSaveInstanceState()
375 static void onPause(ANativeActivity* activity) { in onPause()
380 static void onStop(ANativeActivity* activity) { in onStop()
385 static void onConfigurationChanged(ANativeActivity* activity) { in onConfigurationChanged()
391 static void onLowMemory(ANativeActivity* activity) { in onLowMemory()
397 static void onWindowFocusChanged(ANativeActivity* activity, int focused) { in onWindowFocusChanged()
[all …]
/external/deqp/external/openglcts/modules/runner/
DglcAndroidMain.cpp33 static void createCTSActivity(ANativeActivity* activity, void* savedState, size_t savedStateSize, g… in createCTSActivity()
49 JNIEXPORT void JNICALL createES2CTSActivity(ANativeActivity* activity, void* savedState, size_t sav… in createES2CTSActivity()
54 JNIEXPORT void JNICALL createES3CTSActivity(ANativeActivity* activity, void* savedState, size_t sav… in createES3CTSActivity()
59 JNIEXPORT void JNICALL createES31CTSActivity(ANativeActivity* activity, void* savedState, size_t sa… in createES31CTSActivity()
64 JNIEXPORT void JNICALL createES32CTSActivity(ANativeActivity* activity, void* savedState, size_t sa… in createES32CTSActivity()
69 JNIEXPORT void JNICALL createGL45CTSActivity(ANativeActivity* activity, void* savedState, size_t sa… in createGL45CTSActivity()
74 JNIEXPORT void JNICALL createGL46CTSActivity(ANativeActivity* activity, void* savedState, size_t sa… in createGL46CTSActivity()
DglcAndroidTestActivity.cpp45 static std::string getWaiverPath(ANativeActivity* activity) in getWaiverPath()
50 static std::string getLogPath(ANativeActivity* activity) in getLogPath()
56 static deUint32 getFlags(ANativeActivity* activity) in getFlags()
66 TestThread::TestThread(NativeActivity& activity, tcu::Android::AssetArchive& archive, const std::st… in TestThread()
112 TestActivity::TestActivity(ANativeActivity* activity, glu::ApiType runType) in TestActivity()
/external/dagger2/javatests/dagger/android/
DDispatchingAndroidInjectorTest.java45 FooActivity activity = Robolectric.setupActivity(FooActivity.class); in withClassKeys() local
56 FooActivity activity = Robolectric.setupActivity(FooActivity.class); in withStringKeys() local
78 BarActivity activity = Robolectric.setupActivity(BarActivity.class); in maybeInject_returnsFalse_ifNoMatchingInjectorExists() local
87 FooActivity activity = Robolectric.setupActivity(FooActivity.class); in throwsIfFactoryCreateReturnsNull() local
101 FooActivity activity = Robolectric.setupActivity(FooActivity.class); in throwsIfClassMismatched() local
128 public AndroidInjector<FooActivity> create(FooActivity activity) { in create()
140 public AndroidInjector<BarActivity> create(BarActivity activity) { in create()
/external/robolectric/shadows/playservices/src/main/java/org/robolectric/shadows/gms/
DShadowGooglePlayServicesUtil.java56 public static synchronized boolean showErrorDialogFragment(int errorCode, Activity activity, in showErrorDialogFragment()
63 public static synchronized boolean showErrorDialogFragment(int errorCode, Activity activity, in showErrorDialogFragment()
71 int errorCode, Activity activity, int requestCode, OnCancelListener cancelListener) { in showErrorDialogFragment()
77 public static synchronized Dialog getErrorDialog(int errorCode, Activity activity, in getErrorDialog()
83 public static synchronized Dialog getErrorDialog(int errorCode, Activity activity, in getErrorDialog()
115 public Dialog getErrorDialog(int errorCode, Activity activity, int requestCode) { in getErrorDialog()
119 public Dialog getErrorDialog(int errorCode, Activity activity, int requestCode, in getErrorDialog()
152 public boolean showErrorDialogFragment(int errorCode, Activity activity, in showErrorDialogFragment()
157 public boolean showErrorDialogFragment(int errorCode, Activity activity, int requestCode) { in showErrorDialogFragment()
161 public boolean showErrorDialogFragment(int errorCode, Activity activity, int requestCode, in showErrorDialogFragment()
/external/robolectric-shadows/shadows/playservices/src/main/java/org/robolectric/shadows/gms/
DShadowGooglePlayServicesUtil.java56 public static synchronized boolean showErrorDialogFragment(int errorCode, Activity activity, in showErrorDialogFragment()
63 public static synchronized boolean showErrorDialogFragment(int errorCode, Activity activity, in showErrorDialogFragment()
71 int errorCode, Activity activity, int requestCode, OnCancelListener cancelListener) { in showErrorDialogFragment()
77 public static synchronized Dialog getErrorDialog(int errorCode, Activity activity, in getErrorDialog()
83 public static synchronized Dialog getErrorDialog(int errorCode, Activity activity, in getErrorDialog()
115 public Dialog getErrorDialog(int errorCode, Activity activity, int requestCode) { in getErrorDialog()
119 public Dialog getErrorDialog(int errorCode, Activity activity, int requestCode, in getErrorDialog()
152 public boolean showErrorDialogFragment(int errorCode, Activity activity, in showErrorDialogFragment()
157 public boolean showErrorDialogFragment(int errorCode, Activity activity, int requestCode) { in showErrorDialogFragment()
161 public boolean showErrorDialogFragment(int errorCode, Activity activity, int requestCode, in showErrorDialogFragment()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DLocalActivityInvoker.java83 public void resumeActivity(Activity activity) { in resumeActivity()
104 public void pauseActivity(Activity activity) { in pauseActivity()
121 public void stopActivity(Activity activity) { in stopActivity()
142 public void recreateActivity(Activity activity) { in recreateActivity()
188 public void finishActivity(Activity activity) { in finishActivity()
/external/robolectric/robolectric/src/main/java/org/robolectric/android/internal/
DLocalActivityInvoker.java70 public void resumeActivity(Activity activity) { in resumeActivity()
95 public void pauseActivity(Activity activity) { in pauseActivity()
116 public void stopActivity(Activity activity) { in stopActivity()
141 public void recreateActivity(Activity activity) { in recreateActivity()
148 public void finishActivity(Activity activity) { in finishActivity()
DRoboMonitoringInstrumentation.java361 public void callActivityOnDestroy(Activity activity) { in callActivityOnDestroy()
370 public void callActivityOnRestart(Activity activity) { in callActivityOnRestart()
376 public void callActivityOnCreate(Activity activity, Bundle bundle) { in callActivityOnCreate()
383 public void callActivityOnStart(Activity activity) { in callActivityOnStart()
389 public void callActivityOnStop(Activity activity) { in callActivityOnStop()
395 public void callActivityOnResume(Activity activity) { in callActivityOnResume()
401 public void callActivityOnPause(Activity activity) { in callActivityOnPause()
425 Activity activity = controller.get(); in updateConfiguration() local
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/
Dtrt_engine_utils.cc64 tensorflow::profiler::TraceMe activity( in GetTrtBindingShape() local
85 tensorflow::profiler::TraceMe activity( in SetupBindings() local
122 tensorflow::profiler::TraceMe activity( in SetTrtEngineInputs() local
166 tensorflow::profiler::TraceMe activity( in SetTrtEngineInputs() local
209 tensorflow::profiler::TraceMe activity( in SetTrtEngineOutputs() local
229 tensorflow::profiler::TraceMe activity( in SetTrtEngineOutputs() local
257 tensorflow::profiler::TraceMe activity( in TrtEnqueue() local
/external/dagger2/javatests/dagger/hilt/android/
DEntryPointAccessorsTest.kt152 val activity = Robolectric.buildActivity(TestActivity::class.java).setup().get() in testApplicationEntryPoint() constant
160 val activity = Robolectric.buildActivity(TestActivity::class.java).setup().get() in testActivityEntryPoint() constant
168 val activity = Robolectric.buildActivity(TestActivity::class.java).setup().get() in testFragmentEntryPoint() constant
178 val activity = Robolectric.buildActivity(TestActivity::class.java).setup().get() in testViewEntryPoint() constant
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNfcAdapter.java77 Activity activity, PendingIntent intent, IntentFilter[] filters, String[][] techLists) { in enableForegroundDispatch()
85 protected void disableForegroundDispatch(Activity activity) { in disableForegroundDispatch()
91 Activity activity, NfcAdapter.ReaderCallback callback, int flags, Bundle extras) { in enableReaderMode()
104 protected void disableReaderMode(Activity activity) { in disableReaderMode()
131 NdefMessage message, Activity activity, Activity... activities) { in setNdefPushMessage()
146 NfcAdapter.CreateNdefMessageCallback callback, Activity activity, Activity... activities) { in setNdefPushMessageCallback()
158 NfcAdapter.OnNdefPushCompleteCallback callback, Activity activity, Activity... activities) { in setOnNdefPushCompleteCallback()
/external/cronet/base/test/android/javatests/src/org/chromium/base/test/util/
DApplicationTestUtils.java32 public static void waitForActivityState(Activity activity, Stage stage) { in waitForActivityState()
39 public static void waitForActivityState(String failureReason, Activity activity, Stage stage) { in waitForActivityState()
49 public static void finishActivity(final Activity activity) throws Exception { in finishActivity()
66 public static <T extends Activity> T recreateActivity(T activity) { in recreateActivity()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNfcAdapter.java40 Activity activity, PendingIntent intent, IntentFilter[] filters, String[][] techLists) { in enableForegroundDispatch()
48 protected void disableForegroundDispatch(Activity activity) { in disableForegroundDispatch()
58 NdefMessage message, Activity activity, Activity... activities) { in setNdefPushMessage()
73 NfcAdapter.CreateNdefMessageCallback callback, Activity activity, Activity... activities) { in setNdefPushMessageCallback()
85 NfcAdapter.OnNdefPushCompleteCallback callback, Activity activity, Activity... activities) { in setOnNdefPushCompleteCallback()
/external/cronet/base/android/java/src/org/chromium/base/
DApplicationStatus.java144 void onActivityStateChange(Activity activity, @ActivityState int newState); in onActivityStateChange()
157 public void onWindowFocusChanged(Activity activity, boolean hasFocus); in onWindowFocusChanged()
233 public WindowCallbackProxy(Activity activity, Window.Callback callback) { in WindowCallbackProxy()
358 static Window.Callback createWindowCallbackProxy(Activity activity, Window.Callback callback) { in createWindowCallbackProxy()
412 private static void onStateChange(Activity activity, @ActivityState int newState) { in onStateChange()
478 public static void onStateChangeForTesting(Activity activity, int newState) { in onStateChangeForTesting()
547 public static int getStateForActivity(@Nullable Activity activity) { in getStateForActivity()
641 ActivityStateListener listener, Activity activity) { in registerStateListenerForActivity()
/external/setupdesign/main/src/com/google/android/setupdesign/util/
DPartnerStyleHelper.java98 Activity activity = null; in shouldApplyPartnerResource() local
140 Activity activity = PartnerCustomizationLayout.lookupActivityFromContext(context); in shouldApplyPartnerHeavyThemeResource() local
173 Activity activity = PartnerCustomizationLayout.lookupActivityFromContext(context); in getDynamicColorAttributeFromTheme() local
197 private static TemplateLayout findLayoutFromActivity(Activity activity) { in findLayoutFromActivity()
/external/libchrome/base/android/java/src/org/chromium/base/
DApplicationStatus.java141 void onActivityStateChange(Activity activity, @ActivityState int newState); in onActivityStateChange()
153 public void onWindowFocusChanged(Activity activity, boolean hasFocus); in onWindowFocusChanged()
185 public WindowCallbackProxy(Activity activity, Window.Callback callback) { in WindowCallbackProxy()
320 private static void onStateChange(Activity activity, @ActivityState int newState) { in onStateChange()
375 public static void onStateChangeForTesting(Activity activity, int newState) { in onStateChangeForTesting()
443 public static int getStateForActivity(@Nullable Activity activity) { in getStateForActivity()
499 Activity activity) { in registerStateListenerForActivity()

12345678910>>...13