Searched refs:spm (Results 1 – 4 of 4) sorted by relevance
169 final ShadowPackageManager spm = Shadow.extract(mContext.getPackageManager()); in getTitle_shouldEnsureMetadataNotStale() local170 spm.addResolveInfoForIntent( in getTitle_shouldEnsureMetadataNotStale()186 final ShadowPackageManager spm = Shadow.extract(mContext.getPackageManager()); in getTitle_noActivity_returnNull() local187 spm.removePackage(mActivityInfo.packageName); in getTitle_noActivity_returnNull()
162 final ShadowPackageManager spm = Shadow.extract(mContext.getPackageManager()); in getTitle_shouldEnsureMetadataNotStale() local163 spm.addResolveInfoForIntent( in getTitle_shouldEnsureMetadataNotStale()
2235 SensorPrivacyManager spm; in registerSelf() local2236 mSensorPrivacyEnabled = spm.isSensorPrivacyEnabled(); in registerSelf()2237 spm.addSensorPrivacyListener(this); in registerSelf()2242 SensorPrivacyManager spm; in unregisterSelf() local2244 spm.removeIndividualSensorPrivacyListener( in unregisterSelf()2247 spm.removeSensorPrivacyListener(this); in unregisterSelf()2280 SensorPrivacyManager spm; in registerSelfForIndividual() local2281 status_t err = spm.addIndividualSensorPrivacyListener(userId, in registerSelfForIndividual()2288 mSensorPrivacyEnabled = spm.isIndividualSensorPrivacyEnabled(userId, in registerSelfForIndividual()
1406 SensorPrivacyManager spm; in registerSelf() local1407 mSensorPrivacyEnabled = spm.isSensorPrivacyEnabled(); in registerSelf()1408 spm.addSensorPrivacyListener(this); in registerSelf()1412 SensorPrivacyManager spm; in registerSelfForMicrophoneOnly() local1413 mSensorPrivacyEnabled = spm.isIndividualSensorPrivacyEnabled(userId, in registerSelfForMicrophoneOnly()1415 spm.addIndividualSensorPrivacyListener(userId, in registerSelfForMicrophoneOnly()1420 SensorPrivacyManager spm; in unregisterSelf() local1421 spm.removeSensorPrivacyListener(this); in unregisterSelf()