summaryrefslogtreecommitdiff
path: root/location/location_interface.h
diff options
context:
space:
mode:
authorMike Cailean <mcailean@codeaurora.org>2019-02-11 09:11:09 -0800
committerMike Cailean <mcailean@codeaurora.org>2019-03-21 14:57:28 -0700
commitb046241ec2fdc9a48e99face1794046488a8cabe (patch)
treeccbe677775add604af707618bd76ec5d51e5afc5 /location/location_interface.h
parent1839fb1140242da10a6a599e65a7b79836007517 (diff)
downloadgps-b046241ec2fdc9a48e99face1794046488a8cabe.tar.gz
Improved Location NI Privacy
Changes to be made starting in Android Q in the way that Location requests made by Location clients other than the Android FrameWork (e.g. Network Initiated AGNSS clients, modem-based clients such as MDT) are handled CRs-fixed: 2397454 Change-Id: Ibb5b9429a1ec1e14ee59d89763d8a78607997615
Diffstat (limited to 'location/location_interface.h')
-rw-r--r--location/location_interface.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/location/location_interface.h b/location/location_interface.h
index 480bbdb..47dda87 100644
--- a/location/location_interface.h
+++ b/location/location_interface.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2017 The Linux Foundation. All rights reserved.
+/* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -82,6 +82,9 @@ struct GnssInterface {
void (*blockCPI)(double latitude, double longitude, float accuracy,
int blockDurationMsec, double latLonDiffThreshold);
void (*getGnssEnergyConsumed)(GnssEnergyConsumedCallback energyConsumedCb);
+ void (*enableNfwLocationAccess)(bool enable);
+ void (*nfwInit)(const NfwCbInfo& cbInfo);
+ uint8_t (*getGpsLock)();
};
struct FlpInterface {