/frameworks/native/cmds/lshal/ |
H A D | NullableOStream.h | 60 operator bool() const {
|
/frameworks/native/libs/vr/libpdx_uds/private/uds/ |
H A D | channel_event_set.h | 24 explicit operator bool() const { return !!epoll_fd_ && !!event_fd_; }
|
/frameworks/native/services/vr/performanced/ |
H A D | directory_reader.h | 30 bool IsValid() const { return directory_ != nullptr; } 31 explicit operator bool() const { return IsValid(); }
|
H A D | cpu_set.h | 27 bool IsRoot() const { return parent_ == nullptr; } 54 static void SetPrefixEnabled(bool enabled) { prefix_enabled_ = enabled; } 55 static bool prefix_enabled_; 86 operator bool() const { return root_set_ != nullptr; }
|
H A D | task.h | 26 bool IsValid() const { return task_fd_.get() >= 0; } 27 explicit operator bool() const { return IsValid(); }
|
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | Util.h | 91 inline explicit operator bool() const { return ptr_ != nullptr; } 97 inline bool operator==(const unique_cptr& o) const { return ptr_ == o.ptr_; } 99 inline bool operator!=(const unique_cptr& o) const { return ptr_ != o.ptr_; } 101 inline bool operator==(std::nullptr_t) const { return ptr_ == nullptr; } 103 inline bool operator!=(std::nullptr_t) const { return ptr_ != nullptr; }
|
/frameworks/base/tools/aapt2/util/ |
H A D | Maybe.h | 78 explicit operator bool() const; 106 bool nothing_; 245 Maybe<T>::operator bool() const { 292 typename std::enable_if<has_eq_op<T, U>::value, bool>::type operator==( 306 typename std::enable_if<has_eq_op<T, U>::value, bool>::type operator!=( 312 typename std::enable_if<has_lt_op<T, U>::value, bool>::type operator<(
|
H A D | Util.h | 59 bool StartsWith(const android::StringPiece& str, const android::StringPiece& prefix); 64 bool EndsWith(const android::StringPiece& str, const android::StringPiece& suffix); 76 inline bool isspace16(char16_t c) { return c < 0x0080 && isspace(c); } 88 bool IsJavaClassName(const android::StringPiece& str); 93 bool IsJavaPackageName(const android::StringPiece& str); 165 bool VerifyJavaStringFormat(const android::StringPiece& str); 172 bool IsEmpty() const; 179 explicit operator bool() const; 184 bool quote_ = false; 185 bool trailing_space [all...] |
/frameworks/native/libs/vr/libpdx/private/pdx/ |
H A D | channel_handle.h | 35 bool valid() const { return value_ >= 0; } 36 explicit operator bool() const { return valid(); }
|
H A D | status.h | 74 bool PropagateError(const Status<U>& other) { 84 bool ok() const { return error_ == 0; } 87 bool empty() const { return error_ < 0; } 89 // Explicit bool conversion, equivalent to invoking ok(). 90 explicit operator bool() const { return ok(); } 144 bool PropagateError(const Status<U>& other) { 152 bool ok() const { return error_ == 0; } 153 bool empty() const { return false; } 154 explicit operator bool() const { return ok(); }
|
H A D | file_handle.h | 106 bool IsValid() const { return fd_ >= 0; } 107 explicit operator bool() const { return IsValid(); }
|
H A D | service.h | 160 bool GetFileHandle(FileReference ref, LocalHandle* handle) override; 161 bool GetChannelHandle(ChannelReference ref, 283 bool IsImpulse() const { return GetMessageId() == IMPULSE_MESSAGE_ID; } 326 bool replied() const { return replied_; } 327 bool IsChannelExpired() const { return channel_.expired(); } 328 bool IsServiceExpired() const { return service_.expired(); } 334 explicit operator bool() const { return !replied_; } 350 bool replied_; 370 virtual bool IsInitialized() const;
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_storage_AppFuseBridge.cpp | 77 operator bool() { 85 bool mLocked;
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | LoggingPrintStream.java | 243 public synchronized void print(boolean bool) { argument 244 builder.append(bool); 320 public synchronized void println(boolean bool) { argument 321 builder.append(bool);
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
H A D | PackageDexUsage.java | 508 private String writeBoolean(boolean bool) { argument 509 return bool ? "1" : "0"; 512 private boolean readBoolean(String bool) { argument 513 if ("0".equals(bool)) return false; 514 if ("1".equals(bool)) return true; 515 throw new IllegalArgumentException("Unknown bool encoding: " + bool);
|
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
H A D | bufferhub_rpc.h | 108 explicit operator bool() const { return fence_.IsValid(); } 218 PDX_REMOTE_METHOD(ConsumerSetIgnore, kOpConsumerSetIgnore, void(bool ignore));
|
/frameworks/native/libs/vr/libbufferhubqueue/include/private/dvr/ |
H A D | buffer_hub_queue_client.h | 63 bool is_full() const { return available_buffers_.IsFull(); } 65 explicit operator bool() const { return epoll_fd_.IsValid(); } 87 bool HandleQueueEvents() { return WaitForBuffers(0); } 106 bool hung_up() const { return hung_up_; } 138 bool WaitForBuffers(int timeout); 166 static bool is_buffer_event_index(int64_t index) { 172 static bool is_queue_event_index(int64_t index) { 250 std::vector<bool> epollhup_pending_; 273 bool hung_up_{false}; 403 bool ignore_on_impor [all...] |
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
H A D | serialization.h | 49 // * bool. 100 bool, IsTemplateBaseOf<SerializableMembersType, 149 explicit operator bool() const { return error_code_ != ErrorCode::NO_ERROR; } 200 inline constexpr std::size_t GetSerializedSize(const bool& b) { 472 inline void SerializeType(const bool& value, void*& buffer) { 670 inline void SerializeObject(const bool& value, MessageWriter* /*writer*/, 1156 // Overload to deserialize bool type. 1157 inline ErrorType DeserializeObject(bool* value, MessageReader* reader,
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_display.h | 70 bool getObject(egl_object_t* object) const; 80 inline bool isReady() const { return (refs > 0); } 81 inline bool isValid() const { return magic == '_dpy'; } 82 inline bool isAlive() const { return isValid(); } 89 bool haveExtension(const char* name, size_t nameLen = 0) const; 112 bool finishOnSwap; // property: debug.egl.finish 113 bool traceGpuCompletion; // property: debug.egl.traceGpuCompletion 119 bool eglIsInitialized; 160 operator bool() const { return mDpy != NULL; }
|
/frameworks/av/media/libstagefright/codec2/include/ |
H A D | C2Param.h | 168 inline bool isVendor() const { return mIndex & kVendorFlag; } 171 inline bool isFlexible() const { return mIndex & kFlexibleFlag; } 191 inline bool isGlobal() const { return (mIndex & kDirMask) == kDirGlobal; } 193 inline bool forInput() const { return (mIndex & kDirMask) == kDirInput; } 195 inline bool forOutput() const { return (mIndex & kDirMask) == kDirOutput; } 198 inline bool forStream() const { return mIndex & kStreamFlag; } 200 inline bool forPort() const { return !forStream() && !isGlobal(); } 237 inline bool setPort(bool output) { 273 inline bool isVali [all...] |
H A D | C2Buffer.h | 102 bool valid() const; 109 bool ready() const; 129 bool isHW() const; 340 inline bool setOffset(uint32_t offset) { 360 inline bool setSize(uint32_t size) { 752 inline bool isEmpty() const { 756 inline bool isValid() const { 760 inline operator bool() const { 764 inline bool operator!() const { 765 return !bool(*thi [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | reverb.c | 27 #define bool int macro 74 bool outputMixPresetItfRequested = false; 78 bool outputMixEnvironmentalItfRequested = false; 83 bool playerPresetItfRequested = false; 87 bool playerEnvironmentalItfRequested = false; 94 bool slesutCompareEnvironmentalReverbSettings( 145 bool needSpace = false; 146 bool needNewline = false; 225 bool loop = false; 234 bool ba [all...] |
/frameworks/wilhelm/src/ |
H A D | sles_allinclusive.h | 37 typedef int bool; typedef 117 typedef bool (*BoolHook)(void *self); 408 extern bool IsInterfaceInitialized(IObject *thiz, unsigned MPH);
|
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/ |
H A D | gson-1.7.2.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/annotations/ ... |
/frameworks/support/samples/SupportLeanbackShowcase/libs/ |
H A D | gson-1.7.2.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/annotations/ ... |