Home
last modified time | relevance | path

Searched refs:activityReference (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc/examples/android/helloworld/app/src/main/java/io/grpc/helloworldexample/cpp/
DHelloworldActivity.java107 private final WeakReference<HelloworldActivity> activityReference; field in HelloworldActivity.RunServerTask
110 this.activityReference = new WeakReference<HelloworldActivity>(activity); in RunServerTask()
116 HelloworldActivity activity = activityReference.get(); in doInBackground()
125 private final WeakReference<HelloworldActivity> activityReference; field in HelloworldActivity.GrpcTask
128 this.activityReference = new WeakReference<HelloworldActivity>(activity); in GrpcTask()
142 HelloworldActivity activity = activityReference.get(); in onPostExecute()
/external/grpc-grpc/src/android/test/interop/app/src/main/java/io/grpc/interop/cpp/
DInteropActivity.java77 private final WeakReference<InteropActivity> activityReference; field in InteropActivity.GrpcTask
80 this.activityReference = new WeakReference<InteropActivity>(activity); in GrpcTask()
98 InteropActivity activity = activityReference.get(); in onPostExecute()
/external/grpc-grpc-java/examples/android/helloworld/app/src/main/java/io/grpc/helloworldexample/
DHelloworldActivity.java73 private final WeakReference<Activity> activityReference; field in HelloworldActivity.GrpcTask
77 this.activityReference = new WeakReference<Activity>(activity); in GrpcTask()
108 Activity activity = activityReference.get(); in onPostExecute()
/external/grpc-grpc-java/examples/android/clientcache/app/src/main/java/io/grpc/clientcacheexample/
DClientCacheExampleActivity.java94 private final WeakReference<Activity> activityReference; field in ClientCacheExampleActivity.GrpcTask
99 this.activityReference = new WeakReference<Activity>(activity); in GrpcTask()
159 Activity activity = activityReference.get(); in onPostExecute()
/external/grpc-grpc-java/examples/example-kotlin/android/helloworld/app/src/main/kotlin/io/grpc/helloworldexample/
DHelloworldActivity.kt61 private val activityReference: WeakReference<Activity> = WeakReference(activity) constant in io.grpc.helloworldexample.HelloworldActivity
92 val activity = activityReference.get() ?: return in onPostExecute()
/external/grpc-grpc-java/examples/android/routeguide/app/src/main/java/io/grpc/routeguideexample/
DRouteGuideActivity.java144 private final WeakReference<RouteGuideActivity> activityReference; field in RouteGuideActivity.GrpcTask
149 this.activityReference = new WeakReference<RouteGuideActivity>(activity); in GrpcTask()
170 RouteGuideActivity activity = activityReference.get(); in onPostExecute()