Searched defs:from (Results 51 - 75 of 93) sorted by relevance

1234

/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsHelper.java599 private void aggregateSippers(BatterySipper bs, List<BatterySipper> from, String tag) { argument
600 for (int i=0; i<from.size(); i++) {
601 BatterySipper wbs = from.get(i);
623 * We do per-app blaming of WiFi activity. If energy info is reported from the controller,
/frameworks/base/media/java/android/media/session/
H A DPlaybackState.java108 * Indicates this session supports the play from media id command.
115 * Indicates this session supports the play from search command.
129 * Indicates this session supports the play from URI command.
332 * point that can be reached from the current position using only buffered
773 * Creates a builder with the same initial values as those in the from
776 * @param from The state to use for initializing the builder.
778 public Builder(PlaybackState from) { argument
779 if (from == null) {
782 mState = from.mState;
783 mPosition = from
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DScriptGroup.java33 * Inside a script group, outputs from one kernel can be passed to another kernel as inputs.
56 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { argument
57 mFrom = from;
62 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { argument
63 mFrom = from;
450 * Allocation provided from outside of the ScriptGroup.
519 * must come from different Script objects. Additionally, all kernels
545 // do a DFS from original node, looking for original node
672 * @param from The source for the connection.
677 public Builder addConnection(Type t, Script.KernelID from, Scrip argument
712 addConnection(Type t, Script.KernelID from, Script.KernelID to) argument
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DTelecomManager.java246 * alternative address to dial which is different from the one specified and displayed to
401 public static TelecomManager from(Context context) { method in class:TelecomManager
420 * list which is returned from invoking {@link #getCallCapablePhoneAccounts()}. The specific
450 * calls. This {@code PhoneAccount} will always be a member of the list which is returned from
709 * Remove a {@link PhoneAccount} registration from the system.
724 * Remove all Accounts that belong to the calling package from the system.
732 * Remove all Accounts that belong to the calling package from the system.
748 * Remove all Accounts that belong to the specified package from the system.
/frameworks/base/tools/aidl/
H A Daidl.cpp27 // The following are gotten as the offset from the allowable id's between
94 const char* from; member in struct:import_info
116 import->from = strdup(g_currentFilename);
969 import->from, import->statement.lineno,
1037 // 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/compile/mclinker/lib/LD/
H A DELFObjectWriter.cpp210 // ELF header must start from 0x0
582 // FIXME: We should get the entsize from input since the size of each
659 const char* from = region_frag.getRegion().begin(); local
660 memcpy(pRegion.begin() + cur_offset, from, size);
/frameworks/native/libs/input/
H A DInput.cpp39 void InputEvent::initialize(const InputEvent& from) { argument
40 mDeviceId = from.mDeviceId;
41 mSource = from.mSource;
76 void KeyEvent::initialize(const KeyEvent& from) { argument
77 InputEvent::initialize(from);
78 mAction = from.mAction;
79 mFlags = from.mFlags;
80 mKeyCode = from.mKeyCode;
81 mScanCode = from.mScanCode;
82 mMetaState = from
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DShareCompat.java50 * method {@link IntentBuilder#from(Activity)}.
57 * to call out the app that the content was shared from.
162 * Retrieve the name of the package that launched calledActivity from a share intent.
182 * Retrieve the ComponentName of the activity that launched calledActivity from a share intent.
270 * Create a new IntentBuilder for launching a sharing action from launchingActivity.
272 * @param launchingActivity Activity that the share will be launched from
275 public static IntentBuilder from(Activity launchingActivity) { method in class:ShareCompat.IntentBuilder
648 * from shared posts if desired.</p>
672 public static IntentReader from(Activity activity) { method in class:ShareCompat.IntentReader
859 * was not started for a result, IntentBuilder will read this from extr
[all...]
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
H A DOpReorderTest.java259 int from = nextInt(random, updatedItemCount);
263 } while (to == from);
264 mv(from, to);
289 UpdateOp mv(int from, int to) { argument
290 return record(new UpdateOp(MOVE, from, to, null));
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DSortedList.java218 * Remove duplicate items, leaving only the last item from each group of "same" items.
266 private int findSameItem(T item, T[] items, int from, int to) { argument
267 for (int pos = from; pos < to; pos++) {
331 throw new IllegalStateException("Cannot call this method from within addAll");
417 * Removes the provided item from the list and calls {@link Callback#onRemoved(int, int)}.
419 * @param item The item to be removed from the list.
560 // The call is made from a callback during addAll execution. The data is split
663 * Removes all items from the SortedList.
708 * Called by the SortedList when an item is removed from the given position.
797 * Other method calls (e.g. {@link #compare(Object, Object)} from
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java63 // re-used variable to acquire decor insets from RecyclerView
97 * @param reverseLayout When set to true, layouts from end to start.
113 "GridLayoutManager does not support stack from end."
218 public void onItemsMoved(RecyclerView recyclerView, int from, int to, int itemCount) { argument
593 // make sure we traverse from min position to max position
603 if (mOrientation == VERTICAL && isLayoutRTL()) { // start from last span
723 * disabled, default implementation traverses all items from 0 to
724 * <code>position</code>. When caching is enabled, it calculates from the closest cached
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c52 static void swab(const void *from, void *to, ssize_t n) argument
54 // from and to as char pointers
55 const char *from_ch = (const char *) from;
96 // on underrun from pipe, substitute silence
113 // This thread reads from a (slow) filesystem with unpredictable latency and writes to pipe
541 // create thread to read from file
H A Dplaybq.cpp52 static void swab(const void *from, void *to, ssize_t n) argument
54 // from and to as char pointers
55 const char *from_ch = (const char *) from;
96 // on underrun from pipe, substitute silence
113 // This thread reads from a (slow) filesystem with unpredictable latency and writes to pipe
541 // create thread to read from file
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp200 // these below should probably come from the audioFlinger too...
564 "session ID changed from %d to %d", originalSessionId, mSessionId);
720 // keep them from going away if another thread re-creates the track during obtainBuffer()
757 // FIXME starts the requested timeout and elapsed over from scratch
958 // If > 0, poll periodically to recover from a stuck server. A good value is 2.
1077 status_t AudioRecord::restoreRecord_l(const char *from) argument
1079 ALOGW("dead IAudioRecord, creating a new one from %s()", from);
/frameworks/base/core/java/android/net/
H A DUri.java69 that some threads will immediately see changes from other threads on
72 overhead, which means the most common case, access from a single thread,
90 For reference, from RFC 2396:
224 * Gets the decoded user information from the authority.
233 * Gets the encoded user information from the authority.
242 * Gets the encoded host from the authority for this URI. For example,
251 * Gets the port from the authority for this URI. For example,
275 * Gets the decoded query component from this URI. The query comes after
285 * Gets the encoded query component from this URI. The query comes after
409 * Constructs a new builder, copying the attributes from thi
2066 static Part from(String encoded, String decoded) { method in class:Uri.Part
2243 static PathPart from(String encoded, String decoded) { method in class:Uri.PathPart
[all...]
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java59 * on-demand from an application. OBBs are a good way of providing large amounts
62 * a shared storage pool accessible from all programs. The system does not
64 * OBB, there is no guarantee that a read from that OBB will produce the
283 public static StorageManager from(Context context) { method in class:StorageManager
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java114 * from the following XML resource:</p>
140 * <p/>Starting from Key Lime Pie, when this argument is passed in, the PreferenceActivity
426 * this resource is loaded from <var>res</var> and returned. Otherwise
438 * this resource is loaded from <var>res</var> and returned. Otherwise
450 * this resource is loaded from <var>res</var> and returned. Otherwise
463 * this resource is loaded from <var>res</var> and returned. Otherwise
569 // We are restarting from a previous saved state; used that to
782 * to fill in the list from a resource.
1273 Header findBestMatchingHeader(Header cur, ArrayList<Header> from) { argument
1275 for (int j=0; j<from
[all...]
/frameworks/base/core/java/android/view/
H A DViewDebug.java105 * @ViewDebug.IntToString(from = 0, to = "VISIBLE"),
106 * @ViewDebug.IntToString(from = 4, to = "INVISIBLE"),
107 * @ViewDebug.IntToString(from = 8, to = "GONE")
125 * @ViewDebug.IntToString(from = 0, to = "INVALID"),
126 * @ViewDebug.IntToString(from = 1, to = "FIRST"),
127 * @ViewDebug.IntToString(from = 2, to = "SECOND")
204 * Defines a mapping from an int value to a String. Such a mapping can be used
217 int from(); method in interface:ViewDebug.IntToString
228 * Defines a mapping from a flag to a String. Such a mapping can be used
302 * Returns a View to enable grabbing screenshots from custo
[all...]
/frameworks/base/telephony/java/android/telephony/
H A DSubscriptionManager.java46 * a reference to an instance through {@link #from}.
164 * The name_source is from the SIM
170 * The name_source is from the user
392 * Get an instance of the SubscriptionManager from the Context.
399 public static SubscriptionManager from(Context context) { method in class:SubscriptionManager
1305 SubscriptionManager.from(context).getActiveSubscriptionInfo(subId);
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
H A DSetterStore.java674 private MethodDescription getConversionMethod(ModelClass from, ModelClass to, argument
676 if (from != null && to != null) {
680 if (canUseForConversion(from, convertFrom)) {
703 private boolean canUseForConversion(ModelClass from, ModelClass to) { argument
704 return from.equals(to) || ModelMethod.isBoxingConversion(from, to) ||
705 to.isAssignableFrom(from);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiWatchdogStateMachine.java49 * connects at L2 layer, the beacons from access point reach the device and it
97 /* Notifications from/to WifiStateMachine */
189 * A smaller threshold improves response speed but may suffer from randomness.
196 * Minimum volume (converted from pkt/sec) to detect a poor link, to avoid randomness.
249 * time to be low to allow for quick turn around from temporary interference.
1081 * Get preset loss if the cache has insufficient data, observed from experiments.
1119 int from = rssi + GOOD_LINK_RSSI_RANGE_MIN;
1121 mGoodLinkTargetRssi = findRssiTarget(from, to, GOOD_LINK_LOSS_THRESHOLD);
1154 int from = BSSID_STAT_RANGE_LOW_DBM;
1156 mGoodLinkTargetRssi = findRssiTarget(from, t
1171 findRssiTarget(int from, int to, double threshold) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneBase.java70 public void migrateFrom(PhoneBase from) { argument
71 super.migrateFrom(from);
72 migrate(mRingbackRegistrants, ((ImsPhoneBase)from).mRingbackRegistrants);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhoneBase.java80 void migrateFrom(SipPhoneBase from) { argument
81 super.migrateFrom(from);
82 migrate(mRingbackRegistrants, from.mRingbackRegistrants);
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduPersister.java522 * Load a PDU from storage by given Uri.
772 * into storage, otherwise load source data from the dataUri and then
1138 // 2. The Uri of the part is different from the current one.
1463 * For a given address type, extract the recipients from the headers.
1466 * @param recipients a HashSet that is loaded with the recipients from the FROM, TO or CC headers
1467 * @param addressMap a HashMap of the addresses from the ADDRESS_FIELDS header
1468 * @param excludeMyNumber if true, the number of this phone will be excluded from recipients
1495 * Move a PDU object from one location to another.
1497 * @param from Specify the PDU object to be moved.
1505 public Uri move(Uri from, Ur argument
[all...]

Completed in 598 milliseconds

1234