/device/sample/apps/tv/LeanbackWidget/src/com/google/android/leanbacklauncher/partnerwidget/ |
D | ClockWidgetProvider.java | 6 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/ |
D | Context.h | 35 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
|
D | AVDVirglRenderer.cpp | 102 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 …]
|
D | RenderControl.h | 23 struct Context; 26 RenderControl(Context* ctx_, EGLDisplay dpy_); 28 Context* ctx;
|
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/ |
D | BluetoothUtils.java | 24 import android.content.Context; 65 private static void setRemoteLabels(Context context) { in setRemoteLabels() 114 public static boolean isRemote(Context context, BluetoothDevice device) { in isRemote() 166 public static boolean isOfficialDevice(Context context, BluetoothDevice device) { in isOfficialDevice() 205 public static boolean isOfficialRemote(Context context, BluetoothDevice device) { in isOfficialRemote() 209 public static boolean isBtDeviceServiceUpdableRemote(Context context, BluetoothDevice device) { in isBtDeviceServiceUpdableRemote() 232 public static boolean supportBtDeviceServiceUpdate(Context context, BluetoothDevice device) { in supportBtDeviceServiceUpdate() 236 public static int getIcon(Context context, BluetoothDevice device) { in getIcon() 274 Context context, BluetoothDevice device, int metadataKey, int stringArrayResId) { in isBluetoothDeviceMetadataInList() 295 public static Class getBluetoothDeviceServiceClass(Context context) { in getBluetoothDeviceServiceClass() [all …]
|
D | Configuration.java | 19 import android.content.Context; 29 public static Configuration get(Context context) { in get() 39 private Configuration(Context context) { in Configuration()
|
D | PowerUtils.java | 19 import android.content.Context; 27 public static boolean isCecControlEnabled(Context context) { in isCecControlEnabled() 33 public static void enableCecControl(Context context, boolean enable) { in enableCecControl()
|
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/settings/ |
D | ConnectedDevicesPreferenceFragment.java | 22 import android.content.Context; 67 Preference create(Context context, BluetoothDeviceProvider provider, in create() 134 private static PreferenceCategory findOrCreateCategory(Context context, PreferenceGroup group, in findOrCreateCategory() 172 private static void updateBtDevicePreference(Context context, BluetoothDeviceProvider provider, in updateBtDevicePreference() 194 private static Preference createConnectedBtPreference(Context context, in createConnectedBtPreference() 218 private static Preference createPairedBtPreference(Context context, in createPairedBtPreference() 234 private int updateBtDevices(Context context, PreferenceCategory category, in updateBtDevices() 293 Context context = getContext(); in updatePairedDevices() 307 Context context = getContext(); in updateConnectedDevices() 323 protected static boolean isCecSettingsEnabled(Context context) { in isCecSettingsEnabled() [all …]
|
D | SlicesUtil.java | 19 import android.content.Context; 95 static void notifyToGoBack(Context context, Uri uri) { in notifyToGoBack() 104 public static boolean isFindMyRemoteButtonEnabled(Context context) { in isFindMyRemoteButtonEnabled() 109 static void setFindMyRemoteButtonEnabled(Context context, boolean enabled) { in setFindMyRemoteButtonEnabled()
|
D | SliceBroadcastReceiver.java | 36 import android.content.Context; 68 public void onReceive(Context context, Intent intent) { in onReceive() 125 public static PendingIntent updateSliceIntent(Context context, int requestCode, in updateSliceIntent() 134 public static PendingIntent backAndUpdateSliceIntent(Context context, int requestCode, in backAndUpdateSliceIntent()
|
/device/google/cuttlefish/guest/monitoring/cuttlefish_service/java/com/android/google/gce/gceservice/ |
D | GceWifiManager.java | 18 import android.content.Context; 41 private final Context mContext; 49 public GceWifiManager(Context context, EventReporter eventReporter, JobExecutor executor) { in GceWifiManager() 53 mWifiManager = (WifiManager)context.getSystemService(Context.WIFI_SERVICE); in GceWifiManager() 54 mConnManager = (ConnectivityManager)context.getSystemService(Context.CONNECTIVITY_SERVICE); in GceWifiManager()
|
D | ConnectivityChecker.java | 18 import android.content.Context; 34 private final Context mContext; 41 public ConnectivityChecker(Context context, EventReporter eventReporter) { in ConnectivityChecker() 50 …ConnectivityManager connManager = (ConnectivityManager) mContext.getSystemService(Context.CONNECTI… in execute()
|
D | GceBroadcastReceiver.java | 20 import android.content.Context; 30 private void reportIntent(Context context, String intentType) { in reportIntent() 38 public void onReceive(Context context, Intent intent) { in onReceive()
|
/device/google/cuttlefish/tests/ril/src/com/android/cuttlefish/ril/tests/ |
D | RilE2eTests.java | 20 import android.content.Context; 59 private Context mContext; 74 mWifiManager = (WifiManager)mContext.getSystemService(Context.WIFI_SERVICE); in setUp() 75 mConnManager = (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in setUp() 76 mTeleManager = (TelephonyManager)mContext.getSystemService(Context.TELEPHONY_SERVICE); in setUp()
|
/device/generic/goldfish/MultiDisplayProvider/src/com/android/emulator/multidisplay/ |
D | MultiDisplayServiceReceiver.java | 22 import android.content.Context; 30 public void onReceive(Context context, Intent intent) { in onReceive() 38 private boolean isMyServiceRunning(Context context) { in isMyServiceRunning() 39 … ActivityManager manager = (ActivityManager)context.getSystemService(Context.ACTIVITY_SERVICE); in isMyServiceRunning()
|
/device/google/atv/TvSampleLeanbackLauncher/src/main/java/com/example/sampleleanbacklauncher/apps/ |
D | NetworkLaunchItem.java | 19 import android.content.Context; 38 public NetworkLaunchItem(Context context, ResolveInfo info, SignalStrength signalStrength, in NetworkLaunchItem() 64 private static Drawable getEthernetDrawable(Context context, NetworkInfo networkInfo) { in getEthernetDrawable() 72 private static Drawable getWifiDrawable(Context context, NetworkInfo networkInfo, in getWifiDrawable() 94 private static Drawable getCellularDrawable(Context context, NetworkInfo networkInfo, in getCellularDrawable()
|
D | AppFragment.java | 24 import android.content.Context; 111 final Context context = getContext(); in onCreate() 113 mLaunchItemsServiceConnection, Context.BIND_AUTO_CREATE); in onCreate() 142 Context context = getContext(); in onDestroy() 335 public void onReceive(Context context, Intent intent) { 340 public ItemLoader(Context context, String rowType) { in ItemLoader() 364 mConnection, Context.BIND_AUTO_CREATE); in onStartLoading()
|
D | NotificationsLaunchItem.java | 3 import android.content.Context; 16 private final Context mContext; 19 public NotificationsLaunchItem(Context context) { in NotificationsLaunchItem()
|
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/pairing/ |
D | BluetoothScanner.java | 22 import android.content.Context; 72 public BluetoothScanner(Context context) { in BluetoothScanner() 91 private final Context context; 97 public Receiver(Context context) { in Receiver() 197 public void onReceive(Context context, Intent intent) { in onReceive()
|
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/remote/ |
D | RemoteProxy.java | 20 import android.content.Context; 159 protected RemoteProxy(Context context, BluetoothDevice device) { in RemoteProxy() 163 public abstract boolean initialize(Context context); in initialize() 181 public String mapBatteryLevel(Context context, int level) { in mapBatteryLevel()
|
/device/sample/apps/tv/LeanbackCustomizer/src/com/google/android/leanbacklauncher/partnercustomizer/ |
D | PartnerReceiver.java | 23 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/ |
D | WifiE2eTests.java | 18 import android.content.Context; 48 private Context mContext; 55 mWifiManager = (WifiManager)mContext.getSystemService(Context.WIFI_SERVICE); in setUp() 56 mConnManager = (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in setUp()
|
/device/google/atv/TvSampleLeanbackLauncher/src/main/java/com/example/sampleleanbacklauncher/notifications/ |
D | NotificationsUtils.java | 19 import android.content.Context; 27 static void dismissNotification(Context context, String key) { in dismissNotification() 35 static void openNotification(Context context, String key) { in openNotification()
|
/device/google/atv/MdnsOffloadManagerService/src/com/android/tv/mdnsoffloadmanager/ |
D | MdnsOffloadManagerService.java | 22 import android.content.Context; 96 private Context mContext = null; 99 void setContext(Context context) { in setContext() 189 explicitIntent, mVendorServiceConnection, Context.BIND_AUTO_CREATE); in bindVendorService() 406 public void onReceive(Context context, Intent intent) { in onReceive() 429 public void onReceive(Context context, Intent intent) { in onReceive()
|
/device/amlogic/yukawa/services/remotesyncreceiver/src/com/google/android/yukawaservice/ |
D | RemoteSyncReceiver.java | 20 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()
|