/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccPhoneBookInterfaceManager.java | 106 AtomicBoolean status = (AtomicBoolean) ar.userObj; 107 status.set(true); 184 AtomicBoolean status = new AtomicBoolean(false); 185 Message response = mBaseHandler.obtainMessage(EVENT_UPDATE_DONE, status); 190 waitForResult(status); 233 AtomicBoolean status = new AtomicBoolean(false); 234 Message response = mBaseHandler.obtainMessage(EVENT_UPDATE_DONE, status); 238 waitForResult(status); 262 AtomicBoolean status = new AtomicBoolean(false); 263 Message response = mBaseHandler.obtainMessage(EVENT_GET_SIZE_DONE, status); 322 waitForResult(AtomicBoolean status) argument [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_vlc.c | 216 BIG_CODE_NUM and returning HANTRO_NOK status. 235 u32 status, codeNum = 0; local 242 status = h264bsdDecodeExpGolombUnsigned(pStrmData, &codeNum); 246 /* BIG_CODE_NUM and HANTRO_OK status means codeNum 2^32-1 which would 249 if (status == HANTRO_OK) 251 /* BIG_CODE_NUM and HANTRO_NOK status means codeNum 2^32 which results 259 else if (status == HANTRO_OK) 306 u32 status, codeNum; local 313 status = h264bsdDecodeExpGolombUnsigned(pStrmData, &codeNum); 315 if (status ! [all...] |
/frameworks/native/libs/input/ |
H A D | VirtualKeyMap.cpp | 53 status_t status = Tokenizer::open(filename, &tokenizer); local 54 if (status) { 55 ALOGE("Error %d opening virtual key map file %s.", status, filename.string()); 60 status = NO_MEMORY; 66 status = parser.parse(); 73 if (status) { 81 return status;
|
/frameworks/native/services/surfaceflinger/ |
H A D | GpuService.cpp | 39 status_t status; local 52 if ((status = data.readNullableStrongBinder(&unusedCallback)) != OK) 53 return status; 54 if ((status = data.readNullableStrongBinder(&resultReceiver)) != OK) 55 return status; 56 status = shellCommand(in, out, err, args); 58 resultReceiver->send(status);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | packet_util.cpp | 30 PV_STATUS status; local 47 status = PV_BitstreamShowBitsByteAlign(stream, resync_marker_length, &tmpvar32); 48 /* if (status != PV_SUCCESS && status != PV_END_OF_BUFFER) return status; */ 115 status = BitstreamCheckEndBuffer(stream); /* return end_of_VOP 03/30/01 */ 116 if (status != PV_SUCCESS) 118 return status; 120 status = BitstreamShowBits32HC(stream, &tmpvar32); /* 07/07/01 */ 196 PV_STATUS status; local [all...] |
H A D | bitstream.h | 53 PV_STATUS status = PV_SUCCESS; local 59 status = BitstreamFillCache(stream); 63 return status; 71 PV_STATUS status = PV_SUCCESS; local 76 status = BitstreamFillCache(stream); 79 return status; 85 PV_STATUS status = PV_SUCCESS; local 90 status = BitstreamFillCache(stream); 93 return status;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | combined_encode.cpp | 39 PV_STATUS status = PV_SUCCESS; local 119 status = EncodeGOBHeader(video, slice_counter, QP, 0); //ind_y /* Encode GOB Header */ 148 status = EncodeVideoPacketHeader(video, mbnum, video->QP_prev, 0); 159 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck); 182 status = BitstreamAppendPacket(currVol->stream, bs1); /* Put Packet to Buffer */ 183 /* continue even if status == PV_END_OF_BUF, to get the stats */ 192 status = BitstreamAppendEnc(currVol->stream, bs1); /* Initialize to 0 */ 193 /* continue even if status == PV_END_OF_BUF, to get the stats */ 201 status = BitstreamAppendEnc(currVol->stream, bs1); /* Initialize to 0 */ 202 /* continue even if status 264 PV_STATUS status = PV_SUCCESS; local 683 PV_STATUS status = PV_SUCCESS; local [all...] |
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
H A D | BluetoothPacketEncoder.java | 46 // current running status, or zero if none 61 byte status = msg[offset]; 62 boolean isSysExStart = (status == MidiConstants.STATUS_SYSTEM_EXCLUSIVE); 63 // Because of the MidiFramer, if it is not a status byte then it 65 boolean isSysExContinuation = ((status & 0x80) == 0); 76 boolean needsTimestamp = (status != mRunningStatus) 87 if (status == mRunningStatus) bytesNeeded--; // subtract one for status byte 144 if (status != mRunningStatus) { 145 mAccumulationBuffer[mAccumulatedBytes++] = status; [all...] |
/frameworks/native/include/binder/ |
H A D | Status.h | 34 // status_t status; 36 // if ((status = data.writeInterfaceToken(interface_descriptor)) != OK || 37 // (status = data.writeInt32(function_input)) != OK) { 40 // if ((status = remote()->transact(transaction, data, &reply)) != OK) { 43 // if ((status = remote_exception.readFromParcel(reply)) != OK) { 98 static Status fromStatusT(status_t status); 104 Status(const Status& status) = default; member in class:android::binder::final 105 Status(Status&& status) = default; member in class:android::binder::final 106 Status& operator=(const Status& status) = default; member in class:android::binder::final 117 // Setting a |status| ! [all...] |
/frameworks/native/libs/binder/include/binder/ |
H A D | Status.h | 34 // status_t status; 36 // if ((status = data.writeInterfaceToken(interface_descriptor)) != OK || 37 // (status = data.writeInt32(function_input)) != OK) { 40 // if ((status = remote()->transact(transaction, data, &reply)) != OK) { 43 // if ((status = remote_exception.readFromParcel(reply)) != OK) { 98 static Status fromStatusT(status_t status); 104 Status(const Status& status) = default; member in class:android::binder::final 105 Status(Status&& status) = default; member in class:android::binder::final 106 Status& operator=(const Status& status) = default; member in class:android::binder::final 117 // Setting a |status| ! [all...] |
/frameworks/native/libs/vr/libdvr/tests/ |
H A D | dvr_display_manager-test.cpp | 16 #include <pdx/status.h> 243 const Status<T>& status) { 244 if (!status.ok()) { 248 << status.error() << ")"; 256 const Status<T>& status) { 257 if (status.ok()) { 269 const Status<T>& status, 271 if (status.ok()) { 272 return StatusError(status_expression, status); 273 } else if (status 242 StatusOk(const char* status_expression, const Status<T>& status) argument 255 StatusError(const char* status_expression, const Status<T>& status) argument 267 StatusHasError(const char* status_expression, const char* , const Status<T>& status, int error_code) argument 284 StatusHasValue(const char* status_expression, const char* , const Status<T>& status, const U& value) argument 301 StatusPred(const char* status_expression, const char* pred_expression, const Status<T>& status, Op pred) argument [all...] |
/frameworks/av/drm/libmediadrm/ |
H A D | DrmHal.cpp | 123 static status_t toStatusT(Status status) { argument 124 switch (status) { 240 [&](Status status, const sp<IDrmPlugin>& hPlugin) { 241 if (status != Status::OK) { 437 [&](Status status, const hidl_vec<uint8_t>& id) { 438 if (status == Status::OK) { 441 err = toStatusT(status); 475 Status status = mPlugin->closeSession(toHidlVec(sessionId)); local 476 if (status == Status::OK) { 479 return toStatusT(status); 777 Status status = mPlugin->setPropertyString(toHidlString(name), local 790 Status status = mPlugin->setPropertyByteArray(toHidlString(name), local 806 Status status = mPlugin->setCipherAlgorithm(toHidlVec(sessionId), local 821 Status status = mPlugin->setMacAlgorithm(toHidlVec(sessionId), local [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | CasManager.cpp | 142 Status status = cas->openSession(&sessionId); local 143 if (!status.isOk()) { 145 status.exceptionCode(), status.serviceSpecificErrorCode()); 150 if (!status.isOk()) { 152 status.exceptionCode(), status.serviceSpecificErrorCode()); 156 status = casService->createDescrambler(descriptor.mSystemID, &descrambler); 157 if (!status.isOk() || descrambler == NULL) { 159 status 320 Status status = mICas->processEcm(mCAPidToSessionIdMap[index], ecm); local [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
H A D | Virtualizer.java | 212 int status = getParameter(paramsConverter.array(), result); 215 + Integer.toHexString(deviceType) + ") returns " + status); 218 if (status >= 0) { 239 } else if (status == AudioEffect.ERROR_BAD_VALUE) { 245 checkStatus(status); 248 Log.e(TAG, "unexpected status code " + status 439 int status = setParameter(PARAM_FORCE_VIRTUALIZATION_MODE, internalDevice); 441 if (status >= 0) { 443 } else if (status 501 onParameterChange(Virtualizer effect, int status, int param, short value) argument 512 onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) argument [all...] |
H A D | AudioEffect.java | 174 * Internal operation status. Not returned by any method. 705 int status = getParameter(p, v); 707 if (status == 4 || status == 8) { 709 if (status == 8) { 712 status /= 4; 714 status = ERROR; 716 return status; 736 int status = getParameter(p, v); 738 if (status 1000 onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) argument 1266 checkStatus(int status) argument 1284 isError(int status) argument [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
H A D | XmlUtilTest.java | 196 configuration.status = WifiConfiguration.Status.DISABLED; 215 * Verify that a WifiConfiguration with status as CURRENT when serializing 222 configuration.status = WifiConfiguration.Status.CURRENT; 226 assertEquals(WifiConfiguration.Status.ENABLED, deserializedConfiguration.second.status); 230 * Verify that an enabled network selection status object is serialized & deserialized 236 NetworkSelectionStatus status = new NetworkSelectionStatus(); 237 status.setNetworkSelectionStatus(NetworkSelectionStatus.NETWORK_SELECTION_ENABLED); 238 status.setNetworkSelectionDisableReason(NetworkSelectionStatus.NETWORK_SELECTION_ENABLE); 239 status.setConnectChoice(TEST_DUMMY_CONFIG_KEY); 240 status 530 serializeNetworkSelectionStatus(NetworkSelectionStatus status) argument 551 serializeDeserializeNetworkSelectionStatus(NetworkSelectionStatus status) argument [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/service/ |
H A D | RedirectListener.java | 162 response = status(OSUOperationStatus.UserInputComplete); 180 status(OSUOperationStatus.UserInputAborted); 188 status(OSUOperationStatus.UserInputAborted); 195 private String status(OSUOperationStatus status) { argument 196 Log.d(TAG, "User input status: " + status); 198 mUserStatus = status; 201 String message = (status == OSUOperationStatus.UserInputAborted) ? 204 return mPlatformAdapter.notifyUser(status, messag [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
H A D | WifiP2pServiceResponse.java | 70 * The status code of service discovery response. 71 * Currently 4 status codes are defined and the status codes from 4 to 255 90 public static String toString(int status) { argument 91 switch(status) { 113 * @param status status code. 118 protected WifiP2pServiceResponse(int serviceType, int status, int transId, argument 121 mStatus = status; 138 * Return the status cod [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | ScanDetailCache.java | 172 WifiConfiguration.Visibility status = new WifiConfiguration.Visibility(); 185 status.num5 = status.num5 + 1; 189 status.num24 = status.num24 + 1; 205 if (result.level > status.rssi5) { 206 status.rssi5 = result.level; 207 status.age5 = result.seen; 208 status.BSSID5 = result.BSSID; 211 if (result.level > status [all...] |
H A D | HalDeviceManager.java | 93 * Register a ManagerStatusListener to get information about the status of the manager. Use the 94 * isReady() and isStarted() methods to check status immediately after registration and when 120 * Returns the current status of the HalDeviceManager: whether or not it is ready to execute 122 * the registerStatusListener() to listener for status changes. 129 * Returns the current status of Wi-Fi: started (true) or stopped (false). 158 * HAL device manager status change listener. 162 * Indicates that the status of the HalDeviceManager has changed. Use isReady() and 163 * isStarted() to obtain status information. 263 * was created - allowing non-creators to monitor interface status. 346 iface.getName((WifiStatus status, Strin 1170 onFailure(WifiStatus status) argument 1899 statusString(WifiStatus status) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaSync.cpp | 118 status_t status = local 123 if (status != NO_ERROR) { 124 ALOGE("setSurface: failed to connect (%d)", status); 125 return status; 210 status_t status = local 212 if (status == NO_ERROR) { 227 return status; 613 status_t status = mInput->acquireBuffer(&bufferItem, 0 /* presentWhen */); local 614 if (status != NO_ERROR) { 615 ALOGE("acquiring buffer from input failed (%d)", status); 669 status_t status = mOutput->attachBuffer(&slot, bufferItem.mGraphicBuffer); local 706 status_t status = mOutput->detachNextBuffer(&buffer, &fence); local 749 status_t status = mInput->attachBuffer(&consumerSlot, oldBuffer); local [all...] |
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClientImpl.cpp | 183 status_t status = DRM_ERROR_UNKNOWN; local 185 status = getDrmManagerService()->consumeRights( 188 return status; 194 status_t status = DRM_ERROR_UNKNOWN; local 196 status = getDrmManagerService()->setPlaybackStatus( 199 return status; 214 status_t status = DRM_ERROR_UNKNOWN; local 216 status = getDrmManagerService()->removeRights(uniqueId, path); 218 return status; 251 status_t status local 284 status_t status = DRM_ERROR_UNKNOWN; local 295 status_t status = DRM_ERROR_UNKNOWN; local 307 status_t status = DRM_ERROR_UNKNOWN; local 319 status_t status = DRM_ERROR_UNKNOWN; local [all...] |
/frameworks/av/media/libaudiohal/ |
H A D | ConversionHelperHidl.cpp | 44 status_t status = halKeys.getAt(i, key); local 45 if (status != OK) return status; 65 status_t status = params.getAt(i, key, value); local 66 if (status != OK) return status;
|
/frameworks/av/media/libmedia/omx/1.0/ |
H A D | WOmx.cpp | 44 Status status, 46 fnStatus = toStatusT(status); 64 [&fnStatus, omxNode](Status status, sp<IOmxNode> const& node) { 65 fnStatus = toStatusT(status); 77 Status status, 80 fnStatus = toStatusT(status);
|
/frameworks/base/location/java/android/location/ |
H A D | GpsStatus.java | 105 * Event sent periodically to report GPS satellite status. 106 * Call {@link #getSatellites()} to retrieve the status for each satellite. 111 * Used for receiving notifications when GPS status has changed. 117 * Called to report changes in the GPS status. 128 * status information. 203 void setStatus(GnssStatus status, int timeToFirstFix) { argument 205 setStatus(status.mSvCount, status.mSvidWithFlags, status.mCn0DbHz, status [all...] |