Home
last modified time | relevance | path

Searched refs:opPackageName (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/opt/net/voip/src/java/android/net/sip/
DISipService.aidl28 void open(in SipProfile localProfile, String opPackageName); in open() argument
31 in ISipSessionListener listener, String opPackageName); in open3() argument
32 void close(in String localProfileUri, String opPackageName); in close() argument
33 boolean isOpened(String localProfileUri, String opPackageName); in isOpened() argument
34 boolean isRegistered(String localProfileUri, String opPackageName); in isRegistered() argument
36 ISipSessionListener listener, String opPackageName); in setRegistrationListener() argument
39 in ISipSessionListener listener, String opPackageName); in createSession() argument
40 ISipSession getPendingSession(String callId, String opPackageName); in getPendingSession() argument
42 SipProfile[] getListOfProfiles(String opPackageName); in getListOfProfiles() argument
/frameworks/native/libs/gui/
DISensorServer.cpp52 virtual Vector<Sensor> getSensorList(const String16& opPackageName) in getSensorList() argument
56 data.writeString16(opPackageName); in getSensorList()
69 virtual Vector<Sensor> getDynamicSensorList(const String16& opPackageName) in getDynamicSensorList() argument
73 data.writeString16(opPackageName); in getDynamicSensorList()
87 int mode, const String16& opPackageName) in createSensorEventConnection() argument
93 data.writeString16(opPackageName); in createSensorEventConnection()
120 const String16& opPackageName = data.readString16(); in onTransact() local
121 Vector<Sensor> v(getSensorList(opPackageName)); in onTransact()
133 const String16& opPackageName = data.readString16(); in onTransact() local
135 opPackageName)); in onTransact()
[all …]
DSensorManager.cpp51 String16 opPackageName = packageName; in getInstanceForPackage() local
59 if (opPackageName.size() <= 0) { in getInstanceForPackage()
66 opPackageName = packages[0]; in getInstanceForPackage()
75 sensorManager = new SensorManager(opPackageName); in getInstanceForPackage()
85 sPackageInstances.insert(std::make_pair(opPackageName, sensorManager)); in getInstanceForPackage()
91 SensorManager::SensorManager(const String16& opPackageName) in SensorManager() argument
92 : mSensorList(0), mOpPackageName(opPackageName) { in SensorManager()
/frameworks/base/core/java/android/hardware/fingerprint/
DIFingerprintService.aidl31 IFingerprintServiceReceiver receiver, int flags, String opPackageName); in authenticate() argument
34 void cancelAuthentication(IBinder token, String opPackageName); in cancelAuthentication() argument
38 int flags, String opPackageName); in enroll() argument
51 List<Fingerprint> getEnrolledFingerprints(int groupId, String opPackageName); in getEnrolledFingerprints() argument
54 boolean isHardwareDetected(long deviceId, String opPackageName); in isHardwareDetected() argument
63 boolean hasEnrolledFingerprints(int groupId, String opPackageName); in hasEnrolledFingerprints() argument
72 long getAuthenticatorId(String opPackageName); in getAuthenticatorId() argument
/frameworks/base/services/core/java/com/android/server/fingerprint/
DFingerprintService.java449 private boolean canUseFingerprint(String opPackageName, boolean foregroundOnly, int uid, in canUseFingerprint() argument
452 if (isKeyguard(opPackageName)) { in canUseFingerprint()
456 Slog.w(TAG,"Rejecting " + opPackageName + " ; not a current user or profile"); in canUseFingerprint()
459 if (mAppOps.noteOp(AppOpsManager.OP_USE_FINGERPRINT, uid, opPackageName) in canUseFingerprint()
461 Slog.w(TAG, "Rejecting " + opPackageName + " ; permission denied"); in canUseFingerprint()
465 Slog.w(TAG, "Rejecting " + opPackageName + " ; not in foreground"); in canUseFingerprint()
498 String opPackageName) { in startAuthentication() argument
499 updateActiveGroup(groupId, opPackageName); in startAuthentication()
501 if (DEBUG) Slog.v(TAG, "startAuthentication(" + opPackageName + ")"); in startAuthentication()
504 receiver, callingUserId, groupId, opId, restricted, opPackageName) { in startAuthentication()
[all …]
/frameworks/base/location/java/android/location/
DILocationManager.aidl83 void addTestProvider(String name, in ProviderProperties properties, String opPackageName); in addTestProvider() argument
84 void removeTestProvider(String provider, String opPackageName); in removeTestProvider() argument
85 void setTestProviderLocation(String provider, in Location loc, String opPackageName); in setTestProviderLocation() argument
86 void clearTestProviderLocation(String provider, String opPackageName); in clearTestProviderLocation() argument
87 void setTestProviderEnabled(String provider, boolean enabled, String opPackageName); in setTestProviderEnabled() argument
88 void clearTestProviderEnabled(String provider, String opPackageName); in clearTestProviderEnabled() argument
90 String opPackageName); in setTestProviderStatus() argument
91 void clearTestProviderStatus(String provider, String opPackageName); in clearTestProviderStatus() argument
/frameworks/native/services/sensorservice/
DSensorService.h76 const String16& opPackageName);
81 const String16& opPackageName);
84 const String16& opPackageName);
151 virtual Vector<Sensor> getSensorList(const String16& opPackageName);
152 virtual Vector<Sensor> getDynamicSensorList(const String16& opPackageName);
155 int requestedMode, const String16& opPackageName);
175 const String16& opPackageName);
DSensorService.cpp852 Vector<Sensor> SensorService::getSensorList(const String16& opPackageName) { in getSensorList() argument
860 if (canAccessSensor(sensor, "getSensorList", opPackageName)) { in getSensorList()
873 Vector<Sensor> SensorService::getDynamicSensorList(const String16& opPackageName) { in getDynamicSensorList() argument
876 [&opPackageName, &accessibleSensorList] (const Sensor& sensor) -> bool { in getDynamicSensorList()
878 if (canAccessSensor(sensor, "getDynamicSensorList", opPackageName)) { in getDynamicSensorList()
894 int requestedMode, const String16& opPackageName) { in createSensorEventConnection() argument
910 requestedMode == DATA_INJECTION, opPackageName)); in createSensorEventConnection()
988 const String16& opPackageName) { in enable() argument
994 !canAccessSensor(sensor->getSensor(), "Tried enabling", opPackageName)) { in enable()
1172 int handle, nsecs_t ns, const String16& opPackageName) { in setEventRate() argument
[all …]
/frameworks/base/media/java/android/media/
DRemoteDisplay.java44 private native long nativeListen(String iface, String opPackageName); in nativeListen() argument
49 private RemoteDisplay(Listener listener, Handler handler, String opPackageName) { in RemoteDisplay() argument
52 mOpPackageName = opPackageName; in RemoteDisplay()
72 String opPackageName) { in listen() argument
83 RemoteDisplay display = new RemoteDisplay(listener, handler, opPackageName); in listen()
/frameworks/av/media/libmedia/
DIMediaPlayerService.cpp77 virtual sp<IMediaRecorder> createMediaRecorder(const String16 &opPackageName) in createMediaRecorder() argument
81 data.writeString16(opPackageName); in createMediaRecorder()
114 virtual sp<IRemoteDisplay> listenForRemoteDisplay(const String16 &opPackageName, in listenForRemoteDisplay() argument
119 data.writeString16(opPackageName); in listenForRemoteDisplay()
153 const String16 opPackageName = data.readString16(); in onTransact() local
154 sp<IMediaRecorder> recorder = createMediaRecorder(opPackageName); in onTransact()
190 const String16 opPackageName = data.readString16(); in onTransact() local
198 sp<IRemoteDisplay> display(listenForRemoteDisplay(opPackageName, client, iface)); in onTransact()
DAudioEffect.cpp38 AudioEffect::AudioEffect(const String16& opPackageName) in AudioEffect() argument
39 : mStatus(NO_INIT), mOpPackageName(opPackageName) in AudioEffect()
45 const String16& opPackageName, in AudioEffect() argument
53 : mStatus(NO_INIT), mOpPackageName(opPackageName) in AudioEffect()
59 const String16& opPackageName, in AudioEffect() argument
67 : mStatus(NO_INIT), mOpPackageName(opPackageName) in AudioEffect()
/frameworks/base/core/java/android/accounts/
DIAccountManager.aidl33 Account[] getAccounts(String accountType, String opPackageName); in getAccounts() argument
34 Account[] getAccountsForPackage(String packageName, int uid, String opPackageName); in getAccountsForPackage() argument
35 Account[] getAccountsByTypeForPackage(String type, String packageName, String opPackageName); in getAccountsByTypeForPackage() argument
36 Account[] getAccountsAsUser(String accountType, int userId, String opPackageName); in getAccountsAsUser() argument
38 String opPackageName); in hasFeatures() argument
40 in String[] features, String opPackageName); in getAccountsByFeatures() argument
/frameworks/native/include/gui/
DISensorServer.h40 virtual Vector<Sensor> getSensorList(const String16& opPackageName) = 0;
41 virtual Vector<Sensor> getDynamicSensorList(const String16& opPackageName) = 0;
44 int mode, const String16& opPackageName) = 0;
/frameworks/av/camera/aidl/android/hardware/
DICameraService.aidl78 String opPackageName, in connect() argument
87 String opPackageName, in connectDevice() argument
101 String opPackageName, in connectLegacy() argument
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipService.java131 public synchronized SipProfile[] getListOfProfiles(String opPackageName) { in getListOfProfiles() argument
132 if (!canUseSip(opPackageName, "getListOfProfiles")) { in getListOfProfiles()
146 public synchronized void open(SipProfile localProfile, String opPackageName) { in open() argument
147 if (!canUseSip(opPackageName, "open")) { in open()
163 String opPackageName) { in open3() argument
164 if (!canUseSip(opPackageName, "open3")) { in open3()
202 public synchronized void close(String localProfileUri, String opPackageName) { in close() argument
203 if (!canUseSip(opPackageName, "close")) { in close()
221 public synchronized boolean isOpened(String localProfileUri, String opPackageName) { in isOpened() argument
222 if (!canUseSip(opPackageName, "isOpened")) { in isOpened()
[all …]
/frameworks/av/media/libmediaplayerservice/
DRemoteDisplay.cpp29 const String16 &opPackageName, in RemoteDisplay() argument
36 mSource = new WifiDisplaySource(opPackageName, mNetSession, client); in RemoteDisplay()
DRemoteDisplay.h36 const String16 &opPackageName,
/frameworks/av/include/media/
DIMediaPlayerService.h48 virtual sp<IMediaRecorder> createMediaRecorder(const String16 &opPackageName) = 0;
63 virtual sp<IRemoteDisplay> listenForRemoteDisplay(const String16 &opPackageName,
DAudioEffect.h209 AudioEffect(const String16& opPackageName);
235 const String16& opPackageName,
248 const String16& opPackageName,
DMediaRecorderBase.h33 MediaRecorderBase(const String16 &opPackageName) in MediaRecorderBase()
34 : mOpPackageName(opPackageName) {} in MediaRecorderBase()
DAudioRecord.h139 AudioRecord(const String16& opPackageName);
175 const String16& opPackageName,
543 status_t openRecord_l(const Modulo<uint32_t> &epoch, const String16& opPackageName);
/frameworks/av/services/audioflinger/
DServiceUtilities.cpp51 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid) { in recordingAllowed() argument
69 String16 checkedOpPackageName = opPackageName; in recordingAllowed()
DServiceUtilities.h23 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid);
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java2463 private boolean canCallerAccessMockLocation(String opPackageName) { in canCallerAccessMockLocation() argument
2465 opPackageName) == AppOpsManager.MODE_ALLOWED; in canCallerAccessMockLocation()
2469 public void addTestProvider(String name, ProviderProperties properties, String opPackageName) { in addTestProvider() argument
2470 if (!canCallerAccessMockLocation(opPackageName)) { in addTestProvider()
2507 public void removeTestProvider(String provider, String opPackageName) { in removeTestProvider() argument
2508 if (!canCallerAccessMockLocation(opPackageName)) { in removeTestProvider()
2516 clearTestProviderEnabled(provider, opPackageName); in removeTestProvider()
2517 clearTestProviderLocation(provider, opPackageName); in removeTestProvider()
2518 clearTestProviderStatus(provider, opPackageName); in removeTestProvider()
2540 public void setTestProviderLocation(String provider, Location loc, String opPackageName) { in setTestProviderLocation() argument
[all …]
/frameworks/base/core/jni/
Dandroid_media_RemoteDisplay.cpp140 ScopedUtfChars opPackageName(env, opPackageNameStr); in nativeListen() local
151 sp<IRemoteDisplay> display = service->listenForRemoteDisplay(String16(opPackageName.c_str()), in nativeListen()

123