Home
last modified time | relevance | path

Searched refs:getContext (Results 1 – 20 of 20) sorted by relevance

/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/settings/
DConnectedDevicesSliceProvider.java122 getContext().getContentResolver().notifyChange(SlicesUtil.GENERAL_SLICE_URI,
130 getContext().getContentResolver().notifyChange(SlicesUtil.GENERAL_SLICE_URI, null); in onDeviceUpdated()
131 getContext().getContentResolver().notifyChange( in onDeviceUpdated()
141 getContext().getContentResolver().notifyChange( in updateVersionAndNotify()
149 return PowerUtils.isCecControlEnabled(getContext()); in isCecEnabled()
174 Context context = getContext(); in onSlicePinned()
193 Context context = getContext(); in onSliceUnpinned()
216 return getContext().getString(id); in getString()
237 final PendingIntent noOpIntent = PendingIntent.getActivity(getContext(), 0, in onCreatePermissionRequest()
244 PreferenceSliceBuilder psb = new PreferenceSliceBuilder(getContext(), sliceUri); in createGeneralSlice()
[all …]
DConnectedDevicesPreferenceFragment.java294 Context context = getContext(); in updatePairedDevices()
308 Context context = getContext(); in updateConnectedDevices()
396 mHandler.postDelayed(() -> updateAll(getPreferenceManager().getContext()), UPDATE_DELAY_MS); in onResume()
401 final Context preferenceContext = getPreferenceManager().getContext(); in onCreatePreferences()
407 … RestrictedLockUtilsInternal.checkIfRestrictionEnforced(getPreferenceManager().getContext(), in onCreatePreferences()
434 SettingsUtils.sendPairingIntent(getContext(), null); in onPreferenceTreeClick()
DBluetoothDevicePreferenceFragment.java119 final Context preferenceContext = getPreferenceManager().getContext(); in updateRemoteUpdate()
164 final Context preferenceContext = getPreferenceManager().getContext(); in updateReconnect()
264 Context context = getContext(); in onChoice()
348 final Context preferenceContext = getPreferenceManager().getContext(); in onCreatePreferences()
DCecPreferenceFragment.java42 final Context preferenceContext = getPreferenceManager().getContext(); in onCreatePreferences()
DBluetoothDeviceInfoPreference.java90 getContext().getString(R.string.settings_bt_battery_low); in update()
/device/google/atv/TvSampleLeanbackLauncher/src/main/java/com/example/sampleleanbacklauncher/apps/
DAppFragment.java111 final Context context = getContext(); in onCreate()
142 Context context = getContext(); in onDestroy()
214 Toast.makeText(getContext(), getString(R.string.app_unavailable), in onItemClicked()
281 final LayoutInflater inflater = LayoutInflater.from(parent.getContext()); in onCreateViewHolder()
316 return new ItemLoader(getContext(), mRowType); in onCreateLoader()
365 getContext().bindService(new Intent(getContext(), LaunchItemsManager.class), in onStartLoading()
373 LocalBroadcastManager.getInstance(getContext()).registerReceiver(mReceiver, in startListening()
377 LocalBroadcastManager.getInstance(getContext()).registerReceiver(mReceiver, in startListening()
381 LocalBroadcastManager.getInstance(getContext()).registerReceiver(mReceiver, in startListening()
390 LocalBroadcastManager.getInstance(getContext()) in stopListening()
[all …]
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/pairing/
DBluetoothScannerFragment.java97 Context preferenceContext = getPreferenceManager().getContext(); in onCreatePreferences()
223 return getContext() != null; in isFragmentActive()
249 pref.setIcon(BluetoothUtils.getIcon(getContext(), device)); in addUpdateDevice()
261 Preference pref = new Preference(getContext()); in createBluetoothDevicePreference()
265 pref.setIcon(BluetoothUtils.getIcon(getContext(), device)); in createBluetoothDevicePreference()
291 mEmptyTextPreference = new Preference(getContext()); in getEmptyTextPreference()
/device/generic/vulkan-cereal/stream-servers/gl/glestranslator/EGL/
DEglDisplay.h91 auto dispContext = getContext(ctx); in getNativeContext()
125 ContextPtr getContext(EGLContext ctx) const;
DEglContext.cpp105 if (currentCtx && !m_dpy->getContext((EGLContext)SafePointerFromUInt( in ~EglContext()
DEglDisplay.cpp381 ContextPtr EglDisplay::getContext(EGLContext ctx) const { in getContext() function in EglDisplay
392 auto lctx = getContext(ctx); in getLowLevelContext()
DEglImp.cpp242 ContextPtr ctx = dpy->getContext(EGLContext); \
1008 ContextPtr sharedCtxPtr = dpy->getContext(share_context); in eglCreateOrLoadContext()
1274 if(dpy->getContext(c).get()) in eglGetCurrentContext()
/device/google/atv/TvSampleLeanbackLauncher/src/main/java/com/example/sampleleanbacklauncher/notifications/
DNotificationPanelDismissibleItemView.java107 setBackgroundColor(getContext().getColor(R.color.notification_selection_color)); in onFinishInflate()
108 NotificationsUtils.dismissNotification(getContext(), mNotificationKey); in onFinishInflate()
DNotificationPanelItemView.java73 Configuration config = getContext().getResources().getConfiguration(); in initializeLayoutValues()
125 NotificationsUtils.openNotification(view.getContext(), mNotificationKey); in onFinishInflate()
DNotificationsPanelAdapter.java66 LayoutInflater inflater = LayoutInflater.from(parent.getContext()); in onCreateViewHolder()
/device/google/atv/FrameworkPackageStubs/src/com/android/browser/provider/
DSQLiteContentProvider.java55 Context context = getContext(); in onCreate()
240 ContentResolver resolver = getContext().getContentResolver(); in onEndTransaction()
DBrowserProvider2.java674 cursor.setNotificationUri(getContext().getContentResolver(), in query()
780 cursor.setNotificationUri(getContext().getContentResolver(), BrowserContract.AUTHORITY_URI); in query()
/device/amlogic/yukawa/services/micmuteprovider/src/com/google/android/tv/hotword/
DHotwordMicToggleProvider.java78 mAudioManager = (AudioManager) getContext().getSystemService(AudioManager.class); in onCreate()
/device/google/atv/TvSampleLeanbackLauncher/src/main/java/com/example/sampleleanbacklauncher/search/
DSearchFragment.java104 Toast.makeText(getContext(), getString(R.string.app_unavailable), in onClick()
/device/generic/vulkan-cereal/stream-servers/
DFrameBuffer.h472 EGLContext getContext() const;
DFrameBuffer.cpp2922 if (getContext() != EGL_NO_CONTEXT) { in onSave()
2923 s_egl.eglPostSaveContext(getDisplay(), getContext(), stream); in onSave()
3492 EGLContext FrameBuffer::getContext() const { in getContext() function in gfxstream::FrameBuffer