Home
last modified time | relevance | path

Searched defs:context (Results 1 – 25 of 99) sorted by relevance

1234

/device/sample/apps/tv/LeanbackWidget/src/com/google/android/leanbacklauncher/partnerwidget/
DClockWidgetProvider.java21 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()
85 private static void writeConnectivity(Context context, boolean inetConnected) { in writeConnectivity()
90 private static boolean readConnectivity(Context context) { in readConnectivity()
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/
DBluetoothUtils.java65 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()
305 public static LocalBluetoothManager getLocalBluetoothManager(Context context) { in getLocalBluetoothManager()
[all …]
DConfiguration.java29 public static Configuration get(Context context) { in get()
39 private Configuration(Context context) { in Configuration()
DPowerUtils.java27 public static boolean isCecControlEnabled(Context context) { in isCecControlEnabled()
33 public static void enableCecControl(Context context, boolean enable) { in enableCecControl()
DSettingsUtils.java43 public static void sendPairingIntent(Context context, KeyEvent event) { in sendPairingIntent()
59 public static Map<String, String> getAudioManagerParameter(Context context, String param) { in getAudioManagerParameter()
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/settings/
DConnectedDevicesPreferenceFragment.java67 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() local
307 Context context = getContext(); in updateConnectedDevices() local
323 protected static boolean isCecSettingsEnabled(Context context) { in isCecSettingsEnabled()
327 protected static boolean isAxelSettingsEnabled(Context context) { in isAxelSettingsEnabled()
[all …]
DConnectedDevicesSliceProvider.java187 Context context = getContext(); in onSlicePinned() local
206 Context context = getContext(); in onSliceUnpinned() local
444 Context context = getContext(); in createBluetoothDeviceSlice() local
680 Context context = getContext(); in createCecSlice() local
707 Context context = getContext(); in createFindMyRemoteSlice() local
767 Context context, BluetoothDeviceProvider provider, BluetoothDevice device) { in createBtDeviceSlicePreference()
787 private static void updateBtDevicePreference(Context context, BluetoothDeviceProvider provider, in updateBtDevicePreference()
829 private boolean showDisconnectButton(BluetoothDevice device, Context context) { in showDisconnectButton()
DSliceBroadcastReceiver.java68 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()
DSlicesUtil.java95 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()
/device/google/sunfish/vibrator/common/
DHardwareBase.cpp97 struct context { in debug() struct
98 HwCalBase *obj; in debug()
99 int fd; in debug()
100 } context{this, fd}; in debug() local
106 struct context *context = static_cast<struct context *>(cookie); in debug() local
/device/google/atv/TvSampleLeanbackLauncher/src/main/java/com/example/sampleleanbacklauncher/apps/
DNetworkLaunchItem.java38 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()
DLaunchItem.java36 LaunchItem(Context context, Intent intent, Drawable icon, CharSequence label) { in LaunchItem()
46 LaunchItem(Context context, ResolveInfo info, long priority) { in LaunchItem()
/device/google/felix/vibrator/common/
DHardwareBase.cpp115 struct context { in debug() struct
116 HwCalBase *obj; in debug()
117 int fd; in debug()
118 } context{this, fd}; in debug() local
124 struct context *context = static_cast<struct context *>(cookie); in debug() local
/device/google/cuttlefish/host/commands/control_env_proxy_server/
Dmain.cpp58 Status CallUnaryMethod(ServerContext* context, in CallUnaryMethod()
74 Status ListServices(ServerContext* context, const Empty* request, in ListServices()
100 Status ListMethods(ServerContext* context, const ListMethodsRequest* request, in ListMethods()
126 Status ListReqResType(ServerContext* context, in ListReqResType()
151 Status TypeInformation(ServerContext* context, in TypeInformation()
/device/google/trout/tools/tracing/server/
DTracingServerImpl.cpp55 grpc::Status TracingServerImpl::StartTracing(::grpc::ServerContext* context, in StartTracing()
65 ::grpc::ServerContext* context, in StopTracing()
74 ::grpc::ServerContext* context, in GetTracingFile()
/device/generic/goldfish/MultiDisplayProvider/src/com/android/emulator/multidisplay/
DMultiDisplayServiceReceiver.java30 public void onReceive(Context context, Intent intent) { in onReceive()
38 private boolean isMyServiceRunning(Context context) { in isMyServiceRunning()
/device/google/atv/TvSampleLeanbackLauncher/src/main/java/com/example/sampleleanbacklauncher/notifications/
DNotificationsUtils.java27 static void dismissNotification(Context context, String key) { in dismissNotification()
35 static void openNotification(Context context, String key) { in openNotification()
DNotificationPanelDismissibleItemView.java43 public NotificationPanelDismissibleItemView(Context context) { in NotificationPanelDismissibleItemView()
48 public NotificationPanelDismissibleItemView(Context context, AttributeSet attrs) { in NotificationPanelDismissibleItemView()
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/pairing/
DBluetoothScanner.java72 public BluetoothScanner(Context context) { in BluetoothScanner()
91 private final Context context; field in BluetoothScanner.Receiver
97 public Receiver(Context context) { in Receiver()
197 public void onReceive(Context context, Intent intent) { in onReceive()
/device/google/cuttlefish/guest/monitoring/cuttlefish_service/java/com/android/google/gce/gceservice/
DGceBroadcastReceiver.java30 private void reportIntent(Context context, String intentType) { in reportIntent()
38 public void onReceive(Context context, Intent intent) { in onReceive()
/device/amlogic/yukawa/services/remotesyncreceiver/src/com/google/android/yukawaservice/
DRemoteSyncReceiver.java36 private static void sendPairingIntent(Context context, KeyEvent event) { in sendPairingIntent()
48 public void onReceive(Context context, Intent intent) { in onReceive()
/device/google/cuttlefish/host/commands/secure_env/
Din_process_tpm.cpp55 static Impl* FromContext(TSS2_TCTI_CONTEXT* context) { in FromContext()
62 TSS2_TCTI_CONTEXT *context, size_t size, uint8_t const *command) { in Transmit()
70 TSS2_TCTI_CONTEXT *context, in Receive()
/device/google/trout/hal/vehicle/2.0/
DGrpcVehicleServer.cpp228 ::grpc::ServerContext* context, const ::google::protobuf::Empty* request, in GetAllPropertyConfig()
243 ::grpc::ServerContext* context, const vhal_proto::WrappedVehiclePropValue* wrappedPropValue, in SetProperty()
259 ::grpc::ServerContext* context, const ::google::protobuf::Empty*, in SendAllPropertyValuesToStream()
266 ::grpc::ServerContext* context, const ::google::protobuf::Empty* request, in StartPropertyValuesStream()
/device/generic/car/emulator/audio/driver/
Dext_pcm.c62 static bool mixer_thread_mix(__unused void *key, void *value, void *context) { in mixer_thread_mix()
76 static void *mixer_thread_loop(void *context) { in mixer_thread_loop()
157 static bool mixer_free_pipeline(__unused void *key, void *value, void *context) { in mixer_free_pipeline()
/device/google/cuttlefish/host/commands/screen_recording_server/
Dmain.cpp51 Status StartRecording(ServerContext* context, const Empty* request, in StartRecording()
61 Status StopRecording(ServerContext* context, const Empty* request, in StopRecording()

1234