OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:numPhones
(Results
1 - 13
of
13
) sorted by null
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
PhoneSwitcherMock.java
34
public PhoneSwitcherMock(int
numPhones
, Looper looper) {
37
mNumPhones =
numPhones
;
38
mActivePhoneRegistrants = new RegistrantList[
numPhones
];
39
mIsActive = new AtomicBoolean[
numPhones
];
40
for(int i = 0; i <
numPhones
; i++) {
SubscriptionMonitorMock.java
31
public SubscriptionMonitorMock(int
numPhones
) {
33
mNumPhones =
numPhones
;
34
mSubscriptionsChangedRegistrants = new RegistrantList[
numPhones
];
35
mDefaultSubscriptionRegistrants = new RegistrantList[
numPhones
];
37
for (int i = 0; i <
numPhones
; i++) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
PhoneSwitcherTest.java
190
final int
numPhones
= 2;
207
new SubscriptionControllerMock(contextMock, telRegistryMock,
numPhones
);
208
final SimulatedCommands[] commandsInterfaces = new SimulatedCommands[
numPhones
];
209
final PhoneMock[] phones = new PhoneMock[
numPhones
];
210
for (int i = 0; i <
numPhones
; i++) {
215
PhoneSwitcher phoneSwitcher = new PhoneSwitcher(maxActivePhones,
numPhones
,
417
final int
numPhones
= 2;
434
new SubscriptionControllerMock(contextMock, telRegistryMock,
numPhones
);
435
final SimulatedCommands[] commandsInterfaces = new SimulatedCommands[
numPhones
];
436
final PhoneMock[] phones = new PhoneMock[
numPhones
];
[
all
...]
SubscriptionMonitorTest.java
173
final int
numPhones
= 2;
178
new SubscriptionControllerMock(context, telRegistry,
numPhones
);
181
new SubscriptionMonitor(telRegistry, context, subController,
numPhones
);
285
final int
numPhones
= 2;
290
new SubscriptionControllerMock(context, telRegistry,
numPhones
);
293
new SubscriptionMonitor(telRegistry, context, subController,
numPhones
);
313
testedSubMonitor.registerForSubscriptionChanged(
numPhones
, testHandler,
318
testedSubMonitor.registerForDefaultDataSubscriptionChanged(
numPhones
, testHandler,
342
final int
numPhones
= 2;
347
new SubscriptionControllerMock(context, telRegistry,
numPhones
);
[
all
...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
PhoneFactory.java
138
int
numPhones
= TelephonyManager.getDefault().getPhoneCount();
139
int[] networkModes = new int[
numPhones
];
140
sPhones = new Phone[
numPhones
];
141
sCommandsInterfaces = new RIL[
numPhones
];
142
sTelephonyNetworkFactories = new TelephonyNetworkFactory[
numPhones
];
144
for (int i = 0; i <
numPhones
; i++) {
160
for (int i = 0; i <
numPhones
; i++) {
208
for (int i = 0; i <
numPhones
; i++) {
216
sSubscriptionMonitor = new SubscriptionMonitor(tr, sContext, sc,
numPhones
);
218
sPhoneSwitcher = new PhoneSwitcher(MAX_ACTIVE_PHONES,
numPhones
,
[
all
...]
SubscriptionMonitor.java
71
SubscriptionController subscriptionController, int
numPhones
) {
81
mSubscriptionsChangedRegistrants = new RegistrantList[
numPhones
];
82
mDefaultDataSubChangedRegistrants = new RegistrantList[
numPhones
];
83
mPhoneSubId = new int[
numPhones
];
88
for (int phoneId = 0; phoneId <
numPhones
; phoneId++) {
CarrierServiceBindHelper.java
93
int
numPhones
= TelephonyManager.from(context).getPhoneCount();
94
mBindings = new AppBinding[
numPhones
];
95
mLastSimState = new String[
numPhones
];
97
for (int phoneId = 0; phoneId <
numPhones
; phoneId++) {
PhoneSwitcher.java
104
public PhoneSwitcher(int maxActivePhones, int
numPhones
, Context context,
109
mNumPhones =
numPhones
;
111
mPhoneSubscriptions = new int[
numPhones
];
117
mActivePhoneRegistrants = new RegistrantList[
numPhones
];
118
mPhoneStates = new PhoneState[
numPhones
];
119
for (int i = 0; i <
numPhones
; i++) {
/frameworks/base/services/core/java/com/android/server/
TelephonyRegistry.java
217
int
numPhones
= TelephonyManager.getDefault().getPhoneCount();
218
for (int sub = 0; sub <
numPhones
; sub++) {
295
int
numPhones
= TelephonyManager.getDefault().getPhoneCount();
296
if (DBG) log("TelephonyRegistor: ctor
numPhones
=" +
numPhones
);
297
mNumPhones =
numPhones
;
298
mCallState = new int[
numPhones
];
299
mDataActivity = new int[
numPhones
];
300
mDataConnectionState = new int[
numPhones
];
301
mDataConnectionNetworkType = new int[
numPhones
];
[
all
...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
TelephonyNetworkFactoryTest.java
73
TestSetup(int
numPhones
) {
98
phoneSwitcherMock = new PhoneSwitcherMock(
numPhones
, looper);
100
new SubscriptionControllerMock(contextMock, telephonyRegistryMock,
numPhones
);
101
subscriptionMonitorMock = new SubscriptionMonitorMock(
numPhones
);
/packages/services/Telephony/src/com/android/phone/
CarrierConfigLoader.java
186
int
numPhones
= TelephonyManager.from(mContext).getPhoneCount();
187
for (int i = 0; i <
numPhones
; ++i) {
362
int
numPhones
= TelephonyManager.from(context).getPhoneCount();
363
mConfigFromDefaultApp = new PersistableBundle[
numPhones
];
364
mConfigFromCarrierApp = new PersistableBundle[
numPhones
];
365
mServiceConnection = new CarrierServiceConnection[
numPhones
];
[
all
...]
/external/robolectric/v3/runtime/
android-all-5.0.0_r2-robolectric-1.jar
android-all-5.1.1_r9-robolectric-1.jar
Completed in 152 milliseconds