Home
last modified time | relevance | path

Searched refs:GpsNetInitiatedHandler (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DNetInitiatedActivity.java33 import com.android.internal.location.GpsNetInitiatedHandler;
61 if (intent.getAction() == GpsNetInitiatedHandler.ACTION_NI_VERIFY) {
91 p.mTitle = intent.getStringExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_TITLE); in onCreate()
92 p.mMessage = intent.getStringExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_MESSAGE); in onCreate()
98 notificationId = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_NOTIF_ID, -1); in onCreate()
99 …timeout = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_TIMEOUT, default_response_timeou… in onCreate()
100 …default_response = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_DEFAULT_RESPONSE, GpsNe… in onCreate()
111 …registerReceiver(mNetInitiatedReceiver, new IntentFilter(GpsNetInitiatedHandler.ACTION_NI_VERIFY)); in onResume()
126 sendUserResponse(GpsNetInitiatedHandler.GPS_NI_RESPONSE_ACCEPT); in onClick()
129 sendUserResponse(GpsNetInitiatedHandler.GPS_NI_RESPONSE_DENY); in onClick()
[all …]
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java39 public class GpsNetInitiatedHandler { class
129 public GpsNetInitiatedHandler(Context context) { in GpsNetInitiatedHandler() method in GpsNetInitiatedHandler
/frameworks/base/services/java/com/android/server/location/
DGpsLocationProvider.java60 import com.android.internal.location.GpsNetInitiatedHandler;
61 import com.android.internal.location.GpsNetInitiatedHandler.GpsNiNotification;
264 private final GpsNetInitiatedHandler mNIHandler;
383 mNIHandler = new GpsNetInitiatedHandler(context); in GpsLocationProvider()
1412 notification.needNotify = (notifyFlags & GpsNetInitiatedHandler.GPS_NI_NEED_NOTIFY) != 0; in reportNiNotification()
1413 notification.needVerify = (notifyFlags & GpsNetInitiatedHandler.GPS_NI_NEED_VERIFY) != 0; in reportNiNotification()
1414 …notification.privacyOverride = (notifyFlags & GpsNetInitiatedHandler.GPS_NI_PRIVACY_OVERRIDE) != 0; in reportNiNotification()
/frameworks/base/services/java/com/android/server/
DLocationManagerService.java62 import com.android.internal.location.GpsNetInitiatedHandler;