Home
last modified time | relevance | path

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

12345

/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/base/core/java/android/hardware/face/
DIFaceService.aidl31 IFaceServiceReceiver receiver, int flags, String opPackageName); in authenticate() argument
39 int userId, IBiometricServiceReceiverInternal wrapperReceiver, String opPackageName, in prepareForAuthentication() argument
46 void cancelAuthentication(IBinder token, String opPackageName); in cancelAuthentication() argument
49 void cancelAuthenticationFromService(IBinder token, String opPackageName, in cancelAuthenticationFromService() argument
54 String opPackageName, in int [] disabledFeatures); in enroll() argument
66 List<Face> getEnrolledFaces(int userId, String opPackageName); in getEnrolledFaces() argument
69 boolean isHardwareDetected(long deviceId, String opPackageName); in isHardwareDetected() argument
78 boolean hasEnrolledFaces(int userId, String opPackageName); in hasEnrolledFaces() argument
87 long getAuthenticatorId(String opPackageName); in getAuthenticatorId() argument
/frameworks/base/core/java/android/hardware/fingerprint/
DIFingerprintService.aidl34 IFingerprintServiceReceiver receiver, int flags, String opPackageName); in authenticate() argument
42 IBiometricServiceReceiverInternal wrapperReceiver, String opPackageName, int cookie, in prepareForAuthentication() argument
49 void cancelAuthentication(IBinder token, String opPackageName); in cancelAuthentication() argument
53 void cancelAuthenticationFromService(IBinder token, String opPackageName, in cancelAuthenticationFromService() argument
58 int flags, String opPackageName); in enroll() argument
71 List<Fingerprint> getEnrolledFingerprints(int groupId, String opPackageName); in getEnrolledFingerprints() argument
74 boolean isHardwareDetected(long deviceId, String opPackageName); in isHardwareDetected() argument
83 boolean hasEnrolledFingerprints(int groupId, String opPackageName); in hasEnrolledFingerprints() argument
92 long getAuthenticatorId(String opPackageName); in getAuthenticatorId() argument
/frameworks/native/libs/sensor/
DISensorServer.cpp57 virtual Vector<Sensor> getSensorList(const String16& opPackageName) in getSensorList() argument
61 data.writeString16(opPackageName); in getSensorList()
75 virtual Vector<Sensor> getDynamicSensorList(const String16& opPackageName) in getDynamicSensorList() argument
79 data.writeString16(opPackageName); in getDynamicSensorList()
94 int mode, const String16& opPackageName) in createSensorEventConnection() argument
100 data.writeString16(opPackageName); in createSensorEventConnection()
112 virtual sp<ISensorEventConnection> createSensorDirectConnection(const String16& opPackageName, in createSensorDirectConnection() argument
116 data.writeString16(opPackageName); in createSensorDirectConnection()
159 const String16& opPackageName = data.readString16(); in onTransact() local
160 Vector<Sensor> v(getSensorList(opPackageName)); in onTransact()
[all …]
DSensorManager.cpp55 String16 opPackageName = packageName; in getInstanceForPackage() local
63 if (opPackageName.size() <= 0) { in getInstanceForPackage()
70 opPackageName = packages[0]; in getInstanceForPackage()
79 sensorManager = new SensorManager(opPackageName); in getInstanceForPackage()
89 sPackageInstances.insert(std::make_pair(opPackageName, sensorManager)); in getInstanceForPackage()
95 SensorManager::SensorManager(const String16& opPackageName) in SensorManager() argument
96 : mSensorList(nullptr), mOpPackageName(opPackageName), mDirectConnectionHandle(1) { in SensorManager()
/frameworks/av/soundtrigger/
DISoundTriggerHwService.cpp53 virtual status_t listModules(const String16& opPackageName, in listModules() argument
62 data.writeString16(opPackageName); in listModules()
82 virtual status_t attach(const String16& opPackageName, in attach() argument
89 data.writeString16(opPackageName); in attach()
127 String16 opPackageName; in onTransact() local
128 status_t status = data.readString16(&opPackageName); in onTransact()
145 status = listModules(opPackageName, modules, &numModules); in onTransact()
163 String16 opPackageName; in onTransact() local
164 status_t status = data.readString16(&opPackageName); in onTransact()
173 status = attach(opPackageName, handle, client, module); in onTransact()
/frameworks/av/media/utils/
DServiceUtilities.cpp42 const String16& opPackageName, uid_t uid) { in resolveCallingPackage() argument
43 if (opPackageName.size() > 0) { in resolveCallingPackage()
44 return opPackageName; in resolveCallingPackage()
57 return opPackageName; // empty string in resolveCallingPackage()
62 static bool checkRecordingInternal(const String16& opPackageName, pid_t pid, in checkRecordingInternal() argument
79 permissionController, opPackageName, uid); in checkRecordingInternal()
102 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid) { in recordingAllowed() argument
103 return checkRecordingInternal(opPackageName, pid, uid, /*start*/ false); in recordingAllowed()
106 bool startRecording(const String16& opPackageName, pid_t pid, uid_t uid) { in startRecording() argument
107 return checkRecordingInternal(opPackageName, pid, uid, /*start*/ true); in startRecording()
[all …]
/frameworks/base/core/java/android/accounts/
DIAccountManager.aidl37 Account[] getAccounts(String accountType, String opPackageName); in getAccounts() argument
38 Account[] getAccountsForPackage(String packageName, int uid, String opPackageName); in getAccountsForPackage() argument
39 Account[] getAccountsByTypeForPackage(String type, String packageName, String opPackageName); in getAccountsByTypeForPackage() argument
40 Account[] getAccountsAsUser(String accountType, int userId, String opPackageName); in getAccountsAsUser() argument
42 String opPackageName); in hasFeatures() argument
44 in String[] features, String opPackageName); in getAccountByTypeAndFeatures() argument
46 in String[] features, String opPackageName); in getAccountsByFeatures() argument
85 void addSharedAccountsFromParentUser(int parentUserId, int userId, String opPackageName); in addSharedAccountsFromParentUser() argument
122 void registerAccountListener(in String[] accountTypes, String opPackageName); in registerAccountListener() argument
123 void unregisterAccountListener(in String[] accountTypes, String opPackageName); in unregisterAccountListener() argument
/frameworks/av/media/libmedia/
DIMediaPlayerService.cpp75 virtual sp<IMediaRecorder> createMediaRecorder(const String16 &opPackageName) in createMediaRecorder() argument
79 data.writeString16(opPackageName); in createMediaRecorder()
97 virtual sp<IRemoteDisplay> listenForRemoteDisplay(const String16 &opPackageName, in listenForRemoteDisplay() argument
102 data.writeString16(opPackageName); in listenForRemoteDisplay()
136 const String16 opPackageName = data.readString16(); in onTransact() local
137 sp<IMediaRecorder> recorder = createMediaRecorder(opPackageName); in onTransact()
160 const String16 opPackageName = data.readString16(); in onTransact() local
168 sp<IRemoteDisplay> display(listenForRemoteDisplay(opPackageName, client, iface)); in onTransact()
/frameworks/native/services/sensorservice/
DSensorService.h81 const String16& opPackageName);
86 const String16& opPackageName);
89 const String16& opPackageName);
219 virtual Vector<Sensor> getSensorList(const String16& opPackageName);
220 virtual Vector<Sensor> getDynamicSensorList(const String16& opPackageName);
223 int requestedMode, const String16& opPackageName);
225 virtual sp<ISensorEventConnection> createSensorDirectConnection(const String16& opPackageName,
246 const String16& opPackageName);
248 static int getTargetSdkVersion(const String16& opPackageName);
279 bool isOperationPermitted(const String16& opPackageName);
/frameworks/native/libs/sensor/include/sensor/
DISensorServer.h44 virtual Vector<Sensor> getSensorList(const String16& opPackageName) = 0;
45 virtual Vector<Sensor> getDynamicSensorList(const String16& opPackageName) = 0;
48 int mode, const String16& opPackageName) = 0;
51 virtual sp<ISensorEventConnection> createSensorDirectConnection(const String16& opPackageName,
/frameworks/base/media/java/android/media/
DRemoteDisplay.java45 private native long nativeListen(String iface, String opPackageName); in nativeListen() argument
50 private RemoteDisplay(Listener listener, Handler handler, String opPackageName) { in RemoteDisplay() argument
53 mOpPackageName = opPackageName; in RemoteDisplay()
73 String opPackageName) { in listen() argument
84 RemoteDisplay display = new RemoteDisplay(listener, handler, opPackageName); in listen()
/frameworks/base/core/java/android/hardware/biometrics/
DIBiometricService.aidl36 IBiometricServiceReceiver receiver, String opPackageName, in Bundle bundle, in authenticate() argument
40 void cancelAuthentication(IBinder token, String opPackageName); in cancelAuthentication() argument
43 int canAuthenticate(String opPackageName); in canAuthenticate() argument
/frameworks/base/location/java/android/location/
DILocationManager.aidl103 void addTestProvider(String name, in ProviderProperties properties, String opPackageName); in addTestProvider() argument
104 void removeTestProvider(String provider, String opPackageName); in removeTestProvider() argument
105 void setTestProviderLocation(String provider, in Location loc, String opPackageName); in setTestProviderLocation() argument
106 void setTestProviderEnabled(String provider, boolean enabled, String opPackageName); in setTestProviderEnabled() argument
107 List<LocationRequest> getTestProviderCurrentRequests(String provider, String opPackageName); in getTestProviderCurrentRequests() argument
112 String opPackageName); in setTestProviderStatus() argument
/frameworks/av/media/utils/include/mediautils/
DServiceUtilities.h73 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid);
74 bool startRecording(const String16& opPackageName, pid_t pid, uid_t uid);
75 void finishRecording(const String16& opPackageName, uid_t uid);
78 bool captureHotwordAllowed(const String16& opPackageName, pid_t pid, uid_t uid);
/frameworks/base/services/core/java/com/android/server/biometrics/fingerprint/
DFingerprintService.java199 final String opPackageName) { in enroll() argument
206 cryptoToken, restricted, opPackageName, new int[0] /* disabledFeatures */) { in enroll()
230 final String opPackageName) { in authenticate() argument
231 updateActiveGroup(groupId, opPackageName); in authenticate()
235 mCurrentUserId, groupId, opId, restricted, opPackageName, in authenticate()
237 authenticateInternal(client, opId, opPackageName); in authenticate()
242 IBiometricServiceReceiverInternal wrapperReceiver, String opPackageName, in prepareForAuthentication() argument
245 updateActiveGroup(groupId, opPackageName); in prepareForAuthentication()
250 mCurrentUserId, groupId, opId, restricted, opPackageName, cookie, in prepareForAuthentication()
252 authenticateInternal(client, opId, opPackageName, callingUid, callingPid, in prepareForAuthentication()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricServiceBase.java193 protected abstract boolean checkAppOps(int uid, String opPackageName); in checkAppOps() argument
832 String opPackageName) { in authenticateInternal() argument
836 authenticateInternal(client, opId, opPackageName, callingUid, callingPid, callingUserId); in authenticateInternal()
840 String opPackageName, int callingUid, int callingPid, int callingUserId) { in authenticateInternal() argument
841 if (!canUseBiometric(opPackageName, true /* foregroundOnly */, callingUid, callingPid, in authenticateInternal()
843 if (DEBUG) Slog.v(getTag(), "authenticate(): reject " + opPackageName); in authenticateInternal() local
861 startAuthentication(client, opPackageName); in authenticateInternal()
865 protected void cancelAuthenticationInternal(final IBinder token, final String opPackageName) { in cancelAuthenticationInternal() argument
869 cancelAuthenticationInternal(token, opPackageName, callingUid, callingPid, callingUserId, in cancelAuthenticationInternal()
873 protected void cancelAuthenticationInternal(final IBinder token, final String opPackageName, in cancelAuthenticationInternal() argument
[all …]
DBiometricService.java180 int userId, IBiometricServiceReceiver receiver, String opPackageName, in AuthSession() argument
189 mOpPackageName = opPackageName; in AuthSession()
633 IBiometricServiceReceiver receiver, String opPackageName, Bundle bundle, in authenticate() argument
656 if (token == null || receiver == null || opPackageName == null || bundle == null) { in authenticate()
718 args.arg4 = opPackageName; in authenticate()
758 public void cancelAuthentication(IBinder token, String opPackageName) in cancelAuthentication() argument
764 args.arg2 = opPackageName; in cancelAuthentication()
769 public int canAuthenticate(String opPackageName) { in canAuthenticate() argument
829 private void checkAppOp(String opPackageName, int callingUid) { in checkAppOp() argument
831 opPackageName) != AppOpsManager.MODE_ALLOWED) { in checkAppOp()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceService.java229 final IFaceServiceReceiver receiver, final String opPackageName, in enroll() argument
236 0 /* groupId */, cryptoToken, restricted, opPackageName, disabledFeatures) { in enroll()
271 final String opPackageName) { in authenticate() argument
273 updateActiveGroup(userId, opPackageName); in authenticate()
277 mCurrentUserId, 0 /* groupId */, opId, restricted, opPackageName, in authenticate()
279 authenticateInternal(client, opId, opPackageName); in authenticate()
285 String opPackageName, int cookie, int callingUid, int callingPid, in prepareForAuthentication() argument
288 updateActiveGroup(groupId, opPackageName); in prepareForAuthentication()
293 mCurrentUserId, 0 /* groupId */, opId, restricted, opPackageName, cookie, in prepareForAuthentication()
295 authenticateInternal(client, opId, opPackageName, callingUid, callingPid, in prepareForAuthentication()
[all …]
/frameworks/av/camera/aidl/android/hardware/
DICameraService.aidl80 String opPackageName, in connect() argument
89 String opPackageName, in connectDevice() argument
103 String opPackageName, in connectLegacy() argument
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h204 const String16& opPackageName,
243 const String16& opPackageName,
342 AudioEffect(const String16& opPackageName);
368 const String16& opPackageName,
381 const String16& opPackageName,
/frameworks/av/include/media/
DAudioEffect.h204 const String16& opPackageName,
243 const String16& opPackageName,
342 AudioEffect(const String16& opPackageName);
368 const String16& opPackageName,
381 const String16& opPackageName,
/frameworks/av/include/soundtrigger/
DISoundTriggerHwService.h36 virtual status_t listModules(const String16& opPackageName,
40 virtual status_t attach(const String16& opPackageName,
/frameworks/base/media/java/android/media/session/
DISessionManager.aidl47 void dispatchVolumeKeyEvent(String packageName, String opPackageName, boolean asSystemService, in dispatchVolumeKeyEvent() argument
49 void dispatchVolumeKeyEventToSessionAsSystemService(String packageName, String opPackageName, in dispatchVolumeKeyEventToSessionAsSystemService() argument
51 void dispatchAdjustVolume(String packageName, String opPackageName, int suggestedStream, in dispatchAdjustVolume() 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 …]

12345