Home
last modified time | relevance | path

Searched refs:mOpPackageName (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/native/services/sensorservice/
DSensorDirectConnection.cpp30 mOpPackageName(opPackageName), mDestroyed(false) { in SensorDirectConnection()
61 String8(mOpPackageName).string(), getHalChannelHandle(), mActivated.size()); in dump()
103 if (!mService->isOperationPermitted(mOpPackageName)) { in configureChannel()
113 if (!SensorService::canAccessSensor(s, "config direct channel", mOpPackageName)) { in configureChannel()
DSensorEventConnection.cpp36 mPackageName(packageName), mOpPackageName(opPackageName), mDestroyed(false), in SensorEventConnection()
117 !canAccessSensor(si->getSensor(), "Tried adding", mOpPackageName) || in addSensor()
394 int32_t appOpMode = mService->sAppOpsManager.noteOp((*iter).second, mUid, mOpPackageName); in noteOpIfRequired()
609 reservedFlags, mOpPackageName); in enableDisable()
620 return mService->setEventRate(this, handle, samplingPeriodNs, mOpPackageName); in setEventRate()
624 return mService->flushSensor(this, mOpPackageName); in flush()
DSensorDirectConnection.h72 const String16 mOpPackageName; variable
DSensorEventConnection.h179 const String16 mOpPackageName; variable
DSensorService.cpp1367 auto iter = sPackageTargetVersion.find(c->mOpPackageName); in cleanupConnection()
/frameworks/base/media/java/android/media/
DRemoteDisplay.java41 private final String mOpPackageName; field in RemoteDisplay
53 mOpPackageName = opPackageName; in RemoteDisplay()
121 mPtr = nativeListen(iface, mOpPackageName); in startListening()
/frameworks/native/libs/sensor/
DSensorManager.cpp96 : mSensorList(nullptr), mOpPackageName(opPackageName), mDirectConnectionHandle(1) { in SensorManager()
163 mSensors = mSensorServer->getSensorList(mOpPackageName); in assertStateLocked()
194 dynamicSensors = mSensorServer->getDynamicSensorList(mOpPackageName); in getDynamicSensorList()
234 mSensorServer->createSensorEventConnection(packageName, mode, mOpPackageName); in createEventQueue()
268 mSensorServer->createSensorDirectConnection(mOpPackageName, in createDirectChannel()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.h124 mOpPackageName(opPackageName), in EffectDesc()
138 mOpPackageName(orig.mOpPackageName), in EffectDesc()
165 String16 mOpPackageName; variable
/frameworks/base/core/java/android/net/
DIpSecManager.java721 private final String mOpPackageName; field in IpSecManager.IpSecTunnelInterface
752 mResourceId, new LinkAddress(address, prefixLen), mOpPackageName); in addAddress()
775 mResourceId, new LinkAddress(address, prefixLen), mOpPackageName); in removeAddress()
787 mOpPackageName = ctx.getOpPackageName(); in IpSecTunnelInterface()
800 mOpPackageName); in IpSecTunnelInterface()
829 mService.deleteTunnelInterface(mResourceId, mOpPackageName); in close()
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeScanner.java86 private final String mOpPackageName; field in BluetoothLeScanner
103 mOpPackageName = opPackageName; in BluetoothLeScanner()
259 gatt.startScanForIntent(callbackIntent, settings, filters, mOpPackageName, in startScan()
301 gatt.stopScanForIntent(callbackIntent, mOpPackageName); in stopScan()
461 mResultStorages, mOpPackageName, mFeatureId); in onScannerRegistered()
/frameworks/av/media/libmedia/include/media/
DMediaRecorderBase.h37 : mOpPackageName(opPackageName) {} in MediaRecorderBase()
82 String16 mOpPackageName;
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp961 : mModule(module), mClient(client), mOpPackageName(opPackageName) in ModuleClient()
985 if (!captureHotwordAllowed(mOpPackageName, in detach()
1010 if (!captureHotwordAllowed(mOpPackageName, in loadSoundModel()
1029 if (!captureHotwordAllowed(mOpPackageName, in unloadSoundModel()
1046 if (!captureHotwordAllowed(mOpPackageName, in startRecognition()
1065 if (!captureHotwordAllowed(mOpPackageName, in stopRecognition()
1081 if (!captureHotwordAllowed(mOpPackageName, in getModelState()
DSoundTriggerHwService.h197 const String16 mOpPackageName; variable
/frameworks/av/media/libaudioclient/
DAudioEffect.cpp39 : mStatus(NO_INIT), mOpPackageName(opPackageName) in AudioEffect()
54 : mStatus(NO_INIT), mOpPackageName(opPackageName) in AudioEffect()
70 : mStatus(NO_INIT), mOpPackageName(opPackageName) in AudioEffect()
143 mIEffectClient, priority, io, mSessionId, device, mOpPackageName, mClientPid, in set()
DAudioRecord.cpp121 : mActive(false), mStatus(NO_INIT), mOpPackageName(opPackageName), in AudioRecord()
151 mOpPackageName(opPackageName), in AudioRecord()
224 sessionId, transferType, flags, String8(mOpPackageName).string(), uid, pid); in set()
339 status = createRecord_l(0 /*epoch*/, mOpPackageName); in set()
1333 status_t result = createRecord_l(position, mOpPackageName); in restoreRecord_l()
/frameworks/native/libs/sensor/include/sensor/
DSensorManager.h86 const String16 mOpPackageName; variable
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.h87 android::String16 mOpPackageName; variable
DAudioStreamRecord.cpp159 mOpPackageName // const String16& opPackageName TODO does not compile in open()
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp508 String16 mOpPackageName; member in __anon5fc701100111::AudioGroup
559 mOpPackageName = opPackageName; in AudioGroup()
821 sp<AudioRecord> record = new AudioRecord(mGroup->mOpPackageName); in threadLoop()
851 mGroup->mOpPackageName, in threadLoop()
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h558 String16 mOpPackageName; // The package name used for app op checks. variable
DAudioRecord.h663 String16 mOpPackageName; // The package name used for app ops. variable
/frameworks/av/services/audioflinger/
DRecordTracks.h151 String16 mOpPackageName; variable
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricService.java156 final String mOpPackageName; field in BiometricService.AuthSession
191 mOpPackageName = opPackageName; in AuthSession()
1155 && !topPackage.contentEquals(mCurrentAuthSession.mOpPackageName)) { in handleTaskStackChanged()
1422 mCurrentAuthSession.mOpPackageName, in handleOnTryAgainPressed()
/frameworks/base/core/java/android/app/
DContextImpl.java212 private final String mOpPackageName; field in ContextImpl
401 return mOpPackageName != null ? mOpPackageName : getBasePackageName(); in getOpPackageName()
2611 opPackageName = container.mOpPackageName; in ContextImpl()
2628 mOpPackageName = overrideOpPackageName != null ? overrideOpPackageName : opPackageName; in ContextImpl()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp1093 mOpPackageName, in createAudioSource()

12