Home
last modified time | relevance | path

Searched refs:Identity (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/media/java/android/media/permission/
DIdentityContext.java48 private static ThreadLocal<Identity> sThreadLocalIdentity = new ThreadLocal<>();
49 private @Nullable Identity mPrior = get();
59 SafeCloseable create(@Nullable Identity identity) { in create()
69 Identity get() { in get()
80 Identity getNonNull() { in getNonNull()
81 Identity result = get(); in getNonNull()
88 private IdentityContext(@Nullable Identity identity) { in IdentityContext()
97 private static void set(@Nullable Identity identity) { in set()
DPermissionUtil.java100 @NonNull Identity middlemanIdentity, in establishIdentityIndirect()
101 @NonNull Identity originatorIdentity) { in establishIdentityIndirect()
153 SafeCloseable establishIdentityDirect(@NonNull Identity originatorIdentity) { in establishIdentityDirect()
176 @NonNull Identity identity, in checkPermissionForDataDelivery()
196 @NonNull Identity identity, in checkPermissionForPreflight()
/frameworks/base/media/aidl/android/media/soundtrigger_middleware/
DISoundTriggerMiddlewareService.aidl19 import android.media.permission.Identity;
41 SoundTriggerModuleDescriptor[] listModulesAsOriginator(in Identity identity); in listModulesAsOriginator()
55 SoundTriggerModuleDescriptor[] listModulesAsMiddleman(in Identity middlemanIdentity, in listModulesAsMiddleman()
56 in Identity originatorIdentity); in listModulesAsMiddleman()
69 in Identity identity, in attachAsOriginator()
89 in Identity middlemanIdentity, in attachAsMiddleman()
90 in Identity originatorIdentity, in attachAsMiddleman()
/frameworks/base/core/java/com/android/internal/app/
DISoundTriggerService.aidl20 import android.media.permission.Identity;
47 ISoundTriggerSession attachAsOriginator(in Identity originatorIdentity, in attachAsOriginator()
68 ISoundTriggerSession attachAsMiddleman(in Identity middlemanIdentity, in attachAsMiddleman()
69 in Identity originatorIdentity, in attachAsMiddleman()
76 List<SoundTrigger.ModuleProperties> listModuleProperties(in Identity originatorIdentity); in listModuleProperties()
DIVoiceInteractionManagerService.aidl24 import android.media.permission.Identity;
263 in Identity originatorIdentity, in createSoundTriggerSessionAsOriginator()
271 List<SoundTrigger.ModuleProperties> listModuleProperties(in Identity originatorIdentity); in listModuleProperties()
310 in Identity originatorIdentity, in initAndVerifyDetector()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareService.java25 import android.media.permission.Identity;
89 public SoundTriggerModuleDescriptor[] listModulesAsOriginator(Identity identity) { in listModulesAsOriginator()
96 public SoundTriggerModuleDescriptor[] listModulesAsMiddleman(Identity middlemanIdentity, in listModulesAsMiddleman()
97 Identity originatorIdentity) { in listModulesAsMiddleman()
105 public ISoundTriggerModule attachAsOriginator(int handle, Identity identity, in attachAsOriginator()
113 public ISoundTriggerModule attachAsMiddleman(int handle, Identity middlemanIdentity, in attachAsMiddleman()
114 Identity originatorIdentity, ISoundTriggerCallback callback, boolean isTrusted) { in attachAsMiddleman()
140 SafeCloseable establishIdentityIndirect(Identity middlemanIdentity, in establishIdentityIndirect()
141 Identity originatorIdentity) { in establishIdentityIndirect()
147 SafeCloseable establishIdentityDirect(Identity originatorIdentity) { in establishIdentityDirect()
DSoundTriggerMiddlewarePermission.java26 import android.media.permission.Identity;
80 Identity identity = getIdentity(); in listModules()
89 Identity identity = getIdentity(); in attach()
107 Identity getIdentity() { in getIdentity()
117 private void enforcePermissionsForPreflight(@NonNull Identity identity) { in enforcePermissionsForPreflight()
125 void enforcePermissionsForDataDelivery(@NonNull Identity identity, @NonNull String reason) { in enforcePermissionsForDataDelivery()
141 @NonNull Identity identity, in enforcePermissionForDataDelivery()
153 @NonNull Identity identity, @NonNull String reason) { in enforceSoundTriggerRecordAudioPermissionForDataDelivery()
175 @NonNull Identity identity, @NonNull String permission) { in enforcePermissionForPreflight()
205 private final @NonNull Identity mOriginatorIdentity;
[all …]
/frameworks/av/media/libheadtracking/
DPose-test.cpp35 EXPECT_EQ(pose.rotation(), Quaternionf::Identity()); in TEST()
49 EXPECT_EQ(pose.rotation(), Quaternionf::Identity()); in TEST()
88 Pose3f from({1, 1, 1}, Quaternionf::Identity()); in TEST()
96 Pose3f from({1, 1, 1}, Quaternionf::Identity()); in TEST()
105 Pose3f from({1, 1, 1}, Quaternionf::Identity()); in TEST()
DPoseRateLimiter-test.cpp52 Pose3f pose1({1, 2, 3}, Quaternionf::Identity()); in TEST()
80 Pose3f pose1({1, 2, 3}, Quaternionf::Identity()); in TEST()
/frameworks/base/services/core/java/com/android/server/
DSoundTriggerInternal.java29 import android.media.permission.Identity;
60 List<ModuleProperties> listModuleProperties(Identity originatorIdentity); in listModuleProperties()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerManager.java42 import android.media.permission.Identity;
100 Identity originatorIdentity = new Identity(); in SoundTriggerManager()
173 Identity originatorIdentity = new Identity(); in SoundTriggerManager()
199 Identity originatorIdentity = new Identity(); in listModuleProperties()
/frameworks/av/media/libheadtracking/include/media/
DPose.h42 : Pose3f(translation, Eigen::Quaternionf::Identity()) {} in Pose3f()
47 Pose3f() : Pose3f(Eigen::Vector3f::Zero(), Eigen::Quaternionf::Identity()) {} in Pose3f()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTriggerModule.java23 import android.media.permission.Identity;
66 @NonNull Identity originatorIdentity) { in SoundTriggerModule()
86 @NonNull Identity middlemanIdentity, @NonNull Identity originatorIdentity, in SoundTriggerModule()
/frameworks/base/core/java/android/service/voice/
DAbstractDetector.java24 import android.media.permission.Identity;
168 Identity identity = new Identity(); in initAndVerifyDetector()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareLoggingLatencyTest.java29 import android.media.permission.Identity;
84 Identity identity = new Identity(); in setUp()
/frameworks/base/media/aidl/android/media/permission/
DIdentity.aidl24 parcelable Identity {
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerService.java70 import android.media.permission.Identity;
303 Identity originatorIdentity) { in listUnderlyingModuleProperties()
304 Identity middlemanIdentity = new Identity(); in listUnderlyingModuleProperties()
323 Identity middlemanIdentity = new Identity(); in newSoundTriggerHelper()
325 Identity originatorIdentity = IdentityContext.getNonNull(); in newSoundTriggerHelper()
364 private final Identity mOriginatorIdentity;
367 MyAppOpsListener(Identity originatorIdentity, Consumer<Boolean> onOpModeChanged) { in MyAppOpsListener()
403 public ISoundTriggerSession attachAsOriginator(@NonNull Identity originatorIdentity, in attachAsOriginator()
424 public ISoundTriggerSession attachAsMiddleman(@NonNull Identity originatorIdentity, in attachAsMiddleman()
425 @NonNull Identity middlemanIdentity, in attachAsMiddleman()
[all …]
/frameworks/base/media/
DAndroid.bp18 "aidl/android/media/permission/Identity.aidl",
/frameworks/native/libs/vr/libdvrcommon/tests/
Dpose_test.cpp39 EXPECT_MAT4_NEAR(result_pose, mat4_t::Identity(), tolerance); in TYPED_TEST()
149 EXPECT_QUAT_NEAR(quat_t::Identity(), nullified_pose[i].GetRotation(), in TYPED_TEST()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DSoftwareTrustedHotwordDetectorSession.java33 import android.media.permission.Identity;
75 Identity voiceInteractorIdentity, in SoftwareTrustedHotwordDetectorSession()
DVisualQueryDetectorSession.java30 import android.media.permission.Identity;
84 Identity voiceInteractorIdentity, in VisualQueryDetectorSession()
DDspTrustedHotwordDetectorSession.java35 import android.media.permission.Identity;
88 Identity voiceInteractorIdentity, in DspTrustedHotwordDetectorSession()
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dfield_of_view.h50 return Eigen::AffineMatrix<float, 4>::Identity(); in GetProjectionMatrix()
Dpose.h18 : rotation_(Eigen::Quaternion<T>::Identity()), in Pose()
/frameworks/native/include/ftl/
Denum.h181 struct Identity {
188 template <typename E, template <E> class = Identity, typename = make_enum_sequence<E>>

12