Home
last modified time | relevance | path

Searched refs:privacySensitive (Results 1 – 23 of 23) sorted by relevance

/frameworks/av/media/libmedia/
DIMediaRecorder.cpp157 status_t setPrivacySensitive(bool privacySensitive) in setPrivacySensitive() argument
159 ALOGV("%s(%s)", __func__, privacySensitive ? "true" : "false"); in setPrivacySensitive()
162 data.writeInt32(privacySensitive ? 1 : 0); in setPrivacySensitive()
170 status_t isPrivacySensitive(bool *privacySensitive) const in isPrivacySensitive()
174 *privacySensitive = false; in isPrivacySensitive()
181 *privacySensitive = reply.readInt32() == 1; in isPrivacySensitive()
183 ALOGV("%s status %d enabled: %s", __func__, status, *privacySensitive ? "true" : "false"); in isPrivacySensitive()
593 bool privacySensitive = data.readInt32() == 1; in onTransact() local
594 reply->writeInt32(setPrivacySensitive(privacySensitive)); in onTransact()
600 bool privacySensitive = false; in onTransact() local
[all …]
Dmediarecorder.cpp183 status_t MediaRecorder::setPrivacySensitive(bool privacySensitive) in setPrivacySensitive() argument
185 ALOGV("%s(%s)", __func__, privacySensitive ? "true" : "false"); in setPrivacySensitive()
197 status_t ret = mMediaRecorder->setPrivacySensitive(privacySensitive); in setPrivacySensitive()
206 status_t MediaRecorder::isPrivacySensitive(bool *privacySensitive) const in isPrivacySensitive()
219 status_t ret = mMediaRecorder->isPrivacySensitive(privacySensitive); in isPrivacySensitive()
220 ALOGV("%s status: %d eanbled %s", __func__, ret, *privacySensitive ? "enabled" : "disabled"); in isPrivacySensitive()
/frameworks/av/media/libaaudio/src/core/
DAudioStreamBuilder.h101 AudioStreamBuilder* setPrivacySensitiveRequest(bool privacySensitive) { in setPrivacySensitiveRequest() argument
103 privacySensitive ? PRIVACY_SENSITIVE_ENABLED : PRIVACY_SENSITIVE_DISABLED; in setPrivacySensitiveRequest()
DAAudioStreamParameters.h144 void setPrivacySensitive(bool privacySensitive) { in setPrivacySensitive() argument
145 mIsPrivacySensitive = privacySensitive; in setPrivacySensitive()
DAudioStream.h715 void setPrivacySensitive(bool privacySensitive) { in setPrivacySensitive() argument
716 mIsPrivacySensitive = privacySensitive; in setPrivacySensitive()
DAAudioAudio.cpp189 bool privacySensitive) { in AAudioStreamBuilder_setPrivacySensitive() argument
191 streamBuilder->setPrivacySensitiveRequest(privacySensitive); in AAudioStreamBuilder_setPrivacySensitive()
/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.cpp148 status_t MediaRecorderClient::setPrivacySensitive(bool privacySensitive) in setPrivacySensitive() argument
150 ALOGV("%s(%s)", __func__, privacySensitive ? "true" : "false"); in setPrivacySensitive()
156 return mRecorder->setPrivacySensitive(privacySensitive); in setPrivacySensitive()
159 status_t MediaRecorderClient::isPrivacySensitive(bool *privacySensitive) const in isPrivacySensitive()
166 status_t status = mRecorder->isPrivacySensitive(privacySensitive); in isPrivacySensitive()
167 ALOGV("%s: status: %d enabled: %s", __func__, status, *privacySensitive ? "true" : "false"); in isPrivacySensitive()
DMediaRecorderClient.h55 status_t setPrivacySensitive(bool privacySensitive) override;
56 status_t isPrivacySensitive(bool *privacySensitive) const override;
DStagefrightRecorder.h54 status_t setPrivacySensitive(bool privacySensitive) override;
55 status_t isPrivacySensitive(bool *privacySensitive) const override;
DStagefrightRecorder.cpp270 status_t StagefrightRecorder::setPrivacySensitive(bool privacySensitive) { in setPrivacySensitive() argument
275 mPrivacySensitive = privacySensitive ? PRIVACY_SENSITIVE_ENABLED : PRIVACY_SENSITIVE_DISABLED; in setPrivacySensitive()
279 status_t StagefrightRecorder::isPrivacySensitive(bool *privacySensitive) const { in isPrivacySensitive()
280 *privacySensitive = false; in isPrivacySensitive()
285 *privacySensitive = mAudioSource == AUDIO_SOURCE_VOICE_COMMUNICATION in isPrivacySensitive()
288 *privacySensitive = mPrivacySensitive == PRIVACY_SENSITIVE_ENABLED; in isPrivacySensitive()
/frameworks/av/media/libmedia/include/media/
DMediaRecorderBase.h42 virtual status_t setPrivacySensitive(bool privacySensitive) = 0 ;
43 virtual status_t isPrivacySensitive(bool *privacySensitive) const = 0;
DIMediaRecorder.h47 virtual status_t setPrivacySensitive(bool privacySensitive) = 0;
48 virtual status_t isPrivacySensitive(bool *privacySensitive) const = 0;
Dmediarecorder.h242 status_t setPrivacySensitive(bool privacySensitive);
243 status_t isPrivacySensitive(bool *privacySensitive) const;
/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp231 …droid_media_MediaRecorder_setPrivacySensitive(JNIEnv *env, jobject thiz, jboolean privacySensitive) in android_media_MediaRecorder_setPrivacySensitive() argument
233 ALOGV("%s(%s)", __func__, privacySensitive ? "true" : "false"); in android_media_MediaRecorder_setPrivacySensitive()
240 process_media_recorder_call(env, mr->setPrivacySensitive(privacySensitive), in android_media_MediaRecorder_setPrivacySensitive()
252 bool privacySensitive; in android_media_MediaRecorder_isPrivacySensitive() local
253 process_media_recorder_call(env, mr->isPrivacySensitive(&privacySensitive), in android_media_MediaRecorder_isPrivacySensitive()
256 ALOGV("%s() -> %s", __func__, privacySensitive ? "true" : "false"); in android_media_MediaRecorder_isPrivacySensitive()
257 return privacySensitive; in android_media_MediaRecorder_isPrivacySensitive()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioArgsParser.h42 bool privacySensitive) = nullptr;
231 void setPrivacySensitive(int32_t privacySensitive) { in setPrivacySensitive() argument
232 mPrivacySensitive = privacySensitive; in setPrivacySensitive()
/frameworks/av/media/libaaudio/fuzzer/
DREADME.md21 10. Audio Privacy Sensitivity (parameter name: `privacySensitive`)
40 | `privacySensitive` | 0. `true` 1. `false` | Value obtained from FuzzedDataProvider |
Dlibaaudio_fuzzer.cpp165 bool privacySensitive = fdp.ConsumeBool(); in invokeAAudioSetAPIs() local
166 AAudioStreamBuilder_setPrivacySensitive(mAaudioBuilder, privacySensitive); in invokeAAudioSetAPIs()
/frameworks/av/media/libaaudio/src/utility/
DAAudioUtilities.cpp312 bool privacySensitive) { in AAudioConvert_privacySensitiveToAudioFlagsMask() argument
313 return privacySensitive ? AUDIO_FLAG_CAPTURE_PRIVATE : AUDIO_FLAG_NONE; in AAudioConvert_privacySensitiveToAudioFlagsMask()
DAAudioUtilities.h104 bool privacySensitive);
/frameworks/base/media/java/android/media/
DAudioAttributes.java1310 public @NonNull Builder setPrivacySensitive(boolean privacySensitive) { in setPrivacySensitive() argument
1312 privacySensitive ? PRIVACY_SENSITIVE_ENABLED : PRIVACY_SENSITIVE_DISABLED; in setPrivacySensitive()
DAudioRecord.java757 public @NonNull Builder setPrivacySensitive(boolean privacySensitive) { in setPrivacySensitive() argument
759 privacySensitive ? PRIVACY_SENSITIVE_ENABLED : PRIVACY_SENSITIVE_DISABLED; in setPrivacySensitive()
DMediaRecorder.java780 public native void setPrivacySensitive(boolean privacySensitive); in setPrivacySensitive() argument
/frameworks/av/media/libaaudio/include/aaudio/
DAAudio.h1285 bool privacySensitive) __INTRODUCED_IN(30);