Home
last modified time | relevance | path

Searched refs:mContext (Results 1 – 7 of 7) sorted by relevance

/device/sample/apps/tv/LeanbackCustomizer/src/com/google/android/leanbacklauncher/partnercustomizer/
DPartnerReceiver.java52 private Context mContext; field in PartnerReceiver
63 if (mContext == null) { in onReceive()
64 mContext = context; in onReceive()
66 mContext.getSystemService(Context.NOTIFICATION_SERVICE); in onReceive()
67 mPkgMan = mContext.getPackageManager(); in onReceive()
121 Notification.Builder bob = new Notification.Builder(mContext); in postNotification()
125 bob.setContentTitle(mContext.getString(titleId)) in postNotification()
127 .setLargeIcon(BitmapFactory.decodeResource(mContext.getResources(), resId)) in postNotification()
128 .setContentIntent(PendingIntent.getActivity(mContext, 0, intent, 0)) in postNotification()
132 .setColor(mContext.getResources().getColor(R.color.partner_color)) in postNotification()
/device/generic/goldfish-opengl/system/codecs/omx/avcdec/
DGoldfishAVCDec.cpp120 if (mContext) { in resetDecoder()
123 mContext->destroyH264Context(); in resetDecoder()
124 mContext.reset(nullptr); in resetDecoder()
133 mContext->flush(); in setFlushMode()
142 mContext.reset(new MediaH264Decoder(mRenderMode)); in initDecoder()
143 mContext->initH264Context(mWidth, in initDecoder()
159 if (mContext) { in deInitDecoder()
160 mContext->destroyH264Context(); in deInitDecoder()
161 mContext.reset(); in deInitDecoder()
234 while (mContext) { in readAndDiscardAllHostBuffers()
[all …]
DGoldfishAVCDec.h126 std::unique_ptr<MediaH264Decoder> mContext; member
/device/google/cuttlefish/tests/ril/src/com/android/cuttlefish/ril/tests/
DRilE2eTests.java50 private Context mContext; field in RilE2eTests
57 mContext = InstrumentationRegistry.getInstrumentation().getContext(); in setUp()
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/google/cuttlefish/guest/monitoring/cuttlefish_service/java/com/android/google/gce/gceservice/
DConnectivityChecker.java32 private final Context mContext; field in ConnectivityChecker
40 mContext = context; in ConnectivityChecker()
47 …ConnectivityManager connManager = (ConnectivityManager) mContext.getSystemService(Context.CONNECTI… in execute()
DGceWifiManager.java41 private final Context mContext; field in GceWifiManager
52 mContext = context; in GceWifiManager()
/device/google/cuttlefish/tests/wifi/src/com/android/cuttlefish/wifi/tests/
DWifiE2eTests.java45 private Context mContext; field in WifiE2eTests
51 mContext = InstrumentationRegistry.getInstrumentation().getContext(); in setUp()
52 mWifiManager = (WifiManager)mContext.getSystemService(Context.WIFI_SERVICE); in setUp()
53 mConnManager = (ConnectivityManager)mContext.getSystemService(Context.CONNECTIVITY_SERVICE); in setUp()