Home
last modified time | relevance | path

Searched refs:Context (Results 1 – 25 of 26) sorted by relevance

12

/device/sample/apps/tv/LeanbackWidget/src/com/google/android/leanbacklauncher/partnerwidget/
DClockWidgetProvider.java6 import android.content.Context;
21 public void onReceive(Context context, Intent intent) { in onReceive()
42 public void onAppWidgetOptionsChanged(Context context, AppWidgetManager appWidgetManager, in onAppWidgetOptionsChanged()
47 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate()
52 private void update(Context context) { in update()
58 private RemoteViews getRemoteViews(Context context) { in getRemoteViews()
65 private static int getConnectedResId(Context context) { in getConnectedResId()
67 .getSystemService(Context.CONNECTIVITY_SERVICE); in getConnectedResId()
85 private static void writeConnectivity(Context context, boolean inetConnected) { in writeConnectivity()
86 context.getSharedPreferences(SHARED_PREFS, Context.MODE_PRIVATE).edit() in writeConnectivity()
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/
DContext.h35 struct Context;
37 typedef void (*PFNSUBMITCMD)(Context*, char*, size_t, int);
39 struct Context { struct
40 static std::map<uint32_t, Context*> map; argument
42 Context(uint32_t handle_, const char* name_, uint32_t nlen_, PFNSUBMITCMD pfnProcessCmd_, in Context() function
50 ~Context() { in ~Context() argument
61 Context* bind(EglContext* ctx_) { in bind() argument
62 for (auto const& it : Context::map) { in bind()
63 Context* ctx = it.second; in bind()
80 worker = std::thread(&Context::worker_func, this); in setPidTid() argument
DRenderControl.h23 struct Context;
26 RenderControl(Context* ctx_, EGLDisplay dpy_);
28 Context* ctx;
DAVDVirglRenderer.cpp102 std::map<uint32_t, Context*> Context::map;
124 static Context* g_last_submit_cmd_ctx;
159 Context const* ctx = it.second; in dump_global_state()
166 for (auto const& it : Context::map) { in dump_global_state()
167 Context const* ctx = it.second; in dump_global_state()
498 static void process_cmd(Context* ctx, char* buf, size_t bufSize, int fence) { in process_cmd()
572 std::map<uint32_t, Context*>::iterator it; in virgl_renderer_submit_cmd()
573 it = Context::map.find((uint32_t)ctx_id); in virgl_renderer_submit_cmd()
574 if (it == Context::map.end()) { in virgl_renderer_submit_cmd()
579 Context* ctx = it->second; in virgl_renderer_submit_cmd()
[all …]
DResource.h33 struct Context;
67 std::map<uint32_t, Context*> context_map;
DREADME.md71 ### [`Context`](Context.h)[](#Context)
73 The Context structure represents a virglrenderer context assigned by QEMU. Each
88 for other purposes such as the Context response buffer and fencing.
DRenderControl.cpp827 RenderControl::RenderControl(Context* ctx_, EGLDisplay dpy_) { in RenderControl()
/device/generic/goldfish/MultiDisplayProvider/src/com/android/emulator/multidisplay/
DMultiDisplayServiceReceiver.java22 import android.content.Context;
30 public void onReceive(Context context, Intent intent) { in onReceive()
37 private boolean isMyServiceRunning(Context context) { in isMyServiceRunning()
38 … ActivityManager manager = (ActivityManager)context.getSystemService(Context.ACTIVITY_SERVICE); in isMyServiceRunning()
DMultiDisplayService.java19 import android.content.Context;
102 mDisplayManager = (DisplayManager)getSystemService(Context.DISPLAY_SERVICE); in onCreate()
/device/google/cuttlefish/guest/monitoring/cuttlefish_service/java/com/android/google/gce/gceservice/
DGceWifiManager.java18 import android.content.Context;
41 private final Context mContext;
49 public GceWifiManager(Context context, BootReporter bootReporter, JobExecutor executor) { in GceWifiManager()
53 mWifiManager = (WifiManager)context.getSystemService(Context.WIFI_SERVICE); in GceWifiManager()
54 mConnManager = (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE); in GceWifiManager()
DConnectivityChecker.java18 import android.content.Context;
32 private final Context mContext;
38 public ConnectivityChecker(Context context, BootReporter bootReporter) { in ConnectivityChecker()
47 …ConnectivityManager connManager = (ConnectivityManager) mContext.getSystemService(Context.CONNECTI… in execute()
DGceBroadcastReceiver.java20 import android.content.Context;
30 private void reportIntent(Context context, String intentType) { in reportIntent()
38 public void onReceive(Context context, Intent intent) { in onReceive()
DGceService.java23 import android.content.Context;
76 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); in onCreate()
/device/google/cuttlefish/tests/ril/src/com/android/cuttlefish/ril/tests/
DRilE2eTests.java18 import android.content.Context;
50 private Context mContext;
58 mWifiManager = (WifiManager)mContext.getSystemService(Context.WIFI_SERVICE); in setUp()
59 mConnManager = (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in setUp()
60 mTeleManager = (TelephonyManager)mContext.getSystemService(Context.TELEPHONY_SERVICE); in setUp()
/device/amlogic/yukawa/services/src/com/google/android/yukawaservice/
DRemoteSyncReceiver.java20 import android.content.Context;
36 private static void sendPairingIntent(Context context, KeyEvent event) { in sendPairingIntent()
48 public void onReceive(Context context, Intent intent) { in onReceive()
/device/sample/apps/tv/SetupCustomizationSample/app/src/main/java/com/google/android/tv/setup/customizationsample/
DPartnerReceiver.java4 import android.content.Context;
14 public void onReceive(Context context, Intent intent) { in onReceive()
/device/sample/apps/tv/SetupValidation/app/src/main/java/com/google/android/tv/setup/customizationsample/
DPartnerReceiver.java4 import android.content.Context;
14 public void onReceive(Context context, Intent intent) { in onReceive()
/device/sample/apps/upgrade/src/com/example/android/platform/upgrade/
DUpgrade.java21 import android.content.Context;
34 public void onReceive(Context context, Intent intent) { in onReceive()
/device/sample/apps/tv/LeanbackCustomizer/src/com/google/android/leanbacklauncher/partnercustomizer/
DPartnerReceiver.java23 import android.content.Context;
52 private Context mContext;
62 public void onReceive(Context context, Intent intent) { in onReceive()
66 mContext.getSystemService(Context.NOTIFICATION_SERVICE); in onReceive()
/device/google/cuttlefish/tests/wifi/src/com/android/cuttlefish/wifi/tests/
DWifiE2eTests.java18 import android.content.Context;
45 private Context mContext;
52 mWifiManager = (WifiManager)mContext.getSystemService(Context.WIFI_SERVICE); in setUp()
53 mConnManager = (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in setUp()
/device/google/atv/TvProvision/src/com/android/tv/provision/
DDefaultActivity.java21 import android.content.Context;
56 UserManager userManager = (UserManager) getSystemService(Context.USER_SERVICE); in isRestrictedUser()
/device/google/wahoo/sepolicy/vendor/
Dchre.te1 # This daemon loads the Context Hub Runtime Environment (CHRE) dynamic modules
/device/google/coral-sepolicy/vendor/qcom/common/
Dchre.te1 # This daemon loads the Context Hub Runtime Environment (CHRE) dynamic modules
/device/google/crosshatch-sepolicy/vendor/qcom/common/
Dchre.te1 # This daemon loads the Context Hub Runtime Environment (CHRE) dynamic modules
/device/google/bonito-sepolicy/vendor/qcom/common/
Dchre.te1 # This daemon loads the Context Hub Runtime Environment (CHRE) dynamic modules

12