OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mAvailable
(Results
1 - 15
of
15
) sorted by null
/external/replicaisland/src/com/replica/replicaisland/
ObjectPool.java
26
private FixedSizeArray<Object>
mAvailable
;
47
Object result =
mAvailable
.removeLast();
55
mAvailable
.add(entry);
60
return
mAvailable
.getCapacity() -
mAvailable
.getCount();
65
mAvailable
= new FixedSizeArray<Object>(mSize);
73
return
mAvailable
;
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
BufferPool.java
30
private int
mAvailable
;
41
if (
mAvailable
!= 0) {
42
mAvailable
-= 1;
43
return grow(mBuffers[
mAvailable
], needed);
62
mBuffers[
mAvailable
++] = buffer;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
LayoutState.java
47
int
mAvailable
;
108
"
mAvailable
=" +
mAvailable
+
LinearLayoutManager.java
556
if (mLayoutState.
mAvailable
> 0) {
557
extraForEnd += mLayoutState.
mAvailable
;
566
if (mLayoutState.
mAvailable
> 0) {
568
extraForStart = mLayoutState.
mAvailable
;
581
if (mLayoutState.
mAvailable
> 0) {
582
extraForStart += mLayoutState.
mAvailable
;
591
if (mLayoutState.
mAvailable
> 0) {
592
extraForEnd = mLayoutState.
mAvailable
;
700
mLayoutState.
mAvailable
= 0;
709
mLayoutState.
mAvailable
= 0
[
all
...]
StaggeredGridLayoutManager.java
[
all
...]
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
CarRadioManagerTest.java
46
private Semaphore
mAvailable
;
77
if (
mAvailable
.availablePermits() != 0) {
80
mAvailable
.release();
108
if (
mAvailable
.availablePermits() != 0) {
112
mAvailable
.release();
127
if (
mAvailable
.availablePermits() != 0) {
132
mAvailable
.release();
139
mAvailable
= new Semaphore(0);
161
assertEquals("Lock should be freed by now.", 0,
mAvailable
.availablePermits());
162
//
mAvailable
.acquire(1)
[
all
...]
CarHvacManagerTest.java
47
private Semaphore
mAvailable
;
58
mAvailable
= new Semaphore(0);
150
assertEquals(0,
mAvailable
.availablePermits());
153
assertTrue(
mAvailable
.tryAcquire(2L, TimeUnit.SECONDS));
161
assertEquals(0,
mAvailable
.availablePermits());
164
assertTrue(
mAvailable
.tryAcquire(2L, TimeUnit.SECONDS));
172
assertEquals(0,
mAvailable
.availablePermits());
175
assertTrue(
mAvailable
.tryAcquire(2L, TimeUnit.SECONDS));
222
mAvailable
.release();
/frameworks/av/camera/ndk/impl/
ACameraManager.h
90
mAvailable
(callback->onCameraAvailable),
95
return (
mAvailable
== other.
mAvailable
&&
105
if (
mAvailable
!= other.
mAvailable
) return
mAvailable
< other.
mAvailable
;
111
ACameraManager_AvailabilityCallback
mAvailable
;
ACameraManager.cpp
289
cb.
mAvailable
: cb.mUnavailable;
/frameworks/native/libs/gui/
SensorEventQueue.cpp
43
: mSensorEventConnection(connection), mRecBuffer(NULL),
mAvailable
(0), mConsumed(0),
69
if (
mAvailable
== 0) {
75
mAvailable
= static_cast<size_t>(err);
78
size_t count = min(numEvents,
mAvailable
);
80
mAvailable
-= count;
/packages/apps/TV/src/com/android/tv/util/
PipInputManager.java
194
if (!pipInput.isHidden() && (!availableOnly || pipInput.
mAvailable
)) {
220
if (!pipInput.isHidden() && (!availableOnly || pipInput.
mAvailable
)) {
321
private boolean
mAvailable
;
331
mAvailable
= available;
347
return
mAvailable
;
417
if (
mAvailable
!= available) {
418
mAvailable
= available;
/frameworks/native/include/gui/
SensorEventQueue.h
103
size_t
mAvailable
;
/frameworks/base/services/core/java/com/android/server/job/
JobServiceContext.java
54
* - Execution of a new job is handled by the {@link #
mAvailable
}. This bit is flipped once when a
134
private boolean
mAvailable
;
154
mAvailable
= true;
167
if (!
mAvailable
) {
215
mAvailable
= false;
605
mAvailable
= true;
/packages/apps/TV/src/com/android/tv/
TimeShiftManager.java
200
return mPlayController.
mAvailable
;
481
return mPlayController.
mAvailable
491
return mPlayController.
mAvailable
&& mPlayController.mPlayStatus == PLAY_STATUS_PAUSED;
509
mProgramManager.onAvailabilityChanged(mPlayController.
mAvailable
,
521
if (mPlayController.
mAvailable
) {
605
private boolean
mAvailable
;
653
if (
mAvailable
== newAvailable) {
656
mAvailable
= newAvailable;
679
if (
mAvailable
) {
[
all
...]
/prebuilts/sdk/current/support/v7/recyclerview/libs/
android-support-v7-recyclerview.jar
Completed in 1112 milliseconds