Home
last modified time | relevance | path

Searched refs:intent (Results 1 – 25 of 434) sorted by relevance

12345678910>>...18

/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DMainActivity.java115 public void onReceive(Context context, Intent intent) { in onCreate()
116 int state = intent.getIntExtra(AudioManager.EXTRA_SCO_AUDIO_STATE, -1); in onCreate()
149 public void onNewIntent(Intent intent) { in onNewIntent() argument
150 saveIntentBundleForLaterProcessing(intent); in onNewIntent()
154 private void saveIntentBundleForLaterProcessing(Intent intent) { in saveIntentBundleForLaterProcessing() argument
155 mBundleFromIntent = intent.getExtras(); in saveIntentBundleForLaterProcessing()
166 Intent intent = new Intent(this, RoundTripLatencyActivity.class); in processBundleFromIntent() local
167 intent.putExtras(mBundleFromIntent); in processBundleFromIntent()
168 startActivity(intent); in processBundleFromIntent()
170 Intent intent = new Intent(this, ManualGlitchActivity.class); in processBundleFromIntent() local
[all …]
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/
DFlutterShellArgs.java50 public static FlutterShellArgs fromIntent(@NonNull Intent intent) { in fromIntent() argument
57 if (intent.getBooleanExtra(ARG_KEY_TRACE_STARTUP, false)) { in fromIntent()
60 if (intent.getBooleanExtra(ARG_KEY_START_PAUSED, false)) { in fromIntent()
63 final int observatoryPort = intent.getIntExtra(ARG_KEY_OBSERVATORY_PORT, 0); in fromIntent()
67 if (intent.getBooleanExtra(ARG_KEY_DISABLE_SERVICE_AUTH_CODES, false)) { in fromIntent()
70 if (intent.getBooleanExtra(ARG_KEY_USE_TEST_FONTS, false)) { in fromIntent()
73 if (intent.getBooleanExtra(ARG_KEY_ENABLE_DART_PROFILING, false)) { in fromIntent()
76 if (intent.getBooleanExtra(ARG_KEY_ENABLE_SOFTWARE_RENDERING, false)) { in fromIntent()
79 if (intent.getBooleanExtra(ARG_KEY_SKIA_DETERMINISTIC_RENDERING, false)) { in fromIntent()
82 if (intent.getBooleanExtra(ARG_KEY_TRACE_SKIA, false)) { in fromIntent()
[all …]
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/app/
DFlutterActivityDelegate.java170 public void onNewIntent(Intent intent) { in onNewIntent() argument
173 if (!isDebuggable() || !loadIntent(intent)) { in onNewIntent()
174 flutterView.getPluginRegistry().onNewIntent(intent); in onNewIntent()
277 private static String[] getArgsFromIntent(Intent intent) { in getArgsFromIntent() argument
282 if (intent.getBooleanExtra("trace-startup", false)) { in getArgsFromIntent()
285 if (intent.getBooleanExtra("start-paused", false)) { in getArgsFromIntent()
288 if (intent.getBooleanExtra("disable-service-auth-codes", false)) { in getArgsFromIntent()
291 if (intent.getBooleanExtra("use-test-fonts", false)) { in getArgsFromIntent()
294 if (intent.getBooleanExtra("enable-dart-profiling", false)) { in getArgsFromIntent()
297 if (intent.getBooleanExtra("enable-software-rendering", false)) { in getArgsFromIntent()
[all …]
DFlutterFragmentActivity.java143 protected void onNewIntent(Intent intent) { in onNewIntent() argument
144 eventDelegate.onNewIntent(intent); in onNewIntent()
DFlutterActivity.java148 protected void onNewIntent(Intent intent) { in onNewIntent() argument
149 eventDelegate.onNewIntent(intent); in onNewIntent()
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dactions_test.dart10 typedef PostInvokeCallback = void Function({Action action, Intent intent, FocusNode focusNode, Acti…
29 bool invokeAction(Action action, Intent intent, {FocusNode focusNode}) {
30 final bool result = super.invokeAction(action, intent, focusNode: focusNode);
31 postInvoke?.call(action: action, intent: intent, focusNode: focusNode, dispatcher: this);
81 void collect({Action action, Intent intent, FocusNode focusNode, ActionDispatcher dispatcher}) {
82 invokedIntent = intent;
130 const Intent intent = Intent(TestAction.key);
134 onInvoke: (FocusNode node, Intent intent) {
153 intent,
160 expect(invokedIntent, equals(intent));
[all …]
Dshortcuts_test.dart21 typedef PostInvokeCallback = void Function({Action action, Intent intent, FocusNode focusNode, Acti…
38 bool invokeAction(Action action, Intent intent, {FocusNode focusNode}) {
39 final bool result = super.invokeAction(action, intent, focusNode: focusNode);
40 postInvoke?.call(action: action, intent: intent, focusNode: focusNode, dispatcher: this);
212 TestAction.key: () => TestAction(onInvoke: (FocusNode node, Intent intent) {
248 TestAction.key: () => TestAction(onInvoke: (FocusNode node, Intent intent) {
/third_party/flutter/engine/flutter/shell/platform/android/test/io/flutter/embedding/android/
DFlutterActivityTest.java24 Intent intent = FlutterActivity.createDefaultIntent(RuntimeEnvironment.application); in itCreatesDefaultIntentWithExpectedDefaults() local
25 …ler<FlutterActivity> activityController = Robolectric.buildActivity(FlutterActivity.class, intent); in itCreatesDefaultIntentWithExpectedDefaults()
41 Intent intent = FlutterActivity.withNewEngine() in itCreatesNewEngineIntentWithRequestedSettings() local
46 …ler<FlutterActivity> activityController = Robolectric.buildActivity(FlutterActivity.class, intent); in itCreatesNewEngineIntentWithRequestedSettings()
62 Intent intent = FlutterActivity.withCachedEngine("my_cached_engine") in itCreatesCachedEngineIntentThatDoesNotDestroyTheEngine() local
65 …ler<FlutterActivity> activityController = Robolectric.buildActivity(FlutterActivity.class, intent); in itCreatesCachedEngineIntentThatDoesNotDestroyTheEngine()
76 Intent intent = FlutterActivity.withCachedEngine("my_cached_engine") in itCreatesCachedEngineIntentThatDestroysTheEngine() local
79 …ler<FlutterActivity> activityController = Robolectric.buildActivity(FlutterActivity.class, intent); in itCreatesCachedEngineIntentThatDestroysTheEngine()
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/
Dapplication_package_test.dart143 …at has enabled set to true, action set to android.intent.action.MAIN and category set to android.i…
150 …alue for its enabled field, action set to android.intent.action.MAIN and category set to android.i…
172 …ror when parsing manifest with no Activity that has action set to android.intent.action.MAIN', () {
180 … when parsing manifest with no Activity that has category set to android.intent.category.LAUNCHER'…
409 E: intent-filter (line=42)
411 … A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
413 …A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUN…
419 E: intent-filter (line=53)
421 … A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
423 …A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUN…
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/android/java/src/com/android/angle/test/
DAngleNativeTest.java75 private void parseArgumentsFromIntent(Activity activity, Intent intent) in parseArgumentsFromIntent() argument
78 Bundle extras = intent.getExtras(); in parseArgumentsFromIntent()
87 mCommandLineFilePath = intent.getStringExtra(NativeTestIntent.EXTRA_COMMAND_LINE_FILE); in parseArgumentsFromIntent()
103 String commandLineFlags = intent.getStringExtra(NativeTestIntent.EXTRA_COMMAND_LINE_FLAGS); in parseArgumentsFromIntent()
106 String gtestFilter = intent.getStringExtra(NativeTestIntent.EXTRA_GTEST_FILTER); in parseArgumentsFromIntent()
112 mStdoutFilePath = intent.getStringExtra(NativeTestIntent.EXTRA_STDOUT_FILE); in parseArgumentsFromIntent()
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dactions.dart22 /// If this intent returns false from [isEnabled], then its associated action will
30 /// The key for the action this intent is associated with.
143 /// The `action` and `intent` arguments must not be null.
144 bool invokeAction(Action action, Intent intent, {FocusNode focusNode}) {
146 assert(intent != null);
148 if (action != null && intent.isEnabled(focusNode.context)) {
149 action.invoke(focusNode, intent);
226 /// The `context`, `intent` and `nullOk` arguments must not be null.
228 /// If the given `intent` isn't found in the first [Actions.actions] map, then
233 /// `intent` doesn't map to an action in any of the [Actions.actions] maps
[all …]
/third_party/flutter/skia/platform_tools/android/apps/arcore/src/main/java/org/skia/arcore/
DCameraPermissionHelper.java60 Intent intent = new Intent(); in launchPermissionSettings() local
61 intent.setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS); in launchPermissionSettings()
62 intent.setData(Uri.fromParts("package", activity.getPackageName(), null)); in launchPermissionSettings()
63 activity.startActivity(intent); in launchPermissionSettings()
/third_party/flutter/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/
DCameraPermissionHelper.java62 Intent intent = new Intent(); in launchPermissionSettings() local
63 intent.setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS); in launchPermissionSettings()
64 intent.setData(Uri.fromParts("package", activity.getPackageName(), null)); in launchPermissionSettings()
65 activity.startActivity(intent); in launchPermissionSettings()
/third_party/flutter/flutter/examples/platform_channel_swift/android/app/src/main/java/com/example/platformchannel/
DMainActivity.java76 public void onReceive(Context context, Intent intent) { in createChargingStateChangeReceiver()
77 int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, -1); in createChargingStateChangeReceiver()
95 Intent intent = new ContextWrapper(getApplicationContext()).
97 return (intent.getIntExtra(BatteryManager.EXTRA_LEVEL, -1) * 100) /
98 intent.getIntExtra(BatteryManager.EXTRA_SCALE, -1);
/third_party/flutter/flutter/examples/platform_channel/android/app/src/main/java/com/example/platformchannel/
DMainActivity.java76 public void onReceive(Context context, Intent intent) { in createChargingStateChangeReceiver()
77 int status = intent.getIntExtra(BatteryManager.EXTRA_STATUS, -1); in createChargingStateChangeReceiver()
95 Intent intent = new ContextWrapper(getApplicationContext()).
97 return (intent.getIntExtra(BatteryManager.EXTRA_LEVEL, -1) * 100) /
98 intent.getIntExtra(BatteryManager.EXTRA_SCALE, -1);
/third_party/flutter/flutter/packages/flutter_tools/templates/app/android.tmpl/app/src/main/
DAndroidManifest.xml.tmpl27 <intent-filter>
28 <action android:name="android.intent.action.MAIN"/>
29 <category android:name="android.intent.category.LAUNCHER"/>
30 </intent-filter>
/third_party/vk-gl-cts/android/package/src/com/drawelements/deqp/execserver/
DExecService.java66 public int onStartCommand (Intent intent, int flags, int startId) { in onStartCommand() argument
67 final int port = intent != null ? intent.getIntExtra("port", DEFAULT_PORT) : DEFAULT_PORT; in onStartCommand()
112 public IBinder onBind (Intent intent) { in onBind() argument
/third_party/flutter/flutter/examples/flutter_view/android/app/src/main/java/com/example/view/
DMainActivity.java27 private String[] getArgsFromIntent(Intent intent) { in getArgsFromIntent() argument
32 if (intent.getBooleanExtra("trace-startup", false)) { in getArgsFromIntent()
35 if (intent.getBooleanExtra("start-paused", false)) { in getArgsFromIntent()
38 if (intent.getBooleanExtra("enable-dart-profiling", false)) { in getArgsFromIntent()
/third_party/gstreamer/gstplugins_bad/ext/colormanagement/
Dgstlcms.c71 static const GEnumValue intent[] = { in gst_lcms_intent_get_type() local
84 GType tmp = g_enum_register_static ("GstLcmsIntent", intent); in gst_lcms_intent_get_type()
255 gst_lcms_set_intent (GstLcms * lcms, GstLcmsIntent intent) in gst_lcms_set_intent() argument
259 (GST_TYPE_LCMS_INTENT)), intent); in gst_lcms_set_intent()
264 GST_ERROR_OBJECT (lcms, "no such rendering intent %i!", intent); in gst_lcms_set_intent()
270 lcms->intent = intent; in gst_lcms_set_intent()
274 value_nick, intent); in gst_lcms_set_intent()
282 return lcms->intent; in gst_lcms_get_intent()
525 lcms->cms_dst_profile, TYPE_RGB_8, lcms->intent, 0); in gst_lcms_init_lookup_table()
621 lcms->cms_dst_profile, lcms->cms_dst_format, lcms->intent, 0); in gst_lcms_create_transform()
/third_party/libwebsockets/test-apps/android/app/src/main/java/org/libwebsockets/client/
DThreadService.java245 public IBinder onBind(Intent intent) { in onBind() argument
251 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
257 public void onRebind(Intent intent) {} in onRebind() argument
261 public boolean onUnbind(Intent intent) { in onUnbind() argument
/third_party/cups-filters/filter/pdftopdf/
Dqpdf_cm.cc66 auto intent=QPDFObjectHandle::parse( in addOutputIntent() local
76 intent.replaceKey("/DestOutputProfile",outicc); in addOutputIntent()
82 catalog.getKey("/OutputIntents").appendItem(intent); in addOutputIntent()
/third_party/skia/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DPerfActivity.java37 Intent intent = getIntent(); in onCreate() local
38 int renderer = intent.getIntExtra("renderer", 0); in onCreate()
39 int file = intent.getIntExtra("file", 0); in onCreate()
/third_party/flutter/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DMainActivity.java18 Intent intent = new Intent(this, SkQPActivity.class); in startTests() local
19 startActivity(intent); in startTests()
/third_party/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DMainActivity.java18 Intent intent = new Intent(this, SkQPActivity.class); in startTests() local
19 startActivity(intent); in startTests()
/third_party/vk-gl-cts/framework/platform/android/
DtcuAndroidUtil.cpp168 …const LocalRef intent (env, env->CallObjectMethod(activity, getMethodID(env, activityCls, "getIn… in getIntentStringExtra() local
169 TCU_CHECK_INTERNAL(intent); in getIntentStringExtra()
172 const jclass intentCls = getObjectClass(env, *intent); in getIntentStringExtra()
178 …const LocalRef extraStr (env, env->CallObjectMethodA(*intent, getMethodID(env, intentCls, "getStr… in getIntentStringExtra()

12345678910>>...18