Searched defs:from (Results 1 - 25 of 61) sorted by last modified time

123

/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c53 static void swab(const void *from, void *to, ssize_t n) argument
55 // from and to as char pointers
56 const char *from_ch = (const char *) from;
69 static void squeeze(const short *from, unsigned char *to, ssize_t n) argument
73 *to++ = (*from++ + 32768) >> 8;
90 // on underrun from pipe, substitute silence
113 // This thread reads from a (slow) filesystem with unpredictable latency and writes to pipe
468 // create thread to read from file
H A Dplaybq.cpp53 static void swab(const void *from, void *to, ssize_t n) argument
55 // from and to as char pointers
56 const char *from_ch = (const char *) from;
69 static void squeeze(const short *from, unsigned char *to, ssize_t n) argument
73 *to++ = (*from++ + 32768) >> 8;
90 // on underrun from pipe, substitute silence
113 // This thread reads from a (slow) filesystem with unpredictable latency and writes to pipe
468 // create thread to read from file
/frameworks/support/v4/java/android/support/v4/app/
H A DShareCompat.java49 * method {@link IntentBuilder#from(Activity)}.
56 * to call out the app that the content was shared from.
161 * Retrieve the name of the package that launched calledActivity from a share intent.
181 * Retrieve the ComponentName of the activity that launched calledActivity from a share intent.
269 * Create a new IntentBuilder for launching a sharing action from launchingActivity.
271 * @param launchingActivity Activity that the share will be launched from
274 public static IntentBuilder from(Activity launchingActivity) { method in class:ShareCompat.IntentBuilder
647 * from shared posts if desired.</p>
671 public static IntentReader from(Activity activity) { method in class:ShareCompat.IntentReader
858 * was not started for a result, IntentBuilder will read this from extr
[all...]
H A DTaskStackBuilder.java46 * <p>When crossing from one task stack to another post-Android 3.0,
65 * from the developer guide and <a href="{@docRoot}design/patterns/navigation.html">Navigation</a>
66 * from the design guide.
149 public static TaskStackBuilder from(Context context) { method in class:TaskStackBuilder
206 // We have the actual parent intent, build the rest from static metadata
264 * @param index Index from 0-getIntentCount()
278 * @param index Index from 0-getIntentCount()
/frameworks/support/v4/java/android/support/v4/widget/
H A DSimpleCursorAdapter.java36 * This field should be made private, so it is hidden from the SDK.
42 * This field should be made private, so it is hidden from the SDK.
62 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { argument
65 mOriginalFrom = from;
66 findColumns(from);
78 * @param from A list of column names representing the data to bind to the UI. Can be null
80 * @param to The views that should display column in the "from" parameter.
82 * are given the values of the first N columns in the from
87 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, argument
91 mOriginalFrom = from;
309 findColumns(String[] from) argument
343 changeCursorAndColumns(Cursor c, String[] from, int[] to) argument
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptGroup.java40 * Currently, all kernels in a ScriptGroup must be from separate
41 * Script objects. Attempting to use multiple kernels from the same
60 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { argument
61 mFrom = from;
66 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { argument
67 mFrom = from;
100 * Allocation provided from outside of the ScriptGroup.
162 * must come from different Script objects. Additionally, all kernels
191 // do a DFS from original node, looking for original node
322 * @param from Th
327 addConnection(Type t, Script.KernelID from, Script.FieldID to) argument
367 addConnection(Type t, Script.KernelID from, Script.KernelID to) argument
[all...]
H A DScriptGroupThunker.java84 public Builder addConnection(Type t, Script.KernelID from, Script.FieldID to) { argument
87 bN.addConnection(tt.getNObj(), from.mN, to.mN);
94 public Builder addConnection(Type t, Script.KernelID from, Script.KernelID to) { argument
97 bN.addConnection(tt.getNObj(), from.mN, to.mN);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhoneBase.java79 void migrateFrom(SipPhoneBase from) { argument
80 migrate(mRingbackRegistrants, from.mRingbackRegistrants);
81 migrate(mPreciseCallStateRegistrants, from.mPreciseCallStateRegistrants);
82 migrate(mNewRingingConnectionRegistrants, from.mNewRingingConnectionRegistrants);
83 migrate(mIncomingRingRegistrants, from.mIncomingRingRegistrants);
84 migrate(mDisconnectRegistrants, from.mDisconnectRegistrants);
85 migrate(mServiceStateRegistrants, from.mServiceStateRegistrants);
86 migrate(mMmiCompleteRegistrants, from.mMmiCompleteRegistrants);
87 migrate(mMmiRegistrants, from.mMmiRegistrants);
88 migrate(mUnknownConnectionRegistrants, from
92 migrate(RegistrantList to, RegistrantList from) argument
[all...]
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DPduPersister.java519 * Load a PDU from storage by given Uri.
769 * into storage, otherwise load source data from the dataUri and then
1132 // 2. The Uri of the part is different from the current one.
1443 * For a given address type, extract the recipients from the headers.
1446 * @param recipients a HashSet that is loaded with the recipients from the FROM or TO headers
1447 * @param addressMap a HashMap of the addresses from the ADDRESS_FIELDS header
1448 * @param excludeMyNumber if true, the number of this phone will be excluded from recipients
1475 * Move a PDU object from one location to another.
1477 * @param from Specify the PDU object to be moved.
1485 public Uri move(Uri from, Ur argument
[all...]
H A DReadRecInd.java26 * @param from the from value
34 public ReadRecInd(EncodedStringValue from, argument
41 setFrom(from);
H A DSendReq.java54 * @param from the from value
61 EncodedStringValue from,
67 setFrom(from);
60 SendReq(byte[] contentType, EncodedStringValue from, int mmsVersion, byte[] transactionId) argument
/frameworks/native/libs/input/
H A DInput.cpp38 void InputEvent::initialize(const InputEvent& from) { argument
39 mDeviceId = from.mDeviceId;
40 mSource = from.mSource;
145 void KeyEvent::initialize(const KeyEvent& from) { argument
146 InputEvent::initialize(from);
147 mAction = from.mAction;
148 mFlags = from.mFlags;
149 mKeyCode = from.mKeyCode;
150 mScanCode = from.mScanCode;
151 mMetaState = from
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace.pb.cpp1282 GLMessage_DataType::GLMessage_DataType(const GLMessage_DataType& from) argument
1285 MergeFrom(from);
1628 const ::google::protobuf::MessageLite& from) {
1629 MergeFrom(*::google::protobuf::down_cast<const GLMessage_DataType*>(&from));
1632 void GLMessage_DataType::MergeFrom(const GLMessage_DataType& from) { argument
1633 GOOGLE_CHECK_NE(&from, this);
1634 intvalue_.MergeFrom(from.intvalue_);
1635 floatvalue_.MergeFrom(from.floatvalue_);
1636 charvalue_.MergeFrom(from.charvalue_);
1637 rawbytes_.MergeFrom(from
1627 CheckTypeAndMergeFrom( const ::google::protobuf::MessageLite& from) argument
1650 CopyFrom(const GLMessage_DataType& from) argument
1698 GLMessage_FrameBuffer(const GLMessage_FrameBuffer& from) argument
1863 CheckTypeAndMergeFrom( const ::google::protobuf::MessageLite& from) argument
1868 MergeFrom(const GLMessage_FrameBuffer& from) argument
1881 CopyFrom(const GLMessage_FrameBuffer& from) argument
1931 GLMessage(const GLMessage& from) argument
2254 CheckTypeAndMergeFrom( const ::google::protobuf::MessageLite& from) argument
2259 MergeFrom(const GLMessage& from) argument
2287 CopyFrom(const GLMessage& from) argument
[all...]
H A Dgltrace.pb.h657 GLMessage_DataType(const GLMessage_DataType& from);
659 inline GLMessage_DataType& operator=(const GLMessage_DataType& from) { argument
660 CopyFrom(from);
671 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
672 void CopyFrom(const GLMessage_DataType& from);
673 void MergeFrom(const GLMessage_DataType& from);
847 GLMessage_FrameBuffer(const GLMessage_FrameBuffer& from);
849 inline GLMessage_FrameBuffer& operator=(const GLMessage_FrameBuffer& from) { argument
850 CopyFrom(from);
861 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
951 operator =(const GLMessage& from) argument
[all...]
/frameworks/compile/mclinker/include/mcld/Object/
H A DSectionMap.h41 std::string from; member in struct:mcld::SectionMap::NamePair
61 // add a mapping from input sub-string to output name.
/frameworks/compile/mclinker/lib/Fragment/
H A DFragmentGraph.cpp223 // the pseudo edges are the edges from pseudo nodes to regular nodes, which
224 // present the reference from out-side world when building shared library
240 FGNode* from = getNode(*pSignal->targetRef().frag()); local
241 assert(NULL != from);
247 if (0 == m_pMatrix->at(from->getIndex(), to->getIndex()))
249 ++m_pMatrix->at(from->getIndex(), to->getIndex());
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectWriter.cpp197 // ELF header must start from 0x0
610 const uint8_t* from = region_frag.getRegion().start(); local
611 memcpy(pRegion.getBuffer(cur_offset), from, size);
/frameworks/compile/mclinker/lib/Target/
H A DELFEmulation.cpp18 const char* from; ///< the prefix of the input string. (match FROM*) member in struct:NameMap
73 pScript.sectionMap().append(map[i].from, map[i].to, exist);
/frameworks/compile/mclinker/tools/mcld/lib/Support/
H A DLinkerConfig.cpp73 const char* from; member in struct:NameMap
124 mLDScript->sectionMap().append(map[i].from,
/frameworks/base/tools/aidl/
H A Daidl.cpp26 // The following are gotten as the offset from the allowable id's between
93 const char* from; member in struct:import_info
115 import->from = strdup(g_currentFilename);
966 import->from, import->statement.lineno,
1034 // if needed, generate the outputFileName from the outputBaseFolder
H A Dgenerate_java_rpc.cpp34 static void generate_new_array(Type* t, StatementBlock* addTo, Variable* v, Variable* from);
170 // The call to decl (from above)
429 this->comment = "/** Extend this to listen to the events from this class. */";
596 generate_new_array(Type* t, StatementBlock* addTo, Variable* v, Variable* from) argument
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiWatchdogStateMachine.java48 * connects at L2 layer, the beacons from access point reach the device and it
96 /* Notifications from/to WifiStateMachine */
190 * A smaller threshold improves response speed but may suffer from randomness.
197 * Minimum volume (converted from pkt/sec) to detect a poor link, to avoid randomness.
250 * time to be low to allow for quick turn around from temporary interference.
1083 * Get preset loss if the cache has insufficient data, observed from experiments.
1121 int from = rssi + GOOD_LINK_RSSI_RANGE_MIN;
1123 mGoodLinkTargetRssi = findRssiTarget(from, to, GOOD_LINK_LOSS_THRESHOLD);
1156 int from = BSSID_STAT_RANGE_LOW_DBM;
1158 mGoodLinkTargetRssi = findRssiTarget(from, t
1173 findRssiTarget(int from, int to, double threshold) argument
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DTelephonyManager.java133 public static TelephonyManager from(Context context) { method in class:TelephonyManager
172 * <p>The intent contains a URI (available from {@link android.content.Intent#getData})
190 * &lt;!-- Service that delivers SMS messages received from the phone "quick response" -->
411 // read from the system property.
415 // read from the system property.
525 /** Pattern for selecting the product type from the kernel command line */
1128 * Returns the IMS private user identity (IMPI) that was loaded from the ISIM.
1144 * Returns the IMS home network domain name that was loaded from the ISIM.
1160 * Returns the IMS public user identities (IMPU) that were loaded from the ISIM.
1383 * Note: the meaning of this flag is subtly different from th
[all...]
/frameworks/base/services/java/com/android/server/
H A DTwilightService.java140 private static boolean hasMoved(Location from, Location to) { argument
145 if (from == null) {
150 if (to.getElapsedRealtimeNanos() < from.getElapsedRealtimeNanos()) {
155 float distance = from.distanceTo(to);
158 float totalAccuracy = from.getAccuracy() + to.getAccuracy();
387 // enable passive provider to receive updates from location fixes (gps
453 Slog.d(TAG, "Estimated location from timezone: " + location);
/frameworks/base/services/java/com/android/server/am/
H A DActivityRecord.java89 CharSequence nonLocalizedLabel; // the label information from the package mgr.
90 int labelRes; // the label information from the package mgr.
591 void addResultLocked(ActivityRecord from, String resultWho, argument
594 ActivityResult r = new ActivityResult(from, resultWho,
602 void removeResultsLocked(ActivityRecord from, String resultWho, argument
607 if (r.mFrom != from) continue;

Completed in 310 milliseconds

123