/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
ServiceManagerTest.java | 74 new Thread() { 83 new Thread() { 94 notifyFailed(new IllegalStateException("failed")); 101 notifyFailed(new IllegalStateException("failed")); 107 notifyFailed(new IllegalStateException("failed")); 112 Service a = new NoOpDelayedService(150); 113 Service b = new NoOpDelayedService(353); 114 ServiceManager serviceManager = new ServiceManager(asList(a, b)); 127 final Service b = new NoOpDelayedService(353) { 134 Service a = new NoOpDelayedService(150) [all...] |
AbstractServiceTest.java | 52 NoOpService service = new NoOpService(); 55 assertEquals(State.NEW, service.state()); 78 NoOpService service = new NoOpService(); 88 NoOpService service = new NoOpService(); 98 NoOpService service = new NoOpService(); 116 NoOpService service = new NoOpService(); 126 NoOpService service = new NoOpService(); 138 NoOpService service = new NoOpService(); 171 ManualSwitchedService service = new ManualSwitchedService(); 202 ManualSwitchedService service = new ManualSwitchedService() [all...] |
ThreadFactoryBuilderTest.java | 36 private final Runnable monitoredRunnable = new Runnable() { 43 new UncaughtExceptionHandler() { 53 builder = new ThreadFactoryBuilder(); 74 // Creating a new thread from the same ThreadFactory will have the same 182 ThreadFactory backingThreadFactory = new ThreadFactory() { 184 Thread thread = new Thread(r); 201 assertSame(Thread.State.NEW, thread.getState()); 210 NullPointerTester npTester = new NullPointerTester();
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
Call.java | 186 new CallerInfoLookupHelper.OnQueryCompleteListener() { 243 private final Handler mHandler = new Handler(Looper.getMainLooper()); 245 private final List<Call> mConferenceableCalls = new ArrayList<>(); 290 private DisconnectCause mDisconnectCause = new DisconnectCause(DisconnectCause.UNKNOWN); 292 private Bundle mIntentExtras = new Bundle(); 301 new ConcurrentHashMap<Listener, Boolean>(8, 0.9f, 1)); 327 private List<Call> mChildCalls = new LinkedList<>(); 383 * Persists the specified parameters and initializes the new instance. 415 mState = isConference ? CallState.ACTIVE : CallState.NEW; 431 mAnalytics = new Analytics.CallInfo() [all...] |
/external/v8/test/webkit/ |
string-trim.js | 39 {s : '\u000A', t : 'LINE FEED OR NEW LINE'},
|
/frameworks/base/core/java/android/provider/ |
CallLog.java | 133 * Intent intent = new Intent(Intent.ACTION_VIEW); 286 public static final String NEW = "new"; 329 * Unlike the {@link #NEW} field, which requires the user to have acknowledged the 632 ContentValues values = new ContentValues(6); 648 values.put(NEW, Integer.valueOf(1)); 667 new String[] { Phone._ID }, 669 new String[] { String.valueOf(ci.contactIdOrZero), 677 new String[] { Phone._ID }, 679 new String[] { String.valueOf(ci.contactIdOrZero) } [all...] |
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
eventlib_p.h | 54 #define NEW(p) if (((p) = memget(sizeof *(p))) != NULL) \
|
/development/scripts/ |
reverse_tether.sh | 166 sudo iptables -A FORWARD -m state --state NEW -i $HOST_DEV -j ACCEPT
|
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
FuturesCombineBenchmark.java | 44 return Futures.transform(trigger, new AsyncFunction<Object, V>() { 57 NEW { 70 private static final Executor INLINE_EXECUTOR = new Executor() { 97 futuresBuilder.add(Futures.immediateFailedFuture(new Exception("boom"))); 128 Exception throwable = new Exception("boom");
|
/external/javassist/src/main/javassist/bytecode/ |
InstructionPrinter.java | 36 (new InstructionPrinter(stream)).print(method); 52 throw new RuntimeException(e); 63 throw new IllegalArgumentException("Invalid opcode, opcode: " + opcode + " pos: "+ pos); 127 throw new RuntimeException("Bad opcode 186"); 128 case NEW: 166 throw new RuntimeException("Invalid WIDE operand"); 190 throw new RuntimeException("Invalid array type"); 224 StringBuffer buffer = new StringBuffer("lookupswitch {\n"); 243 StringBuffer buffer = new StringBuffer("tableswitch {\n"); 278 throw new RuntimeException("bad LDC: " + tag) [all...] |
/external/javassist/src/main/javassist/expr/ |
ExprEditor.java | 32 * Whenever an expression, such as a method call and a <tt>new</tt> 44 * cm.instrument(new ExprEditor() { 87 LoopContext context = new LoopContext(codeAttr.getMaxLocals()); 96 Handler h = new Handler(et, i, iterator, clazz, minfo); 116 throw new CannotCompileException(b.getMessage(), b); 190 expr = new MethodCall(pos, iterator, clazz, minfo); 196 expr = new FieldAccess(pos, iterator, clazz, minfo, c); 199 else if (c == Opcode.NEW) { 201 context.newList = new NewOp(context.newList, pos, 209 expr = new NewExpr(pos, iterator, clazz, minfo [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/ |
BasicInterpreter.java | 75 throw new Error("Internal error");
123 case NEW:
126 throw new Error("Internal error.");
200 throw new AnalyzerException("Invalid array type");
220 throw new Error("Internal error.");
292 throw new Error("Internal error.");
|
/external/v8/src/parsing/ |
token.h | 125 K(NEW, "new", 0) \
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
CallLogInteraction.java | 63 return number == null ? null : new Intent(Intent.ACTION_CALL).setData( 162 return mValues.getAsBoolean(Calls.NEW);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
CallLogDatabaseHelper.java | 129 Calls.NEW + " INTEGER," + 188 mOpenHelper = new OpenHelper(mContext, databaseName, /* factory=*/ null, DATABASE_VERSION); 193 sInstance = new CallLogDatabaseHelper(context, DATABASE_NAME); 201 sInstanceForShadow = new CallLogDatabaseHelper( 256 // This is fine on new devices. (or after a "clear data".) 263 final ContentValues cv = new ContentValues(); 316 new String[] {table}) > 0;
|
/prebuilts/misc/common/swig/include/2.0.11/modula3/ |
modula3.swg | 455 %{*($&1_ltype*)&$result = new $1_ltype((const $1_ltype &)$1); %} 634 RETURN NEW(REF $1_basetype, $imcall); 637 RETURN NEW($1_basetype, $imcall, $owner); 641 RETURN (cPtr = IntPtr.Zero) ? null : NEW($1_basetype, cPtr, $owner); 681 RETURN new $&*1_mangle($imcall, true); 685 RETURN new $1_basetype($imcall, $owner); 690 RETURN (cPtr == IntPtr.Zero) ? null : new $1_basetype(cPtr, $owner); [all...] |
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
Call.java | 55 public static final int NEW = 1; /* The call is new. */ 95 case NEW: 96 return "NEW"; 293 new android.telecom.Call.Callback() { 367 private final List<String> mChildCallIds = new ArrayList<>(); 368 private final VideoSettings mVideoSettings = new VideoSettings(); 391 private LogState mLogState = new LogState(); 449 mVideoCallCallback = new InCallVideoCallCallback(this); 570 * @param newVideoState The new video state [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
MissedCallNotifierImpl.java | 87 * TODO: Reduce dependencies in this implementation; remove the need to create a new Call 108 return new Notification.Builder(context); 112 private static final String[] CALL_LOG_PROJECTION = new String[] { 141 this(context, phoneAccountRegistrar, new DefaultNotificationBuilderFactory()); 156 mMissedCallCounts = new ConcurrentHashMap<>(); 171 AsyncTask.execute(new Runnable("MCNI.mMCAR") { 174 // Clear the list of new missed calls from the call log. 175 ContentValues values = new ContentValues(); 176 values.put(Calls.NEW, 0); 178 StringBuilder where = new StringBuilder() [all...] |
/prebuilts/eclipse/maven/apache-maven-3.2.1/lib/ |
aether-spi-0.9.0.M2.jar | |
/cts/tests/tests/calllog/src/android/calllog/cts/ |
CallLogBackupTest.java | 69 private static final String[] CALL_LOG_PROJECTION = new String[] { 165 // Restore from the previous backup and verify we have the new call again. 182 waitUntilConditionIsTrueOrTimeout(new Condition() { 213 throw new RuntimeException("Backup output format changed. No longer matches" 240 throw new Exception("non-parsable output setting bmgr transport: " + output); 271 ContentValues values = new ContentValues(6); 277 values.put(Calls.NEW, Integer.valueOf(1)); 298 List<Call> calls = new LinkedList<>(); 305 Call call = new Call();
|
/dalvik/dx/src/com/android/dx/cf/code/ |
ByteOps.java | 214 public static final int NEW = 0xbb; 348 private static final int[] OPCODE_INFO = new int[256]; 351 private static final String[] OPCODE_NAMES = new String[256]; 541 "bb p:c new;" +
|
/external/guice/lib/build/ |
asm-5.0.3.jar | |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThreadTest.java | 50 ThreadGroup tg = new ThreadGroup("Test Group2"); 51 st = new Thread(tg, new SimpleThread(1), "SimpleThread3", 1); 62 new Thread(tg, new SimpleThread(1), "SimpleThread3", 74 ByteArrayOutputStream baos = new ByteArrayOutputStream(); 75 System.setErr(new PrintStream(baos)); 79 String s = new String(baos.toByteArray()); 104 final Thread parker = new Thread() { 113 Thread unparker = new Thread() [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallLogNotificationsHelper.java | 55 sInstance = new CallLogNotificationsHelper(context, 58 new ContactInfoHelper(context, countryIso), 81 * Get all voicemails with the "new" flag set to 1. 83 * @return A list of NewCall objects where each object represents a new voicemail. 91 * Get all missed calls with the "new" flag set to 1. 93 * @return A list of NewCall objects where each object represents a new missed call. 124 ContactInfo contactInfo = new ContactInfo(); 170 /** Information about a new voicemail. */ 204 /** Allows determining the new calls for which a notification should be generated. */ 207 * Returns the new calls of a certain type for which a notification should be generated [all...] |
/platform_testing/tests/jank/dialer/src/com/android/dialer/janktests/ |
DialerJankTests.java | 162 // Method to insert a new contact 164 ArrayList<ContentProviderOperation> ops = new ArrayList<ContentProviderOperation>(); 166 // to insert a new raw contact in the table ContactsContract.RawContacts 197 uri, new String[] { 220 // Inserts a new entry in the call log 222 ContentValues values = new ContentValues(); 227 values.put(CallLog.Calls.NEW, 1); 244 Random rand = new Random();
|