Home
last modified time | relevance | path

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

/tools/tradefederation/core/util-apps/DeviceSetupUtil/src/com/android/tradefed/utils/
DDeviceSetupIntentReceiver.java34 private final Intent intent = new Intent(); field in DeviceSetupIntentReceiver
37 public void onReceive(Context context, Intent intent) { in onReceive() argument
38 if (DEVICE_SETUP_INTENT.equals(intent.getAction())) { in onReceive()
40 intent.setClass(context, DeviceSetupService.class); in onReceive()
41 context.startService(intent); in onReceive()
42 } else if (Intent.ACTION_POWER_DISCONNECTED.equals(intent.getAction())) { in onReceive()
46 intent.setClass(context, DeviceSetupService.class); in onReceive()
47 context.stopService(intent); in onReceive()
48 } else if (Intent.ACTION_POWER_CONNECTED.equals(intent.getAction())) { in onReceive()
52 intent.setClass(context, DeviceSetupService.class); in onReceive()
[all …]
DDeviceSetupService.java54 public int onStartCommand(Intent intent, int flags, int startId) { in onStartCommand() argument
66 public IBinder onBind(Intent intent) { in onBind() argument
/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/
DWifiMonitorService.java72 protected void onHandleIntent(Intent intent) { in onHandleIntent() argument
73 final String action = intent.getAction(); in onHandleIntent()
75 monitor(intent); in onHandleIntent()
77 reconnect(intent); in onHandleIntent()
81 private static String getStringExtra(Intent intent, String name, String defValue) { in getStringExtra() argument
82 if (intent.hasExtra(name)) { in getStringExtra()
83 return intent.getStringExtra(name); in getStringExtra()
88 private void monitor(Intent intent) { in monitor() argument
97 final String urlToCheck = getStringExtra(intent, EXTRA_URL_TO_CHECK, in monitor()
111 private void reconnect(Intent intent) { in reconnect() argument
[all …]
/tools/test/graphicsbenchmark/performance_tests/deviceside/src/com/android/game/qualification/device/
DGameQualificationTest.java88 Intent intent = in startApp() local
92 intent.setClassName(apk.getPackageName(), apk.getActivityName()); in startApp()
98 intent.putExtra(argument.getKey(), argument.getValue()); in startApp()
102 intent.putExtra(argument.getKey(), value); in startApp()
107 intent.putExtra(argument.getKey(), value); in startApp()
112 intent.putExtra(argument.getKey(), value); in startApp()
117 intent.putExtra(argument.getKey(), value); in startApp()
122 intent.putExtra(argument.getKey(), value); in startApp()
127 intent.putExtra(argument.getKey(), value); in startApp()
134 InstrumentationRegistry.getContext().startActivity(intent); in startApp()
[all …]
/tools/test/graphicsbenchmark/benchmark_libs/
Dagq.cpp57 jobject intent = env->NewObject(intentClass, constructor, env->NewStringUTF(INTENT_START)); in createIntent() local
63 env->CallObjectMethod(intent, set_type, env->NewStringUTF("text/plain")); in createIntent()
71 env->CallObjectMethod(intent, put_extra, env->NewStringUTF("timestamp"), timestamp); in createIntent()
74 return intent; in createIntent()
/tools/test/connectivity/acts/tests/google/tel/live/
DTelLiveProjectFiTest.py183 intent = ad.droid.makeIntent(action_type, None, None, extras,
187 ad.droid.startServiceIntent(intent)
199 intent = ad.droid.makeIntent(ActionTypeId.MAIN, None, None, extras,
203 ad.droid.startActivityIntent(intent, False)
/tools/test/connectivity/acts/tests/google/tel/lab/
DTelLabProjectFiTest.py280 intent = ad.droid.makeIntent(action_type, None, None, extras,
284 ad.droid.startServiceIntent(intent)
296 intent = ad.droid.makeIntent(ActionTypeId.MAIN, None, None, extras,
300 ad.droid.startActivityIntent(intent, False)
/tools/test/connectivity/acts/tests/google/net/
DDataUsageTest.py101 intent = self.dut.droid.createIntentForClassName(conn_test_class)
103 ad.droid.launchForResultWithIntent(intent, json_obj)
/tools/metalava/src/test/java/com/android/tools/metalava/
DApiLintTest.kt665 fun `Check intent builder names`() { in Check intent builder names()
/tools/external/fat32lib/
DNOTICE71 Thus, it is not the intent of this section to claim rights or contest your rights to work written e…
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_test_utils.py6717 intent = ad.droid.makeIntent(
6727 ad.droid.sendBroadcastIntent(intent)
/tools/dexter/testdata/expected/
Dmedium.rewrite1426 2| const-string/jumbo v1, "android.intent.action.MAIN"
1429 .local v0, "intent", android.content.Intent
1432 11| const-string/jumbo v1, "android.intent.category.LAUNCHER"
17920 .local v24, "intent", android.content.Intent
18105 .params "intent"
19442 632| const-string/jumbo v5, "android.intent.action.VIEW"
19446 .local v25, "intent", android.content.Intent
19742 .local v15, "intent", android.content.Intent
20040 602| const-string/jumbo v6, "android.intent.action.VIEW"
20415 .params "intent"
[all …]
Dmedium.wrap_invoke1426 2| const-string/jumbo v1, "android.intent.action.MAIN"
1429 .local v0, "intent", android.content.Intent
1432 11| const-string/jumbo v1, "android.intent.category.LAUNCHER"
17920 .local v24, "intent", android.content.Intent
18105 .params "intent"
19442 632| const-string/jumbo v5, "android.intent.action.VIEW"
19446 .local v25, "intent", android.content.Intent
19742 .local v15, "intent", android.content.Intent
20040 602| const-string/jumbo v6, "android.intent.action.VIEW"
20415 .params "intent"
[all …]
Dmedium.scratch_regs1798 20| const-string/jumbo v11, "android.intent.action.MAIN"
1801 .local v10, "intent", android.content.Intent
1804 29| const-string/jumbo v11, "android.intent.category.LAUNCHER"
23379 .local v24, "intent", android.content.Intent
23564 .params "intent"
24961 656| const-string/jumbo v5, "android.intent.action.VIEW"
24965 .local v25, "intent", android.content.Intent
25280 .local v15, "intent", android.content.Intent
25578 626| const-string/jumbo v6, "android.intent.action.VIEW"
25974 .params "intent"
[all …]
Dmedium.exit_hook1548 2| const-string/jumbo v1, "android.intent.action.MAIN"
1551 .local v0, "intent", android.content.Intent
1554 11| const-string/jumbo v1, "android.intent.category.LAUNCHER"
19549 .local v24, "intent", android.content.Intent
19735 .params "intent"
21085 635| const-string/jumbo v5, "android.intent.action.VIEW"
21089 .local v25, "intent", android.content.Intent
21387 .local v15, "intent", android.content.Intent
21686 605| const-string/jumbo v6, "android.intent.action.VIEW"
22066 .params "intent"
[all …]
Dmedium.entry_hook1503 5| const-string/jumbo v1, "android.intent.action.MAIN"
1506 .local v0, "intent", android.content.Intent
1509 14| const-string/jumbo v1, "android.intent.category.LAUNCHER"
18866 .local v24, "intent", android.content.Intent
19051 .params "intent"
20396 635| const-string/jumbo v5, "android.intent.action.VIEW"
20400 .local v25, "intent", android.content.Intent
20699 .local v15, "intent", android.content.Intent
20997 605| const-string/jumbo v6, "android.intent.action.VIEW"
21376 .params "intent"
[all …]
Dmedium.compact_cfg1695 2| const-string/jumbo v1, "android.intent.action.MAIN"
1698 .local v0, "intent", android.content.Intent
1701 11| const-string/jumbo v1, "android.intent.category.LAUNCHER"
21487 .local v24, "intent", android.content.Intent
21710 .params "intent"
23395 630| const-string/jumbo v5, "android.intent.action.VIEW"
23399 .local v25, "intent", android.content.Intent
23741 .local v15, "intent", android.content.Intent
24069 602| const-string/jumbo v6, "android.intent.action.VIEW"
24522 .params "intent"
[all …]
Dmedium.asm52152 2| iput-object v2, v0, com.android.calendar.EventInfoFragment$12.val$intent
52168 2| iget-object v2, v5, com.android.calendar.EventInfoFragment$12.val$intent
61413 2| iput-object v3, v0, com.android.calendar.GoogleCalendarUriIntentFilter$1.val$intent
61434 11| iget-object v1, v4, com.android.calendar.GoogleCalendarUriIntentFilter$1.val$intent
61440 23| iget-object v2, v4, com.android.calendar.GoogleCalendarUriIntentFilter$1.val$intent